From 242e4d63b836ecce6847a80832e5155984f6c937 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Fri, 15 Jul 2016 05:22:20 +1000 Subject: app-i18n/xsim: remove last rited package Gentoo-bug: 575374 --- app-i18n/xsim/Manifest | 1 - app-i18n/xsim/files/xsim-0.3.9.4-64bit.patch | 57 -------- app-i18n/xsim/files/xsim-0.3.9.4-compile-fix.patch | 77 ----------- app-i18n/xsim/files/xsim-0.3.9.4-eof.patch | 92 ------------- app-i18n/xsim/files/xsim-0.3.9.4-gcc-3.4.patch | 116 ---------------- app-i18n/xsim/files/xsim-0.3.9.4-gcc-4.3.patch | 44 ------ app-i18n/xsim/files/xsim-0.3.9.4-makefile.patch | 153 --------------------- app-i18n/xsim/metadata.xml | 8 -- app-i18n/xsim/xsim-0.3.9.4-r5.ebuild | 79 ----------- 9 files changed, 627 deletions(-) delete mode 100644 app-i18n/xsim/Manifest delete mode 100644 app-i18n/xsim/files/xsim-0.3.9.4-64bit.patch delete mode 100644 app-i18n/xsim/files/xsim-0.3.9.4-compile-fix.patch delete mode 100644 app-i18n/xsim/files/xsim-0.3.9.4-eof.patch delete mode 100644 app-i18n/xsim/files/xsim-0.3.9.4-gcc-3.4.patch delete mode 100644 app-i18n/xsim/files/xsim-0.3.9.4-gcc-4.3.patch delete mode 100644 app-i18n/xsim/files/xsim-0.3.9.4-makefile.patch delete mode 100644 app-i18n/xsim/metadata.xml delete mode 100644 app-i18n/xsim/xsim-0.3.9.4-r5.ebuild (limited to 'app-i18n') diff --git a/app-i18n/xsim/Manifest b/app-i18n/xsim/Manifest deleted file mode 100644 index 65de86a14572..000000000000 --- a/app-i18n/xsim/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST xsim-0.3.9.4.tar.gz 1025640 SHA256 048f23527543b21c4d52dc98967ec7253c34eb704056767364c6dc5007971b2c SHA512 07955cf68cc060724db5fdf04f2f55a93dfe29064b63170bb3c090443aa617de5d76ddd5cda971b16833fd2e090aa78a3bbc0c85e9eb2b4716dfa90c994fc8d3 WHIRLPOOL 9de70a58279849d8e370d96f97459d866ca213feeeed16f00ddcd48d003f994999da26e635c718ffd9da8291c8c97bfe043df851ef809ee6e888492f7bcda8e7 diff --git a/app-i18n/xsim/files/xsim-0.3.9.4-64bit.patch b/app-i18n/xsim/files/xsim-0.3.9.4-64bit.patch deleted file mode 100644 index 3b6f0f5d06a5..000000000000 --- a/app-i18n/xsim/files/xsim-0.3.9.4-64bit.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff -Naur xsim-0.3.9.4.orig/plugins/IMs/jianpin/simpleimc.h xsim-0.3.9.4/plugins/IMs/jianpin/simpleimc.h ---- xsim-0.3.9.4.orig/plugins/IMs/jianpin/simpleimc.h 2002-10-22 18:01:04.000000000 +0900 -+++ xsim-0.3.9.4/plugins/IMs/jianpin/simpleimc.h 2007-08-20 23:15:06.000000000 +0900 -@@ -45,7 +45,7 @@ - uint16_t access_count; - wchar_t w[MAX_WORD_LEN + 1]; - -- size_t ac_size() { return (uint32_t) w - (uint32_t)&access_count; } -+ size_t ac_size() { return (size_t) w - (size_t)&access_count; } - size_t size(){ return ac_size() + wcslen(w) * sizeof(wchar_t); } - void copy(struct Word_Rec_tag * val) { memcpy(this, val, sizeof(Word_Rec_tag));} - }Word_Rec; -diff -Naur xsim-0.3.9.4.orig/plugins/IMs/table/tableimc.h xsim-0.3.9.4/plugins/IMs/table/tableimc.h ---- xsim-0.3.9.4.orig/plugins/IMs/table/tableimc.h 2002-09-13 20:34:03.000000000 +0900 -+++ xsim-0.3.9.4/plugins/IMs/table/tableimc.h 2007-08-20 23:15:47.000000000 +0900 -@@ -23,7 +23,7 @@ - uint8_t sort_index; - wchar_t w[MAX_WORD_LEN + 1]; - -- size_t si_size() { return (uint32_t) w - (uint32_t)&sort_index; } -+ size_t si_size() { return (size_t) w - (size_t)&sort_index; } - size_t size(){ return si_size() + (wcslen(w) + 1) * sizeof(wchar_t); } - void copy(struct Word_Rec_tag * val) { memcpy(this, val, sizeof(Word_Rec_tag));} - }Word_Rec; -diff -Naur xsim-0.3.9.4.orig/xsim/ic.cpp xsim-0.3.9.4/xsim/ic.cpp ---- xsim-0.3.9.4.orig/xsim/ic.cpp 2002-10-01 14:41:23.000000000 +0900 -+++ xsim-0.3.9.4/xsim/ic.cpp 2007-08-20 23:16:11.000000000 +0900 -@@ -101,7 +101,7 @@ - on_stat = 0; - } - --int TIC::alive() -+long TIC::alive() - { -- return (int)im; -+ return (long)im; - } -diff -Naur xsim-0.3.9.4.orig/xsim/ic.h xsim-0.3.9.4/xsim/ic.h ---- xsim-0.3.9.4.orig/xsim/ic.h 2002-07-15 00:14:24.000000000 +0900 -+++ xsim-0.3.9.4/xsim/ic.h 2007-08-20 23:16:52.000000000 +0900 -@@ -76,14 +76,14 @@ - void set_im(TIM * val); - - TIMC * get_imc(); -- int has_imc() { return (int)imc; } -+ long has_imc() { return (long)imc; } - - void init(int init_mode, TIM * val); - - static TIC * get_focus_ic() { return focused_ic; } - IC * get_IC() { return &ic_; }; - -- int alive(); -+ long alive(); - Window get_client_win() { return ic_.client_win; } - - int has_focus() { return (focused_ic == this); } diff --git a/app-i18n/xsim/files/xsim-0.3.9.4-compile-fix.patch b/app-i18n/xsim/files/xsim-0.3.9.4-compile-fix.patch deleted file mode 100644 index 0a53e3431261..000000000000 --- a/app-i18n/xsim/files/xsim-0.3.9.4-compile-fix.patch +++ /dev/null @@ -1,77 +0,0 @@ -diff -uNr xsim-0.3.9.4.orig/configure xsim-0.3.9.4/configure ---- xsim-0.3.9.4.orig/configure 2002-10-24 20:53:57.000000000 +0200 -+++ xsim-0.3.9.4/configure 2005-01-27 16:21:18.553956144 +0100 -@@ -5067,13 +5067,13 @@ - - - if test "x$enable_debug" = "x1" ; then -- CFLAGS="-g -Wall -O2 -DDEBUG -I$x_includes" -+ CFLAGS="-g -Wall -O2 -DDEBUG" - CXXFLAGS=$CFLAGS -- LDFLAGS="-g -L$x_libraries" -+ LDFLAGS="-g" - else -- CFLAGS="-Wall -O2 -I$x_includes" -+ CFLAGS="-Wall -O2" - CXXFLAGS=$CFLAGS -- LDFLAGS="-L$x_libraries" -+ LDFLAGS="" - fi - - if test "x$enable_mdk_patch" = "x1" ; then -@@ -5085,6 +5085,7 @@ - - if test "$bdbinc" = "NONE"; then - bdb_include_dirs="\ -+ /usr/include/db4.1 \ - /usr/include/db4 \ - /usr/include/db3 \ - /usr/local/include \ -diff -uNr xsim-0.3.9.4.orig/plugins/IMs/jianpin/pyphraser.cpp xsim-0.3.9.4/plugins/IMs/jianpin/pyphraser.cpp ---- xsim-0.3.9.4.orig/plugins/IMs/jianpin/pyphraser.cpp 2002-09-29 05:03:29.000000000 +0200 -+++ xsim-0.3.9.4/plugins/IMs/jianpin/pyphraser.cpp 2005-01-27 15:42:06.553514560 +0100 -@@ -16,6 +16,8 @@ - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -+#include -+ - #include "wstring.h" - #include "pyphraser.h" - #include "simpleimc.h" -diff -uNr xsim-0.3.9.4.orig/plugins/IMs/jianpin/simpleim.cpp xsim-0.3.9.4/plugins/IMs/jianpin/simpleim.cpp ---- xsim-0.3.9.4.orig/plugins/IMs/jianpin/simpleim.cpp 2002-10-22 11:42:51.000000000 +0200 -+++ xsim-0.3.9.4/plugins/IMs/jianpin/simpleim.cpp 2005-01-27 15:38:13.771902744 +0100 -@@ -15,6 +15,8 @@ - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ -+#include -+ - #include - - #include "simpleim.h" -diff -uNr xsim-0.3.9.4.orig/plugins/IMs/wubi/wubiim.cpp xsim-0.3.9.4/plugins/IMs/wubi/wubiim.cpp ---- xsim-0.3.9.4.orig/plugins/IMs/wubi/wubiim.cpp 2002-10-22 11:22:13.000000000 +0200 -+++ xsim-0.3.9.4/plugins/IMs/wubi/wubiim.cpp 2005-01-27 16:06:29.427123968 +0100 -@@ -16,6 +16,8 @@ - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -+#include -+ - #include - - #include "wubiim.h" -diff -uNr xsim-0.3.9.4.orig/xsim/im.cpp xsim-0.3.9.4/xsim/im.cpp ---- xsim-0.3.9.4.orig/xsim/im.cpp 2002-09-17 09:55:26.000000000 +0200 -+++ xsim-0.3.9.4/xsim/im.cpp 2005-01-27 16:07:52.252532592 +0100 -@@ -16,6 +16,8 @@ - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -+#include -+ - #include - - #include "im.h" diff --git a/app-i18n/xsim/files/xsim-0.3.9.4-eof.patch b/app-i18n/xsim/files/xsim-0.3.9.4-eof.patch deleted file mode 100644 index 3982bf2703c9..000000000000 --- a/app-i18n/xsim/files/xsim-0.3.9.4-eof.patch +++ /dev/null @@ -1,92 +0,0 @@ -diff --git a/plugins/IMs/jianpin/dict/char2db.cpp b/plugins/IMs/jianpin/dict/char2db.cpp -index f36dda9..fb17c6e 100644 ---- a/plugins/IMs/jianpin/dict/char2db.cpp -+++ b/plugins/IMs/jianpin/dict/char2db.cpp -@@ -166,6 +166,8 @@ int main(int argc, char * argv[]) - int i = 0; - for (;;){ - in >> mark; -+ if (in.eof()) -+ break; - in.unget(); - if (mark == '%'){ //for comments - in.getline(dummy, 255); -@@ -175,9 +177,6 @@ int main(int argc, char * argv[]) - } - in >> ckey.py >> c; - -- if (in.eof()) -- break; -- - if (strlen(c) != 2){ - cout << "error on line: " << i << endl; - exit(1); -diff --git a/plugins/IMs/jianpin/dict/word2db.cpp b/plugins/IMs/jianpin/dict/word2db.cpp -index 6b6b8e0..f9a6d0b 100644 ---- a/plugins/IMs/jianpin/dict/word2db.cpp -+++ b/plugins/IMs/jianpin/dict/word2db.cpp -@@ -103,6 +103,8 @@ int main(int argc, char * argv[]) - rec.access_count = MAX_ACCESS_COUNT; - for (;;){ - in >> mark; -+ if (in.eof()) -+ break; - in.unget(); - if (mark == '%'){ //for comments - in.getline(wk.py, sizeof(wk.py)); -@@ -113,9 +115,6 @@ int main(int argc, char * argv[]) - - in >> w >> wk.py; - -- if (in.eof()) -- break; -- - if ((wk.py[0] < 'a') || (wk.py[0] > 'z')){ - cerr << " error on line:" << i << endl; - db.close(0); -diff --git a/plugins/IMs/table/dict/word2db.cpp b/plugins/IMs/table/dict/word2db.cpp -index aa19a60..f0368ce 100644 ---- a/plugins/IMs/table/dict/word2db.cpp -+++ b/plugins/IMs/table/dict/word2db.cpp -@@ -112,6 +112,8 @@ int main(int argc, char * argv[]) - for (;;){ - j++; - in >> mark; -+ if (in.eof()) -+ break; - in.unget(); - if ((mark == '%') || (mark == '#')){ //for comments - in.getline((char *)wbuf, 1000); -@@ -123,9 +125,6 @@ int main(int argc, char * argv[]) - - in >> wk.key >> w; - -- if (in.eof()) -- break; -- - if ((wk.key[0] < 'a') || (wk.key[0] > 'z')){ - //cerr << " error on line:" << j << endl; - errcnt ++; -diff --git a/plugins/IMs/wubi/dict/word2db.cpp b/plugins/IMs/wubi/dict/word2db.cpp -index a1df52b..3fe1e3e 100644 ---- a/plugins/IMs/wubi/dict/word2db.cpp -+++ b/plugins/IMs/wubi/dict/word2db.cpp -@@ -103,6 +103,8 @@ int main(int argc, char * argv[]) - for (;;){ - j++; - in >> mark; -+ if (in.eof()) -+ break; - in.unget(); - if (mark == '%'){ //for comments - in.getline(wk.key, sizeof(wk.key)); -@@ -114,9 +116,6 @@ int main(int argc, char * argv[]) - - in >> wk.key >> w; - -- if (in.eof()) -- break; -- - if ((wk.key[0] < 'a') || (wk.key[0] > 'z')){ - //cerr << " error on line:" << j << endl; - errcnt ++; diff --git a/app-i18n/xsim/files/xsim-0.3.9.4-gcc-3.4.patch b/app-i18n/xsim/files/xsim-0.3.9.4-gcc-3.4.patch deleted file mode 100644 index 0464d47dad08..000000000000 --- a/app-i18n/xsim/files/xsim-0.3.9.4-gcc-3.4.patch +++ /dev/null @@ -1,116 +0,0 @@ -diff --git a/plugins/IMs/jianpin/dict/char2db.cpp b/plugins/IMs/jianpin/dict/char2db.cpp -index d881f20..e4ddbab 100644 ---- a/plugins/IMs/jianpin/dict/char2db.cpp -+++ b/plugins/IMs/jianpin/dict/char2db.cpp -@@ -74,11 +74,7 @@ void build_freq_tab(char * filename) - { - filebuf f; - --#ifdef _CPP_BITS_IOSBASE_H - f.open(filename, ios_base::in); --#else -- f.open(filename, "r"); --#endif - istream in(&f); - - char cbuf[10]; -@@ -154,11 +150,7 @@ int main(int argc, char * argv[]) - - filebuf f; - --#ifdef _CPP_BITS_IOSBASE_H - f.open(argv[1], ios_base::in); --#else -- f.open(argv[1], "r"); --#endif - istream in(&f); - - char mark; -diff --git a/plugins/IMs/jianpin/dict/word2db.cpp b/plugins/IMs/jianpin/dict/word2db.cpp -index 806f6c4..5baa630 100644 ---- a/plugins/IMs/jianpin/dict/word2db.cpp -+++ b/plugins/IMs/jianpin/dict/word2db.cpp -@@ -83,11 +83,7 @@ int main(int argc, char * argv[]) - - filebuf f; - --#ifdef _CPP_BITS_IOSBASE_H - f.open(argv[1], ios_base::in); --#else -- f.open(argv[1], "r"); --#endif - istream in(&f); - - char mark; -diff --git a/plugins/IMs/table/dict/word2db.cpp b/plugins/IMs/table/dict/word2db.cpp -index 17d0dcf..275ee61 100644 ---- a/plugins/IMs/table/dict/word2db.cpp -+++ b/plugins/IMs/table/dict/word2db.cpp -@@ -90,11 +90,7 @@ int main(int argc, char * argv[]) - - filebuf f; - --#ifdef _CPP_BITS_IOSBASE_H - f.open(argv[1], ios_base::in); --#else -- f.open(argv[1], "r"); --#endif - istream in(&f); - - char mark; -diff --git a/plugins/IMs/wubi/dict/word2db.cpp b/plugins/IMs/wubi/dict/word2db.cpp -index 0dbc7e4..e191aa8 100644 ---- a/plugins/IMs/wubi/dict/word2db.cpp -+++ b/plugins/IMs/wubi/dict/word2db.cpp -@@ -81,11 +81,7 @@ int main(int argc, char * argv[]) - - filebuf f; - --#ifdef _CPP_BITS_IOSBASE_H - f.open(argv[1], ios_base::in); --#else -- f.open(argv[1], "r"); --#endif - istream in(&f); - - char mark; -diff --git a/xsim/conf.cpp b/xsim/conf.cpp -index a073bb2..a2bffb0 100644 ---- a/xsim/conf.cpp -+++ b/xsim/conf.cpp -@@ -133,11 +133,7 @@ int TConf::init() - filebuf f; - - char dummy[MAX_PATH_LEN + 1]; --#ifdef _CPP_BITS_IOSBASE_H - if (!f.open(config_path.tombs(dummy, MAX_PATH_LEN), ios_base::in)){ --#else -- if (!f.open(config_path.tombs(dummy, MAX_PATH_LEN), "r")){ --#endif - cerr << "XSIM: failed opening config file" << endl; - return 1; - } -@@ -340,11 +336,7 @@ void TConf::save_config(const wchar_t * configname, vector & name, vec - - filebuf f; - --#ifdef _CPP_BITS_IOSBASE_H - if (f.open(path.tombs(dummy, MAX_PATH_LEN), ios_base::out)){ --#else -- if (f.open(path.tombs(dummy, MAX_PATH_LEN), "w")){ --#endif - ostream out(&f); - for (size_t i = 0; i < name.size(); i++){ - out << name[i].tombs(dummy, MAX_PATH_LEN) << '\t'; -@@ -372,11 +364,7 @@ int TConf::load_config(const wchar_t * configname, vector & name, vect - - filebuf f; - --#ifdef _CPP_BITS_IOSBASE_H - if (f.open(path.tombs(dummy, MAX_PATH_LEN), ios_base::in)){ --#else -- if (f.open(path.tombs(dummy, MAX_PATH_LEN), "r")){ --#endif - istream in(&f); - char n[MAX_PATH_LEN + 1]; - char v[MAX_PATH_LEN + 1]; diff --git a/app-i18n/xsim/files/xsim-0.3.9.4-gcc-4.3.patch b/app-i18n/xsim/files/xsim-0.3.9.4-gcc-4.3.patch deleted file mode 100644 index f6df247b03ef..000000000000 --- a/app-i18n/xsim/files/xsim-0.3.9.4-gcc-4.3.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -Naur xsim-0.3.9.4.orig/plugins/IMs/jianpin/dict/char2db.cpp xsim-0.3.9.4/plugins/IMs/jianpin/dict/char2db.cpp ---- xsim-0.3.9.4.orig/plugins/IMs/jianpin/dict/char2db.cpp 2002-09-23 13:22:39.000000000 +0900 -+++ xsim-0.3.9.4/plugins/IMs/jianpin/dict/char2db.cpp 2008-09-09 18:56:56.000000000 +0900 -@@ -21,6 +21,7 @@ - #include - #include - #include -+#include - - #include - -diff -Naur xsim-0.3.9.4.orig/plugins/IMs/jianpin/dict/word2db.cpp xsim-0.3.9.4/plugins/IMs/jianpin/dict/word2db.cpp ---- xsim-0.3.9.4.orig/plugins/IMs/jianpin/dict/word2db.cpp 2002-09-23 13:24:17.000000000 +0900 -+++ xsim-0.3.9.4/plugins/IMs/jianpin/dict/word2db.cpp 2008-09-09 18:59:33.000000000 +0900 -@@ -21,6 +21,7 @@ - #include - #include - #include -+#include - - #include "../simpleimc.h" - -diff -Naur xsim-0.3.9.4.orig/plugins/IMs/table/dict/word2db.cpp xsim-0.3.9.4/plugins/IMs/table/dict/word2db.cpp ---- xsim-0.3.9.4.orig/plugins/IMs/table/dict/word2db.cpp 2002-09-23 13:34:06.000000000 +0900 -+++ xsim-0.3.9.4/plugins/IMs/table/dict/word2db.cpp 2008-09-09 23:52:31.000000000 +0900 -@@ -21,6 +21,7 @@ - #include - #include - #include -+#include - - #include "../tableimc.h" - -diff -Naur xsim-0.3.9.4.orig/plugins/IMs/wubi/dict/word2db.cpp xsim-0.3.9.4/plugins/IMs/wubi/dict/word2db.cpp ---- xsim-0.3.9.4.orig/plugins/IMs/wubi/dict/word2db.cpp 2002-09-23 13:28:45.000000000 +0900 -+++ xsim-0.3.9.4/plugins/IMs/wubi/dict/word2db.cpp 2008-09-09 23:19:27.000000000 +0900 -@@ -21,6 +21,7 @@ - #include - #include - #include -+#include - - #include "../wubiimc.h" - diff --git a/app-i18n/xsim/files/xsim-0.3.9.4-makefile.patch b/app-i18n/xsim/files/xsim-0.3.9.4-makefile.patch deleted file mode 100644 index 8488d1bf135b..000000000000 --- a/app-i18n/xsim/files/xsim-0.3.9.4-makefile.patch +++ /dev/null @@ -1,153 +0,0 @@ -diff --git a/Makefile.in b/Makefile.in -index 6a7a195..6d2b4e6 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -36,7 +36,7 @@ distclean: clean - done && test -z "$$fail" - - install-data: -- cd plugins/IMs;make install-data -+ cd plugins/IMs;$(MAKE) install-data - - uninstall: - @for dir in ${subdirs}; do \ -diff --git a/plugins/IMs/jianpin/Makefile.in b/plugins/IMs/jianpin/Makefile.in -index cbbac33..50d7ef0 100644 ---- a/plugins/IMs/jianpin/Makefile.in -+++ b/plugins/IMs/jianpin/Makefile.in -@@ -25,7 +25,7 @@ OBJS=simpleim.o simpleimc.o pyphraser.o - TARGET=jianpin.so - - all:$(TARGET) -- cd dict; make -+ cd dict; $(MAKE) - - jianpin.so:$(OBJS) - $(LD_SHAREEXE) -shared -o $(TARGET) $(OBJS) $(LDFLAGS) -L$(bdblibs) $(LIBS) -l$(bdblib) $(gcclib) -@@ -41,20 +41,20 @@ pyphraser.o:pyphraser.cpp pyphraser.h simpleimc.h $(include_path)wstring.h - - clean: - rm -f *.o $(TARGET) core *~ *.bak -- cd dict; make clean -+ cd dict; $(MAKE) clean - - distclean:clean - rm -rf Makefile -- cd dict; make distclean -+ cd dict; $(MAKE) distclean - - install:all - $(topdir)/mkinstalldirs $(xsim_libp) - cp -f $(TARGET) $(xsim_libp) -- cd dict; make install -+ cd dict; $(MAKE) install - - install-data: -- cd dict;make install-data -+ cd dict;$(MAKE) install-data - - uninstall: - cd $(xsim_libp); rm -f $(TARGET) -- cd dict;make uninstall -+ cd dict;$(MAKE) uninstall -diff --git a/plugins/IMs/table/Makefile.in b/plugins/IMs/table/Makefile.in -index a747560..cbc67bc 100644 ---- a/plugins/IMs/table/Makefile.in -+++ b/plugins/IMs/table/Makefile.in -@@ -25,7 +25,7 @@ OBJS=tableim.o tableimc.o - TARGET=table.so - - all:$(TARGET) -- cd dict; make -+ cd dict; $(MAKE) - - $(TARGET):$(OBJS) - $(LD_SHAREEXE) -shared -o $(TARGET) $(OBJS) $(LDFLAGS) -L$(bdblibs) $(LIBS) -l$(bdblib) $(gcclib) -@@ -38,20 +38,20 @@ tableimc.o:tableimc.h tableimc.cpp $(include_path)wstring.h $(include_path)imc.h - - clean: - rm -f *.o $(TARGET) core *~ *.bak -- cd dict; make clean -+ cd dict; $(MAKE) clean - - distclean:clean - rm -rf Makefile -- cd dict; make distclean -+ cd dict; $(MAKE) distclean - - install:all - $(topdir)/mkinstalldirs $(xsim_libp) - cp -f $(TARGET) $(xsim_libp) -- cd dict; make install -+ cd dict; $(MAKE) install - - install-data: -- cd dict;make install-data -+ cd dict;$(MAKE) install-data - - uninstall: - cd $(xsim_libp); rm -f $(TARGET) -- cd dict; make uninstall -+ cd dict; $(MAKE) uninstall -diff --git a/plugins/IMs/wubi/Makefile.in b/plugins/IMs/wubi/Makefile.in -index 031f1a7..c3d0f88 100644 ---- a/plugins/IMs/wubi/Makefile.in -+++ b/plugins/IMs/wubi/Makefile.in -@@ -25,7 +25,7 @@ OBJS=wubiim.o wubiimc.o - TARGET=wubi.so - - all:$(TARGET) -- cd dict; make -+ cd dict; $(MAKE) - - $(TARGET):$(OBJS) - $(LD_SHAREEXE) -shared -o $(TARGET) $(OBJS) $(LDFLAGS) -L$(bdblibs) $(LIBS) -l$(bdblib) $(gcclib) -@@ -38,20 +38,20 @@ wubiimc.o:wubiimc.h wubiimc.cpp $(include_path)wstring.h $(include_path)imc.h - - clean: - rm -f *.o $(TARGET) core *~ *.bak -- cd dict; make clean -+ cd dict; $(MAKE) clean - - distclean:clean - rm -rf Makefile -- cd dict; make distclean -+ cd dict; $(MAKE) distclean - - install:all - $(topdir)/mkinstalldirs $(xsim_libp) - cp -f $(TARGET) $(xsim_libp) -- cd dict; make install -+ cd dict; $(MAKE) install - - install-data: -- cd dict;make install-data -+ cd dict;$(MAKE) install-data - - uninstall: - cd $(xsim_libp); rm -f $(TARGET) -- cd dict; make uninstall -+ cd dict; $(MAKE) uninstall -diff --git a/xsim/Makefile.in b/xsim/Makefile.in -index d618a2c..bbe1599 100644 ---- a/xsim/Makefile.in -+++ b/xsim/Makefile.in -@@ -58,15 +58,15 @@ wstring.o:wstring.h wstring.cpp - $(CXX) -c wstring.cpp $(CXXFLAGS) -I./IMdkit - - IMdkit/libXimd.a: -- cd IMdkit;make -+ cd IMdkit;$(MAKE) - - clean: - rm -f *.o xsim core *~ *.bak -- cd IMdkit; make clean -+ cd IMdkit; $(MAKE) clean - - distclean:clean - rm -rf Makefile tags -- cd IMdkit; make distclean -+ cd IMdkit; $(MAKE) distclean - - install:all - $(topdir)/mkinstalldirs $(xsim_binp) diff --git a/app-i18n/xsim/metadata.xml b/app-i18n/xsim/metadata.xml deleted file mode 100644 index e1a49f498885..000000000000 --- a/app-i18n/xsim/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - cjk@gentoo.org - Cjk - - diff --git a/app-i18n/xsim/xsim-0.3.9.4-r5.ebuild b/app-i18n/xsim/xsim-0.3.9.4-r5.ebuild deleted file mode 100644 index a9880e5b86e4..000000000000 --- a/app-i18n/xsim/xsim-0.3.9.4-r5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit db-use eutils flag-o-matic multilib - -DESCRIPTION="A simple and fast GB and BIG5 Chinese XIM server" -HOMEPAGE="http://developer.berlios.de/projects/xsim/" -#SRC_URI="mirror://berlios/xsim/${P}.tar.gz" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug" - -RDEPEND=">=sys-libs/db-4.1 - x11-libs/libX11 - x11-libs/libXt" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" - -src_prepare() { - local dbver - - epatch "${FILESDIR}"/${P}-compile-fix.patch - epatch "${FILESDIR}"/${P}-gcc-3.4.patch - epatch "${FILESDIR}"/${P}-64bit.patch - # bug 227117 - epatch "${FILESDIR}"/${P}-gcc-4.3.patch - epatch "${FILESDIR}"/${P}-makefile.patch - epatch "${FILESDIR}"/${P}-eof.patch - - append-cppflags -DPIC - append-flags -fPIC -fno-strict-aliasing - - dbver="$(db_findver sys-libs/db)" - sed -i -e "s/\(CFLAGS.*\)-O2/\1${CFLAGS}/" \ - -e "s/LDFLAGS=\"/LDFLAGS=\"${LDFLAGS} /" \ - -e "s/libdb_cxx.so/libdb_cxx-${dbver}.so/" \ - -e "s/bdblib=\"db_cxx\"/bdblib=\"db_cxx-${dbver}\"/" configure* || die - - find . -name '*.in' | xargs sed -i \ - -e "s#\(@prefix@/\)\(dat\|plugins\)#\1$(get_libdir)/xsim/\2#" \ - -e "s#@prefix@/etc#/etc#" || die -} - -src_configure() { - local myconf="" - - use debug && myconf="--enable-debug" - - econf \ - --with-bdb-includes=$(db_includedir) \ - --without-qt3 \ - --without-kde3 \ - ${myconf} -} - -src_install() { - emake \ - xsim_datp="${D}"/usr/$(get_libdir)/xsim/dat \ - xsim_libp="${D}"usr/$(get_libdir)/xsim/plugins \ - xsim_binp="${D}"/usr/bin \ - xsim_etcp="${D}"/etc \ - install install-data - - dodoc ChangeLog KNOWNBUG README* TODO -} - -pkg_postinst() { - elog "XSIM needs write access to /usr/$(get_libdir)/xsim/dat/chardb, so if you" - elog "not running it as root, you need to do the following:" - elog - elog " cp -r /usr/$(get_libdir)/xsim/dat \${HOME}/.xsim" - elog " sed -i \"s#DICT_LOCAL.*#DICT_LOCAL \${HOME}/.xsim#\" > \${HOME}/.xsim/xsimrc" - echo -} -- cgit v1.2.3