1 |
commit: d371f177bc23ba2d011c3809fb135d969fade356 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 19 21:40:34 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 19 21:40:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d371f177 |
7 |
|
8 |
app-i18n/canna: drop 3.7_p3-r1, 3.7_p3-r2 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
app-i18n/canna/canna-3.7_p3-r1.ebuild | 98 -------------------------- |
13 |
app-i18n/canna/canna-3.7_p3-r2.ebuild | 128 ---------------------------------- |
14 |
2 files changed, 226 deletions(-) |
15 |
|
16 |
diff --git a/app-i18n/canna/canna-3.7_p3-r1.ebuild b/app-i18n/canna/canna-3.7_p3-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index ceff5914058..00000000000 |
19 |
--- a/app-i18n/canna/canna-3.7_p3-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,98 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI="6" |
26 |
- |
27 |
-inherit cannadic toolchain-funcs |
28 |
- |
29 |
-MY_P="Canna${PV//[._]/}" |
30 |
- |
31 |
-DESCRIPTION="A client-server based Kana-Kanji conversion system" |
32 |
-HOMEPAGE="http://canna.osdn.jp/" |
33 |
-SRC_URI="mirror://sourceforge.jp/canna/9565/${MY_P}.tar.bz2" |
34 |
- |
35 |
-LICENSE="MIT GPL-2" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~alpha amd64 arm64 ~hppa ~ia64 ppc ppc64 sparc x86" |
38 |
-IUSE="" |
39 |
- |
40 |
-DEPEND="x11-misc/gccmakedep |
41 |
- x11-misc/imake" |
42 |
-RDEPEND="" |
43 |
-S="${WORKDIR}/${MY_P}" |
44 |
- |
45 |
-PATCHES=( |
46 |
- "${FILESDIR}"/${PN}-gentoo.patch |
47 |
- "${FILESDIR}"/${PN}-kpdef.patch |
48 |
- "${FILESDIR}"/${PN}-overflow.patch |
49 |
- "${FILESDIR}"/${PN}-posix-sort.patch |
50 |
- "${FILESDIR}"/${PN}-Wformat.patch |
51 |
- "${FILESDIR}"/${PN}-Wformat-security.patch |
52 |
-) |
53 |
-DOCS="*CHANGES* ChangeLog INSTALL* README* RKCCONF* WHATIS*" |
54 |
- |
55 |
-src_prepare() { |
56 |
- default |
57 |
- |
58 |
- find . -name '*.man' -o -name '*.jmn' | xargs sed -i.bak -e 's/1M/8/g' || die |
59 |
- |
60 |
- # Multilib-strict fix for amd64 |
61 |
- sed -i "/DefLibCannaDir/s:/lib$:/$(get_libdir):" Canna.conf |
62 |
-} |
63 |
- |
64 |
-src_configure() { |
65 |
- xmkmf -a || die |
66 |
-} |
67 |
- |
68 |
-src_compile() { |
69 |
- # bug #279706 |
70 |
- emake -j1 \ |
71 |
- CC="$(tc-getCC)" \ |
72 |
- CDEBUGFLAGS="${CFLAGS}" \ |
73 |
- LOCAL_LDFLAGS="${LDFLAGS}" \ |
74 |
- SHLIBGLOBALSFLAGS="${LDFLAGS}" \ |
75 |
- ${PN} |
76 |
-} |
77 |
- |
78 |
-src_install() { |
79 |
- emake DESTDIR="${D}" install install.man |
80 |
- einstalldocs |
81 |
- |
82 |
- dodir /usr/share/man{,/ja}/man8 |
83 |
- local man mandir |
84 |
- for man in cannaserver cannakill ; do |
85 |
- for mandir in "${D}"/usr/share/man "${D}"/usr/share/man/ja ; do |
86 |
- mv ${mandir}/man1/${man}.1 ${mandir}/man8/${man}.8 |
87 |
- done |
88 |
- done |
89 |
- |
90 |
- # for backward compatibility |
91 |
- dosbin "${FILESDIR}"/update-canna-dics_dir |
92 |
- |
93 |
- keepdir /var/lib/${PN}/dic/{user,group} |
94 |
- fowners bin:bin /var/lib/${PN}/dic/{user,group} |
95 |
- fperms 0775 /var/lib/${PN}/dic/{user,group} |
96 |
- |
97 |
- insinto /var/lib/${PN}/dic/dics.d |
98 |
- newins "${ED}"/var/lib/${PN}/dic/${PN}/dics.dir 00${PN}.dics.dir |
99 |
- |
100 |
- keepdir /var/log/${PN} |
101 |
- |
102 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} |
103 |
- newinitd "${FILESDIR}"/${PN}.initd ${PN} |
104 |
- |
105 |
- insinto /etc |
106 |
- newins "${FILESDIR}"/${PN}.hosts hosts.${PN} |
107 |
-} |
108 |
- |
109 |
-pkg_postinst() { |
110 |
- update-cannadic-dir |
111 |
- |
112 |
- if ! locale -a | grep -iq "ja_JP.eucjp"; then |
113 |
- elog "Some dictionary tools in this package require ja_JP.EUC-JP locale." |
114 |
- elog |
115 |
- elog "# echo 'ja_JP.EUC-JP EUC-JP' >> /etc/locale.gen" |
116 |
- elog "# locale-gen" |
117 |
- elog |
118 |
- fi |
119 |
-} |
120 |
|
121 |
diff --git a/app-i18n/canna/canna-3.7_p3-r2.ebuild b/app-i18n/canna/canna-3.7_p3-r2.ebuild |
122 |
deleted file mode 100644 |
123 |
index a06d55f21d7..00000000000 |
124 |
--- a/app-i18n/canna/canna-3.7_p3-r2.ebuild |
125 |
+++ /dev/null |
126 |
@@ -1,128 +0,0 @@ |
127 |
-# Copyright 1999-2017 Gentoo Foundation |
128 |
-# Distributed under the terms of the GNU General Public License v2 |
129 |
- |
130 |
-EAPI="6" |
131 |
- |
132 |
-inherit cannadic toolchain-funcs |
133 |
- |
134 |
-MY_P="Canna${PV//[._]/}" |
135 |
- |
136 |
-DESCRIPTION="A client-server based Kana-Kanji conversion system" |
137 |
-HOMEPAGE="http://canna.osdn.jp/" |
138 |
-SRC_URI="mirror://sourceforge.jp/canna/9565/${MY_P}.tar.bz2" |
139 |
- |
140 |
-LICENSE="MIT GPL-2" |
141 |
-SLOT="0" |
142 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
143 |
-IUSE="doc ipv6" |
144 |
- |
145 |
-DEPEND="x11-misc/gccmakedep |
146 |
- x11-misc/imake |
147 |
- doc? ( |
148 |
- app-text/ghostscript-gpl |
149 |
- dev-texlive/texlive-langjapanese |
150 |
- dev-texlive/texlive-latexrecommended |
151 |
- )" |
152 |
-RDEPEND="" |
153 |
-S="${WORKDIR}/${MY_P}" |
154 |
- |
155 |
-PATCHES=( |
156 |
- "${FILESDIR}"/${PN}-gentoo.patch |
157 |
- "${FILESDIR}"/${PN}-kpdef.patch |
158 |
- "${FILESDIR}"/${PN}-overflow.patch |
159 |
- "${FILESDIR}"/${PN}-posix-sort.patch |
160 |
- "${FILESDIR}"/${PN}-Wformat.patch |
161 |
- "${FILESDIR}"/${PN}-Wformat-security.patch |
162 |
-) |
163 |
-DOCS="*CHANGES* ChangeLog INSTALL* README* RKCCONF* WHATIS*" |
164 |
- |
165 |
-src_prepare() { |
166 |
- default |
167 |
- |
168 |
- find . -name '*.man' -o -name '*.jmn' | xargs sed -i.bak -e 's/1M/8/g' || die |
169 |
- |
170 |
- sed -i \ |
171 |
- -e "/DefLibCannaDir/s:/lib$:/$(get_libdir):" \ |
172 |
- -e "/UseInet6/s:0:$(usex ipv6 1 0):" \ |
173 |
- Canna.conf |
174 |
-} |
175 |
- |
176 |
-src_configure() { |
177 |
- xmkmf -a || die |
178 |
- |
179 |
- if use doc; then |
180 |
- cd doc/man/guide/tex |
181 |
- xmkmf -a || die |
182 |
- cd - > /dev/null |
183 |
- fi |
184 |
-} |
185 |
- |
186 |
-src_compile() { |
187 |
- # bug #279706 |
188 |
- emake -j1 \ |
189 |
- CC="$(tc-getCC)" \ |
190 |
- CDEBUGFLAGS="${CFLAGS}" \ |
191 |
- LOCAL_LDFLAGS="${LDFLAGS}" \ |
192 |
- SHLIBGLOBALSFLAGS="${LDFLAGS}" \ |
193 |
- ${PN} |
194 |
- |
195 |
- if use doc; then |
196 |
- # NOTE: build fails if infinality enabled in fontconfig |
197 |
- einfo "Compiling DVI, PS, and PDF documents" |
198 |
- # bug #223077 |
199 |
- emake -C doc/man/guide/tex -j1 \ |
200 |
- JLATEXCMD="platex -kanji=euc" \ |
201 |
- DVI2PSCMD="dvips" \ |
202 |
- VARTEXFONTS="${T}"/fonts \ |
203 |
- ${PN}.ps \ |
204 |
- ${PN}.pdf |
205 |
- fi |
206 |
-} |
207 |
- |
208 |
-src_install() { |
209 |
- emake DESTDIR="${D}" install install.man |
210 |
- einstalldocs |
211 |
- |
212 |
- dodir /usr/share/man{,/ja}/man8 |
213 |
- local man mandir |
214 |
- for man in cannaserver cannakill ; do |
215 |
- for mandir in "${D}"/usr/share/man "${D}"/usr/share/man/ja ; do |
216 |
- mv ${mandir}/man1/${man}.1 ${mandir}/man8/${man}.8 |
217 |
- done |
218 |
- done |
219 |
- |
220 |
- if use doc; then |
221 |
- insinto /usr/share/doc/${PF} |
222 |
- doins doc/man/guide/tex/${PN}.{dvi,ps,pdf} |
223 |
- fi |
224 |
- |
225 |
- # for backward compatibility |
226 |
- dosbin "${FILESDIR}"/update-canna-dics_dir |
227 |
- |
228 |
- keepdir /var/lib/${PN}/dic/{user,group} |
229 |
- fowners bin:bin /var/lib/${PN}/dic/{user,group} |
230 |
- fperms 0775 /var/lib/${PN}/dic/{user,group} |
231 |
- |
232 |
- insinto /var/lib/${PN}/dic/dics.d |
233 |
- newins "${ED}"/var/lib/${PN}/dic/${PN}/dics.dir 00${PN}.dics.dir |
234 |
- |
235 |
- keepdir /var/log/${PN} |
236 |
- |
237 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} |
238 |
- newinitd "${FILESDIR}"/${PN}.initd ${PN} |
239 |
- |
240 |
- insinto /etc |
241 |
- newins "${FILESDIR}"/${PN}.hosts hosts.${PN} |
242 |
-} |
243 |
- |
244 |
-pkg_postinst() { |
245 |
- update-cannadic-dir |
246 |
- |
247 |
- if ! locale -a | grep -iq "ja_JP.eucjp"; then |
248 |
- elog "Some dictionary tools in this package require ja_JP.EUC-JP locale." |
249 |
- elog |
250 |
- elog "# echo 'ja_JP.EUC-JP EUC-JP' >> /etc/locale.gen" |
251 |
- elog "# locale-gen" |
252 |
- elog |
253 |
- fi |
254 |
-} |