Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
ibus-table-chinese provide the chinese input method tables for IBus-Table,
one of input method engines on IBus framework:

View File

@@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.9 2012/12/22 08:58:14 obache Exp $
#
DISTNAME= ibus-table-chinese-1.4.6-Source
PKGNAME= ${DISTNAME:S/-Source//}
CATEGORIES= inputmethod chinese
MASTER_SITES= http://ibus.googlecode.com/files/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://code.google.com/p/ibus/
COMMENT= Chinese tables for IBus-Table
LICENSE= gnu-gpl-v3
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
.include "../../mk/bsd.prefs.mk"
# Illegal byte sequence in array30_ExtB.txt
. if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
BUILD_DEPENDS+= libiconv-[0-9]*:../../converters/libiconv
FIND_PREFIX:= ICONV_PREFIX=libiconv
.include "../../mk/find-prefix.mk"
CMAKE_ARGS+= -DICONV_CMD:PATH=${ICONV_PREFIX}/bin/iconv
.endif
.include "../../inputmethod/ibus-table/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,45 @@
@comment $NetBSD: PLIST,v 1.3 2012/09/10 11:53:40 obache Exp $
share/doc/${PKGNAME}/AUTHORS
share/doc/${PKGNAME}/COPYING
share/doc/${PKGNAME}/ChangeLog
share/doc/${PKGNAME}/README
share/ibus-table/icons/array30-big.png
share/ibus-table/icons/array30.png
share/ibus-table/icons/cangjie-big.png
share/ibus-table/icons/cangjie3.svg
share/ibus-table/icons/cangjie5.svg
share/ibus-table/icons/cantonese.png
share/ibus-table/icons/cantonhk.png
share/ibus-table/icons/easy-big.png
share/ibus-table/icons/erbi-qs.svg
share/ibus-table/icons/erbi.png
share/ibus-table/icons/jyutping.png
share/ibus-table/icons/quick-classic.png
share/ibus-table/icons/quick3.png
share/ibus-table/icons/quick5.png
share/ibus-table/icons/scj6.svg
share/ibus-table/icons/stroke5.png
share/ibus-table/icons/wu.png
share/ibus-table/icons/wubi-haifeng86.svg
share/ibus-table/icons/wubi-jidian86.svg
share/ibus-table/icons/yong.png
share/ibus-table/tables/array30-big.db
share/ibus-table/tables/array30.db
share/ibus-table/tables/cangjie-big.db
share/ibus-table/tables/cangjie3.db
share/ibus-table/tables/cangjie5.db
share/ibus-table/tables/cantonese.db
share/ibus-table/tables/cantonhk.db
share/ibus-table/tables/easy-big.db
share/ibus-table/tables/erbi-qs.db
share/ibus-table/tables/erbi.db
share/ibus-table/tables/jyutping.db
share/ibus-table/tables/quick-classic.db
share/ibus-table/tables/quick3.db
share/ibus-table/tables/quick5.db
share/ibus-table/tables/scj6.db
share/ibus-table/tables/stroke5.db
share/ibus-table/tables/wu.db
share/ibus-table/tables/wubi-haifeng86.db
share/ibus-table/tables/wubi-jidian86.db
share/ibus-table/tables/yong.db

View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.8 2012/12/22 08:58:14 obache Exp $
SHA1 (ibus-table-chinese-1.4.6-Source.tar.gz) = c0777087b81a29bc32c86838d214ce31ce3424f6
RMD160 (ibus-table-chinese-1.4.6-Source.tar.gz) = 6915ca3680e96bdb900b159fef18ec1612f625a7
Size (ibus-table-chinese-1.4.6-Source.tar.gz) = 7604868 bytes
SHA1 (patch-Modules_DateTimeFormat.cmake) = 7d9cfde41f39efe7ab2f0cf7ffb6d21a4ff4ce2a
SHA1 (patch-ab) = cd75ce5cbad9610607cfa5f68fec245a139f8b6b
SHA1 (patch-ac) = 6691cde876c3cfa64c1790294a6660b18f986d03
SHA1 (patch-tables_array_CMakeLists.txt) = d4c441e74314731305b66843cdadd16e2edd4281

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-Modules_DateTimeFormat.cmake,v 1.1 2011/09/01 11:46:06 obache Exp $
* -u is the POSIX standard way.
--- Modules/DateTimeFormat.cmake.orig 2011-08-03 00:21:35.000000000 +0000
+++ Modules/DateTimeFormat.cmake
@@ -28,7 +28,7 @@ IF(NOT DEFINED _DATE_TIME_FORMAT_CMAKE_)
IF(_locale)
SET(ENV{LC_ALL} ${_locale})
ENDIF(_locale)
- COMMAND_OUTPUT_TO_VARIABLE(${date_var} date --utc "${format}")
+ COMMAND_OUTPUT_TO_VARIABLE(${date_var} date -u "${format}")
ENDMACRO(TODAY date_var format)
TODAY(TODAY_CHANGELOG "+%a %b %d %Y" "C")

View File

@@ -0,0 +1,37 @@
$NetBSD: patch-ab,v 1.2 2011/09/01 11:46:07 obache Exp $
* portability fix
--- tables/wubi-haifeng/convertTable.sh.orig 2010-12-02 23:22:54.000000000 +0000
+++ tables/wubi-haifeng/convertTable.sh
@@ -18,10 +18,10 @@ function append_freq(){
ch=`echo $data | $AWK '{print $3}'`
freqOrig=`echo $data | $AWK '{print $1}'`
# echo "lastSeq=$lastSeq seq=$seq ch=$ch freqOrig=$freqOrig"
- if [ "$freqOrig" == "" ];then
+ if [ "$freqOrig" = "" ];then
freqOrig=0
fi
- if [ "$seq" == "$lastSeq" ];then
+ if [ "$seq" = "$lastSeq" ];then
if [ $lastFreq -le $freqOrig ];then
freq=$((lastFreq-1))
else
@@ -39,7 +39,7 @@ function append_freq(){
fi
count=$((count+1))
countMod=$((count % 1000))
- if [ "$countMod" == "0" ];then
+ if [ "$countMod" = "0" ];then
echo -e "$count\telements processed" > /dev/stderr
fi
done
@@ -48,7 +48,7 @@ function append_freq(){
function parse(){
baseFreq=100;
- if [ "$1" == "-b" ];then
+ if [ "$1" = "-b" ];then
baseFreq=$2
shift 2
fi

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.3 2012/09/10 11:53:41 obache Exp $
* use more portable codeset names.
--- tables/CMakeLists.txt.orig 2012-09-07 06:23:27.000000000 +0000
+++ tables/CMakeLists.txt
@@ -51,7 +51,7 @@ MACRO(CONVERT_ENCODING outputFile fromEn
# Need to strip Unicode BOM (0xfeff)
ADD_CUSTOM_COMMAND(OUTPUT ${outputFile}
COMMAND ${SED_CMD} -e "s/^[\\xff][\\xfe]//" ${inputFile}
- | ${ICONV_CMD} -f ${fromEncoding} -t UTF8
+ | ${ICONV_CMD} -f ${fromEncoding} -t UTF-8
| ${SED_CMD} -e "s/\r//"
| ${AWK_CMD} "{print tolower($0)}"
| sort > ${outputFile}

View File

@@ -0,0 +1,28 @@
$NetBSD: patch-tables_array_CMakeLists.txt,v 1.2 2012/12/22 08:58:15 obache Exp $
* use more portable codeset names.
--- tables/array/CMakeLists.txt.orig 2012-11-23 00:36:57.000000000 +0000
+++ tables/array/CMakeLists.txt
@@ -16,7 +16,7 @@ SET(ARRAY30_BASE_HEAD "${ARRAY30_BASE}.h
CONFIGURE_FILE(${ARRAY30_HEAD_IN} ${ARRAY30_BASE_HEAD} @ONLY)
-CONVERT_ENCODING(${ARRAY30_BASE_UTF8} UTF16 array30_27489.txt)
+CONVERT_ENCODING(${ARRAY30_BASE_UTF8} UTF-16 array30_27489.txt)
GENERATE_FREQ(${ARRAY30_BASE_FREQ}
${ARRAY30_BASE_UTF8}
)
@@ -41,10 +41,10 @@ SET(ARRAY30_BIG_HEAD "${ARRAY30_BIG}.hea
CONFIGURE_FILE(${ARRAY30_HEAD_IN} ${ARRAY30_BIG_HEAD} @ONLY)
SET(ARRAY30_EXT_B_UTF8 ${CMAKE_CURRENT_BINARY_DIR}/array30_ExtB.utf8)
-CONVERT_ENCODING(${CMAKE_CURRENT_BINARY_DIR}/array30_ExtB.utf8 UTF16 array30_ExtB.txt)
+CONVERT_ENCODING(${CMAKE_CURRENT_BINARY_DIR}/array30_ExtB.utf8 UTF-16 array30_ExtB.txt)
SET(ARRAY30_EXT_CD_UTF8 ${CMAKE_CURRENT_BINARY_DIR}/array30_ExtCD.utf8)
-CONVERT_ENCODING(${CMAKE_CURRENT_BINARY_DIR}/array30_ExtCD.utf8 UTF16 array30_ExtCD_V2012A.txt)
+CONVERT_ENCODING(${CMAKE_CURRENT_BINARY_DIR}/array30_ExtCD.utf8 UTF-16 array30_ExtCD_V2012A.txt)
ADD_CUSTOM_COMMAND(OUTPUT ${ARRAY30_BIG_UTF8}
COMMAND cat ${ARRAY30_BASE_UTF8}