summaryrefslogtreecommitdiff
path: root/app-i18n/xcin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-i18n/xcin
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-i18n/xcin')
-rw-r--r--app-i18n/xcin/Manifest8
-rw-r--r--app-i18n/xcin/files/xcin-2.5.3_pre3-glibc-2.10.patch110
-rw-r--r--app-i18n/xcin/files/xcin-2.5.3_pre3-ldflags.patch96
-rw-r--r--app-i18n/xcin/files/xcin-2.5.3_pre3-make.patch118
-rw-r--r--app-i18n/xcin/metadata.xml8
-rw-r--r--app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild72
-rw-r--r--app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild76
7 files changed, 488 insertions, 0 deletions
diff --git a/app-i18n/xcin/Manifest b/app-i18n/xcin/Manifest
new file mode 100644
index 000000000000..164f248b38f6
--- /dev/null
+++ b/app-i18n/xcin/Manifest
@@ -0,0 +1,8 @@
+AUX xcin-2.5.3_pre3-glibc-2.10.patch 5024 BLAKE2B 07e1a19138e88dc1911280c0cc68309ec902a8c69d00d784f78f0cf1110303a1f213a4925e041f4d707df20c1ec47467c8c378f6b94e366656d2789756669e3c SHA512 5c6166b9621b0a58ee516a3a0566a36b550b0652c426589feb2839247dbebc76285bbb958f8f4524c6536f9fb84b248f70e54310e7eb320158235e86cd9ce1dc
+AUX xcin-2.5.3_pre3-ldflags.patch 4525 BLAKE2B b66701186b4d37bf7191ab43fe87e4f9d6797ab600d7bec5850f1bc34272bb0a724ece4ec1ad4c973c9e4489b26a814f775e32c1e110845fb0a19920c4ff25b3 SHA512 369c68e187b17105fbcbdefafd753b56f014192a02c5a2a6b30e7f220564e3d838f433598b1f2ef37530aac7c5d6e43817c607ac473876a4b00da5dede9db87e
+AUX xcin-2.5.3_pre3-make.patch 3886 BLAKE2B d7d43a493f5d0bc8349f5e6fc5a32733db033e370ff03b8d4ecd9a424c2e568a33e8b645ab9a5fc67d228e4faeec92e9cddaf2aeb7a2e79f6c35279df08cd023 SHA512 033811b89842369740af7df884d29acd52a9c47fa773e087226116d6cbf7d9127cc1bfc7de3b511a9a01d7135c74d17860d0a782ba6c32ee6220b828b3055e6c
+DIST xcin_2.5.2.99.pre2+cvs20030224-1.4.diff.gz 1321937 BLAKE2B 4213f585d62d37215495354890203272fda0d7068bd6ceb8c0d75a2d1cd8c6626997607ab5b821887248f2e4207733eb3a26d021873893488b8dee83fddd3e52 SHA512 d1c6a667a8dcf996e02d694a0ff73eca409f542ce11b0e4d8563ed04c62e12c1d8feb6307153c5cfe982e66848b414dd65fc23d022ccc54cf2a0e3978b8c33e5
+DIST xcin_2.5.2.99.pre2+cvs20030224.orig.tar.gz 1530591 BLAKE2B 1c68d8bd4f11c458c2fefe974fc5f565a59deee23129f1c53e5714655d5be543e7a97f72eab2dc56aa098b78b53bfa77a4c0fbcb56cb93b936cc8b4ee5435135 SHA512 1068a9cf7f3b7ff3c2ff7e0443e487e660f3ec8c7f0114f1ad614fb1c7a73d15613ce0c198514816f00afaaa22434660ed11d329413bf010aa52b27513a5ac14
+EBUILD xcin-2.5.3_pre3-r2.ebuild 1594 BLAKE2B 63ec3b7caefb1706525ba7fd5fb6067ded36e2a14516b305b50145c6f5c419bead3a758d9881a26990fd58ee1c3ba5905b1f1618893eb7872935abf1db4bf519 SHA512 f55670efd003105c3c2f0c98255e46e6f4e3d44de4b6374e2af31f4355d045303af3b07ffe7bcd919c5572a1ee1207e769f55868c6c78fba9cc67ac49831c4f4
+EBUILD xcin-2.5.3_pre3-r3.ebuild 1785 BLAKE2B 77da973cfb86b3fb3612cf0bf35efd0b1c797b200303fcb80a61f456823d27f834eb7615e4629a6ada3223028e5ff10819e4c223780ac2c9b7440c78608e31e3 SHA512 229f3107ffedb76d20d9fccb19a6be4c86393e8b5ed382d1ef44c45148487210192b96f3dffb8c6a3aa0e8612380bb3e24cb7bec2fbe986f8cb21c7e8bce646e
+MISC metadata.xml 230 BLAKE2B 42b2921aa8f0a7ac96ff31ef846311f023469d38da4186c49a365cb7c4a1c63769e54718fb9ab6e8cfd2b532f249b0214cc54929e93d1a9960a6b5be3238b55d SHA512 74065bee639a38ecdef7c32280ed43a8f1627362cd8e97e714a09bcf116ae8bc4c61b2ab13c31bd02a22ae8a5a201263981ee519a0b6ba9df81a4d5f3cd94eb1
diff --git a/app-i18n/xcin/files/xcin-2.5.3_pre3-glibc-2.10.patch b/app-i18n/xcin/files/xcin-2.5.3_pre3-glibc-2.10.patch
new file mode 100644
index 000000000000..3d472f95b0f4
--- /dev/null
+++ b/app-i18n/xcin/files/xcin-2.5.3_pre3-glibc-2.10.patch
@@ -0,0 +1,110 @@
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/doc/En/internal/module.En xcin-2.5.2.99.pre2+cvs20030224/doc/En/internal/module.En
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/doc/En/internal/module.En 2000-12-13 18:55:41.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/doc/En/internal/module.En 2009-12-29 18:09:20.000000000 +0200
+@@ -481,13 +481,13 @@
+ char *lc_ctype; /* LC_CTYPE locale category name */
+ char *lc_messages; /* LC_MESSAGES locale category name */
+ char *encoding; /* encoding name */
+- } locale_t;
++ } xcin_locale_t;
+
+ typedef struct {
+ char *rcfile; /* rcfile name. */
+ char *default_dir; /* Default module directory. */
+ char *user_dir; /* User data directory. */
+- locale_t locale; /* Locale name. */
++ xcin_locale_t locale; /* Locale name. */
+ } xcin_rc_t;
+
+ The return value of this function is True when excuting successfully,
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/doc/internal/module xcin-2.5.2.99.pre2+cvs20030224/doc/internal/module
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/doc/internal/module 2002-10-29 13:53:42.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/doc/internal/module 2009-12-29 18:09:24.000000000 +0200
+@@ -423,13 +423,13 @@
+ char *lc_ctype; /* LC_CTYPE locale category name */
+ char *lc_messages; /* LC_MESSAGES locale category name */
+ char *encoding; /* encoding name */
+- } locale_t;
++ } xcin_locale_t;
+
+ typedef struct {
+ char *rcfile; /* rcfile name. */
+ char *default_dir; /* Default module directory. */
+ char *user_dir; /* User data directory. */
+- locale_t locale; /* Locale name. */
++ xcin_locale_t locale; /* Locale name. */
+ } xcin_rc_t;
+
+ 本函式若成功傳回 True, 失敗傳回 False。
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/src/include/xcintool.h xcin-2.5.2.99.pre2+cvs20030224/src/include/xcintool.h
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/include/xcintool.h 2002-10-29 13:53:42.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/src/include/xcintool.h 2009-12-29 18:09:01.000000000 +0200
+@@ -202,12 +202,12 @@
+ char *lc_messages;
+ char *encoding;
+ int encid, locid;
+-} locale_t;
++} xcin_locale_t;
+
+ typedef struct {
+ int argc; /* Command line arguement list */
+ char **argv;
+- locale_t locale; /* Locale name. */
++ xcin_locale_t locale; /* Locale name. */
+ char *usrhome; /* User home directory. */
+ char *default_dir; /* Default module directory. */
+ char *user_dir; /* User data directory. */
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/src/util/cin2tab/cin2tab.c xcin-2.5.2.99.pre2+cvs20030224/src/util/cin2tab/cin2tab.c
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/util/cin2tab/cin2tab.c 2009-12-29 18:07:44.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/src/util/cin2tab/cin2tab.c 2009-12-29 18:09:12.000000000 +0200
+@@ -233,7 +233,7 @@
+ }
+
+ static void
+-cin2tab_setlocale(locale_t *locale)
++cin2tab_setlocale(xcin_locale_t *locale)
+ {
+ char loc_return[128], enc_return[128];
+ int ret;
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/src/xcin_main.c xcin-2.5.2.99.pre2+cvs20030224/src/xcin_main.c
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/xcin_main.c 2003-01-20 19:50:05.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/src/xcin_main.c 2009-12-29 18:09:06.000000000 +0200
+@@ -56,7 +56,7 @@
+ static void
+ xcin_setlocale(void)
+ {
+- locale_t *locale = &(xcin_core.xcin_rc.locale);
++ xcin_locale_t *locale = &(xcin_core.xcin_rc.locale);
+ char loc_return[128], enc_return[128];
+
+ set_perr("xcin");
+@@ -332,7 +332,7 @@
+ char *cmd[2], value[256], *s, loc_buf[64], *loc_name=NULL;
+ char *fmt = N_("%s:\n\tlocale section \"%s\": %s: value not specified.\n");
+ xcin_rc_t *xrc = &(xcin_core.xcin_rc);
+- locale_t *locale = &(xcin_core.xcin_rc.locale);
++ xcin_locale_t *locale = &(xcin_core.xcin_rc.locale);
+ /*
+ * Determine the true locale setting name.
+ */
+@@ -409,7 +409,7 @@
+ char *cmd[2], value[256], *s, *s1, objname[100], objenc[100];
+ char *fmt = N_("%s:\n\tIM section \"%s\": %s: %s.\n");
+ xcin_rc_t *xrc = &(xcin_core.xcin_rc);
+- locale_t *locale = &(xcin_core.xcin_rc.locale);
++ xcin_locale_t *locale = &(xcin_core.xcin_rc.locale);
+ int setkey;
+ /*
+ * Go to each CINPUT sub-node and read important keywords.
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/src/xim.c xcin-2.5.2.99.pre2+cvs20030224/src/xim.c
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/xim.c 2009-12-29 18:07:44.000000000 +0200
++++ xcin-2.5.2.99.pre2+cvs20030224/src/xim.c 2009-12-29 18:09:06.000000000 +0200
+@@ -1032,7 +1032,7 @@
+ XIMTriggerKeys on_keys;
+ XIMEncodings encodings;
+ Window mainwin;
+- locale_t *locale;
++ xcin_locale_t *locale;
+ char* imlocale = NULL;
+ int i;
+
diff --git a/app-i18n/xcin/files/xcin-2.5.3_pre3-ldflags.patch b/app-i18n/xcin/files/xcin-2.5.3_pre3-ldflags.patch
new file mode 100644
index 000000000000..374490848980
--- /dev/null
+++ b/app-i18n/xcin/files/xcin-2.5.3_pre3-ldflags.patch
@@ -0,0 +1,96 @@
+diff -Naur xcin-2.5.2.99.pre2+cvs20030224.orig/src/Cinput/bimsphone/Makefile.in xcin-2.5.2.99.pre2+cvs20030224/src/Cinput/bimsphone/Makefile.in
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/Cinput/bimsphone/Makefile.in 2001-11-11 21:50:46.000000000 +0900
++++ xcin-2.5.2.99.pre2+cvs20030224/src/Cinput/bimsphone/Makefile.in 2011-11-21 01:08:21.736965412 +0900
+@@ -15,7 +15,7 @@
+
+ $(TARGET): $(OBJ)
+ $(LIBTOOL) --mode=link $(CC) -module -avoid-version -o $(TARGET) \
+- $(OBJ) $(LIB) -rpath $(moddir)
++ $(OBJ) $(LDFLAGS) $(LIB) -rpath $(moddir)
+ include .depend
+
+ depend:
+diff -Naur xcin-2.5.2.99.pre2+cvs20030224.orig/src/Cinput/chewing/Makefile.in xcin-2.5.2.99.pre2+cvs20030224/src/Cinput/chewing/Makefile.in
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/Cinput/chewing/Makefile.in 2011-11-21 01:07:12.878761904 +0900
++++ xcin-2.5.2.99.pre2+cvs20030224/src/Cinput/chewing/Makefile.in 2011-11-21 08:32:24.024474064 +0900
+@@ -21,7 +21,7 @@
+
+ $(TARGET): $(OBJ)
+ $(LIBTOOL) --mode=link $(CC) -module -avoid-version -o $(TARGET) \
+- $(OBJ) $(LIB) -rpath $(moddir)
++ $(OBJ) $(LDFLAGS) $(LIB) -rpath $(moddir)
+ include .depend
+
+ sort_word: sort_word.c key2pho.c
+diff -Naur xcin-2.5.2.99.pre2+cvs20030224.orig/src/Cinput/gen_inp/Makefile.in xcin-2.5.2.99.pre2+cvs20030224/src/Cinput/gen_inp/Makefile.in
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/Cinput/gen_inp/Makefile.in 2001-11-11 21:50:46.000000000 +0900
++++ xcin-2.5.2.99.pre2+cvs20030224/src/Cinput/gen_inp/Makefile.in 2011-11-21 01:08:21.736965412 +0900
+@@ -15,7 +15,7 @@
+
+ $(TARGET): $(OBJ)
+ $(LIBTOOL) --mode=link $(CC) -module -avoid-version -o $(TARGET) \
+- $(OBJ) $(LIB) -rpath $(moddir)
++ $(OBJ) $(LDFLAGS) $(LIB) -rpath $(moddir)
+ include .depend
+
+ depend:
+diff -Naur xcin-2.5.2.99.pre2+cvs20030224.orig/src/Cinput/zh_hex/Makefile.in xcin-2.5.2.99.pre2+cvs20030224/src/Cinput/zh_hex/Makefile.in
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/Cinput/zh_hex/Makefile.in 2001-11-11 21:50:47.000000000 +0900
++++ xcin-2.5.2.99.pre2+cvs20030224/src/Cinput/zh_hex/Makefile.in 2011-11-21 01:08:21.736965412 +0900
+@@ -14,7 +14,7 @@
+
+ $(TARGET): $(OBJ)
+ $(LIBTOOL) --mode=link $(CC) -module -avoid-version -o $(TARGET) \
+- $(OBJ) -rpath $(moddir)
++ $(OBJ) $(LDFLAGS) -rpath $(moddir)
+ include .depend
+
+ depend:
+diff -Naur xcin-2.5.2.99.pre2+cvs20030224.orig/src/Makefile.in xcin-2.5.2.99.pre2+cvs20030224/src/Makefile.in
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/Makefile.in 2001-11-05 01:47:26.000000000 +0900
++++ xcin-2.5.2.99.pre2+cvs20030224/src/Makefile.in 2011-11-21 01:08:53.576059606 +0900
+@@ -26,7 +26,7 @@
+
+ $(BIN): subsys $(OBJ)
+ @$(LIBTOOL) --mode=link $(CC) $(CFLAGS) -export-dynamic \
+- $(INC) $(DEFS) -o $(BIN) $(OBJ) $(LIB)
++ $(INC) $(DEFS) -o $(BIN) $(OBJ) $(LDFLAGS) $(LIB)
+ include .depend
+
+ subsys:
+diff -Naur xcin-2.5.2.99.pre2+cvs20030224.orig/src/lib/Makefile.in xcin-2.5.2.99.pre2+cvs20030224/src/lib/Makefile.in
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/lib/Makefile.in 2001-09-21 02:00:57.000000000 +0900
++++ xcin-2.5.2.99.pre2+cvs20030224/src/lib/Makefile.in 2011-11-21 01:08:21.736965412 +0900
+@@ -23,7 +23,7 @@
+
+ $(LXCIN_NAME): make_subdir
+ ( OBJS=`ls $(LXCIN_OBJ)`; \
+- $(LIBTOOL) --mode=link $(CC) -o $@ $$OBJS $(LIB) -rpath $(libdir) \
++ $(LIBTOOL) --mode=link $(CC) -o $@ $$OBJS $(LDFLAGS) $(LIB) -rpath $(libdir) \
+ -version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER) )
+
+ make_subdir:
+diff -Naur xcin-2.5.2.99.pre2+cvs20030224.orig/src/util/cin2tab/Makefile.in xcin-2.5.2.99.pre2+cvs20030224/src/util/cin2tab/Makefile.in
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/util/cin2tab/Makefile.in 2001-11-05 01:47:29.000000000 +0900
++++ xcin-2.5.2.99.pre2+cvs20030224/src/util/cin2tab/Makefile.in 2011-11-21 01:08:21.736965412 +0900
+@@ -14,7 +14,7 @@
+ all: $(BIN)
+
+ $(BIN): $(OBJ)
+- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INC) $(DEFS) -o $(BIN) $(OBJ) $(LIB)
++ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(INC) $(DEFS) -o $(BIN) $(OBJ) $(LDFLAGS) $(LIB)
+ include .depend
+
+ depend:
+diff -Naur xcin-2.5.2.99.pre2+cvs20030224.orig/src/util/testprog/Makefile.in xcin-2.5.2.99.pre2+cvs20030224/src/util/testprog/Makefile.in
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/src/util/testprog/Makefile.in 2002-01-01 22:49:17.000000000 +0900
++++ xcin-2.5.2.99.pre2+cvs20030224/src/util/testprog/Makefile.in 2011-11-21 08:33:44.547672718 +0900
+@@ -15,7 +15,7 @@
+ all: $(BIN)
+
+ $(BIN): $(OBJ)
+- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJ) $(LIB)
++ $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJ) $(LDFLAGS) $(LIB)
+ include .depend
+
+ depend:
diff --git a/app-i18n/xcin/files/xcin-2.5.3_pre3-make.patch b/app-i18n/xcin/files/xcin-2.5.3_pre3-make.patch
new file mode 100644
index 000000000000..d5967c31476f
--- /dev/null
+++ b/app-i18n/xcin/files/xcin-2.5.3_pre3-make.patch
@@ -0,0 +1,118 @@
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/cin/big5/Makefile.in xcin-2.5.2.99.pre2+cvs20030224/cin/big5/Makefile.in
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/cin/big5/Makefile.in 2001-09-07 00:41:32.000000000 +0900
++++ xcin-2.5.2.99.pre2+cvs20030224/cin/big5/Makefile.in 2011-11-21 00:44:20.979695505 +0900
+@@ -9,43 +9,43 @@
+ all: all-$(OS_TYPE)
+
+ all-LINUX:
+- ( BIG5ENC=big5 BIG5HKENC=big5hkscs make -f Rules make-big5 make-big5hkscs )
++ ( BIG5ENC=big5 BIG5HKENC=big5hkscs $(MAKE) -f Rules make-big5 make-big5hkscs )
+
+ all-FREEBSD:
+- ( BIG5ENC=big5 make -f Rules make-big5 )
++ ( BIG5ENC=big5 $(MAKE) -f Rules make-big5 )
+
+ all-OPENBSD:
+- ( BIG5ENC=big5 make -f Rules make-big5 )
++ ( BIG5ENC=big5 $(MAKE) -f Rules make-big5 )
+
+ all-NETBSD:
+- ( BIG5ENC=big5 make -f Rules make-big5 )
++ ( BIG5ENC=big5 $(MAKE) -f Rules make-big5 )
+
+ all-HPUX:
+- ( BIG5ENC=big5 BIG5HKENC=hkbig5 make -f Rules make-big5 make-big5hkscs )
++ ( BIG5ENC=big5 BIG5HKENC=hkbig5 $(MAKE) -f Rules make-big5 make-big5hkscs )
+
+ all-SOLARIS:
+- ( BIG5ENC=big5 make -f Rules make-big5 )
++ ( BIG5ENC=big5 $(MAKE) -f Rules make-big5 )
+
+
+ install: all install-$(OS_TYPE)
+
+ install-LINUX:
+- ( BIG5ENC=big5 BIG5HKENC=big5hkscs make -f Rules install_big5 install_big5hkscs )
++ ( BIG5ENC=big5 BIG5HKENC=big5hkscs $(MAKE) -f Rules install_big5 install_big5hkscs )
+
+ install-FREEBSD:
+- ( BIG5ENC=big5 make -f Rules install_big5 )
++ ( BIG5ENC=big5 $(MAKE) -f Rules install_big5 )
+
+ install-OPENBSD:
+- ( BIG5ENC=big5 make -f Rules install_big5 )
++ ( BIG5ENC=big5 $(MAKE) -f Rules install_big5 )
+
+ install-NETBSD:
+- ( BIG5ENC=big5 make -f Rules install_big5 )
++ ( BIG5ENC=big5 $(MAKE) -f Rules install_big5 )
+
+ install-HPUX:
+- ( BIG5ENC=big5 BIG5HKENC=hkbig5 make -f Rules install_big5 install_big5hkscs )
++ ( BIG5ENC=big5 BIG5HKENC=hkbig5 $(MAKE) -f Rules install_big5 install_big5hkscs )
+
+ install-SOLARIS:
+- ( BIG5ENC=big5 make -f Rules install_big5 )
++ ( BIG5ENC=big5 $(MAKE) -f Rules install_big5 )
+
+
+ clean:
+diff -ur xcin-2.5.2.99.pre2+cvs20030224.orig/cin/gb/Makefile.in xcin-2.5.2.99.pre2+cvs20030224/cin/gb/Makefile.in
+--- xcin-2.5.2.99.pre2+cvs20030224.orig/cin/gb/Makefile.in 2001-09-07 00:41:33.000000000 +0900
++++ xcin-2.5.2.99.pre2+cvs20030224/cin/gb/Makefile.in 2011-11-21 00:44:07.491653510 +0900
+@@ -9,43 +9,43 @@
+ all: all-$(OS_TYPE)
+
+ all-LINUX:
+- ( GB2312ENC=gb2312 GBKENC=gbk make -f Rules make-gb2312 make-gbk )
++ ( GB2312ENC=gb2312 GBKENC=gbk $(MAKE) -f Rules make-gb2312 make-gbk )
+
+ all-FREEBSD:
+- ( GB2312ENC=euc make -f Rules make-gb2312 )
++ ( GB2312ENC=euc $(MAKE) -f Rules make-gb2312 )
+
+ all-OPENBSD:
+- ( GB2312ENC=euc make -f Rules make-gb2312 )
++ ( GB2312ENC=euc $(MAKE) -f Rules make-gb2312 )
+
+ all-NETBSD:
+- ( GB2312ENC=euccn make -f Rules make-gb2312 )
++ ( GB2312ENC=euccn $(MAKE) -f Rules make-gb2312 )
+
+ all-HPUX:
+- ( GB2312ENC=hp15cn make -f Rules make-gb2312 )
++ ( GB2312ENC=hp15cn $(MAKE) -f Rules make-gb2312 )
+
+ all-SOLARIS:
+- ( GB2312ENC=euc make -f Rules make-gb2312 )
++ ( GB2312ENC=euc $(MAKE) -f Rules make-gb2312 )
+
+
+ install: all install-$(OS_TYPE)
+
+ install-LINUX:
+- ( GB2312ENC=gb2312 GBKENC=gbk make -f Rules install_gb2312 install_gbk )
++ ( GB2312ENC=gb2312 GBKENC=gbk $(MAKE) -f Rules install_gb2312 install_gbk )
+
+ install-FREEBSD:
+- ( GB2312ENC=euc make -f Rules install_gb2312 )
++ ( GB2312ENC=euc $(MAKE) -f Rules install_gb2312 )
+
+ install-OPENBSD:
+- ( GB2312ENC=euc make -f Rules install_gb2312 )
++ ( GB2312ENC=euc $(MAKE) -f Rules install_gb2312 )
+
+ install-NETBSD:
+- ( GB2312ENC=euccn make -f Rules install_gb2312 )
++ ( GB2312ENC=euccn $(MAKE) -f Rules install_gb2312 )
+
+ install-HPUX:
+- ( GB2312ENC=hp15cn make -f Rules install_gb2312 )
++ ( GB2312ENC=hp15cn $(MAKE) -f Rules install_gb2312 )
+
+ install-SOLARIS:
+- ( GB2312ENC=euc make -f Rules install_gb2312 )
++ ( GB2312ENC=euc $(MAKE) -f Rules install_gb2312 )
+
+ clean:
+ rm -f *.tab* core
diff --git a/app-i18n/xcin/metadata.xml b/app-i18n/xcin/metadata.xml
new file mode 100644
index 000000000000..c921b96adf6c
--- /dev/null
+++ b/app-i18n/xcin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild b/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild
new file mode 100644
index 000000000000..44255b37febd
--- /dev/null
+++ b/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+inherit multilib eutils autotools libtool
+
+MY_P=${PN}_2.5.2.99.pre2+cvs20030224
+
+DESCRIPTION="Chinese X Input Method"
+HOMEPAGE="http://cle.linux.org.tw/xcin/"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${MY_P}.orig.tar.gz
+ mirror://debian/pool/main/x/${PN}/${MY_P}-1.4.diff.gz"
+
+LICENSE="XCIN GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE="debug nls unicode"
+
+RDEPEND=">=sys-libs/db-4.5
+ >=app-i18n/libtabe-0.2.6
+ unicode? ( media-fonts/hkscs-ming
+ media-fonts/arphicfonts )
+ app-i18n/libchewing
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P/_/-}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}"/${MY_P}-1.4.diff
+ epatch "${FILESDIR}"/${P}-glibc-2.10.patch
+ rm -f configure
+ cd script
+ elibtoolize
+ eautoreconf
+ mv configure ../
+ cd ..
+}
+
+src_compile() {
+ myconf="--with-xcin-rcdir=/etc
+ --with-xcin-dir=/usr/$(get_libdir)/xcin25
+ --with-db-lib=/usr/$(get_libdir)
+ --with-tabe-inc=/usr/include/tabe
+ --with-tabe-lib=/usr/$(get_libdir)
+ $(use_enable debug)"
+
+ econf ${myconf}
+ emake -j1 || die "emake failed."
+}
+
+src_install() {
+ emake \
+ prefix="${D}/usr" \
+ program_prefix="${D}" \
+ install || die
+
+ for docdir in doc doc/En doc/En/internal doc/history doc/internal doc/modules; do
+ docinto ${docdir#doc/}
+ if use unicode; then
+ for doc in $(find ${docdir} -maxdepth '1' -type 'f'); do
+ iconv -f BIG5 -t UTF-8 --output=${doc}.UTF-8 ${doc}
+ mv ${doc}.UTF-8 ${doc}
+ done
+ fi
+ dodoc ${docdir}/*
+ done
+}
diff --git a/app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild b/app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild
new file mode 100644
index 000000000000..5ba8a1b13e56
--- /dev/null
+++ b/app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+inherit multilib eutils autotools libtool
+
+MY_P=${PN}_2.5.2.99.pre2+cvs20030224
+
+DESCRIPTION="Chinese X Input Method"
+HOMEPAGE="http://cle.linux.org.tw/xcin/"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${MY_P}.orig.tar.gz
+ mirror://debian/pool/main/x/${PN}/${MY_P}-1.4.diff.gz"
+
+LICENSE="XCIN GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug nls unicode"
+
+RDEPEND=">=sys-libs/db-4.5
+ >=app-i18n/libtabe-0.2.6
+ unicode? ( media-fonts/hkscs-ming
+ media-fonts/arphicfonts )
+ app-i18n/libchewing
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${MY_P/_/-}"
+
+src_prepare() {
+ epatch \
+ "${WORKDIR}"/${MY_P}-1.4.diff \
+ "${FILESDIR}"/${P}-glibc-2.10.patch \
+ "${FILESDIR}"/${P}-make.patch \
+ "${FILESDIR}"/${P}-ldflags.patch
+ rm -f configure
+ cd script
+ elibtoolize
+ eautoreconf
+ mv configure ../
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ --with-xcin-rcdir="${EPREFIX}/etc" \
+ --with-xcin-dir="${EPREFIX}/usr/$(get_libdir)/xcin25" \
+ --with-db-lib="${EPREFIX}/usr/$(get_libdir)" \
+ --with-tabe-inc="${EPREFIX}/usr/include/tabe" \
+ --with-tabe-lib="${EPREFIX}/usr/$(get_libdir)" \
+ $(use_enable debug)
+}
+
+src_compile() {
+ emake -j1 || die "emake failed."
+}
+
+src_install() {
+ emake \
+ prefix="${ED}/usr" \
+ program_prefix="${D}" \
+ install || die
+
+ find "${ED}" -name "*.la" -type f -delete || die
+
+ for docdir in doc doc/En doc/En/internal doc/history doc/internal doc/modules; do
+ docinto ${docdir#doc/}
+ for doc in $(find ${docdir} -maxdepth '1' -type 'f'); do
+ if use unicode; then
+ iconv -f BIG5 -t UTF-8 --output=${doc}.UTF-8 ${doc}
+ mv ${doc}.UTF-8 ${doc}
+ fi
+ dodoc ${doc}
+ done
+ done
+}