1 |
commit: b774008eae9822d12210c750511fe97acaac5dac |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 25 10:12:27 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 25 10:12:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b774008e |
7 |
|
8 |
app-i18n/zhcon: remove last-rited pkg |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
|
12 |
app-i18n/zhcon/Manifest | 2 - |
13 |
app-i18n/zhcon/files/zhcon-0.2.6+gcc-4.3.patch | 185 --------------------- |
14 |
.../files/zhcon-0.2.6+linux-headers-2.6.26.patch | 18 -- |
15 |
app-i18n/zhcon/files/zhcon-0.2.6-amd64.patch | 77 --------- |
16 |
.../zhcon/files/zhcon-0.2.6-automagic-fix.patch | 36 ---- |
17 |
app-i18n/zhcon/files/zhcon-0.2.6-curses.patch | 22 --- |
18 |
.../zhcon/files/zhcon-0.2.6.configure.in.patch | 11 -- |
19 |
app-i18n/zhcon/files/zhcon-0.2.6.make-fix.patch | 82 --------- |
20 |
app-i18n/zhcon/files/zhcon-0.2.6.sysconfdir.patch | 24 --- |
21 |
app-i18n/zhcon/metadata.xml | 16 -- |
22 |
app-i18n/zhcon/zhcon-0.2.6-r3.ebuild | 58 ------- |
23 |
11 files changed, 531 deletions(-) |
24 |
|
25 |
diff --git a/app-i18n/zhcon/Manifest b/app-i18n/zhcon/Manifest |
26 |
deleted file mode 100644 |
27 |
index bec7b2bc0c3..00000000000 |
28 |
--- a/app-i18n/zhcon/Manifest |
29 |
+++ /dev/null |
30 |
@@ -1,2 +0,0 @@ |
31 |
-DIST zhcon-0.2.5-to-0.2.6.diff.gz 2881 BLAKE2B eb7b3bc38ae77c7a0add2a0693822fb34a7721ec4224a5be6fc533f0c69878a66c123a12b2d38a09ab1a3360f3d1e0658ccaf35e138d102748675cd60f81df21 SHA512 c4725e600cde5a629735506c8eaa3b78df4606cd2745891a21c4f25889cff10b6fe4cbeb3cf60b85ad62ed0e46c8e7bbb802b7675f79f3a1d82f6942c393d4ad |
32 |
-DIST zhcon-0.2.5.tar.gz 5011644 BLAKE2B 326add20cac0bab31c4a34a0261374f2daf8db84f0fafd774c3498c4ba42275a6258bac0b74447626e691c1e86bcd6e0a6408cb8d6af5c1ff2a8912b5dc3d411 SHA512 35f1517b649e5afe3156eb1aa7735f3d3a988fad08c433b8f343df6ba3fdef89493afe61488a76059e4bfa1db4455d21d0bde7041bab37eb50e5ab0b622218fa |
33 |
|
34 |
diff --git a/app-i18n/zhcon/files/zhcon-0.2.6+gcc-4.3.patch b/app-i18n/zhcon/files/zhcon-0.2.6+gcc-4.3.patch |
35 |
deleted file mode 100644 |
36 |
index beece66b1da..00000000000 |
37 |
--- a/app-i18n/zhcon/files/zhcon-0.2.6+gcc-4.3.patch |
38 |
+++ /dev/null |
39 |
@@ -1,185 +0,0 @@ |
40 |
-diff -NrU5 zhcon-0.2.6.orig/src/basefont.cpp zhcon-0.2.6/src/basefont.cpp |
41 |
---- zhcon-0.2.6.orig/src/basefont.cpp 2008-04-29 23:15:08.000000000 +0200 |
42 |
-+++ zhcon-0.2.6/src/basefont.cpp 2008-04-29 23:15:37.000000000 +0200 |
43 |
-@@ -27,10 +27,12 @@ |
44 |
- #include "global.h" |
45 |
- #include "debug.h" |
46 |
- #include "hzdecoder.h" |
47 |
- #include "basefont.h" |
48 |
- |
49 |
-+#include <cstring> |
50 |
-+ |
51 |
- BaseFont::BaseFont(string & fn, int w, int h) |
52 |
- :mFd(0) |
53 |
- ,mpBuf(0) |
54 |
- ,mWidth(w) |
55 |
- ,mHeight(h) { |
56 |
-diff -NrU5 zhcon-0.2.6.orig/src/display/fblinear4.cpp zhcon-0.2.6/src/display/fblinear4.cpp |
57 |
---- zhcon-0.2.6.orig/src/display/fblinear4.cpp 2008-04-29 23:15:08.000000000 +0200 |
58 |
-+++ zhcon-0.2.6/src/display/fblinear4.cpp 2008-04-29 23:15:37.000000000 +0200 |
59 |
-@@ -20,10 +20,12 @@ |
60 |
- #include <assert.h> |
61 |
- #include <endian.h> |
62 |
- #include "global.h" |
63 |
- #include "fblinear4.h" |
64 |
- |
65 |
-+#include <cstring> |
66 |
-+ |
67 |
- __u16 FBLinear4::nibbletab_cfb4[] = { |
68 |
- #if BYTE_ORDER == LITTLE_ENDIAN |
69 |
- 0x0000,0xf000,0x0f00,0xff00, |
70 |
- 0x00f0,0xf0f0,0x0ff0,0xfff0, |
71 |
- 0x000f,0xf00f,0x0f0f,0xff0f, |
72 |
-diff -NrU5 zhcon-0.2.6.orig/src/display/fblinear8.cpp zhcon-0.2.6/src/display/fblinear8.cpp |
73 |
---- zhcon-0.2.6.orig/src/display/fblinear8.cpp 2008-04-29 23:15:08.000000000 +0200 |
74 |
-+++ zhcon-0.2.6/src/display/fblinear8.cpp 2008-04-29 23:15:37.000000000 +0200 |
75 |
-@@ -20,10 +20,12 @@ |
76 |
- #include <assert.h> |
77 |
- #include <endian.h> |
78 |
- #include "global.h" |
79 |
- #include "fblinear8.h" |
80 |
- |
81 |
-+#include <cstring> |
82 |
-+ |
83 |
- __u32 FBLinear8::nibbletab_cfb8[] = { |
84 |
- #if BYTE_ORDER == LITTLE_ENDIAN |
85 |
- 0x00000000,0xff000000,0x00ff0000,0xffff0000, |
86 |
- 0x0000ff00,0xff00ff00,0x00ffff00,0xffffff00, |
87 |
- 0x000000ff,0xff0000ff,0x00ff00ff,0xffff00ff, |
88 |
-diff -NrU5 zhcon-0.2.6.orig/src/display/fbvgaplanes.cpp zhcon-0.2.6/src/display/fbvgaplanes.cpp |
89 |
---- zhcon-0.2.6.orig/src/display/fbvgaplanes.cpp 2008-04-29 23:15:08.000000000 +0200 |
90 |
-+++ zhcon-0.2.6/src/display/fbvgaplanes.cpp 2008-04-29 23:15:37.000000000 +0200 |
91 |
-@@ -36,10 +36,12 @@ |
92 |
- : "a" ((char) value), |
93 |
- "d" ((unsigned short) port)); |
94 |
- } |
95 |
- #endif |
96 |
- |
97 |
-+#include <cstring> |
98 |
-+ |
99 |
- /* based on kernel |
100 |
- * Force strict CPU ordering. |
101 |
- * And yes, this is required on UP too when we're talking |
102 |
- * to devices. |
103 |
- * |
104 |
-diff -NrU5 zhcon-0.2.6.orig/src/display/vgadev.cpp zhcon-0.2.6/src/display/vgadev.cpp |
105 |
---- zhcon-0.2.6.orig/src/display/vgadev.cpp 2008-04-29 23:15:08.000000000 +0200 |
106 |
-+++ zhcon-0.2.6/src/display/vgadev.cpp 2008-04-29 23:15:37.000000000 +0200 |
107 |
-@@ -35,10 +35,12 @@ |
108 |
- #include <cassert> |
109 |
- #include "debug.h" |
110 |
- #include "vgadev.h" |
111 |
- #include "lrmi.h" |
112 |
- |
113 |
-+#include <cstring> |
114 |
-+ |
115 |
- #define GRAPH_BASE 0xA0000 |
116 |
- #define GRAPH_ADDR 0x3ce |
117 |
- #define GRAPH_DATA 0x3cf |
118 |
- |
119 |
- char *VGADev::mpBuf = NULL; |
120 |
-diff -NrU5 zhcon-0.2.6.orig/src/graphdev.cpp zhcon-0.2.6/src/graphdev.cpp |
121 |
---- zhcon-0.2.6.orig/src/graphdev.cpp 2008-04-29 23:15:08.000000000 +0200 |
122 |
-+++ zhcon-0.2.6/src/graphdev.cpp 2008-04-29 23:16:14.000000000 +0200 |
123 |
-@@ -24,20 +24,23 @@ |
124 |
- #include <fcntl.h> |
125 |
- #include <sys/ioctl.h> |
126 |
- #include <sys/mman.h> |
127 |
- #include <assert.h> |
128 |
- #include <iostream> |
129 |
-+#include <cstdlib> |
130 |
- #include "debug.h" |
131 |
- |
132 |
- #include "display/fbdev.h" |
133 |
- #include "display/vgadev.h" |
134 |
- #if defined(linux) || defined(__FreeBSD__) |
135 |
- #ifdef HAVE_GGI_LIB |
136 |
- #include "display/libggi.h" |
137 |
- #endif |
138 |
- #endif |
139 |
- |
140 |
-+#include <cstring> |
141 |
-+ |
142 |
- using namespace std; |
143 |
- // mmap framebuffer address |
144 |
- GraphDev *GraphDev::mpGraphDev = NULL; |
145 |
- |
146 |
- // font |
147 |
-diff -NrU5 zhcon-0.2.6.orig/src/inputclient.cpp zhcon-0.2.6/src/inputclient.cpp |
148 |
---- zhcon-0.2.6.orig/src/inputclient.cpp 2008-04-29 23:15:08.000000000 +0200 |
149 |
-+++ zhcon-0.2.6/src/inputclient.cpp 2008-04-29 23:15:37.000000000 +0200 |
150 |
-@@ -14,10 +14,12 @@ |
151 |
- * the Free Software Foundation; either version 2 of the License, or * |
152 |
- * (at your option) any later version. * |
153 |
- * * |
154 |
- ***************************************************************************/ |
155 |
- |
156 |
-+#include <cstdlib> |
157 |
-+ |
158 |
- #include "inputclient.h" |
159 |
- |
160 |
- Console* InputClient::mpCon = NULL; |
161 |
- InputClient::InputClient() |
162 |
- : mVisible(false), |
163 |
-diff -NrU5 zhcon-0.2.6.orig/src/inputmanager.cpp zhcon-0.2.6/src/inputmanager.cpp |
164 |
---- zhcon-0.2.6.orig/src/inputmanager.cpp 2008-04-29 23:15:08.000000000 +0200 |
165 |
-+++ zhcon-0.2.6/src/inputmanager.cpp 2008-04-29 23:19:01.000000000 +0200 |
166 |
-@@ -22,10 +22,11 @@ |
167 |
- using namespace std; |
168 |
- |
169 |
- #include <unistd.h> |
170 |
- #include <sys/time.h> |
171 |
- #include <string> |
172 |
-+#include <cstdlib> |
173 |
- |
174 |
- #include "global.h" |
175 |
- #include "debug.h" |
176 |
- #include "keymap.h" |
177 |
- #include "console.h" |
178 |
-diff -NrU5 zhcon-0.2.6.orig/src/inputmanager.h zhcon-0.2.6/src/inputmanager.h |
179 |
---- zhcon-0.2.6.orig/src/inputmanager.h 2008-04-29 23:15:08.000000000 +0200 |
180 |
-+++ zhcon-0.2.6/src/inputmanager.h 2008-04-29 23:15:37.000000000 +0200 |
181 |
-@@ -24,10 +24,11 @@ |
182 |
- *@author ejoy |
183 |
- */ |
184 |
- using namespace std; |
185 |
- #include <cassert> |
186 |
- #include <vector> |
187 |
-+#include <sys/types.h> |
188 |
- |
189 |
- #include "mouse.h" |
190 |
- #if defined(__FreeBSD__) |
191 |
- #include <sys/kbio.h> |
192 |
- #endif |
193 |
-diff -NrU5 zhcon-0.2.6.orig/src/window.cpp zhcon-0.2.6/src/window.cpp |
194 |
---- zhcon-0.2.6.orig/src/window.cpp 2008-04-29 23:15:08.000000000 +0200 |
195 |
-+++ zhcon-0.2.6/src/window.cpp 2008-04-29 23:15:37.000000000 +0200 |
196 |
-@@ -22,10 +22,12 @@ |
197 |
- #include <algorithm> |
198 |
- #include "global.h" |
199 |
- #include "debug.h" |
200 |
- #include "window.h" |
201 |
- |
202 |
-+#include <cstring> |
203 |
-+ |
204 |
- //static members for all the windows |
205 |
- Window* Window::mpConsole = NULL; |
206 |
- char* Window::mpOverlaps = NULL; |
207 |
- |
208 |
- Window::Window(int x1, int y1, int x2, int y2, int type) |
209 |
-diff -NrU5 zhcon-0.2.6.orig/src/zhcon.cpp zhcon-0.2.6/src/zhcon.cpp |
210 |
---- zhcon-0.2.6.orig/src/zhcon.cpp 2008-04-29 23:15:08.000000000 +0200 |
211 |
-+++ zhcon-0.2.6/src/zhcon.cpp 2008-04-29 23:15:37.000000000 +0200 |
212 |
-@@ -81,10 +81,12 @@ |
213 |
- #ifndef NDEBUG |
214 |
- #include "debug.h" |
215 |
- ofstream debug("debug"); |
216 |
- #endif |
217 |
- |
218 |
-+#include <cstring> |
219 |
-+ |
220 |
- Zhcon* Zhcon::mpZhcon = NULL; |
221 |
- int Zhcon::mTtyPid = 0; |
222 |
- Zhcon::STATE Zhcon::mState = STOP; |
223 |
- |
224 |
- void Zhcon::SignalVtLeave(int signo) { |
225 |
|
226 |
diff --git a/app-i18n/zhcon/files/zhcon-0.2.6+linux-headers-2.6.26.patch b/app-i18n/zhcon/files/zhcon-0.2.6+linux-headers-2.6.26.patch |
227 |
deleted file mode 100644 |
228 |
index 67d5b961a07..00000000000 |
229 |
--- a/app-i18n/zhcon/files/zhcon-0.2.6+linux-headers-2.6.26.patch |
230 |
+++ /dev/null |
231 |
@@ -1,18 +0,0 @@ |
232 |
-diff --git a/src/display/lrmi.c b/src/display/lrmi.c |
233 |
-index 85c6fe6..5c74260 100644 |
234 |
---- a/src/display/lrmi.c |
235 |
-+++ b/src/display/lrmi.c |
236 |
-@@ -33,6 +33,13 @@ This software has NO WARRANTY. Use it at your own risk. |
237 |
- |
238 |
- #include "lrmi.h" |
239 |
- |
240 |
-+#if defined(__linux__) && !defined(TF_MASK) |
241 |
-+ #define TF_MASK X86_EFLAGS_TF |
242 |
-+ #define IF_MASK X86_EFLAGS_IF |
243 |
-+ #define VIF_MASK X86_EFLAGS_VIF |
244 |
-+ #define IOPL_MASK X86_EFLAGS_IOPL |
245 |
-+#endif |
246 |
-+ |
247 |
- #define REAL_MEM_BASE ((void *)0x10000) |
248 |
- #define REAL_MEM_SIZE 0x10000 |
249 |
- #define REAL_MEM_BLOCKS 0x100 |
250 |
|
251 |
diff --git a/app-i18n/zhcon/files/zhcon-0.2.6-amd64.patch b/app-i18n/zhcon/files/zhcon-0.2.6-amd64.patch |
252 |
deleted file mode 100644 |
253 |
index 58da5e99766..00000000000 |
254 |
--- a/app-i18n/zhcon/files/zhcon-0.2.6-amd64.patch |
255 |
+++ /dev/null |
256 |
@@ -1,77 +0,0 @@ |
257 |
-diff --git a/src/winime.cpp b/src/winime.cpp |
258 |
-index 0c52393..85729a3 100644 |
259 |
---- a/src/winime.cpp |
260 |
-+++ b/src/winime.cpp |
261 |
-@@ -56,10 +56,10 @@ mCandilistBufLen(0) |
262 |
- |
263 |
- memcpy(&mHead, mpBuf, sizeof(mHead)); |
264 |
- int len = strlen(mHead.mCodeSet); |
265 |
-- mpIndex1 = (char **) (mpBuf + sizeof(mHead)); |
266 |
-- mpIndex2 = (char **) (mpBuf + sizeof(mHead) + len * sizeof(char *)); |
267 |
-- mpText = mpBuf + sizeof(mHead) + len * sizeof(char *) + |
268 |
-- len * len * sizeof(char *); |
269 |
-+ mpIndex1 = (int *) (mpBuf + sizeof(mHead)); |
270 |
-+ mpIndex2 = (int *) (mpBuf + sizeof(mHead) + len * sizeof(int)); |
271 |
-+ mpText = mpBuf + sizeof(mHead) + len * sizeof(int) + |
272 |
-+ len * len * sizeof(int); |
273 |
- } |
274 |
- |
275 |
- WinIme::~WinIme() { |
276 |
-@@ -246,32 +246,33 @@ int WinIme::Search(char c) { |
277 |
- // p = *t; |
278 |
- } |
279 |
- else |
280 |
-- p = mpIndex1[Index(c)]; |
281 |
-+ p = (char *)mpIndex1[Index(c)]; |
282 |
- |
283 |
- if (p == (char *) 0xffffffff) |
284 |
- found = false; |
285 |
-- p = (unsigned int) p + mpText; |
286 |
-+ p = (unsigned long) p + mpText; |
287 |
- } //2nd level index |
288 |
- else if (mNum == 1) { |
289 |
- int l = strlen(mHead.mCodeSet); |
290 |
- if (c == mHead.mWildChar) { |
291 |
- char **t; |
292 |
- t = |
293 |
-- find_if(mpIndex2 + Index(mInput[0]) * l, |
294 |
-- mpIndex2 + (Index(mInput[0]) + 1) * l, |
295 |
-+ find_if((char **)(mpIndex2 + Index(mInput[0]) * l), |
296 |
-+ (char **)(mpIndex2 + (Index(mInput[0]) + 1) * l), |
297 |
- bind2nd(not_equal_to < char *>(), |
298 |
- (char *) 0xffffffff)); |
299 |
-- if (t == mpIndex2 + (Index(mInput[0]) + 1) * l) |
300 |
-+ if (t == ((char **)mpIndex2) + (Index(mInput[0]) + 1) * l) |
301 |
- p = (char *) 0xffffffff; |
302 |
- else |
303 |
- p = *t; |
304 |
-- } else |
305 |
-- p = mpIndex2[Index(mInput[0]) * l + Index(c)]; |
306 |
-+ } else { |
307 |
-+ int dd = Index(mInput[0]) * l + Index(c); |
308 |
-+ p = (char *)(mpIndex2[Index(mInput[0]) * l + Index(c)]); |
309 |
-+ } |
310 |
- |
311 |
- if (p == (char *) 0xffffffff) |
312 |
- found = false; |
313 |
-- |
314 |
-- p = (unsigned int) p + mpText; |
315 |
-+ p = (unsigned long) p + mpText; |
316 |
- } else if (mNum < mHead.mMaxCodes) { |
317 |
- p = mpOffset[mNum - 1]; |
318 |
- if (p == (char *) 0xffffffff) |
319 |
-diff --git a/src/winime.h b/src/winime.h |
320 |
-index c2f51ab..816a270 100644 |
321 |
---- a/src/winime.h |
322 |
-+++ b/src/winime.h |
323 |
-@@ -83,8 +83,8 @@ class WinIme { |
324 |
- char* mpOffset[12]; |
325 |
- int mFd; |
326 |
- char* mpBuf; |
327 |
-- char** mpIndex1; |
328 |
-- char** mpIndex2; |
329 |
-+ int *mpIndex1; |
330 |
-+ int *mpIndex2; |
331 |
- char* mpText; |
332 |
- char* mpCur; //current search position |
333 |
- unsigned int mBufSize; |
334 |
|
335 |
diff --git a/app-i18n/zhcon/files/zhcon-0.2.6-automagic-fix.patch b/app-i18n/zhcon/files/zhcon-0.2.6-automagic-fix.patch |
336 |
deleted file mode 100644 |
337 |
index 5b4b24137f1..00000000000 |
338 |
--- a/app-i18n/zhcon/files/zhcon-0.2.6-automagic-fix.patch |
339 |
+++ /dev/null |
340 |
@@ -1,36 +0,0 @@ |
341 |
---- zhcon-0.2.5.orig/configure.in 2010-01-31 15:12:10.521592172 +0100 |
342 |
-+++ zhcon-0.2.5/configure.in 2010-01-31 15:12:33.939593092 +0100 |
343 |
-@@ -170,18 +170,25 @@ |
344 |
- dnl----------------------------------------------------------------------- |
345 |
- dnl Checks for gpm |
346 |
- dnl----------------------------------------------------------------------- |
347 |
--usegpm="yes" |
348 |
--AC_CHECK_HEADERS(gpm.h,,usegpm="no") |
349 |
--AC_CHECK_LIB(gpm,Gpm_Open,,usegpm="no") |
350 |
-+AC_ARG_WITH([gpm], AS_HELP_STRING([--without-gpm], [Build without gpm library (default: test)])) |
351 |
-+ |
352 |
-+usegpm='no' |
353 |
-+if test "x$with_gpm" != "xno"; then |
354 |
-+ AC_CHECK_HEADERS(gpm.h,,AC_ERROR([gpm.h not found])) |
355 |
-+ AC_CHECK_LIB(gpm,Gpm_Open,,AC_ERROR([libgpm not found])) |
356 |
-+ usegpm='yes' |
357 |
-+fi |
358 |
- |
359 |
- dnl----------------------------------------------------------------------- |
360 |
- dnl Checks for libggi |
361 |
- dnl----------------------------------------------------------------------- |
362 |
--useggi="yes" |
363 |
--AC_CHECK_HEADERS(ggi/ggi.h,,useggi="no") |
364 |
--AC_CHECK_LIB(ggi, main,,useggi="no") |
365 |
--if test "$useggi" = 'yes';then |
366 |
-- AC_DEFINE(HAVE_GGI_LIB) |
367 |
-+AC_ARG_WITH([ggi], AS_HELP_STRING([--without-ggi], [Build without ggi library (default: test)])) |
368 |
-+ |
369 |
-+useggi='no' |
370 |
-+if test "x$with_ggi" != "xno"; then |
371 |
-+ AC_CHECK_HEADERS(ggi/ggi.h,,AC_ERROR([ggi.h not found])) |
372 |
-+ AC_CHECK_LIB(ggi, ggiInit,, AC_ERROR([libggi not found])) |
373 |
-+ useggi='yes' |
374 |
- fi |
375 |
- |
376 |
- AC_OUTPUT([Makefile |
377 |
|
378 |
diff --git a/app-i18n/zhcon/files/zhcon-0.2.6-curses.patch b/app-i18n/zhcon/files/zhcon-0.2.6-curses.patch |
379 |
deleted file mode 100644 |
380 |
index cf8b07d3de4..00000000000 |
381 |
--- a/app-i18n/zhcon/files/zhcon-0.2.6-curses.patch |
382 |
+++ /dev/null |
383 |
@@ -1,22 +0,0 @@ |
384 |
-diff --git a/configure.in b/configure.in |
385 |
-index 63172e4..6c2afcc 100644 |
386 |
---- a/configure.in |
387 |
-+++ b/configure.in |
388 |
-@@ -132,7 +132,7 @@ fi |
389 |
- AC_SUBST(ZHCON_LOCALE_DIR) |
390 |
- |
391 |
- AC_CHECK_LIB(util, forkpty) |
392 |
--AC_CHECK_LIB(curses, main) |
393 |
-+AC_SEARCH_LIBS([tgetent], [tinfow tinfo cursesw curses ncursesw ncurses], [break;]) |
394 |
- |
395 |
- dnl for freebsd |
396 |
- dnl AC_CHECK_LIB(c, i386_set_ioperm) |
397 |
-@@ -172,7 +172,7 @@ dnl Checks for gpm |
398 |
- dnl----------------------------------------------------------------------- |
399 |
- usegpm="yes" |
400 |
- AC_CHECK_HEADERS(gpm.h,,usegpm="no") |
401 |
--AC_CHECK_LIB(gpm,main,,usegpm="no") |
402 |
-+AC_CHECK_LIB(gpm,Gpm_Open,,usegpm="no") |
403 |
- |
404 |
- dnl----------------------------------------------------------------------- |
405 |
- dnl Checks for libggi |
406 |
|
407 |
diff --git a/app-i18n/zhcon/files/zhcon-0.2.6.configure.in.patch b/app-i18n/zhcon/files/zhcon-0.2.6.configure.in.patch |
408 |
deleted file mode 100644 |
409 |
index 0624a934e02..00000000000 |
410 |
--- a/app-i18n/zhcon/files/zhcon-0.2.6.configure.in.patch |
411 |
+++ /dev/null |
412 |
@@ -1,11 +0,0 @@ |
413 |
---- a/configure.in 2006-06-22 13:02:59.197841560 +0800 |
414 |
-+++ b/configure.in 2006-06-22 12:48:59.000000000 +0800 |
415 |
-@@ -55,7 +55,7 @@ |
416 |
- |
417 |
- CFLAGS="$CFLAGS -funsigned-char -O2" |
418 |
- CXXFLAGS="$CXXFLAGS -funsigned-char -O2" |
419 |
--if test $enable_debug = 'yes';then |
420 |
-+if test "x$enable_debug" = "xyes";then |
421 |
- CFLAGS="$CFLAGS -O0 -g3 -Wall" |
422 |
- CXXFLAGS="$CXXFLAGS -O0 -g3 -Wall" |
423 |
- else |
424 |
|
425 |
diff --git a/app-i18n/zhcon/files/zhcon-0.2.6.make-fix.patch b/app-i18n/zhcon/files/zhcon-0.2.6.make-fix.patch |
426 |
deleted file mode 100644 |
427 |
index ccde407ef81..00000000000 |
428 |
--- a/app-i18n/zhcon/files/zhcon-0.2.6.make-fix.patch |
429 |
+++ /dev/null |
430 |
@@ -1,82 +0,0 @@ |
431 |
-diff -Naur zhcon-0.2.5.orig/doc/Makefile.am zhcon-0.2.5/doc/Makefile.am |
432 |
---- zhcon-0.2.5.orig/doc/Makefile.am 2006-05-03 02:57:18.000000000 +0900 |
433 |
-+++ zhcon-0.2.5/doc/Makefile.am 2011-01-25 18:08:26.483746175 +0900 |
434 |
-@@ -3,8 +3,8 @@ |
435 |
- EXTRA_DIST = zhcon.1.in poem.big5 poem.gb poem.gb.utf8 bpsf.txt manual.tex manual.dvi manual.ps README.html default.css html.tar.gz |
436 |
- |
437 |
- install-data-local: |
438 |
-- $(mkinstalldirs) $(mandir)/man1/ |
439 |
-- $(INSTALL_DATA) $(top_builddir)/doc/zhcon.1 $(mandir)/man1/zhcon.1 |
440 |
-+ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1/ |
441 |
-+ $(INSTALL_DATA) $(top_builddir)/doc/zhcon.1 $(DESTDIR)$(mandir)/man1/zhcon.1 |
442 |
- |
443 |
- uninstall-local: |
444 |
-- -rm -f $(mandir)/man1/zhcon.1 |
445 |
-+ -rm -f $(DESTDIR)$(mandir)/man1/zhcon.1 |
446 |
-diff -Naur zhcon-0.2.5.orig/font/Makefile.am zhcon-0.2.5/font/Makefile.am |
447 |
---- zhcon-0.2.5.orig/font/Makefile.am 2006-04-25 01:39:04.000000000 +0900 |
448 |
-+++ zhcon-0.2.5/font/Makefile.am 2011-01-25 18:08:26.483746175 +0900 |
449 |
-@@ -1,8 +1,8 @@ |
450 |
- EXTRA_DIST = *.bpsf |
451 |
- |
452 |
- install-data-local: |
453 |
-- $(mkinstalldirs) $(libdir)/zhcon/font/ |
454 |
-- $(INSTALL_DATA) $(srcdir)/*.bpsf $(libdir)/zhcon/font/ |
455 |
-+ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/font/ |
456 |
-+ $(INSTALL_DATA) $(srcdir)/*.bpsf $(DESTDIR)$(libdir)/zhcon/font/ |
457 |
- |
458 |
- uninstall-local: |
459 |
-- -rm -f $(libdir)/zhcon/font/*.bpsf |
460 |
-+ -rm -f $(DESTDIR)$(libdir)/zhcon/font/*.bpsf |
461 |
-diff -Naur zhcon-0.2.5.orig/input/Makefile.am zhcon-0.2.5/input/Makefile.am |
462 |
---- zhcon-0.2.5.orig/input/Makefile.am 2006-04-25 01:38:44.000000000 +0900 |
463 |
-+++ zhcon-0.2.5/input/Makefile.am 2011-01-25 18:08:26.483746175 +0900 |
464 |
-@@ -1,8 +1,8 @@ |
465 |
- EXTRA_DIST = *.mb |
466 |
- |
467 |
- install-data-local: |
468 |
-- $(mkinstalldirs) $(libdir)/zhcon/input/ |
469 |
-- $(INSTALL_DATA) $(srcdir)/*.mb $(libdir)/zhcon/input/ |
470 |
-+ $(mkinstalldirs) $(DESTDIR)$(libdir)/zhcon/input/ |
471 |
-+ $(INSTALL_DATA) $(srcdir)/*.mb $(DESTDIR)$(libdir)/zhcon/input/ |
472 |
- |
473 |
- uninstall-local: |
474 |
-- -rm -f $(libdir)/zhcon/input/*.mb |
475 |
-+ -rm -f $(DESTDIR)$(libdir)/zhcon/input/*.mb |
476 |
-diff -Naur zhcon-0.2.5.orig/src/Makefile.am zhcon-0.2.5/src/Makefile.am |
477 |
---- zhcon-0.2.5.orig/src/Makefile.am 2006-05-03 02:12:41.000000000 +0900 |
478 |
-+++ zhcon-0.2.5/src/Makefile.am 2011-01-25 18:11:42.446555911 +0900 |
479 |
-@@ -7,15 +7,12 @@ |
480 |
- |
481 |
- SUBDIRS = display |
482 |
- |
483 |
--install-exec-local: |
484 |
-- chmod 4755 $(bindir)/zhcon |
485 |
-- |
486 |
- install-data-local: |
487 |
-- $(mkinstalldirs) $(prefix)/etc |
488 |
-- $(INSTALL_DATA) $(srcdir)/zhcon.conf $(prefix)/etc/zhcon.conf |
489 |
-+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir) |
490 |
-+ $(INSTALL_DATA) $(srcdir)/zhcon.conf $(DESTDIR)$(sysconfdir)/zhcon.conf |
491 |
- |
492 |
- uninstall-local: |
493 |
-- -rm -f $(prefix)/etc/zhcon.conf |
494 |
-+ -rm -f $(DESTDIR)$(sysconfdir)/zhcon.conf |
495 |
- |
496 |
- # set the include path found by configure |
497 |
- INCLUDES= $(all_includes) |
498 |
-diff -Naur zhcon-0.2.5.orig/tools/Makefile.am zhcon-0.2.5/tools/Makefile.am |
499 |
---- zhcon-0.2.5.orig/tools/Makefile.am 2006-04-25 01:38:46.000000000 +0900 |
500 |
-+++ zhcon-0.2.5/tools/Makefile.am 2011-01-25 18:04:22.701226453 +0900 |
501 |
-@@ -9,11 +9,6 @@ |
502 |
- #getbpsf_LDADD = -L/usr/X11R6/lib -lX11 |
503 |
- #getbpsf_CPPFLAGS = -I/usr/X11R6/include |
504 |
- |
505 |
--LDFLAGS= |
506 |
--CXXFLAGS= |
507 |
--CCFLAGS= |
508 |
--LIBS= |
509 |
-- |
510 |
- EXTRA_DIST = README getbpsf.txt gpm-1.19.6-pty.diff\ |
511 |
- gpm-1.19.6-patched.tar.gz |
512 |
- |
513 |
|
514 |
diff --git a/app-i18n/zhcon/files/zhcon-0.2.6.sysconfdir.patch b/app-i18n/zhcon/files/zhcon-0.2.6.sysconfdir.patch |
515 |
deleted file mode 100644 |
516 |
index 551d656dd6e..00000000000 |
517 |
--- a/app-i18n/zhcon/files/zhcon-0.2.6.sysconfdir.patch |
518 |
+++ /dev/null |
519 |
@@ -1,24 +0,0 @@ |
520 |
-diff -ruN /src/Makefile.am /tmp/src/Makefile.am |
521 |
---- a/src/Makefile.am 2006-06-22 12:35:01.531885552 +0800 |
522 |
-+++ b/src/Makefile.am 2006-06-22 12:31:44.000000000 +0800 |
523 |
-@@ -5,6 +5,8 @@ |
524 |
- |
525 |
- zhcon_LDADD = display/libdisplay.a |
526 |
- |
527 |
-+zhcon_CPPFLAGS = -DSYSCONF_DIR=\"${sysconfdir}\" |
528 |
-+ |
529 |
- SUBDIRS = display |
530 |
- |
531 |
- install-exec-local: |
532 |
-diff -ruN src/zhcon.cpp /tmp/src/zhcon.cpp |
533 |
---- a/src/zhcon.cpp 2006-06-22 12:35:01.398905768 +0800 |
534 |
-+++ b/src/zhcon.cpp 2006-06-22 12:32:41.000000000 +0800 |
535 |
-@@ -123,7 +123,7 @@ |
536 |
- string cfgfile = getenv("HOME"); |
537 |
- cfgfile += "/.zhconrc"; |
538 |
- if (access(cfgfile.c_str(), R_OK) != 0) |
539 |
-- cfgfile = PREFIX "/etc/zhcon.conf"; |
540 |
-+ cfgfile = SYSCONF_DIR"/zhcon.conf"; |
541 |
- |
542 |
- //for debug,a pause enable us to attach zhcon's pid in gdb |
543 |
- //char c;cin>>c; |
544 |
|
545 |
diff --git a/app-i18n/zhcon/metadata.xml b/app-i18n/zhcon/metadata.xml |
546 |
deleted file mode 100644 |
547 |
index b720aad5796..00000000000 |
548 |
--- a/app-i18n/zhcon/metadata.xml |
549 |
+++ /dev/null |
550 |
@@ -1,16 +0,0 @@ |
551 |
-<?xml version="1.0" encoding="UTF-8"?> |
552 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
553 |
-<pkgmetadata> |
554 |
- <maintainer type="project"> |
555 |
- <email>cjk@g.o</email> |
556 |
- <name>Cjk</name> |
557 |
- </maintainer> |
558 |
- <longdescription>zhcon is a Fast double-byte virtual console for |
559 |
-Chinese/Japanese/Korean (CJK) running under GNU/Linux and FreeBSD. |
560 |
-It adds the ability of displaying and inputting CJK double-byte |
561 |
-characters on console device. Currently Japanese display and input |
562 |
-function seems to be broken.</longdescription> |
563 |
- <upstream> |
564 |
- <remote-id type="sourceforge">zhcon</remote-id> |
565 |
- </upstream> |
566 |
-</pkgmetadata> |
567 |
|
568 |
diff --git a/app-i18n/zhcon/zhcon-0.2.6-r3.ebuild b/app-i18n/zhcon/zhcon-0.2.6-r3.ebuild |
569 |
deleted file mode 100644 |
570 |
index e32f503d307..00000000000 |
571 |
--- a/app-i18n/zhcon/zhcon-0.2.6-r3.ebuild |
572 |
+++ /dev/null |
573 |
@@ -1,58 +0,0 @@ |
574 |
-# Copyright 1999-2019 Gentoo Authors |
575 |
-# Distributed under the terms of the GNU General Public License v2 |
576 |
- |
577 |
-EAPI="6" |
578 |
- |
579 |
-inherit autotools |
580 |
- |
581 |
-MY_P="${P/6/5}" |
582 |
- |
583 |
-DESCRIPTION="A Fast CJK (Chinese/Japanese/Korean) Console Environment" |
584 |
-HOMEPAGE="http://zhcon.sourceforge.net/" |
585 |
-SRC_URI="mirror://sourceforge/zhcon/${MY_P}.tar.gz |
586 |
- mirror://sourceforge/zhcon/zhcon-0.2.5-to-0.2.6.diff.gz" |
587 |
- |
588 |
-LICENSE="GPL-2" |
589 |
-SLOT="0" |
590 |
-KEYWORDS="~amd64 ~x86" |
591 |
-IUSE="ggi gpm" |
592 |
- |
593 |
-DEPEND="ggi? ( media-libs/libggi[X] ) |
594 |
- gpm? ( sys-libs/gpm )" |
595 |
-RDEPEND="${DEPEND}" |
596 |
- |
597 |
-S="${WORKDIR}/${MY_P}" |
598 |
- |
599 |
-PATCHES=( |
600 |
- "${FILESDIR}"/${P}.sysconfdir.patch |
601 |
- "${FILESDIR}"/${P}.configure.in.patch |
602 |
- "${FILESDIR}"/${P}+gcc-4.3.patch |
603 |
- "${FILESDIR}"/${P}+linux-headers-2.6.26.patch |
604 |
- "${FILESDIR}"/${P}-curses.patch |
605 |
- "${FILESDIR}"/${P}-amd64.patch |
606 |
- "${FILESDIR}"/${P}-automagic-fix.patch |
607 |
- "${FILESDIR}"/${P}.make-fix.patch |
608 |
-) |
609 |
- |
610 |
-src_prepare() { |
611 |
- eapply "${WORKDIR}"/zhcon-0.2.5-to-0.2.6.diff |
612 |
- default |
613 |
- for f in $(grep -lir HAVE_GGI_LIB *); do |
614 |
- sed -i -e "s/HAVE_GGI_LIB/HAVE_LIBGGI/" "${f}" || die "sed failed" |
615 |
- done |
616 |
- # Required for newer automake |
617 |
- touch config.rpath || die |
618 |
- eautoreconf |
619 |
-} |
620 |
- |
621 |
-src_configure() { |
622 |
- econf $(use_with ggi) \ |
623 |
- $(use_with gpm) |
624 |
-} |
625 |
- |
626 |
-src_install() { |
627 |
- emake DESTDIR="${D}" install |
628 |
- |
629 |
- dodoc AUTHORS ChangeLog README NEWS TODO THANKS |
630 |
- dodoc README.BSD README.gpm README.utf8 |
631 |
-} |