Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/xsim/, app-i18n/xsim/files/
Date: Thu, 14 Jul 2016 19:29:38
Message-Id: 1468524545.242e4d63b836ecce6847a80832e5155984f6c937.kensington@gentoo
1 commit: 242e4d63b836ecce6847a80832e5155984f6c937
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 14 19:22:20 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 14 19:29:05 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=242e4d63
7
8 app-i18n/xsim: remove last rited package
9
10 Gentoo-bug: 575374
11
12 app-i18n/xsim/Manifest | 1 -
13 app-i18n/xsim/files/xsim-0.3.9.4-64bit.patch | 57 --------
14 app-i18n/xsim/files/xsim-0.3.9.4-compile-fix.patch | 77 -----------
15 app-i18n/xsim/files/xsim-0.3.9.4-eof.patch | 92 -------------
16 app-i18n/xsim/files/xsim-0.3.9.4-gcc-3.4.patch | 116 ----------------
17 app-i18n/xsim/files/xsim-0.3.9.4-gcc-4.3.patch | 44 ------
18 app-i18n/xsim/files/xsim-0.3.9.4-makefile.patch | 153 ---------------------
19 app-i18n/xsim/metadata.xml | 8 --
20 app-i18n/xsim/xsim-0.3.9.4-r5.ebuild | 79 -----------
21 9 files changed, 627 deletions(-)
22
23 diff --git a/app-i18n/xsim/Manifest b/app-i18n/xsim/Manifest
24 deleted file mode 100644
25 index 65de86a..0000000
26 --- a/app-i18n/xsim/Manifest
27 +++ /dev/null
28 @@ -1 +0,0 @@
29 -DIST xsim-0.3.9.4.tar.gz 1025640 SHA256 048f23527543b21c4d52dc98967ec7253c34eb704056767364c6dc5007971b2c SHA512 07955cf68cc060724db5fdf04f2f55a93dfe29064b63170bb3c090443aa617de5d76ddd5cda971b16833fd2e090aa78a3bbc0c85e9eb2b4716dfa90c994fc8d3 WHIRLPOOL 9de70a58279849d8e370d96f97459d866ca213feeeed16f00ddcd48d003f994999da26e635c718ffd9da8291c8c97bfe043df851ef809ee6e888492f7bcda8e7
30
31 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
32 deleted file mode 100644
33 index 3b6f0f5..0000000
34 --- a/app-i18n/xsim/files/xsim-0.3.9.4-64bit.patch
35 +++ /dev/null
36 @@ -1,57 +0,0 @@
37 -diff -Naur xsim-0.3.9.4.orig/plugins/IMs/jianpin/simpleimc.h xsim-0.3.9.4/plugins/IMs/jianpin/simpleimc.h
38 ---- xsim-0.3.9.4.orig/plugins/IMs/jianpin/simpleimc.h 2002-10-22 18:01:04.000000000 +0900
39 -+++ xsim-0.3.9.4/plugins/IMs/jianpin/simpleimc.h 2007-08-20 23:15:06.000000000 +0900
40 -@@ -45,7 +45,7 @@
41 - uint16_t access_count;
42 - wchar_t w[MAX_WORD_LEN + 1];
43 -
44 -- size_t ac_size() { return (uint32_t) w - (uint32_t)&access_count; }
45 -+ size_t ac_size() { return (size_t) w - (size_t)&access_count; }
46 - size_t size(){ return ac_size() + wcslen(w) * sizeof(wchar_t); }
47 - void copy(struct Word_Rec_tag * val) { memcpy(this, val, sizeof(Word_Rec_tag));}
48 - }Word_Rec;
49 -diff -Naur xsim-0.3.9.4.orig/plugins/IMs/table/tableimc.h xsim-0.3.9.4/plugins/IMs/table/tableimc.h
50 ---- xsim-0.3.9.4.orig/plugins/IMs/table/tableimc.h 2002-09-13 20:34:03.000000000 +0900
51 -+++ xsim-0.3.9.4/plugins/IMs/table/tableimc.h 2007-08-20 23:15:47.000000000 +0900
52 -@@ -23,7 +23,7 @@
53 - uint8_t sort_index;
54 - wchar_t w[MAX_WORD_LEN + 1];
55 -
56 -- size_t si_size() { return (uint32_t) w - (uint32_t)&sort_index; }
57 -+ size_t si_size() { return (size_t) w - (size_t)&sort_index; }
58 - size_t size(){ return si_size() + (wcslen(w) + 1) * sizeof(wchar_t); }
59 - void copy(struct Word_Rec_tag * val) { memcpy(this, val, sizeof(Word_Rec_tag));}
60 - }Word_Rec;
61 -diff -Naur xsim-0.3.9.4.orig/xsim/ic.cpp xsim-0.3.9.4/xsim/ic.cpp
62 ---- xsim-0.3.9.4.orig/xsim/ic.cpp 2002-10-01 14:41:23.000000000 +0900
63 -+++ xsim-0.3.9.4/xsim/ic.cpp 2007-08-20 23:16:11.000000000 +0900
64 -@@ -101,7 +101,7 @@
65 - on_stat = 0;
66 - }
67 -
68 --int TIC::alive()
69 -+long TIC::alive()
70 - {
71 -- return (int)im;
72 -+ return (long)im;
73 - }
74 -diff -Naur xsim-0.3.9.4.orig/xsim/ic.h xsim-0.3.9.4/xsim/ic.h
75 ---- xsim-0.3.9.4.orig/xsim/ic.h 2002-07-15 00:14:24.000000000 +0900
76 -+++ xsim-0.3.9.4/xsim/ic.h 2007-08-20 23:16:52.000000000 +0900
77 -@@ -76,14 +76,14 @@
78 - void set_im(TIM * val);
79 -
80 - TIMC * get_imc();
81 -- int has_imc() { return (int)imc; }
82 -+ long has_imc() { return (long)imc; }
83 -
84 - void init(int init_mode, TIM * val);
85 -
86 - static TIC * get_focus_ic() { return focused_ic; }
87 - IC * get_IC() { return &ic_; };
88 -
89 -- int alive();
90 -+ long alive();
91 - Window get_client_win() { return ic_.client_win; }
92 -
93 - int has_focus() { return (focused_ic == this); }
94
95 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
96 deleted file mode 100644
97 index 0a53e34..0000000
98 --- a/app-i18n/xsim/files/xsim-0.3.9.4-compile-fix.patch
99 +++ /dev/null
100 @@ -1,77 +0,0 @@
101 -diff -uNr xsim-0.3.9.4.orig/configure xsim-0.3.9.4/configure
102 ---- xsim-0.3.9.4.orig/configure 2002-10-24 20:53:57.000000000 +0200
103 -+++ xsim-0.3.9.4/configure 2005-01-27 16:21:18.553956144 +0100
104 -@@ -5067,13 +5067,13 @@
105 -
106 -
107 - if test "x$enable_debug" = "x1" ; then
108 -- CFLAGS="-g -Wall -O2 -DDEBUG -I$x_includes"
109 -+ CFLAGS="-g -Wall -O2 -DDEBUG"
110 - CXXFLAGS=$CFLAGS
111 -- LDFLAGS="-g -L$x_libraries"
112 -+ LDFLAGS="-g"
113 - else
114 -- CFLAGS="-Wall -O2 -I$x_includes"
115 -+ CFLAGS="-Wall -O2"
116 - CXXFLAGS=$CFLAGS
117 -- LDFLAGS="-L$x_libraries"
118 -+ LDFLAGS=""
119 - fi
120 -
121 - if test "x$enable_mdk_patch" = "x1" ; then
122 -@@ -5085,6 +5085,7 @@
123 -
124 - if test "$bdbinc" = "NONE"; then
125 - bdb_include_dirs="\
126 -+ /usr/include/db4.1 \
127 - /usr/include/db4 \
128 - /usr/include/db3 \
129 - /usr/local/include \
130 -diff -uNr xsim-0.3.9.4.orig/plugins/IMs/jianpin/pyphraser.cpp xsim-0.3.9.4/plugins/IMs/jianpin/pyphraser.cpp
131 ---- xsim-0.3.9.4.orig/plugins/IMs/jianpin/pyphraser.cpp 2002-09-29 05:03:29.000000000 +0200
132 -+++ xsim-0.3.9.4/plugins/IMs/jianpin/pyphraser.cpp 2005-01-27 15:42:06.553514560 +0100
133 -@@ -16,6 +16,8 @@
134 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
135 - */
136 -
137 -+#include <cassert>
138 -+
139 - #include "wstring.h"
140 - #include "pyphraser.h"
141 - #include "simpleimc.h"
142 -diff -uNr xsim-0.3.9.4.orig/plugins/IMs/jianpin/simpleim.cpp xsim-0.3.9.4/plugins/IMs/jianpin/simpleim.cpp
143 ---- xsim-0.3.9.4.orig/plugins/IMs/jianpin/simpleim.cpp 2002-10-22 11:42:51.000000000 +0200
144 -+++ xsim-0.3.9.4/plugins/IMs/jianpin/simpleim.cpp 2005-01-27 15:38:13.771902744 +0100
145 -@@ -15,6 +15,8 @@
146 - License along with this library; if not, write to the Free Software
147 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
148 - */
149 -+#include <cassert>
150 -+
151 - #include <X11/keysym.h>
152 -
153 - #include "simpleim.h"
154 -diff -uNr xsim-0.3.9.4.orig/plugins/IMs/wubi/wubiim.cpp xsim-0.3.9.4/plugins/IMs/wubi/wubiim.cpp
155 ---- xsim-0.3.9.4.orig/plugins/IMs/wubi/wubiim.cpp 2002-10-22 11:22:13.000000000 +0200
156 -+++ xsim-0.3.9.4/plugins/IMs/wubi/wubiim.cpp 2005-01-27 16:06:29.427123968 +0100
157 -@@ -16,6 +16,8 @@
158 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
159 - */
160 -
161 -+#include <cassert>
162 -+
163 - #include <X11/keysym.h>
164 -
165 - #include "wubiim.h"
166 -diff -uNr xsim-0.3.9.4.orig/xsim/im.cpp xsim-0.3.9.4/xsim/im.cpp
167 ---- xsim-0.3.9.4.orig/xsim/im.cpp 2002-09-17 09:55:26.000000000 +0200
168 -+++ xsim-0.3.9.4/xsim/im.cpp 2005-01-27 16:07:52.252532592 +0100
169 -@@ -16,6 +16,8 @@
170 - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
171 - */
172 -
173 -+#include <cassert>
174 -+
175 - #include <dlfcn.h>
176 -
177 - #include "im.h"
178
179 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
180 deleted file mode 100644
181 index 3982bf2..0000000
182 --- a/app-i18n/xsim/files/xsim-0.3.9.4-eof.patch
183 +++ /dev/null
184 @@ -1,92 +0,0 @@
185 -diff --git a/plugins/IMs/jianpin/dict/char2db.cpp b/plugins/IMs/jianpin/dict/char2db.cpp
186 -index f36dda9..fb17c6e 100644
187 ---- a/plugins/IMs/jianpin/dict/char2db.cpp
188 -+++ b/plugins/IMs/jianpin/dict/char2db.cpp
189 -@@ -166,6 +166,8 @@ int main(int argc, char * argv[])
190 - int i = 0;
191 - for (;;){
192 - in >> mark;
193 -+ if (in.eof())
194 -+ break;
195 - in.unget();
196 - if (mark == '%'){ //for comments
197 - in.getline(dummy, 255);
198 -@@ -175,9 +177,6 @@ int main(int argc, char * argv[])
199 - }
200 - in >> ckey.py >> c;
201 -
202 -- if (in.eof())
203 -- break;
204 --
205 - if (strlen(c) != 2){
206 - cout << "error on line: " << i << endl;
207 - exit(1);
208 -diff --git a/plugins/IMs/jianpin/dict/word2db.cpp b/plugins/IMs/jianpin/dict/word2db.cpp
209 -index 6b6b8e0..f9a6d0b 100644
210 ---- a/plugins/IMs/jianpin/dict/word2db.cpp
211 -+++ b/plugins/IMs/jianpin/dict/word2db.cpp
212 -@@ -103,6 +103,8 @@ int main(int argc, char * argv[])
213 - rec.access_count = MAX_ACCESS_COUNT;
214 - for (;;){
215 - in >> mark;
216 -+ if (in.eof())
217 -+ break;
218 - in.unget();
219 - if (mark == '%'){ //for comments
220 - in.getline(wk.py, sizeof(wk.py));
221 -@@ -113,9 +115,6 @@ int main(int argc, char * argv[])
222 -
223 - in >> w >> wk.py;
224 -
225 -- if (in.eof())
226 -- break;
227 --
228 - if ((wk.py[0] < 'a') || (wk.py[0] > 'z')){
229 - cerr << " error on line:" << i << endl;
230 - db.close(0);
231 -diff --git a/plugins/IMs/table/dict/word2db.cpp b/plugins/IMs/table/dict/word2db.cpp
232 -index aa19a60..f0368ce 100644
233 ---- a/plugins/IMs/table/dict/word2db.cpp
234 -+++ b/plugins/IMs/table/dict/word2db.cpp
235 -@@ -112,6 +112,8 @@ int main(int argc, char * argv[])
236 - for (;;){
237 - j++;
238 - in >> mark;
239 -+ if (in.eof())
240 -+ break;
241 - in.unget();
242 - if ((mark == '%') || (mark == '#')){ //for comments
243 - in.getline((char *)wbuf, 1000);
244 -@@ -123,9 +125,6 @@ int main(int argc, char * argv[])
245 -
246 - in >> wk.key >> w;
247 -
248 -- if (in.eof())
249 -- break;
250 --
251 - if ((wk.key[0] < 'a') || (wk.key[0] > 'z')){
252 - //cerr << " error on line:" << j << endl;
253 - errcnt ++;
254 -diff --git a/plugins/IMs/wubi/dict/word2db.cpp b/plugins/IMs/wubi/dict/word2db.cpp
255 -index a1df52b..3fe1e3e 100644
256 ---- a/plugins/IMs/wubi/dict/word2db.cpp
257 -+++ b/plugins/IMs/wubi/dict/word2db.cpp
258 -@@ -103,6 +103,8 @@ int main(int argc, char * argv[])
259 - for (;;){
260 - j++;
261 - in >> mark;
262 -+ if (in.eof())
263 -+ break;
264 - in.unget();
265 - if (mark == '%'){ //for comments
266 - in.getline(wk.key, sizeof(wk.key));
267 -@@ -114,9 +116,6 @@ int main(int argc, char * argv[])
268 -
269 - in >> wk.key >> w;
270 -
271 -- if (in.eof())
272 -- break;
273 --
274 - if ((wk.key[0] < 'a') || (wk.key[0] > 'z')){
275 - //cerr << " error on line:" << j << endl;
276 - errcnt ++;
277
278 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
279 deleted file mode 100644
280 index 0464d47..0000000
281 --- a/app-i18n/xsim/files/xsim-0.3.9.4-gcc-3.4.patch
282 +++ /dev/null
283 @@ -1,116 +0,0 @@
284 -diff --git a/plugins/IMs/jianpin/dict/char2db.cpp b/plugins/IMs/jianpin/dict/char2db.cpp
285 -index d881f20..e4ddbab 100644
286 ---- a/plugins/IMs/jianpin/dict/char2db.cpp
287 -+++ b/plugins/IMs/jianpin/dict/char2db.cpp
288 -@@ -74,11 +74,7 @@ void build_freq_tab(char * filename)
289 - {
290 - filebuf f;
291 -
292 --#ifdef _CPP_BITS_IOSBASE_H
293 - f.open(filename, ios_base::in);
294 --#else
295 -- f.open(filename, "r");
296 --#endif
297 - istream in(&f);
298 -
299 - char cbuf[10];
300 -@@ -154,11 +150,7 @@ int main(int argc, char * argv[])
301 -
302 - filebuf f;
303 -
304 --#ifdef _CPP_BITS_IOSBASE_H
305 - f.open(argv[1], ios_base::in);
306 --#else
307 -- f.open(argv[1], "r");
308 --#endif
309 - istream in(&f);
310 -
311 - char mark;
312 -diff --git a/plugins/IMs/jianpin/dict/word2db.cpp b/plugins/IMs/jianpin/dict/word2db.cpp
313 -index 806f6c4..5baa630 100644
314 ---- a/plugins/IMs/jianpin/dict/word2db.cpp
315 -+++ b/plugins/IMs/jianpin/dict/word2db.cpp
316 -@@ -83,11 +83,7 @@ int main(int argc, char * argv[])
317 -
318 - filebuf f;
319 -
320 --#ifdef _CPP_BITS_IOSBASE_H
321 - f.open(argv[1], ios_base::in);
322 --#else
323 -- f.open(argv[1], "r");
324 --#endif
325 - istream in(&f);
326 -
327 - char mark;
328 -diff --git a/plugins/IMs/table/dict/word2db.cpp b/plugins/IMs/table/dict/word2db.cpp
329 -index 17d0dcf..275ee61 100644
330 ---- a/plugins/IMs/table/dict/word2db.cpp
331 -+++ b/plugins/IMs/table/dict/word2db.cpp
332 -@@ -90,11 +90,7 @@ int main(int argc, char * argv[])
333 -
334 - filebuf f;
335 -
336 --#ifdef _CPP_BITS_IOSBASE_H
337 - f.open(argv[1], ios_base::in);
338 --#else
339 -- f.open(argv[1], "r");
340 --#endif
341 - istream in(&f);
342 -
343 - char mark;
344 -diff --git a/plugins/IMs/wubi/dict/word2db.cpp b/plugins/IMs/wubi/dict/word2db.cpp
345 -index 0dbc7e4..e191aa8 100644
346 ---- a/plugins/IMs/wubi/dict/word2db.cpp
347 -+++ b/plugins/IMs/wubi/dict/word2db.cpp
348 -@@ -81,11 +81,7 @@ int main(int argc, char * argv[])
349 -
350 - filebuf f;
351 -
352 --#ifdef _CPP_BITS_IOSBASE_H
353 - f.open(argv[1], ios_base::in);
354 --#else
355 -- f.open(argv[1], "r");
356 --#endif
357 - istream in(&f);
358 -
359 - char mark;
360 -diff --git a/xsim/conf.cpp b/xsim/conf.cpp
361 -index a073bb2..a2bffb0 100644
362 ---- a/xsim/conf.cpp
363 -+++ b/xsim/conf.cpp
364 -@@ -133,11 +133,7 @@ int TConf::init()
365 - filebuf f;
366 -
367 - char dummy[MAX_PATH_LEN + 1];
368 --#ifdef _CPP_BITS_IOSBASE_H
369 - if (!f.open(config_path.tombs(dummy, MAX_PATH_LEN), ios_base::in)){
370 --#else
371 -- if (!f.open(config_path.tombs(dummy, MAX_PATH_LEN), "r")){
372 --#endif
373 - cerr << "XSIM: failed opening config file" << endl;
374 - return 1;
375 - }
376 -@@ -340,11 +336,7 @@ void TConf::save_config(const wchar_t * configname, vector<TWstring> & name, vec
377 -
378 - filebuf f;
379 -
380 --#ifdef _CPP_BITS_IOSBASE_H
381 - if (f.open(path.tombs(dummy, MAX_PATH_LEN), ios_base::out)){
382 --#else
383 -- if (f.open(path.tombs(dummy, MAX_PATH_LEN), "w")){
384 --#endif
385 - ostream out(&f);
386 - for (size_t i = 0; i < name.size(); i++){
387 - out << name[i].tombs(dummy, MAX_PATH_LEN) << '\t';
388 -@@ -372,11 +364,7 @@ int TConf::load_config(const wchar_t * configname, vector<TWstring> & name, vect
389 -
390 - filebuf f;
391 -
392 --#ifdef _CPP_BITS_IOSBASE_H
393 - if (f.open(path.tombs(dummy, MAX_PATH_LEN), ios_base::in)){
394 --#else
395 -- if (f.open(path.tombs(dummy, MAX_PATH_LEN), "r")){
396 --#endif
397 - istream in(&f);
398 - char n[MAX_PATH_LEN + 1];
399 - char v[MAX_PATH_LEN + 1];
400
401 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
402 deleted file mode 100644
403 index f6df247..0000000
404 --- a/app-i18n/xsim/files/xsim-0.3.9.4-gcc-4.3.patch
405 +++ /dev/null
406 @@ -1,44 +0,0 @@
407 -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
408 ---- xsim-0.3.9.4.orig/plugins/IMs/jianpin/dict/char2db.cpp 2002-09-23 13:22:39.000000000 +0900
409 -+++ xsim-0.3.9.4/plugins/IMs/jianpin/dict/char2db.cpp 2008-09-09 18:56:56.000000000 +0900
410 -@@ -21,6 +21,7 @@
411 - #include <clocale>
412 - #include <vector>
413 - #include <fstream>
414 -+#include <cstdlib>
415 -
416 - #include <db_cxx.h>
417 -
418 -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
419 ---- xsim-0.3.9.4.orig/plugins/IMs/jianpin/dict/word2db.cpp 2002-09-23 13:24:17.000000000 +0900
420 -+++ xsim-0.3.9.4/plugins/IMs/jianpin/dict/word2db.cpp 2008-09-09 18:59:33.000000000 +0900
421 -@@ -21,6 +21,7 @@
422 - #include <string>
423 - #include <db_cxx.h>
424 - #include <locale.h>
425 -+#include <cstdlib>
426 -
427 - #include "../simpleimc.h"
428 -
429 -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
430 ---- xsim-0.3.9.4.orig/plugins/IMs/table/dict/word2db.cpp 2002-09-23 13:34:06.000000000 +0900
431 -+++ xsim-0.3.9.4/plugins/IMs/table/dict/word2db.cpp 2008-09-09 23:52:31.000000000 +0900
432 -@@ -21,6 +21,7 @@
433 - #include <string>
434 - #include <db_cxx.h>
435 - #include <clocale>
436 -+#include <cstdlib>
437 -
438 - #include "../tableimc.h"
439 -
440 -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
441 ---- xsim-0.3.9.4.orig/plugins/IMs/wubi/dict/word2db.cpp 2002-09-23 13:28:45.000000000 +0900
442 -+++ xsim-0.3.9.4/plugins/IMs/wubi/dict/word2db.cpp 2008-09-09 23:19:27.000000000 +0900
443 -@@ -21,6 +21,7 @@
444 - #include <string>
445 - #include <db_cxx.h>
446 - #include <locale.h>
447 -+#include <cstdlib>
448 -
449 - #include "../wubiimc.h"
450 -
451
452 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
453 deleted file mode 100644
454 index 8488d1b..0000000
455 --- a/app-i18n/xsim/files/xsim-0.3.9.4-makefile.patch
456 +++ /dev/null
457 @@ -1,153 +0,0 @@
458 -diff --git a/Makefile.in b/Makefile.in
459 -index 6a7a195..6d2b4e6 100644
460 ---- a/Makefile.in
461 -+++ b/Makefile.in
462 -@@ -36,7 +36,7 @@ distclean: clean
463 - done && test -z "$$fail"
464 -
465 - install-data:
466 -- cd plugins/IMs;make install-data
467 -+ cd plugins/IMs;$(MAKE) install-data
468 -
469 - uninstall:
470 - @for dir in ${subdirs}; do \
471 -diff --git a/plugins/IMs/jianpin/Makefile.in b/plugins/IMs/jianpin/Makefile.in
472 -index cbbac33..50d7ef0 100644
473 ---- a/plugins/IMs/jianpin/Makefile.in
474 -+++ b/plugins/IMs/jianpin/Makefile.in
475 -@@ -25,7 +25,7 @@ OBJS=simpleim.o simpleimc.o pyphraser.o
476 - TARGET=jianpin.so
477 -
478 - all:$(TARGET)
479 -- cd dict; make
480 -+ cd dict; $(MAKE)
481 -
482 - jianpin.so:$(OBJS)
483 - $(LD_SHAREEXE) -shared -o $(TARGET) $(OBJS) $(LDFLAGS) -L$(bdblibs) $(LIBS) -l$(bdblib) $(gcclib)
484 -@@ -41,20 +41,20 @@ pyphraser.o:pyphraser.cpp pyphraser.h simpleimc.h $(include_path)wstring.h
485 -
486 - clean:
487 - rm -f *.o $(TARGET) core *~ *.bak
488 -- cd dict; make clean
489 -+ cd dict; $(MAKE) clean
490 -
491 - distclean:clean
492 - rm -rf Makefile
493 -- cd dict; make distclean
494 -+ cd dict; $(MAKE) distclean
495 -
496 - install:all
497 - $(topdir)/mkinstalldirs $(xsim_libp)
498 - cp -f $(TARGET) $(xsim_libp)
499 -- cd dict; make install
500 -+ cd dict; $(MAKE) install
501 -
502 - install-data:
503 -- cd dict;make install-data
504 -+ cd dict;$(MAKE) install-data
505 -
506 - uninstall:
507 - cd $(xsim_libp); rm -f $(TARGET)
508 -- cd dict;make uninstall
509 -+ cd dict;$(MAKE) uninstall
510 -diff --git a/plugins/IMs/table/Makefile.in b/plugins/IMs/table/Makefile.in
511 -index a747560..cbc67bc 100644
512 ---- a/plugins/IMs/table/Makefile.in
513 -+++ b/plugins/IMs/table/Makefile.in
514 -@@ -25,7 +25,7 @@ OBJS=tableim.o tableimc.o
515 - TARGET=table.so
516 -
517 - all:$(TARGET)
518 -- cd dict; make
519 -+ cd dict; $(MAKE)
520 -
521 - $(TARGET):$(OBJS)
522 - $(LD_SHAREEXE) -shared -o $(TARGET) $(OBJS) $(LDFLAGS) -L$(bdblibs) $(LIBS) -l$(bdblib) $(gcclib)
523 -@@ -38,20 +38,20 @@ tableimc.o:tableimc.h tableimc.cpp $(include_path)wstring.h $(include_path)imc.h
524 -
525 - clean:
526 - rm -f *.o $(TARGET) core *~ *.bak
527 -- cd dict; make clean
528 -+ cd dict; $(MAKE) clean
529 -
530 - distclean:clean
531 - rm -rf Makefile
532 -- cd dict; make distclean
533 -+ cd dict; $(MAKE) distclean
534 -
535 - install:all
536 - $(topdir)/mkinstalldirs $(xsim_libp)
537 - cp -f $(TARGET) $(xsim_libp)
538 -- cd dict; make install
539 -+ cd dict; $(MAKE) install
540 -
541 - install-data:
542 -- cd dict;make install-data
543 -+ cd dict;$(MAKE) install-data
544 -
545 - uninstall:
546 - cd $(xsim_libp); rm -f $(TARGET)
547 -- cd dict; make uninstall
548 -+ cd dict; $(MAKE) uninstall
549 -diff --git a/plugins/IMs/wubi/Makefile.in b/plugins/IMs/wubi/Makefile.in
550 -index 031f1a7..c3d0f88 100644
551 ---- a/plugins/IMs/wubi/Makefile.in
552 -+++ b/plugins/IMs/wubi/Makefile.in
553 -@@ -25,7 +25,7 @@ OBJS=wubiim.o wubiimc.o
554 - TARGET=wubi.so
555 -
556 - all:$(TARGET)
557 -- cd dict; make
558 -+ cd dict; $(MAKE)
559 -
560 - $(TARGET):$(OBJS)
561 - $(LD_SHAREEXE) -shared -o $(TARGET) $(OBJS) $(LDFLAGS) -L$(bdblibs) $(LIBS) -l$(bdblib) $(gcclib)
562 -@@ -38,20 +38,20 @@ wubiimc.o:wubiimc.h wubiimc.cpp $(include_path)wstring.h $(include_path)imc.h
563 -
564 - clean:
565 - rm -f *.o $(TARGET) core *~ *.bak
566 -- cd dict; make clean
567 -+ cd dict; $(MAKE) clean
568 -
569 - distclean:clean
570 - rm -rf Makefile
571 -- cd dict; make distclean
572 -+ cd dict; $(MAKE) distclean
573 -
574 - install:all
575 - $(topdir)/mkinstalldirs $(xsim_libp)
576 - cp -f $(TARGET) $(xsim_libp)
577 -- cd dict; make install
578 -+ cd dict; $(MAKE) install
579 -
580 - install-data:
581 -- cd dict;make install-data
582 -+ cd dict;$(MAKE) install-data
583 -
584 - uninstall:
585 - cd $(xsim_libp); rm -f $(TARGET)
586 -- cd dict; make uninstall
587 -+ cd dict; $(MAKE) uninstall
588 -diff --git a/xsim/Makefile.in b/xsim/Makefile.in
589 -index d618a2c..bbe1599 100644
590 ---- a/xsim/Makefile.in
591 -+++ b/xsim/Makefile.in
592 -@@ -58,15 +58,15 @@ wstring.o:wstring.h wstring.cpp
593 - $(CXX) -c wstring.cpp $(CXXFLAGS) -I./IMdkit
594 -
595 - IMdkit/libXimd.a:
596 -- cd IMdkit;make
597 -+ cd IMdkit;$(MAKE)
598 -
599 - clean:
600 - rm -f *.o xsim core *~ *.bak
601 -- cd IMdkit; make clean
602 -+ cd IMdkit; $(MAKE) clean
603 -
604 - distclean:clean
605 - rm -rf Makefile tags
606 -- cd IMdkit; make distclean
607 -+ cd IMdkit; $(MAKE) distclean
608 -
609 - install:all
610 - $(topdir)/mkinstalldirs $(xsim_binp)
611
612 diff --git a/app-i18n/xsim/metadata.xml b/app-i18n/xsim/metadata.xml
613 deleted file mode 100644
614 index e1a49f4..0000000
615 --- a/app-i18n/xsim/metadata.xml
616 +++ /dev/null
617 @@ -1,8 +0,0 @@
618 -<?xml version="1.0" encoding="UTF-8"?>
619 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
620 -<pkgmetadata>
621 - <maintainer type="project">
622 - <email>cjk@g.o</email>
623 - <name>Cjk</name>
624 - </maintainer>
625 -</pkgmetadata>
626
627 diff --git a/app-i18n/xsim/xsim-0.3.9.4-r5.ebuild b/app-i18n/xsim/xsim-0.3.9.4-r5.ebuild
628 deleted file mode 100644
629 index a9880e5..0000000
630 --- a/app-i18n/xsim/xsim-0.3.9.4-r5.ebuild
631 +++ /dev/null
632 @@ -1,79 +0,0 @@
633 -# Copyright 1999-2014 Gentoo Foundation
634 -# Distributed under the terms of the GNU General Public License v2
635 -# $Id$
636 -
637 -EAPI=5
638 -inherit db-use eutils flag-o-matic multilib
639 -
640 -DESCRIPTION="A simple and fast GB and BIG5 Chinese XIM server"
641 -HOMEPAGE="http://developer.berlios.de/projects/xsim/"
642 -#SRC_URI="mirror://berlios/xsim/${P}.tar.gz"
643 -SRC_URI="mirror://gentoo/${P}.tar.gz"
644 -
645 -LICENSE="LGPL-2.1"
646 -SLOT="0"
647 -KEYWORDS="amd64 x86"
648 -IUSE="debug"
649 -
650 -RDEPEND=">=sys-libs/db-4.1
651 - x11-libs/libX11
652 - x11-libs/libXt"
653 -DEPEND="${RDEPEND}
654 - >=sys-apps/sed-4"
655 -
656 -src_prepare() {
657 - local dbver
658 -
659 - epatch "${FILESDIR}"/${P}-compile-fix.patch
660 - epatch "${FILESDIR}"/${P}-gcc-3.4.patch
661 - epatch "${FILESDIR}"/${P}-64bit.patch
662 - # bug 227117
663 - epatch "${FILESDIR}"/${P}-gcc-4.3.patch
664 - epatch "${FILESDIR}"/${P}-makefile.patch
665 - epatch "${FILESDIR}"/${P}-eof.patch
666 -
667 - append-cppflags -DPIC
668 - append-flags -fPIC -fno-strict-aliasing
669 -
670 - dbver="$(db_findver sys-libs/db)"
671 - sed -i -e "s/\(CFLAGS.*\)-O2/\1${CFLAGS}/" \
672 - -e "s/LDFLAGS=\"/LDFLAGS=\"${LDFLAGS} /" \
673 - -e "s/libdb_cxx.so/libdb_cxx-${dbver}.so/" \
674 - -e "s/bdblib=\"db_cxx\"/bdblib=\"db_cxx-${dbver}\"/" configure* || die
675 -
676 - find . -name '*.in' | xargs sed -i \
677 - -e "s#\(@prefix@/\)\(dat\|plugins\)#\1$(get_libdir)/xsim/\2#" \
678 - -e "s#@prefix@/etc#/etc#" || die
679 -}
680 -
681 -src_configure() {
682 - local myconf=""
683 -
684 - use debug && myconf="--enable-debug"
685 -
686 - econf \
687 - --with-bdb-includes=$(db_includedir) \
688 - --without-qt3 \
689 - --without-kde3 \
690 - ${myconf}
691 -}
692 -
693 -src_install() {
694 - emake \
695 - xsim_datp="${D}"/usr/$(get_libdir)/xsim/dat \
696 - xsim_libp="${D}"usr/$(get_libdir)/xsim/plugins \
697 - xsim_binp="${D}"/usr/bin \
698 - xsim_etcp="${D}"/etc \
699 - install install-data
700 -
701 - dodoc ChangeLog KNOWNBUG README* TODO
702 -}
703 -
704 -pkg_postinst() {
705 - elog "XSIM needs write access to /usr/$(get_libdir)/xsim/dat/chardb, so if you"
706 - elog "not running it as root, you need to do the following:"
707 - elog
708 - elog " cp -r /usr/$(get_libdir)/xsim/dat \${HOME}/.xsim"
709 - elog " sed -i \"s#DICT_LOCAL.*#DICT_LOCAL \${HOME}/.xsim#\" > \${HOME}/.xsim/xsimrc"
710 - echo
711 -}