diff options
author | root | 2006-04-24 09:03:08 -0500 |
---|---|---|
committer | root | 2006-04-24 09:03:08 -0500 |
commit | 84d8b510ac289af0a43bfa9e110844af27a90196 (patch) | |
tree | d7093929b954dd2f71114bff270755e18f737eb1 /x11-libs/xcin |
initial commit from stable 0.3
Diffstat (limited to 'x11-libs/xcin')
-rwxr-xr-x | x11-libs/xcin/CONFIGURE | 1 | ||||
-rwxr-xr-x | x11-libs/xcin/DEPENDS | 2 | ||||
-rwxr-xr-x | x11-libs/xcin/DETAILS | 19 | ||||
-rw-r--r-- | x11-libs/xcin/HISTORY | 15 | ||||
-rwxr-xr-x | x11-libs/xcin/PRE_BUILD | 13 | ||||
-rw-r--r-- | x11-libs/xcin/xcin-fixchewingconflict.patch | 57 | ||||
-rw-r--r-- | x11-libs/xcin/xcin-fixlocale.patch | 12 |
7 files changed, 119 insertions, 0 deletions
diff --git a/x11-libs/xcin/CONFIGURE b/x11-libs/xcin/CONFIGURE new file mode 100755 index 0000000000..52b4087c0a --- /dev/null +++ b/x11-libs/xcin/CONFIGURE @@ -0,0 +1 @@ +echo 'OPTS="$OPTS --sysconfdir=/etc"' >> $SPELL_CONFIG diff --git a/x11-libs/xcin/DEPENDS b/x11-libs/xcin/DEPENDS new file mode 100755 index 0000000000..cf09444cc5 --- /dev/null +++ b/x11-libs/xcin/DEPENDS @@ -0,0 +1,2 @@ +depends X11-LIBS && +depends libtabe diff --git a/x11-libs/xcin/DETAILS b/x11-libs/xcin/DETAILS new file mode 100755 index 0000000000..4d78a32756 --- /dev/null +++ b/x11-libs/xcin/DETAILS @@ -0,0 +1,19 @@ + SPELL=xcin + VERSION=2.5.3.pre2 + SOURCE=$SPELL-$VERSION.tar.gz + SOURCE2=chewing-2002Jan07-snapshot.tar.gz +SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL + SOURCE_URL[0]=ftp://xcin.linux.org.tw/pub/xcin/xcin/devel/$SOURCE + WEB_SITE=http://xcin.linux.org.tw/ + SOURCE2_URL[0]=http://chewing.good-man.org/old/snapshot/$SOURCE2 + MD5[0]=10b2df6dbfeff4e601ab43ede1ccd812 + MD5[1]=0cebe73a8ba8dc2b07a0e844fb081f0c + LICENSE[0]=GPL + LICENSE[1]=GPL + ENTERED=20021012 + UPDATED=20030208 + MAINTAINER=jimmy@yen.tp + SHORT="The X Chinese INput XIM server" +cat << EOF +XCIN is the X Chinese INput XIM server. +EOF diff --git a/x11-libs/xcin/HISTORY b/x11-libs/xcin/HISTORY new file mode 100644 index 0000000000..a0decb7e76 --- /dev/null +++ b/x11-libs/xcin/HISTORY @@ -0,0 +1,15 @@ +2003-10-10 hgg <hgreig@bigpond.net.au> + * DEPENDS: Change x11-libs to X11-LIBS + +2003-10-03 hgg <hgreig@bigpond.net.au> + * DEPENDS: Change requires x11-libs to depends x11-libs + +2003-09-17 hgg <hgreig@bigpond.net.au> + * DEPENDS: Change depends xfree86 to requires x11-libs + +2003-03-20 Jason Flatt <jason@flattfamily.com> + * DEPENDS: Added the "&&" to DEPENDS as per bug # 2738. + +2003-02-08 Jimmy Yen <jimmy@yen.tp> + * ALL: First working version. + diff --git a/x11-libs/xcin/PRE_BUILD b/x11-libs/xcin/PRE_BUILD new file mode 100755 index 0000000000..9afe739de7 --- /dev/null +++ b/x11-libs/xcin/PRE_BUILD @@ -0,0 +1,13 @@ +mk_source_dir $SOURCE_DIRECTORY && +unpack $SOURCE ${MD5[0]} && +cd $SOURCE_DIRECTORY && +patch -p1<$SCRIPT_DIRECTORY/xcin-fixlocale.patch && + +if query "Build Chewing input method module? " y; then + cd $SOURCE_DIRECTORY/src/Cinput && + unpack $SOURCE2 ${MD5[1]} && + cd chewing && + ./patch_chewing && + cd $SOURCE_DIRECTORY && + patch -p1<$SCRIPT_DIRECTORY/xcin-fixchewingconflict.patch +fi diff --git a/x11-libs/xcin/xcin-fixchewingconflict.patch b/x11-libs/xcin/xcin-fixchewingconflict.patch new file mode 100644 index 0000000000..69bf72ebdc --- /dev/null +++ b/x11-libs/xcin/xcin-fixchewingconflict.patch @@ -0,0 +1,57 @@ +--- xcin.orig/etc/xcinrc.LINUX 2003-02-08 17:36:55.000000000 +0800 ++++ xcin/etc/xcinrc.LINUX 2003-02-08 21:18:22.000000000 +0800 +@@ -111,7 +111,7 @@ + (DEFAULT_IM_MODULE "gen_inp") + (DEFAULT_IM_SINMD "DEFAULT") + (PHRASE "default.phr") +- (CINPUT (cj chewing simplex phone bimspinyin bimsphone jyutping ++ (CINPUT (cj chewing simplex phone bimspinyin jyutping + array30 jyutping0 zh_hex)) + (FONTSET "-sony-*-24-*-iso8859-1,-*-medium-r-*-24-*-big5-0") + (OVERSPOT_FONTSET "-sony-*-16-*-iso8859-1,-*-medium-r-*-16-*-big5-0"))) +@@ -134,9 +134,10 @@ + (END_KEY YES) + (BEEP_DUPCHAR YES))) + +-(define bimsphone@big5 +- '((SETKEY 6) +- (MODULE "bimsphone"))) ++(define chewing@big5 ++ '((SETKEY 6) ++ (KB_TYPE "KB_DEFAULT") ++ (MODULE "chewing"))) + + (define bimspinyin@big5 + '((SETKEY 7) +@@ -204,7 +205,7 @@ + (DEFAULT_IM_MODULE "gen_inp") + (DEFAULT_IM_SINMD "DEFAULT") + (PHRASE "default.phr") +- (CINPUT (cj chewing simplex phone bimspinyin bimsphone jyutping ++ (CINPUT (cj chewing simplex phone bimspinyin jyutping + array30 jyutping0 zh_hex)) + (FONTSET "-sony-*-24-*-iso8859-1,-*-medium-r-*-24-*-big5hkscs-0,-*-24-*-c-*-big5hkscs-0") + (OVERSPOT_FONTSET "-sony-*-16-*-iso8859-1,-*-medium-r-*-16-*-big5hkscs-0,-*-16-*-c-*-big5hkscs-0"))) +@@ -227,9 +228,10 @@ + (END_KEY YES) + (BEEP_DUPCHAR YES))) + +-(define bimsphone@big5hkscs +- '((SETKEY 6) +- (MODULE "bimsphone"))) ++(define chewing@big5hkscs ++ '((SETKEY 6) ++ (KB_TYPE "KB_DEFAULT") ++ (MODULE "chewing"))) + + (define bimspinyin@big5hkscs + '((SETKEY 7) +@@ -273,8 +275,4 @@ + (INP_CNAME_gbk "0xc4da+0xc2eb") + (BEEP_WRONG YES))) + +-(define chewing@big5 +- '((SETKEY 7) +- (KB_TYPE "KB_DEFAULT") +- (MODULE "chewing"))) + diff --git a/x11-libs/xcin/xcin-fixlocale.patch b/x11-libs/xcin/xcin-fixlocale.patch new file mode 100644 index 0000000000..8dbc497f37 --- /dev/null +++ b/x11-libs/xcin/xcin-fixlocale.patch @@ -0,0 +1,12 @@ +--- xcin.orig/src/xim.c 2003-02-08 17:36:55.000000000 +0800 ++++ xcin/src/xim.c 2003-02-08 17:37:20.000000000 +0800 +@@ -1058,7 +1058,8 @@ + make_trigger_keys(&on_keys); + + if (xccore->irc->xim_name[0] == '\0') { +- if (strcasecmp("zh_TW.Big5", locale->lc_ctype)) ++ if (strcasecmp("zh_TW.Big5", locale->lc_ctype)&& ++ strcmp("zh_TW", locale->lc_ctype)) + snprintf(xim_name, 128, "%s-%s", DEFAULT_XIMNAME, locale->lc_ctype); + else + strncpy(xim_name, DEFAULT_XIMNAME, sizeof(xim_name)); |