From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-i18n/xcin/Manifest | 10 ++ .../xcin/files/xcin-2.5.3_pre3-glibc-2.10.patch | 110 +++++++++++++++++++ app-i18n/xcin/files/xcin-2.5.3_pre3-ldflags.patch | 96 +++++++++++++++++ app-i18n/xcin/files/xcin-2.5.3_pre3-make.patch | 118 +++++++++++++++++++++ app-i18n/xcin/metadata.xml | 8 ++ app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild | 70 ++++++++++++ app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild | 76 +++++++++++++ 7 files changed, 488 insertions(+) create mode 100644 app-i18n/xcin/Manifest create mode 100644 app-i18n/xcin/files/xcin-2.5.3_pre3-glibc-2.10.patch create mode 100644 app-i18n/xcin/files/xcin-2.5.3_pre3-ldflags.patch create mode 100644 app-i18n/xcin/files/xcin-2.5.3_pre3-make.patch create mode 100644 app-i18n/xcin/metadata.xml create mode 100644 app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild create mode 100644 app-i18n/xcin/xcin-2.5.3_pre3-r3.ebuild (limited to 'app-i18n/xcin') diff --git a/app-i18n/xcin/Manifest b/app-i18n/xcin/Manifest new file mode 100644 index 000000000000..a15524ba26d3 --- /dev/null +++ b/app-i18n/xcin/Manifest @@ -0,0 +1,10 @@ +AUX xcin-2.5.3_pre3-glibc-2.10.patch 5024 SHA256 f5887cb991098495d783fa72acf419bc6edee2dd7f7c4068570bb8386b812272 SHA512 5c6166b9621b0a58ee516a3a0566a36b550b0652c426589feb2839247dbebc76285bbb958f8f4524c6536f9fb84b248f70e54310e7eb320158235e86cd9ce1dc WHIRLPOOL f484765fbae7a66b730425e188407837cb312d950e5b4ec5a1e3a94e42d8468665f2978f24127c237f27bdf92ac7b13ef923ed831aab942c5c6aba26de20b5c3 +AUX xcin-2.5.3_pre3-ldflags.patch 4525 SHA256 d774054e16b145662347c8aa7f098b54d76f3fc0725162892034e8114357e9f0 SHA512 369c68e187b17105fbcbdefafd753b56f014192a02c5a2a6b30e7f220564e3d838f433598b1f2ef37530aac7c5d6e43817c607ac473876a4b00da5dede9db87e WHIRLPOOL 391f0ba83e523a60bcb284509fd84f3662ae455848c143c6781684b55553d69282418ea85fa5ee9365e93ada8e3a292f4dcce09f6a9dd3aaeead81ef2348dc76 +AUX xcin-2.5.3_pre3-make.patch 3886 SHA256 3ba14c11aaa5d5370966bd38a816e5b53ea5e997acbb4b009493232828d17083 SHA512 033811b89842369740af7df884d29acd52a9c47fa773e087226116d6cbf7d9127cc1bfc7de3b511a9a01d7135c74d17860d0a782ba6c32ee6220b828b3055e6c WHIRLPOOL 29e01ee2be5a8f9bdc9e7e223fd7453799d5225d1b7c0fd991a131cd9a07ba29bcd525d375866caf30ca58ab8c23bddca2eee6c3c96d7d0704ba7a1bc92d74f6 +DIST xcin_2.5.2.99.pre2+cvs20030224-1.4.diff.gz 1321937 SHA256 0497739e131da49169fe75f9155bb924cdc31c9be6d8ebd3eedb4afc935f71ad SHA512 d1c6a667a8dcf996e02d694a0ff73eca409f542ce11b0e4d8563ed04c62e12c1d8feb6307153c5cfe982e66848b414dd65fc23d022ccc54cf2a0e3978b8c33e5 WHIRLPOOL bf730e7031bdd6a47f55920b781de9a79d95bc13d963ecbdeee6524c303894fc942f0db6cbcb31ee57831f95c26746cef7a20f46ca60e4c7d2f8c27223ad306e +DIST xcin_2.5.2.99.pre2+cvs20030224.orig.tar.gz 1530591 SHA256 a86f0e5aa877d579731ac514a0072beaf3fecd6f181f068be29f091d6281e9ae SHA512 1068a9cf7f3b7ff3c2ff7e0443e487e660f3ec8c7f0114f1ad614fb1c7a73d15613ce0c198514816f00afaaa22434660ed11d329413bf010aa52b27513a5ac14 WHIRLPOOL fa5913ccd66bd29757d86d95c70be3704cf03753c3b601168ac36888c0e709f1ce2db66f56152c0daad734e49ac70dc1f7ce9d8ecf1d13d0821ed7833ac1d7a5 +EBUILD xcin-2.5.3_pre3-r2.ebuild 1586 SHA256 59ff0ee66cc949495e9d0e6389b441d32d5a6c64b4aa246ee0078393db4e9bb2 SHA512 ade7bdba16000402416297079676bcf7522c9747ec5267e32b5aa5159a0daa7076fdd551216da8f389b4a5874677b72d2dc581dc8cceef5f74096ba10862af6b WHIRLPOOL dfb3e5c2d1a5b8260bc0e3b73d663cb77716f9e166fce68bf29c0ccaa32758fb13dc59441d36aeada6de52f768ccd927b288780cda001eea16574a127bc6211f +EBUILD xcin-2.5.3_pre3-r3.ebuild 1785 SHA256 efca0fb3b9d8efe28ae16e5684ab560868cbc3bc5dc6bcd50f11e271dccfd1f3 SHA512 229f3107ffedb76d20d9fccb19a6be4c86393e8b5ed382d1ef44c45148487210192b96f3dffb8c6a3aa0e8612380bb3e24cb7bec2fbe986f8cb21c7e8bce646e WHIRLPOOL ca3af3e1ee5a8e53c3e38c39fc00fa3a213691ee5e3af926425f45199336e03330a925ecdb242ddc7fe9e6b2a3e648018c591629d1c157d2c261c99cfba8fe88 +MISC ChangeLog 2614 SHA256 32935a0f330a0b49b8cd7aa74bb7aaa8bfd6586e206ae9702ff4972d599ac499 SHA512 ec89645eb77d9c32f6eba3b8abd874d14deed659b14a2182c9735e8b96cb135c8ae70d8e55b24b498c136f0c3695e3ca3b674478b3cec15ace8c393e704669ec WHIRLPOOL 51cb385468ef84ea3e791593ebe2fd0e553cb684d5a18c403891666e741dc6e0890c023216e04600a1cb0152134b1db6249b26be1de76c8b414640936df2e713 +MISC ChangeLog-2015 3074 SHA256 aa4192ffea891c46619ad9b4bbdfa445caf0d65284d21fd99cb83d32f9e827a6 SHA512 11c0a4831633736a2521e90a1bf3e6ae08e2a688e69372fd5d6cf167d7250172994acb7a084964334928331e6f207fc363790f22e6b76537f50a1aa20c245279 WHIRLPOOL 57e22ac61009335e5d4b5194e6851eb4dd33a5862bed309ad886a217bd9c16cee73c0f686ad1bd416fa42fec7e70e2aaa4d8e3f649321915a1dddcca5f2e1b10 +MISC metadata.xml 230 SHA256 5fc421627b578ee2d1317320525119c0b406026597bb1d054f96254a241bf96a SHA512 74065bee639a38ecdef7c32280ed43a8f1627362cd8e97e714a09bcf116ae8bc4c61b2ab13c31bd02a22ae8a5a201263981ee519a0b6ba9df81a4d5f3cd94eb1 WHIRLPOOL b3c1363540645200abd5bf0b5b7fb3cae0b738bfd359f7b13b56d97650f9381fccede1e3f867dbc736461ee7c7906725a3c53eabd9ac99929d5c7c520a831082 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 @@ + + + + + cjk@gentoo.org + Cjk + + 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..045287f7c182 --- /dev/null +++ b/app-i18n/xcin/xcin-2.5.3_pre3-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} -- cgit v1.2.3