1 |
commit: 77785533c2c17fcf741b61a17b3f9217b70a239e |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 17 11:25:28 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 17 11:25:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77785533 |
7 |
|
8 |
app-i18n/canna: treeclean |
9 |
|
10 |
Closes: https://bugs.gentoo.org/796878 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
app-i18n/canna/Manifest | 1 - |
14 |
app-i18n/canna/canna-3.7_p3-r4.ebuild | 154 ----------------- |
15 |
app-i18n/canna/files/canna-Wformat-security.patch | 199 ---------------------- |
16 |
app-i18n/canna/files/canna-Wformat.patch | 11 -- |
17 |
app-i18n/canna/files/canna-canuum.patch | 34 ---- |
18 |
app-i18n/canna/files/canna-gentoo.patch | 146 ---------------- |
19 |
app-i18n/canna/files/canna-kpdef.patch | 18 -- |
20 |
app-i18n/canna/files/canna-overflow.patch | 20 --- |
21 |
app-i18n/canna/files/canna-posix-sort.patch | 11 -- |
22 |
app-i18n/canna/files/canna.confd | 7 - |
23 |
app-i18n/canna/files/canna.hosts | 1 - |
24 |
app-i18n/canna/files/canna.initd | 31 ---- |
25 |
app-i18n/canna/files/update-canna-dics_dir | 36 ---- |
26 |
app-i18n/canna/metadata.xml | 14 -- |
27 |
profiles/arch/ia64/package.use.mask | 1 - |
28 |
profiles/base/use.mask | 5 - |
29 |
profiles/package.mask | 1 - |
30 |
profiles/use.desc | 1 - |
31 |
18 files changed, 691 deletions(-) |
32 |
|
33 |
diff --git a/app-i18n/canna/Manifest b/app-i18n/canna/Manifest |
34 |
deleted file mode 100644 |
35 |
index 3fe016c833a..00000000000 |
36 |
--- a/app-i18n/canna/Manifest |
37 |
+++ /dev/null |
38 |
@@ -1 +0,0 @@ |
39 |
-DIST Canna37p3.tar.bz2 1263065 BLAKE2B b5fb496c0ef71dc57b2da1409eea2238ea62ece3286d498d694bc7a18cb0f5e052dca95d692b4302988acd2199d350b893ae4aedc91aab0b737c3e0675be9cba SHA512 82846f2393aa2654dd2c97a93178098b8bd11e5409b584447f1b6fdf303adacc9802e2293cafd98b68af8b69622625ed00aa9712bf270feaa119adfdf4211158 |
40 |
|
41 |
diff --git a/app-i18n/canna/canna-3.7_p3-r4.ebuild b/app-i18n/canna/canna-3.7_p3-r4.ebuild |
42 |
deleted file mode 100644 |
43 |
index a5e3cf174d4..00000000000 |
44 |
--- a/app-i18n/canna/canna-3.7_p3-r4.ebuild |
45 |
+++ /dev/null |
46 |
@@ -1,154 +0,0 @@ |
47 |
-# Copyright 1999-2021 Gentoo Authors |
48 |
-# Distributed under the terms of the GNU General Public License v2 |
49 |
- |
50 |
-EAPI=7 |
51 |
- |
52 |
-inherit autotools cannadic toolchain-funcs |
53 |
- |
54 |
-MY_P="Canna${PV//[._]/}" |
55 |
- |
56 |
-DESCRIPTION="A client-server based Kana-Kanji conversion system" |
57 |
-HOMEPAGE="http://canna.osdn.jp/" |
58 |
-SRC_URI="mirror://sourceforge.jp/${PN}/9565/${MY_P}.tar.bz2" |
59 |
-S="${WORKDIR}/${MY_P}" |
60 |
- |
61 |
-LICENSE="MIT GPL-2" |
62 |
-SLOT="0" |
63 |
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86" |
64 |
-IUSE="canuum doc ipv6" |
65 |
- |
66 |
-RDEPEND=" |
67 |
- canuum? ( |
68 |
- dev-libs/libspt |
69 |
- sys-libs/ncurses:= |
70 |
- )" |
71 |
-DEPEND="${RDEPEND}" |
72 |
-BDEPEND=" |
73 |
- x11-misc/gccmakedep |
74 |
- x11-misc/imake |
75 |
- canuum? ( virtual/pkgconfig ) |
76 |
- doc? ( |
77 |
- app-text/ghostscript-gpl |
78 |
- dev-texlive/texlive-langjapanese |
79 |
- dev-texlive/texlive-latexrecommended |
80 |
- )" |
81 |
- |
82 |
-PATCHES=( |
83 |
- "${FILESDIR}"/${PN}-gentoo.patch |
84 |
- "${FILESDIR}"/${PN}-canuum.patch |
85 |
- "${FILESDIR}"/${PN}-kpdef.patch |
86 |
- "${FILESDIR}"/${PN}-overflow.patch |
87 |
- "${FILESDIR}"/${PN}-posix-sort.patch |
88 |
- "${FILESDIR}"/${PN}-Wformat.patch |
89 |
- "${FILESDIR}"/${PN}-Wformat-security.patch |
90 |
-) |
91 |
- |
92 |
-src_prepare() { |
93 |
- default |
94 |
- |
95 |
- sed -i \ |
96 |
- -e "/DefLibCannaDir/s:/lib$:/$(get_libdir):" \ |
97 |
- -e "/UseInet6/s:0:$(usex ipv6 1 0):" \ |
98 |
- ${PN^c}.conf || die |
99 |
- |
100 |
- if use canuum; then |
101 |
- cd canuum || die |
102 |
- mv configure.{in,ac} || die |
103 |
- eautoreconf |
104 |
- fi |
105 |
-} |
106 |
- |
107 |
-src_configure() { |
108 |
- xmkmf -a || die |
109 |
- |
110 |
- if use canuum; then |
111 |
- pushd canuum >/dev/null || die |
112 |
- xmkmf -a || die |
113 |
- # workaround for sys-libs/ncurses[tinfo] |
114 |
- sed -i "/^TERMCAP_LIB/s:=.*:=$($(tc-getPKG_CONFIG) --libs ncurses):" Makefile || die |
115 |
- popd >/dev/null || die |
116 |
- fi |
117 |
- |
118 |
- if use doc; then |
119 |
- pushd doc/man/guide/tex >/dev/null || die |
120 |
- xmkmf -a || die |
121 |
- popd >/dev/null || die |
122 |
- fi |
123 |
-} |
124 |
- |
125 |
-src_compile() { |
126 |
- # bug #279706 |
127 |
- emake -j1 \ |
128 |
- CC="$(tc-getCC)" \ |
129 |
- CDEBUGFLAGS="${CFLAGS}" \ |
130 |
- LOCAL_LDFLAGS="${LDFLAGS}" \ |
131 |
- SHLIBGLOBALSFLAGS="${LDFLAGS}" \ |
132 |
- canna |
133 |
- |
134 |
- if use canuum; then |
135 |
- einfo "Compiling canuum" |
136 |
- emake -C canuum -j1 \ |
137 |
- CC="$(tc-getCC)" \ |
138 |
- CDEBUGFLAGS="${CFLAGS}" \ |
139 |
- LOCAL_LDFLAGS="${LDFLAGS}" \ |
140 |
- canuum |
141 |
- fi |
142 |
- |
143 |
- if use doc; then |
144 |
- # NOTE: build fails if infinality enabled in fontconfig |
145 |
- einfo "Compiling DVI, PS, and PDF documents" |
146 |
- # bug #223077 |
147 |
- emake -C doc/man/guide/tex -j1 \ |
148 |
- JLATEXCMD="platex -kanji=euc" \ |
149 |
- DVI2PSCMD="dvips" \ |
150 |
- VARTEXFONTS="${T}"/fonts \ |
151 |
- canna.ps \ |
152 |
- canna.pdf |
153 |
- fi |
154 |
-} |
155 |
- |
156 |
-src_install() { |
157 |
- emake DESTDIR="${D}" install install.man |
158 |
- einstalldocs |
159 |
- dodoc *CHANGES* INSTALL* RKCCONF* WHATIS* |
160 |
- |
161 |
- if use canuum; then |
162 |
- emake -C canuum DESTDIR="${D}" install install.man |
163 |
- docinto canuum |
164 |
- dodoc README.jp |
165 |
- fi |
166 |
- |
167 |
- if use doc; then |
168 |
- dodoc doc/man/guide/tex/canna.{dvi,ps,pdf} |
169 |
- fi |
170 |
- |
171 |
- # for backward compatibility |
172 |
- dosbin "${FILESDIR}"/update-canna-dics_dir |
173 |
- |
174 |
- keepdir /var/lib/canna/dic/{user,group} |
175 |
- fowners bin:bin /var/lib/canna/dic/{user,group} |
176 |
- fperms 0775 /var/lib/canna/dic/{user,group} |
177 |
- |
178 |
- insinto /var/lib/canna/dic/dics.d |
179 |
- newins "${ED}"/var/lib/canna/dic/canna/dics.dir 00canna.dics.dir |
180 |
- |
181 |
- keepdir /var/log/canna |
182 |
- |
183 |
- newconfd "${FILESDIR}"/canna.confd canna |
184 |
- newinitd "${FILESDIR}"/canna.initd canna |
185 |
- |
186 |
- insinto /etc |
187 |
- newins "${FILESDIR}"/canna.hosts hosts.canna |
188 |
-} |
189 |
- |
190 |
-pkg_postinst() { |
191 |
- update-cannadic-dir |
192 |
- |
193 |
- if ! locale -a | grep -iq "ja_JP.eucjp"; then |
194 |
- elog "Some dictionary tools in this package require ja_JP.EUC-JP locale." |
195 |
- elog |
196 |
- elog "# echo 'ja_JP.EUC-JP EUC-JP' >> ${EROOT}/etc/locale.gen" |
197 |
- elog "# locale-gen" |
198 |
- elog |
199 |
- fi |
200 |
-} |
201 |
|
202 |
diff --git a/app-i18n/canna/files/canna-Wformat-security.patch b/app-i18n/canna/files/canna-Wformat-security.patch |
203 |
deleted file mode 100644 |
204 |
index c83552b5cba..00000000000 |
205 |
--- a/app-i18n/canna/files/canna-Wformat-security.patch |
206 |
+++ /dev/null |
207 |
@@ -1,199 +0,0 @@ |
208 |
---- a/cmd/catdic/can.c |
209 |
-+++ b/cmd/catdic/can.c |
210 |
-@@ -1236,7 +1236,7 @@ |
211 |
- break; |
212 |
- default: |
213 |
- if (init[0] == '/') { |
214 |
-- (void)fprintf(stderr,msg_abnl); |
215 |
-+ (void)fprintf(stderr,"%s",msg_abnl); |
216 |
- } else { |
217 |
- (void)fprintf(stderr,msg_abnls,init); |
218 |
- } |
219 |
-@@ -1297,11 +1297,11 @@ |
220 |
- |
221 |
- if ( opt_fq ) { |
222 |
- if ( opt_s ) { |
223 |
-- (void) fprintf(stderr,msg_sfq); |
224 |
-+ (void) fprintf(stderr,"%s",msg_sfq); |
225 |
- exit(ERR_VALUE) ; |
226 |
- } |
227 |
- if ( opt_l || opt_std ) { |
228 |
-- (void) fprintf(stderr,msg_l); |
229 |
-+ (void) fprintf(stderr,"%s",msg_l); |
230 |
- exit(ERR_VALUE) ; |
231 |
- } |
232 |
- mode = mode | PL_DIC ; |
233 |
-@@ -1491,7 +1491,7 @@ |
234 |
- break; |
235 |
- default: |
236 |
- if(init[0] == '/') { |
237 |
-- fprintf(stderr,msg_abnl ); |
238 |
-+ fprintf(stderr,"%s",msg_abnl ); |
239 |
- } |
240 |
- else { |
241 |
- fprintf(stderr,msg_abnls,init); |
242 |
---- a/cmd/catdic/rutil.c |
243 |
-+++ b/cmd/catdic/rutil.c |
244 |
-@@ -271,7 +271,7 @@ |
245 |
- "Dictionary \"%s\" does not exist.\n"), dicname); |
246 |
- break; |
247 |
- case NOTALC : |
248 |
-- (void)fprintf(stderr, msg_mem); |
249 |
-+ (void)fprintf(stderr, "%s", msg_mem); |
250 |
- break; |
251 |
- case BADF : |
252 |
- (void)fprintf(stderr, gettxt("cannacmd:196", |
253 |
-@@ -297,7 +297,7 @@ |
254 |
- (void)fprintf(stderr,msg_abnls,init); |
255 |
- } |
256 |
- else { |
257 |
-- (void)fprintf(stderr,msg_abnl); |
258 |
-+ (void)fprintf(stderr,"%s",msg_abnl); |
259 |
- } |
260 |
- break; |
261 |
- } |
262 |
-@@ -321,7 +321,7 @@ |
263 |
- (void)fprintf(stderr, msg_abnls, init); |
264 |
- } |
265 |
- else { |
266 |
-- (void)fprintf(stderr, msg_abnl); |
267 |
-+ (void)fprintf(stderr, "%s", msg_abnl); |
268 |
- } |
269 |
- ret = -1; |
270 |
- return ret; |
271 |
-@@ -332,13 +332,13 @@ |
272 |
- (void)fprintf(stderr, msg_mnts, init); |
273 |
- } |
274 |
- else { |
275 |
-- (void)fprintf(stderr, msg_mnt); |
276 |
-+ (void)fprintf(stderr, "%s", msg_mnt); |
277 |
- } |
278 |
- ret = -1; |
279 |
- return ret; |
280 |
- } |
281 |
- if ((mode & PL_DIC) == PL_DIC ) { |
282 |
-- (void)fprintf(stderr,msg_fq); |
283 |
-+ (void)fprintf(stderr,"%s",msg_fq); |
284 |
- ret = -1 ; |
285 |
- return ret ; |
286 |
- } |
287 |
-@@ -359,7 +359,7 @@ |
288 |
- ret = 0; |
289 |
- break; |
290 |
- case NOTALC : |
291 |
-- (void)fprintf(stderr, msg_mem); |
292 |
-+ (void)fprintf(stderr, "%s", msg_mem); |
293 |
- ret = -1; |
294 |
- break; |
295 |
- case BADF : |
296 |
-@@ -421,7 +421,7 @@ |
297 |
- ret = -1; |
298 |
- break; |
299 |
- case BADCONT : |
300 |
-- (void)fprintf(stderr,msg_cnt); |
301 |
-+ (void)fprintf(stderr,"%s",msg_cnt); |
302 |
- ret = -1; |
303 |
- break; |
304 |
- default: |
305 |
-@@ -429,7 +429,7 @@ |
306 |
- (void)fprintf(stderr, msg_abnls, init); |
307 |
- } |
308 |
- else { |
309 |
-- (void)fprintf(stderr, msg_abnl); |
310 |
-+ (void)fprintf(stderr, "%s", msg_abnl); |
311 |
- } |
312 |
- exit(ERR_VALUE); |
313 |
- break; |
314 |
-@@ -448,7 +448,7 @@ |
315 |
- ret = 0; |
316 |
- break; |
317 |
- case NOTALC : |
318 |
-- (void)fprintf(stderr, msg_mem); |
319 |
-+ (void)fprintf(stderr, "%s", msg_mem); |
320 |
- ret = -1; |
321 |
- break; |
322 |
- case BADF : |
323 |
-@@ -509,11 +509,11 @@ |
324 |
- ret = -1; |
325 |
- break; |
326 |
- case BADARG : |
327 |
-- (void)fprintf(stderr,msg_fq); |
328 |
-+ (void)fprintf(stderr,"%s",msg_fq); |
329 |
- ret = -1; |
330 |
- break; |
331 |
- case BADCONT : |
332 |
-- (void)fprintf(stderr,msg_cnt); |
333 |
-+ (void)fprintf(stderr,"%s",msg_cnt); |
334 |
- ret = -1; |
335 |
- break; |
336 |
- case NOENT : /* 91.12.03 */ |
337 |
-@@ -526,7 +526,7 @@ |
338 |
- (void)fprintf(stderr, msg_abnls, init); |
339 |
- } |
340 |
- else { |
341 |
-- (void)fprintf(stderr, msg_abnl); |
342 |
-+ (void)fprintf(stderr, "%s", msg_abnl); |
343 |
- } |
344 |
- exit(ERR_VALUE); |
345 |
- break; |
346 |
-@@ -556,7 +556,7 @@ |
347 |
- (void)fprintf(stderr, msg_abnls,init); |
348 |
- } |
349 |
- else { |
350 |
-- (void)fprintf(stderr, msg_abnl); |
351 |
-+ (void)fprintf(stderr, "%s", msg_abnl); |
352 |
- } |
353 |
- ret = -1; |
354 |
- return ret; |
355 |
-@@ -567,13 +567,13 @@ |
356 |
- (void)fprintf(stderr, msg_mnts, init); |
357 |
- } |
358 |
- else { |
359 |
-- (void)fprintf(stderr, msg_mnt); |
360 |
-+ (void)fprintf(stderr, "%s", msg_mnt); |
361 |
- } |
362 |
- ret = -1; |
363 |
- return ret; |
364 |
- } |
365 |
- if ((mode & PL_DIC) == PL_DIC ) { |
366 |
-- (void)fprintf(stderr, msg_fq); |
367 |
-+ (void)fprintf(stderr, "%s", msg_fq); |
368 |
- ret = -1 ; |
369 |
- return ret ; |
370 |
- } |
371 |
-@@ -608,7 +608,7 @@ |
372 |
- ret = -2; /* 93.03.03 */ |
373 |
- break; |
374 |
- case BADCONT : |
375 |
-- (void)fprintf(stderr, msg_cnt); |
376 |
-+ (void)fprintf(stderr, "%s", msg_cnt); |
377 |
- ret = -1; |
378 |
- break; |
379 |
- default: |
380 |
-@@ -616,7 +616,7 @@ |
381 |
- (void)fprintf(stderr, msg_abnls, init); |
382 |
- } |
383 |
- else { |
384 |
-- (void)fprintf(stderr, msg_abnl); |
385 |
-+ (void)fprintf(stderr, "%s", msg_abnl); |
386 |
- } |
387 |
- ret = -1; |
388 |
- break; |
389 |
-@@ -651,7 +651,7 @@ |
390 |
- ret = -2; /* 93.03.03 */ |
391 |
- break; |
392 |
- case BADCONT : |
393 |
-- (void)fprintf(stderr, msg_cnt); |
394 |
-+ (void)fprintf(stderr, "%s", msg_cnt); |
395 |
- ret = -1; |
396 |
- break; |
397 |
- default: |
398 |
-@@ -659,7 +659,7 @@ |
399 |
- (void)fprintf(stderr, msg_abnls, init); |
400 |
- } |
401 |
- else { |
402 |
-- (void)fprintf(stderr, msg_abnl); |
403 |
-+ (void)fprintf(stderr, "%s", msg_abnl); |
404 |
- } |
405 |
- ret = -1; |
406 |
- break; |
407 |
|
408 |
diff --git a/app-i18n/canna/files/canna-Wformat.patch b/app-i18n/canna/files/canna-Wformat.patch |
409 |
deleted file mode 100644 |
410 |
index a8f5aa37163..00000000000 |
411 |
--- a/app-i18n/canna/files/canna-Wformat.patch |
412 |
+++ /dev/null |
413 |
@@ -1,11 +0,0 @@ |
414 |
---- a/doc/man/guide/tex/cannaindex.c |
415 |
-+++ b/doc/man/guide/tex/cannaindex.c |
416 |
-@@ -198,7 +198,7 @@ |
417 |
- } |
418 |
- inf = fopen(argv[1], "r"); |
419 |
- if (!inf) { |
420 |
-- fprintf(stderr, "%s: Can not open file \"%s\".\n", argv[1]); |
421 |
-+ fprintf(stderr, "%s: Can not open file \"%s\".\n", program, argv[1]); |
422 |
- exit(1); |
423 |
- } |
424 |
- pages = readindex(inf, entries); |
425 |
|
426 |
diff --git a/app-i18n/canna/files/canna-canuum.patch b/app-i18n/canna/files/canna-canuum.patch |
427 |
deleted file mode 100644 |
428 |
index 293ffbb54c9..00000000000 |
429 |
--- a/app-i18n/canna/files/canna-canuum.patch |
430 |
+++ /dev/null |
431 |
@@ -1,34 +0,0 @@ |
432 |
---- a/canuum/configure.in |
433 |
-+++ b/canuum/configure.in |
434 |
-@@ -401,7 +401,7 @@ |
435 |
- dnl |
436 |
- olibs="$LIBS" |
437 |
- AC_MSG_CHECKING(--with-term-libs argument) |
438 |
--AC_ARG_WITH(tlib, |
439 |
-+AC_ARG_WITH(term-libs, |
440 |
- [ --with-term-libs=-lLIB terminal library to be used ],) |
441 |
- if test -n "$with_term_libs"; then |
442 |
- AC_MSG_RESULT($with_term_libs) |
443 |
---- a/canuum/wnn_config.h |
444 |
-+++ b/canuum/wnn_config.h |
445 |
-@@ -149,8 +149,8 @@ |
446 |
- #define TTY_KCODE J_EUJIS |
447 |
- #define PTY_KCODE J_EUJIS |
448 |
- # else /* !DGUX */ |
449 |
--#define TTY_KCODE J_JIS |
450 |
--#define PTY_KCODE J_JIS |
451 |
-+#define TTY_KCODE J_EUJIS |
452 |
-+#define PTY_KCODE J_EUJIS |
453 |
- # endif |
454 |
- #endif |
455 |
- |
456 |
---- a/canuum/wnn_os.h |
457 |
-+++ b/canuum/wnn_os.h |
458 |
-@@ -41,6 +41,7 @@ |
459 |
- #include <signal.h> |
460 |
- #if STDC_HEADERS |
461 |
- # include <stdlib.h> |
462 |
-+# include <string.h> |
463 |
- # include <limits.h> |
464 |
- #endif /* STDC_HEADERS */ |
465 |
- |
466 |
|
467 |
diff --git a/app-i18n/canna/files/canna-gentoo.patch b/app-i18n/canna/files/canna-gentoo.patch |
468 |
deleted file mode 100644 |
469 |
index 7ecfb4b9cd8..00000000000 |
470 |
--- a/app-i18n/canna/files/canna-gentoo.patch |
471 |
+++ /dev/null |
472 |
@@ -1,146 +0,0 @@ |
473 |
---- a/Canna.conf |
474 |
-+++ b/Canna.conf |
475 |
-@@ -109,12 +109,12 @@ |
476 |
- # define DefErrDir $(cannaPrefix)/log |
477 |
- # define DefLibCannaDir $(cannaExecPrefix)/lib |
478 |
- #else |
479 |
--# define DefCannaPrefix /usr/local/canna |
480 |
-+# define DefCannaPrefix $(EPREFIX)/usr |
481 |
- # ifdef ObsoleteInstallDir |
482 |
- # define DefErrDir /usr/spool/canna |
483 |
- # define DefLibCannaDir /usr/lib |
484 |
- # else |
485 |
--# define DefErrDir /var/log |
486 |
-+# define DefErrDir $(EPREFIX)/var/log/$(PN) |
487 |
- # define DefLibCannaDir $(cannaExecPrefix)/lib |
488 |
- # endif |
489 |
- #endif |
490 |
-@@ -123,7 +123,7 @@ |
491 |
- # define DefCannaLibDir $(cannaPrefix)/lib |
492 |
- #else |
493 |
- # define DefCannaSrvDir $(cannaExecPrefix)/sbin |
494 |
--# define DefCannaLibDir $(cannaPrefix)/share/canna |
495 |
-+# define DefCannaLibDir $(cannaPrefix)/share/$(PN) |
496 |
- #endif |
497 |
- |
498 |
- #if defined(LinuxArchitecture) || defined(FreeBSDArchitecture) \ |
499 |
-@@ -147,9 +147,11 @@ |
500 |
- XCOMM cannaLibDir = /var/lib/canna |
501 |
- XCOMM cannaLibDir = /var/db/canna |
502 |
- cannaLibDir = DefCannaLibDir |
503 |
--XCOMM cannaManDir = $(cannaPrefix)/share/man |
504 |
--cannaManDir = $(cannaPrefix)/man |
505 |
--cannaIncDir = $(cannaPrefix)/include/canna |
506 |
-+cannaManDir = $(cannaPrefix)/share/man |
507 |
-+XCOMM cannaManDir = $(cannaPrefix)/man |
508 |
-+cannaIncDir = $(cannaPrefix)/include/$(PN) |
509 |
-+cannaShareDir = $(cannaPrefix)/share/$(PN) |
510 |
-+cannaDocDir = $(cannaPrefix)/share/doc/$(PF) |
511 |
- |
512 |
- libCannaDir = DefLibCannaDir |
513 |
- ErrDir = DefErrDir |
514 |
-@@ -237,7 +239,7 @@ |
515 |
- /* #define UseInstalledLibCanna YES */ |
516 |
- #define UseInstalledLibCanna NO |
517 |
- |
518 |
--DicDir = $(cannaLibDir)/dic |
519 |
-+DicDir = $(EPREFIX)/var/lib/$(PN)/dic |
520 |
- |
521 |
- /* ここから下は変更不要です */ |
522 |
- |
523 |
---- a/Imakefile |
524 |
-+++ b/Imakefile |
525 |
-@@ -87,6 +87,7 @@ |
526 |
- echo "#define CANNAHOSTFILE \"$(cannaLibDir)/cannahost\"";\ |
527 |
- echo "/* for lib/canna */";\ |
528 |
- echo "#define CANNALIBDIR \"$(cannaLibDir)\""; \ |
529 |
-+ echo "#define CANNASHAREDIR \"$(cannaShareDir)\""; \ |
530 |
- echo "#define SUPPORT_OLD_WCHAR $(supportOldWchar)"; \ |
531 |
- echo "/* for scripts */";\ |
532 |
- echo "#define CANNABINDIR $(cannaBinDir)"; \ |
533 |
---- a/dic/phono/Imakefile |
534 |
-+++ b/dic/phono/Imakefile |
535 |
-@@ -27,9 +27,10 @@ |
536 |
- |
537 |
- ROMAJI_DIC_DEF = -DSHIFT |
538 |
- |
539 |
-- DICDIR = $(cannaLibDir)/dic |
540 |
-- SAMPLEDIR = $(cannaLibDir)/sample |
541 |
-- SAMPLESRCDIR = $(cannaLibDir)/sample/src |
542 |
-+ DICDIR = $(DicDir) |
543 |
-+ CANNASHAREDIR = $(cannaShareDir) |
544 |
-+ SAMPLEDIR = $(cannaDocDir)/sample |
545 |
-+ SAMPLESRCDIR = $(cannaDocDir)/sample/src |
546 |
- |
547 |
- KPDEF = default.kpdef jdaemon.kpdef just.kpdef kaisoku.kpdef kana.kpdef \ |
548 |
- lan5.kpdef matsu.kpdef newjis.kpdef romaji.kpdef sokuon.kpdef \ |
549 |
-@@ -69,7 +70,7 @@ |
550 |
- MakeDirectories(install,$(DICDIR)) |
551 |
- MakeDirectories(install,$(SAMPLESRCDIR)) |
552 |
- |
553 |
--InstallMultiple($(ROMKANA_TABLES),$(DICDIR)) |
554 |
-+InstallMultiple($(ROMKANA_TABLES),$(CANNASHAREDIR)) |
555 |
- |
556 |
- #ifdef USE_OBSOLETE_STYLE_FILENAME |
557 |
- InstallNonExec(default.kpdef,$(SAMPLESRCDIR)) |
558 |
---- a/lib/canna/romaji.c |
559 |
-+++ b/lib/canna/romaji.c |
560 |
-@@ -427,7 +427,6 @@ |
561 |
- } |
562 |
- } |
563 |
- |
564 |
--#if 0 /* currently CANNASHAREDDIR is not defined */ |
565 |
- if (retval == (struct RkRxDic *)NULL) { /* added for Debian by ISHIKAWA Mutsumi <ishikawa@××××××××.jp> */ |
566 |
- extern jrUserInfoStruct *uinfo; |
567 |
- |
568 |
-@@ -450,7 +449,6 @@ |
569 |
- } |
570 |
- } |
571 |
- } |
572 |
--#endif |
573 |
- |
574 |
- if (retval == (struct RkRxDic *)NULL) { /* 全部オープンできない */ |
575 |
- sprintf(rdic, |
576 |
---- a/misc/Imakefile |
577 |
-+++ b/misc/Imakefile |
578 |
-@@ -48,7 +48,7 @@ |
579 |
- MakeLintLibSubdirs($(SUBDIRS)) |
580 |
- MakeLintSubdirs($(SUBDIRS),install.ln,install.ln) |
581 |
- |
582 |
--MakeDirectories(install,$(cannaLibDir)/sample/src) |
583 |
-+MakeDirectories(install,$(cannaDocDir)/sample/src) |
584 |
- |
585 |
- #ifdef USE_OBSOLETE_STYLE_FILENAME |
586 |
- default.canna: default.ca |
587 |
-@@ -58,8 +58,8 @@ |
588 |
- $(CP) default.ca default.canna |
589 |
- #endif |
590 |
- |
591 |
- InstallNonExec(default.canna,$(cannaLibDir)) |
592 |
--InstallNonExec(is.c,$(cannaLibDir)/sample/src) |
593 |
-+InstallNonExec(is.c,$(cannaDocDir)/sample/src) |
594 |
- |
595 |
- clean:: |
596 |
- $(RM) $(PROGRAMS) |
597 |
---- a/misc/initfiles/Imakefile |
598 |
-+++ b/misc/initfiles/Imakefile |
599 |
-@@ -6,7 +6,7 @@ |
600 |
- #endif |
601 |
- |
602 |
- CANNAROOT = ../.. |
603 |
-- SAMPLEDIR = $(cannaLibDir)/sample |
604 |
-+ SAMPLEDIR = $(cannaDocDir)/sample |
605 |
- |
606 |
- all:: |
607 |
- |
608 |
---- a/server/Imakefile |
609 |
-+++ b/server/Imakefile |
610 |
-@@ -6,7 +6,7 @@ |
611 |
- #ifdef __EMX__ |
612 |
- INSTFLAGS = $(INSTUGIDFLAGS) |
613 |
- #else |
614 |
-- INSTFLAGS = -s $(INSTUGIDFLAGS) |
615 |
-+ INSTFLAGS = $(INSTUGIDFLAGS) |
616 |
- #endif |
617 |
- DEFINES = $(CANNASERVER_DEFINES) $(SIGNAL_DEFINES) ConnectionFlags |
618 |
- INCLUDES = -I$(CANNAROOT)/include |
619 |
|
620 |
diff --git a/app-i18n/canna/files/canna-kpdef.patch b/app-i18n/canna/files/canna-kpdef.patch |
621 |
deleted file mode 100644 |
622 |
index b0b71b4442c..00000000000 |
623 |
--- a/app-i18n/canna/files/canna-kpdef.patch |
624 |
+++ /dev/null |
625 |
@@ -1,18 +0,0 @@ |
626 |
---- a/dic/phono/default.kpdef |
627 |
-+++ b/dic/phono/default.kpdef |
628 |
-@@ -350,3 +350,15 @@ |
629 |
- _ _ |
630 |
- / / |
631 |
- \\ ¥ |
632 |
-+ |
633 |
-+# some useful romkan symbols |
634 |
-+z, ‥ |
635 |
-+z- ~ |
636 |
-+z. … |
637 |
-+z/ ・ |
638 |
-+z[ 『 |
639 |
-+z] 』 |
640 |
-+zh ← |
641 |
-+zj ↓ |
642 |
-+zk ↑ |
643 |
-+zl → |
644 |
|
645 |
diff --git a/app-i18n/canna/files/canna-overflow.patch b/app-i18n/canna/files/canna-overflow.patch |
646 |
deleted file mode 100644 |
647 |
index ef3b6ad1b95..00000000000 |
648 |
--- a/app-i18n/canna/files/canna-overflow.patch |
649 |
+++ /dev/null |
650 |
@@ -1,20 +0,0 @@ |
651 |
---- a/cmd/catdic/rutil.c |
652 |
-+++ b/cmd/catdic/rutil.c |
653 |
-@@ -384,7 +384,7 @@ |
654 |
- (void)fprintf(stderr,gettxt("cannacmd:205", |
655 |
- "Specified dictionary \"%s\" already exists. Do you overwrite it ? (y/n)"), |
656 |
- dicname); |
657 |
-- fgets(ans,80,stdin); |
658 |
-+ fgets(ans,sizeof(ans),stdin); |
659 |
- } else { |
660 |
- (void)fprintf(stderr,gettxt("cannacmd:206", |
661 |
- "Specified dictionary \"%s\" already exists."),dicname); |
662 |
-@@ -474,7 +474,7 @@ |
663 |
- if (isatty(fileno(stdin)) != 0) { |
664 |
- (void)fprintf(stderr,gettxt("cannacmd:216", |
665 |
- "Personal learning file of dictionary \"%s\" exists. Do you overwrite it ? (y/n)"),dicname); |
666 |
-- fgets(ans,80,stdin); |
667 |
-+ fgets(ans,sizeof(ans),stdin); |
668 |
- } else { |
669 |
- (void)fprintf(stderr,gettxt("cannacmd:217", |
670 |
- "Personal learning file of system dictionary \"%s\" already exists."), |
671 |
|
672 |
diff --git a/app-i18n/canna/files/canna-posix-sort.patch b/app-i18n/canna/files/canna-posix-sort.patch |
673 |
deleted file mode 100644 |
674 |
index 1f98aaf5efd..00000000000 |
675 |
--- a/app-i18n/canna/files/canna-posix-sort.patch |
676 |
+++ /dev/null |
677 |
@@ -1,11 +0,0 @@ |
678 |
---- a/cmd/mkbindic/mkbindic.cpp |
679 |
-+++ b/cmd/mkbindic/mkbindic.cpp |
680 |
-@@ -40,7 +40,7 @@ |
681 |
- bck_text=; |
682 |
- flag=; |
683 |
- compat_flag=; |
684 |
--sortcmd="sort -d -s +0 -1" |
685 |
-+sortcmd="sort -d -s -k 1,1" |
686 |
- usage="usage: mkbindic [-m|-s] [-name dicname] [-c version] textfile [cpp-args ...]"; |
687 |
- : ${TMPDIR:=/tmp} |
688 |
- |
689 |
|
690 |
diff --git a/app-i18n/canna/files/canna.confd b/app-i18n/canna/files/canna.confd |
691 |
deleted file mode 100644 |
692 |
index d3fdce5425a..00000000000 |
693 |
--- a/app-i18n/canna/files/canna.confd |
694 |
+++ /dev/null |
695 |
@@ -1,7 +0,0 @@ |
696 |
-CANNASERVER_ENABLE_SYSLOG="yes" |
697 |
- |
698 |
-# Specify user to run as |
699 |
-CANNASERVER_OWNER="bin" |
700 |
- |
701 |
-# Options for cannaserver |
702 |
-CANNASERVER_OPTS="" |
703 |
|
704 |
diff --git a/app-i18n/canna/files/canna.hosts b/app-i18n/canna/files/canna.hosts |
705 |
deleted file mode 100644 |
706 |
index 509143d8631..00000000000 |
707 |
--- a/app-i18n/canna/files/canna.hosts |
708 |
+++ /dev/null |
709 |
@@ -1 +0,0 @@ |
710 |
-unix |
711 |
|
712 |
diff --git a/app-i18n/canna/files/canna.initd b/app-i18n/canna/files/canna.initd |
713 |
deleted file mode 100644 |
714 |
index 97dac733fa9..00000000000 |
715 |
--- a/app-i18n/canna/files/canna.initd |
716 |
+++ /dev/null |
717 |
@@ -1,31 +0,0 @@ |
718 |
-#!/sbin/openrc-run |
719 |
-# Copyright 1999-2017 Gentoo Foundation |
720 |
-# Distributed under the terms of the GNU General Public License v2 |
721 |
- |
722 |
-command="/usr/sbin/${RC_SVCNAME}server" |
723 |
-command_args="${CANNASERVER_OPTS}" |
724 |
- |
725 |
-# CANNASERVER_OPTS and CANNASERVER_OWNER is defined in /etc/conf.d/canna |
726 |
-CANNASERVER_LOGFILE="/var/log/${RC_SVCNAME}/CANNA0msgs" |
727 |
- |
728 |
-depend() { |
729 |
- use logger |
730 |
- need net |
731 |
-} |
732 |
- |
733 |
-start_pre() { |
734 |
- if [ "${CANNASERVER_ENABLE_SYSLOG}" = "yes" ]; then |
735 |
- command_args="${command_args} -syslog" |
736 |
- elif [ -z "${CANNASERVER_OWNER}" ]; then |
737 |
- checkpath "${CANNASERVER_LOGFILE}" |
738 |
- else |
739 |
- checkpath -o "${CANNASERVER_OWNER}" "${CANNASERVER_LOGFILE}" |
740 |
- command_args="${command_args} -u ${CANNASERVER_OWNER}" |
741 |
- fi |
742 |
-} |
743 |
- |
744 |
-stop() { |
745 |
- ebegin "Stopping ${name:-${RC_SVCNAME}}" |
746 |
- /usr/sbin/${RC_SVCNAME}kill |
747 |
- eend ${?} |
748 |
-} |
749 |
|
750 |
diff --git a/app-i18n/canna/files/update-canna-dics_dir b/app-i18n/canna/files/update-canna-dics_dir |
751 |
deleted file mode 100644 |
752 |
index a57290ec3ba..00000000000 |
753 |
--- a/app-i18n/canna/files/update-canna-dics_dir |
754 |
+++ /dev/null |
755 |
@@ -1,36 +0,0 @@ |
756 |
-#!/bin/sh |
757 |
-# update-canna-dics_dir |
758 |
-# compiles dics.dir files for Canna Server |
759 |
-# Copyright 2001 ISHIKAWA Mutsumi |
760 |
-# Licensed under the GNU General Public License, version 2. See the file |
761 |
-# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>. |
762 |
- |
763 |
-SRC=/var/lib/canna/dic/dics.d |
764 |
-DEST=/var/lib/canna/dic/canna |
765 |
- |
766 |
-for DIR in $SRC $DEST; do |
767 |
- VALID=yes |
768 |
- if [ ! -d $DIR ]; then |
769 |
- echo "$0: $DIR does not exist or is not a directory." >&2 |
770 |
- VALID= |
771 |
- fi |
772 |
-done |
773 |
- |
774 |
-if [ -n "$VALID" ]; then |
775 |
- # write new dics.dir file in case we are interrupted |
776 |
- echo '# dics.dir -- automatically generated file. DO NOT EDIT.' > $DEST/dics.dir.update-new |
777 |
-# echo '# To modify, see update-canna-dics_dir(8). >> $DEST/dics.dir.update-new |
778 |
- # are there any files to process? |
779 |
- if [ "$(echo $SRC/*.dics.dir)" != "$SRC/*.dics.dir" ]; then |
780 |
- for file in $SRC/*.dics.dir; do |
781 |
- echo "# $file" >> $DEST/dics.dir.update-new |
782 |
- cat $file >> $DEST/dics.dir.update-new |
783 |
- done |
784 |
- mv $DEST/dics.dir.update-new $DEST/dics.dir |
785 |
- else |
786 |
- # no files to process, remove the one |
787 |
- rm -f $DEST/dics.dir |
788 |
- fi |
789 |
-fi |
790 |
- |
791 |
-exit |
792 |
|
793 |
diff --git a/app-i18n/canna/metadata.xml b/app-i18n/canna/metadata.xml |
794 |
deleted file mode 100644 |
795 |
index af8866b3beb..00000000000 |
796 |
--- a/app-i18n/canna/metadata.xml |
797 |
+++ /dev/null |
798 |
@@ -1,14 +0,0 @@ |
799 |
-<?xml version="1.0" encoding="UTF-8"?> |
800 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
801 |
-<pkgmetadata> |
802 |
- <maintainer type="project"> |
803 |
- <email>cjk@g.o</email> |
804 |
- <name>Cjk</name> |
805 |
- </maintainer> |
806 |
- <use> |
807 |
- <flag name="canuum">Build canuum</flag> |
808 |
- </use> |
809 |
- <upstream> |
810 |
- <remote-id type="sourceforge-jp">canna</remote-id> |
811 |
- </upstream> |
812 |
-</pkgmetadata> |
813 |
|
814 |
diff --git a/profiles/arch/ia64/package.use.mask b/profiles/arch/ia64/package.use.mask |
815 |
index 971f51be2de..b65584cb430 100644 |
816 |
--- a/profiles/arch/ia64/package.use.mask |
817 |
+++ b/profiles/arch/ia64/package.use.mask |
818 |
@@ -82,7 +82,6 @@ dev-python/socketpool eventlet gevent |
819 |
# These pull in: |
820 |
# - direct ruby dependency: |
821 |
app-admin/augeas test |
822 |
-app-i18n/canna doc |
823 |
sys-block/thin-provisioning-tools test |
824 |
# - texlive japan modules: ruby runtime scripts |
825 |
app-text/texlive l10n_ja context |
826 |
|
827 |
diff --git a/profiles/base/use.mask b/profiles/base/use.mask |
828 |
index b1101daaaaf..d805d7c7b66 100644 |
829 |
--- a/profiles/base/use.mask |
830 |
+++ b/profiles/base/use.mask |
831 |
@@ -18,11 +18,6 @@ ruby_targets_ruby25 |
832 |
# PostgreSQL 9.5 masked for removal |
833 |
postgres_targets_postgres9_5 |
834 |
|
835 |
-# David Seifert <soap@g.o> (2021-06-20) |
836 |
-# Abandoned upstream, last release 17 years ago, unmaintained, tons of |
837 |
-# QA bugs, eclass is terrible. Bug #796878, removal in 30 days. |
838 |
-canna |
839 |
- |
840 |
# Brian Evans <grknight@g.o> (2021-01-07) |
841 |
# PHP 7.2 is security vulnerable and end-of-life |
842 |
# Please upgrade to a newer slot |
843 |
|
844 |
diff --git a/profiles/package.mask b/profiles/package.mask |
845 |
index a45772f8145..0f02137172a 100644 |
846 |
--- a/profiles/package.mask |
847 |
+++ b/profiles/package.mask |
848 |
@@ -305,7 +305,6 @@ dev-java/jvyamlb |
849 |
app-dicts/canna-cannadic |
850 |
app-dicts/canna-2ch |
851 |
app-emacs/yc |
852 |
-app-i18n/canna |
853 |
|
854 |
# Volkmar W. Pogatzki <gentoo@××××××××.net> (2021-06-20) |
855 |
# no consumer, removal in 30 days |
856 |
|
857 |
diff --git a/profiles/use.desc b/profiles/use.desc |
858 |
index 271a22f65be..1e80f0ad87a 100644 |
859 |
--- a/profiles/use.desc |
860 |
+++ b/profiles/use.desc |
861 |
@@ -35,7 +35,6 @@ build - !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating |
862 |
bzip2 - Use the bzlib compression library |
863 |
cairo - Enable support for the cairo graphics library |
864 |
calendar - Add support for calendars (not using mcal!) |
865 |
-canna - Add support for the Canna kana to kanji conversion engine |
866 |
caps - Use Linux capabilities library to control privilege |
867 |
cdb - Add support for the CDB database engine from the author of qmail |
868 |
cdda - Add Compact Disk Digital Audio (Standard Audio CD) support |