1 |
commit: 28d5b59c8154923137d999d6ee057fe8902530bc |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 28 22:16:22 2015 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 28 22:16:22 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d5b59c |
7 |
|
8 |
sys-devel/gettext: Removed old. |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-devel/gettext/Manifest | 2 - |
14 |
.../files/gettext-0.19.5.1-version-hack.patch | 18 --- |
15 |
sys-devel/gettext/gettext-0.19.5.1-r1.ebuild | 146 --------------------- |
16 |
sys-devel/gettext/gettext-0.19.5.ebuild | 140 -------------------- |
17 |
sys-devel/gettext/gettext-0.19.6.ebuild | 141 -------------------- |
18 |
5 files changed, 447 deletions(-) |
19 |
|
20 |
diff --git a/sys-devel/gettext/Manifest b/sys-devel/gettext/Manifest |
21 |
index c670405..72f21e0 100644 |
22 |
--- a/sys-devel/gettext/Manifest |
23 |
+++ b/sys-devel/gettext/Manifest |
24 |
@@ -1,5 +1,3 @@ |
25 |
DIST gettext-0.19.4.tar.gz 17717034 SHA256 8ac9f1ed1a5f8c4e656a2f37f5ba6b9ee04c4df79a575e876b0b6946aa417f3f SHA512 274e00fe0149468e3073562f8f3b292597e9dbd82dfe8d068e4a1983914d25b603bb26f3fa4aa10e9fcd65826e3552c1871218342270927481e95eb64288ad97 WHIRLPOOL 2eb56c47d76f63b6557ae825538a35ae59f3f77da35321688547d9c420f47879c79ca1ab8ebd6bc6b4a3a8ce59ed620648884cd46455f6218213587f76967918 |
26 |
-DIST gettext-0.19.5.1.tar.gz 18353792 SHA256 a198d53b0c1fb11421ead197b7e76b144e887c9ef5a685323e92cbc950227731 SHA512 c2c1dc51d9c24c92b86619ec613b87266eae08a21280855e5b0d44c09e7efc8390341ded85dd85270c5a933ee21a6179373cc5cf275b6bc80cb510c7830d0ef4 WHIRLPOOL 2a2143edc4f3fdb37109aeb762072aa49f88045d55913ae282d203d5a7b3e848df5318c9e4f5e44f63a9f9a7c61c6018900df55b3bdfe06fa975a709322656d6 |
27 |
-DIST gettext-0.19.5.tar.gz 18352722 SHA256 1258814ba174e4783194be2dc93648bd630d4dda166eae034e4ad54489dcf73a SHA512 10b435bba4fcdcf15be3182b3c9756eef5b6ef6ec1416c1b12af35345fc1668c26dce81081e2616b7e2b0d174051fddd6fe6266e4709652a751a91fcf241e610 WHIRLPOOL 94db59cc7a1f3bf833e23a9c9aa25524c571b9585928d083438e7357d034236493584c0137f0c2bb58120f2e55f35055bc36731736162d9ad3e01aa6a1cf270e |
28 |
DIST gettext-0.19.6.tar.gz 18619659 SHA256 ed4b4c19bd3a3034eb6769500a3592ff616759ef43cf30586dbb7a17c9dd695d SHA512 46adfd4a6d0038aba999658bebe51117e3ab3dc149a9054c1087d3e79ec7ba3371a7e78a8ca30a8872d162c2dc44aba6e67e4d64808c4f92e1e2bd674174f1db WHIRLPOOL 1988f9ddfd603734b4a632291925c8e5b31e7384eea1c6641d52aa58cb6b8f892e7664dd145a53435b7d2a4540ac65aeae1cb528a004c35832087c2820dafbcb |
29 |
DIST gettext-0.19.7.tar.gz 19235781 SHA256 5386d2a40500295783c6a52121adcf42a25519e2d23675950619c9e69558c23f SHA512 7ba89074d3eddd0b4a5e2980e1ec74b53c49b7a04a1fa91c70c4bc11ce9c30415e4df9d79698148eaaed325fb4feb25a340a2e8e01fbe86b1a66b1376a4c9e3d WHIRLPOOL eb51c4be7c0a92c5c33c16329003e21947e0b9d1583c4a785ae6836f81273ea7ec2823a0a28ae81c3b977f2148c0f3bd524949484383ff87510e1d2bc642a786 |
30 |
|
31 |
diff --git a/sys-devel/gettext/files/gettext-0.19.5.1-version-hack.patch b/sys-devel/gettext/files/gettext-0.19.5.1-version-hack.patch |
32 |
deleted file mode 100644 |
33 |
index 1a9eaea..0000000 |
34 |
--- a/sys-devel/gettext/files/gettext-0.19.5.1-version-hack.patch |
35 |
+++ /dev/null |
36 |
@@ -1,18 +0,0 @@ |
37 |
-the gettext tooling does not quite understand 4 version components. |
38 |
-hack it so the output in the configure script sticks to 3 parts. |
39 |
-this is a horrible hack that really needs an upstream fix. |
40 |
- |
41 |
-https://lists.gnu.org/archive/html/bug-gettext/2015-07/msg00027.html |
42 |
-https://bugs.gentoo.org/556024 |
43 |
- |
44 |
---- a/gettext-tools/misc/gettextize.in |
45 |
-+++ b/gettext-tools/misc/gettextize.in |
46 |
-@@ -1235,7 +1235,7 @@ |
47 |
- func_modify_configure_in "(AC_OUTPUT): Remove command that created po/Makefile." |
48 |
- sed -e '/^\(dnl \|\)AC_LINK_FILES(\$nls_cv_header_libgt, \$nls_cv_header_intl)$/d' < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp" |
49 |
- func_modify_configure_in "(AC_LINK_FILES): Remove invocation." |
50 |
--sed -e 's/^AM_GNU_GETTEXT_VERSION([^()]*)/AM_GNU_GETTEXT_VERSION(['"$version"'])/' < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp" |
51 |
-+sed -e 's/^AM_GNU_GETTEXT_VERSION([^()]*)/AM_GNU_GETTEXT_VERSION(['"${version%.?}"'])/' < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp" |
52 |
- func_modify_configure_in "(AM_GNU_GETTEXT_VERSION): Bump to $version." |
53 |
- $do_changelog && func_ChangeLog_finish |
54 |
- |
55 |
|
56 |
diff --git a/sys-devel/gettext/gettext-0.19.5.1-r1.ebuild b/sys-devel/gettext/gettext-0.19.5.1-r1.ebuild |
57 |
deleted file mode 100644 |
58 |
index b6fb8a8..0000000 |
59 |
--- a/sys-devel/gettext/gettext-0.19.5.1-r1.ebuild |
60 |
+++ /dev/null |
61 |
@@ -1,146 +0,0 @@ |
62 |
-# Copyright 1999-2015 Gentoo Foundation |
63 |
-# Distributed under the terms of the GNU General Public License v2 |
64 |
-# $Id$ |
65 |
- |
66 |
-EAPI="4" |
67 |
- |
68 |
-inherit eutils toolchain-funcs mono-env libtool java-pkg-opt-2 multilib-minimal |
69 |
- |
70 |
-DESCRIPTION="GNU locale utilities" |
71 |
-HOMEPAGE="https://www.gnu.org/software/gettext/" |
72 |
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
73 |
- |
74 |
-LICENSE="GPL-3+ LGPL-2.1+" |
75 |
-SLOT="0" |
76 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
77 |
-IUSE="acl -cvs +cxx doc emacs git java ncurses nls openmp static-libs elibc_glibc elibc_musl" |
78 |
- |
79 |
-# only runtime goes multilib |
80 |
-DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] |
81 |
- dev-libs/libxml2 |
82 |
- dev-libs/expat |
83 |
- acl? ( virtual/acl ) |
84 |
- ncurses? ( sys-libs/ncurses ) |
85 |
- java? ( >=virtual/jdk-1.4 )" |
86 |
-RDEPEND="${DEPEND} |
87 |
- !git? ( cvs? ( dev-vcs/cvs ) ) |
88 |
- git? ( dev-vcs/git ) |
89 |
- java? ( >=virtual/jre-1.4 )" |
90 |
-PDEPEND="emacs? ( app-emacs/po-mode )" |
91 |
- |
92 |
-MULTILIB_WRAPPED_HEADERS=( |
93 |
- # only installed for native ABI |
94 |
- /usr/include/gettext-po.h |
95 |
-) |
96 |
- |
97 |
-pkg_setup() { |
98 |
- mono-env_pkg_setup |
99 |
- java-pkg-opt-2_pkg_setup |
100 |
-} |
101 |
- |
102 |
-src_prepare() { |
103 |
- java-pkg-opt-2_src_prepare |
104 |
- |
105 |
- # This patch should not be included in version bumps (at least to 0.19.2). |
106 |
- # Perhaps 0.19.5.2 will be broken in the same way. #556024 |
107 |
- [[ ${PV} != 0.19.5.1 ]] && die |
108 |
- epatch "${FILESDIR}"/${P}-version-hack.patch #556024 |
109 |
- |
110 |
- epunt_cxx |
111 |
- elibtoolize |
112 |
-} |
113 |
- |
114 |
-multilib_src_configure() { |
115 |
- local myconf=( |
116 |
- # switches common to runtime and top-level |
117 |
- --cache-file="${BUILD_DIR}"/config.cache |
118 |
- --docdir="/usr/share/doc/${PF}" |
119 |
- |
120 |
- $(use_enable cxx libasprintf) |
121 |
- $(use_enable java) |
122 |
- $(use_enable static-libs static) |
123 |
- ) |
124 |
- |
125 |
- # Build with --without-included-gettext (on glibc systems) |
126 |
- if use elibc_glibc || use elibc_musl ; then |
127 |
- myconf+=( |
128 |
- --without-included-gettext |
129 |
- $(use_enable nls) |
130 |
- ) |
131 |
- else |
132 |
- myconf+=( |
133 |
- --with-included-gettext |
134 |
- --enable-nls |
135 |
- ) |
136 |
- fi |
137 |
- use cxx || export CXX=$(tc-getCC) |
138 |
- |
139 |
- local ECONF_SOURCE=${S} |
140 |
- if ! multilib_is_native_abi ; then |
141 |
- # for non-native ABIs, we build runtime only |
142 |
- ECONF_SOURCE+=/gettext-runtime |
143 |
- else |
144 |
- # remaining switches |
145 |
- myconf+=( |
146 |
- # Emacs support is now in a separate package |
147 |
- --without-emacs |
148 |
- --without-lispdir |
149 |
- # glib depends on us so avoid circular deps |
150 |
- --with-included-glib |
151 |
- # libcroco depends on glib which ... ^^^ |
152 |
- --with-included-libcroco |
153 |
- # this will _disable_ libunistring (since it is not bundled), |
154 |
- # see bug #326477 |
155 |
- --with-included-libunistring |
156 |
- |
157 |
- $(use_enable acl) |
158 |
- $(use_enable ncurses curses) |
159 |
- $(use_enable openmp) |
160 |
- $(use_with git) |
161 |
- $(usex git --without-cvs $(use_with cvs)) |
162 |
- ) |
163 |
- fi |
164 |
- |
165 |
- econf "${myconf[@]}" |
166 |
-} |
167 |
- |
168 |
-multilib_src_install() { |
169 |
- default |
170 |
- |
171 |
- if multilib_is_native_abi ; then |
172 |
- dosym msgfmt /usr/bin/gmsgfmt #43435 |
173 |
- dobin gettext-tools/misc/gettextize |
174 |
- |
175 |
- [[ ${USERLAND} == "BSD" ]] && gen_usr_ldscript -a intl |
176 |
- fi |
177 |
-} |
178 |
- |
179 |
-multilib_src_install_all() { |
180 |
- use nls || rm -r "${D}"/usr/share/locale |
181 |
- use static-libs || prune_libtool_files --all |
182 |
- |
183 |
- rm -f "${D}"/usr/share/locale/locale.alias "${D}"/usr/lib/charset.alias |
184 |
- |
185 |
- if use java ; then |
186 |
- java-pkg_dojar "${D}"/usr/share/${PN}/*.jar |
187 |
- rm -f "${D}"/usr/share/${PN}/*.jar |
188 |
- rm -f "${D}"/usr/share/${PN}/*.class |
189 |
- if use doc ; then |
190 |
- java-pkg_dojavadoc "${D}"/usr/share/doc/${PF}/javadoc2 |
191 |
- rm -rf "${D}"/usr/share/doc/${PF}/javadoc2 |
192 |
- fi |
193 |
- fi |
194 |
- |
195 |
- if use doc ; then |
196 |
- dohtml "${D}"/usr/share/doc/${PF}/*.html |
197 |
- else |
198 |
- rm -rf "${D}"/usr/share/doc/${PF}/{csharpdoc,examples,javadoc2,javadoc1} |
199 |
- fi |
200 |
- rm -f "${D}"/usr/share/doc/${PF}/*.html |
201 |
- |
202 |
- dodoc AUTHORS ChangeLog NEWS README THANKS |
203 |
-} |
204 |
- |
205 |
-pkg_preinst() { |
206 |
- java-pkg-opt-2_pkg_preinst |
207 |
-} |
208 |
|
209 |
diff --git a/sys-devel/gettext/gettext-0.19.5.ebuild b/sys-devel/gettext/gettext-0.19.5.ebuild |
210 |
deleted file mode 100644 |
211 |
index 0b284dd..0000000 |
212 |
--- a/sys-devel/gettext/gettext-0.19.5.ebuild |
213 |
+++ /dev/null |
214 |
@@ -1,140 +0,0 @@ |
215 |
-# Copyright 1999-2015 Gentoo Foundation |
216 |
-# Distributed under the terms of the GNU General Public License v2 |
217 |
-# $Id$ |
218 |
- |
219 |
-EAPI="4" |
220 |
- |
221 |
-inherit eutils toolchain-funcs mono-env libtool java-pkg-opt-2 multilib-minimal |
222 |
- |
223 |
-DESCRIPTION="GNU locale utilities" |
224 |
-HOMEPAGE="https://www.gnu.org/software/gettext/" |
225 |
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
226 |
- |
227 |
-LICENSE="GPL-3+ LGPL-2.1+" |
228 |
-SLOT="0" |
229 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
230 |
-IUSE="acl -cvs +cxx doc emacs git java ncurses nls openmp static-libs elibc_glibc elibc_musl" |
231 |
- |
232 |
-# only runtime goes multilib |
233 |
-DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] |
234 |
- dev-libs/libxml2 |
235 |
- dev-libs/expat |
236 |
- acl? ( virtual/acl ) |
237 |
- ncurses? ( sys-libs/ncurses ) |
238 |
- java? ( >=virtual/jdk-1.4 )" |
239 |
-RDEPEND="${DEPEND} |
240 |
- !git? ( cvs? ( dev-vcs/cvs ) ) |
241 |
- git? ( dev-vcs/git ) |
242 |
- java? ( >=virtual/jre-1.4 )" |
243 |
-PDEPEND="emacs? ( app-emacs/po-mode )" |
244 |
- |
245 |
-MULTILIB_WRAPPED_HEADERS=( |
246 |
- # only installed for native ABI |
247 |
- /usr/include/gettext-po.h |
248 |
-) |
249 |
- |
250 |
-pkg_setup() { |
251 |
- mono-env_pkg_setup |
252 |
- java-pkg-opt-2_pkg_setup |
253 |
-} |
254 |
- |
255 |
-src_prepare() { |
256 |
- java-pkg-opt-2_src_prepare |
257 |
- epunt_cxx |
258 |
- elibtoolize |
259 |
-} |
260 |
- |
261 |
-multilib_src_configure() { |
262 |
- local myconf=( |
263 |
- # switches common to runtime and top-level |
264 |
- --cache-file="${BUILD_DIR}"/config.cache |
265 |
- --docdir="/usr/share/doc/${PF}" |
266 |
- |
267 |
- $(use_enable cxx libasprintf) |
268 |
- $(use_enable java) |
269 |
- $(use_enable static-libs static) |
270 |
- ) |
271 |
- |
272 |
- # Build with --without-included-gettext (on glibc systems) |
273 |
- if use elibc_glibc || use elibc_musl ; then |
274 |
- myconf+=( |
275 |
- --without-included-gettext |
276 |
- $(use_enable nls) |
277 |
- ) |
278 |
- else |
279 |
- myconf+=( |
280 |
- --with-included-gettext |
281 |
- --enable-nls |
282 |
- ) |
283 |
- fi |
284 |
- use cxx || export CXX=$(tc-getCC) |
285 |
- |
286 |
- local ECONF_SOURCE=${S} |
287 |
- if ! multilib_is_native_abi ; then |
288 |
- # for non-native ABIs, we build runtime only |
289 |
- ECONF_SOURCE+=/gettext-runtime |
290 |
- else |
291 |
- # remaining switches |
292 |
- myconf+=( |
293 |
- # Emacs support is now in a separate package |
294 |
- --without-emacs |
295 |
- --without-lispdir |
296 |
- # glib depends on us so avoid circular deps |
297 |
- --with-included-glib |
298 |
- # libcroco depends on glib which ... ^^^ |
299 |
- --with-included-libcroco |
300 |
- # this will _disable_ libunistring (since it is not bundled), |
301 |
- # see bug #326477 |
302 |
- --with-included-libunistring |
303 |
- |
304 |
- $(use_enable acl) |
305 |
- $(use_enable ncurses curses) |
306 |
- $(use_enable openmp) |
307 |
- $(use_with git) |
308 |
- $(usex git --without-cvs $(use_with cvs)) |
309 |
- ) |
310 |
- fi |
311 |
- |
312 |
- econf "${myconf[@]}" |
313 |
-} |
314 |
- |
315 |
-multilib_src_install() { |
316 |
- default |
317 |
- |
318 |
- if multilib_is_native_abi ; then |
319 |
- dosym msgfmt /usr/bin/gmsgfmt #43435 |
320 |
- dobin gettext-tools/misc/gettextize |
321 |
- |
322 |
- [[ ${USERLAND} == "BSD" ]] && gen_usr_ldscript -a intl |
323 |
- fi |
324 |
-} |
325 |
- |
326 |
-multilib_src_install_all() { |
327 |
- use nls || rm -r "${D}"/usr/share/locale |
328 |
- use static-libs || prune_libtool_files --all |
329 |
- |
330 |
- rm -f "${D}"/usr/share/locale/locale.alias "${D}"/usr/lib/charset.alias |
331 |
- |
332 |
- if use java ; then |
333 |
- java-pkg_dojar "${D}"/usr/share/${PN}/*.jar |
334 |
- rm -f "${D}"/usr/share/${PN}/*.jar |
335 |
- rm -f "${D}"/usr/share/${PN}/*.class |
336 |
- if use doc ; then |
337 |
- java-pkg_dojavadoc "${D}"/usr/share/doc/${PF}/javadoc2 |
338 |
- rm -rf "${D}"/usr/share/doc/${PF}/javadoc2 |
339 |
- fi |
340 |
- fi |
341 |
- |
342 |
- if use doc ; then |
343 |
- dohtml "${D}"/usr/share/doc/${PF}/*.html |
344 |
- else |
345 |
- rm -rf "${D}"/usr/share/doc/${PF}/{csharpdoc,examples,javadoc2,javadoc1} |
346 |
- fi |
347 |
- rm -f "${D}"/usr/share/doc/${PF}/*.html |
348 |
- |
349 |
- dodoc AUTHORS ChangeLog NEWS README THANKS |
350 |
-} |
351 |
- |
352 |
-pkg_preinst() { |
353 |
- java-pkg-opt-2_pkg_preinst |
354 |
-} |
355 |
|
356 |
diff --git a/sys-devel/gettext/gettext-0.19.6.ebuild b/sys-devel/gettext/gettext-0.19.6.ebuild |
357 |
deleted file mode 100644 |
358 |
index 0f921c0..0000000 |
359 |
--- a/sys-devel/gettext/gettext-0.19.6.ebuild |
360 |
+++ /dev/null |
361 |
@@ -1,141 +0,0 @@ |
362 |
-# Copyright 1999-2015 Gentoo Foundation |
363 |
-# Distributed under the terms of the GNU General Public License v2 |
364 |
-# $Id$ |
365 |
- |
366 |
-EAPI="4" |
367 |
- |
368 |
-inherit eutils toolchain-funcs mono-env libtool java-pkg-opt-2 multilib-minimal |
369 |
- |
370 |
-DESCRIPTION="GNU locale utilities" |
371 |
-HOMEPAGE="https://www.gnu.org/software/gettext/" |
372 |
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
373 |
- |
374 |
-LICENSE="GPL-3+ LGPL-2.1+" |
375 |
-SLOT="0" |
376 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
377 |
-IUSE="acl -cvs +cxx doc emacs git java ncurses nls openmp static-libs elibc_glibc elibc_musl" |
378 |
- |
379 |
-# only runtime goes multilib |
380 |
-DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] |
381 |
- dev-libs/libxml2 |
382 |
- dev-libs/expat |
383 |
- acl? ( virtual/acl ) |
384 |
- ncurses? ( sys-libs/ncurses ) |
385 |
- java? ( >=virtual/jdk-1.4 )" |
386 |
-RDEPEND="${DEPEND} |
387 |
- !git? ( cvs? ( dev-vcs/cvs ) ) |
388 |
- git? ( dev-vcs/git ) |
389 |
- java? ( >=virtual/jre-1.4 )" |
390 |
-PDEPEND="emacs? ( app-emacs/po-mode )" |
391 |
- |
392 |
-MULTILIB_WRAPPED_HEADERS=( |
393 |
- # only installed for native ABI |
394 |
- /usr/include/gettext-po.h |
395 |
-) |
396 |
- |
397 |
-pkg_setup() { |
398 |
- mono-env_pkg_setup |
399 |
- java-pkg-opt-2_pkg_setup |
400 |
-} |
401 |
- |
402 |
-src_prepare() { |
403 |
- java-pkg-opt-2_src_prepare |
404 |
- |
405 |
- epunt_cxx |
406 |
- elibtoolize |
407 |
-} |
408 |
- |
409 |
-multilib_src_configure() { |
410 |
- local myconf=( |
411 |
- # switches common to runtime and top-level |
412 |
- --cache-file="${BUILD_DIR}"/config.cache |
413 |
- --docdir="/usr/share/doc/${PF}" |
414 |
- |
415 |
- $(use_enable cxx libasprintf) |
416 |
- $(use_enable java) |
417 |
- $(use_enable static-libs static) |
418 |
- ) |
419 |
- |
420 |
- # Build with --without-included-gettext (on glibc systems) |
421 |
- if use elibc_glibc || use elibc_musl ; then |
422 |
- myconf+=( |
423 |
- --without-included-gettext |
424 |
- $(use_enable nls) |
425 |
- ) |
426 |
- else |
427 |
- myconf+=( |
428 |
- --with-included-gettext |
429 |
- --enable-nls |
430 |
- ) |
431 |
- fi |
432 |
- use cxx || export CXX=$(tc-getCC) |
433 |
- |
434 |
- local ECONF_SOURCE=${S} |
435 |
- if ! multilib_is_native_abi ; then |
436 |
- # for non-native ABIs, we build runtime only |
437 |
- ECONF_SOURCE+=/gettext-runtime |
438 |
- else |
439 |
- # remaining switches |
440 |
- myconf+=( |
441 |
- # Emacs support is now in a separate package |
442 |
- --without-emacs |
443 |
- --without-lispdir |
444 |
- # glib depends on us so avoid circular deps |
445 |
- --with-included-glib |
446 |
- # libcroco depends on glib which ... ^^^ |
447 |
- --with-included-libcroco |
448 |
- # this will _disable_ libunistring (since it is not bundled), |
449 |
- # see bug #326477 |
450 |
- --with-included-libunistring |
451 |
- |
452 |
- $(use_enable acl) |
453 |
- $(use_enable ncurses curses) |
454 |
- $(use_enable openmp) |
455 |
- $(use_with git) |
456 |
- $(usex git --without-cvs $(use_with cvs)) |
457 |
- ) |
458 |
- fi |
459 |
- |
460 |
- econf "${myconf[@]}" |
461 |
-} |
462 |
- |
463 |
-multilib_src_install() { |
464 |
- default |
465 |
- |
466 |
- if multilib_is_native_abi ; then |
467 |
- dosym msgfmt /usr/bin/gmsgfmt #43435 |
468 |
- dobin gettext-tools/misc/gettextize |
469 |
- |
470 |
- [[ ${USERLAND} == "BSD" ]] && gen_usr_ldscript -a intl |
471 |
- fi |
472 |
-} |
473 |
- |
474 |
-multilib_src_install_all() { |
475 |
- use nls || rm -r "${D}"/usr/share/locale |
476 |
- use static-libs || prune_libtool_files --all |
477 |
- |
478 |
- rm -f "${D}"/usr/share/locale/locale.alias "${D}"/usr/lib/charset.alias |
479 |
- |
480 |
- if use java ; then |
481 |
- java-pkg_dojar "${D}"/usr/share/${PN}/*.jar |
482 |
- rm -f "${D}"/usr/share/${PN}/*.jar |
483 |
- rm -f "${D}"/usr/share/${PN}/*.class |
484 |
- if use doc ; then |
485 |
- java-pkg_dojavadoc "${D}"/usr/share/doc/${PF}/javadoc2 |
486 |
- rm -rf "${D}"/usr/share/doc/${PF}/javadoc2 |
487 |
- fi |
488 |
- fi |
489 |
- |
490 |
- if use doc ; then |
491 |
- dohtml "${D}"/usr/share/doc/${PF}/*.html |
492 |
- else |
493 |
- rm -rf "${D}"/usr/share/doc/${PF}/{csharpdoc,examples,javadoc2,javadoc1} |
494 |
- fi |
495 |
- rm -f "${D}"/usr/share/doc/${PF}/*.html |
496 |
- |
497 |
- dodoc AUTHORS ChangeLog NEWS README THANKS |
498 |
-} |
499 |
- |
500 |
-pkg_preinst() { |
501 |
- java-pkg-opt-2_pkg_preinst |
502 |
-} |