1 |
polynomial-c 15/07/24 12:31:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gettext-0.19.5.1.ebuild |
5 |
Removed: gettext-0.19.3.ebuild gettext-0.18.3.2.ebuild |
6 |
Log: |
7 |
Version bump. Removed old |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 981CA6FC) |
10 |
|
11 |
Revision Changes Path |
12 |
1.274 sys-devel/gettext/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gettext/ChangeLog?rev=1.274&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gettext/ChangeLog?rev=1.274&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gettext/ChangeLog?r1=1.273&r2=1.274 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v |
21 |
retrieving revision 1.273 |
22 |
retrieving revision 1.274 |
23 |
diff -u -r1.273 -r1.274 |
24 |
--- ChangeLog 10 Jul 2015 08:25:11 -0000 1.273 |
25 |
+++ ChangeLog 24 Jul 2015 12:31:31 -0000 1.274 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sys-devel/gettext |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.273 2015/07/10 08:25:11 vapier Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.274 2015/07/24 12:31:31 polynomial-c Exp $ |
31 |
+ |
32 |
+*gettext-0.19.5.1 (24 Jul 2015) |
33 |
+ |
34 |
+ 24 Jul 2015; Lars Wendler <polynomial-c@g.o> -gettext-0.18.3.2.ebuild, |
35 |
+ -gettext-0.19.3.ebuild, +gettext-0.19.5.1.ebuild: |
36 |
+ Version bump. Removed old. |
37 |
|
38 |
*gettext-0.19.5 (10 Jul 2015) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-devel/gettext/gettext-0.19.5.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gettext/gettext-0.19.5.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gettext/gettext-0.19.5.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gettext-0.19.5.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.19.5.1.ebuild,v 1.1 2015/07/24 12:31:31 polynomial-c Exp $ |
53 |
|
54 |
EAPI="4" |
55 |
|
56 |
inherit flag-o-matic eutils multilib toolchain-funcs mono-env libtool java-pkg-opt-2 multilib-minimal |
57 |
|
58 |
DESCRIPTION="GNU locale utilities" |
59 |
HOMEPAGE="http://www.gnu.org/software/gettext/" |
60 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-3 LGPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
65 |
IUSE="acl -cvs doc emacs git java nls +cxx ncurses openmp static-libs elibc_glibc elibc_musl" |
66 |
|
67 |
# only runtime goes multilib |
68 |
DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] |
69 |
dev-libs/libxml2 |
70 |
dev-libs/expat |
71 |
acl? ( virtual/acl ) |
72 |
ncurses? ( sys-libs/ncurses ) |
73 |
java? ( >=virtual/jdk-1.4 )" |
74 |
RDEPEND="${DEPEND} |
75 |
!git? ( cvs? ( dev-vcs/cvs ) ) |
76 |
git? ( dev-vcs/git ) |
77 |
java? ( >=virtual/jre-1.4 ) |
78 |
abi_x86_32? ( |
79 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
80 |
!<=app-emulation/emul-linux-x86-baselibs-20131008-r11 |
81 |
)" |
82 |
PDEPEND="emacs? ( app-emacs/po-mode )" |
83 |
|
84 |
MULTILIB_WRAPPED_HEADERS=( |
85 |
# only installed for native ABI |
86 |
/usr/include/gettext-po.h |
87 |
) |
88 |
|
89 |
src_prepare() { |
90 |
java-pkg-opt-2_src_prepare |
91 |
epunt_cxx |
92 |
elibtoolize |
93 |
} |
94 |
|
95 |
multilib_src_configure() { |
96 |
local myconf=( |
97 |
# switches common to runtime and top-level |
98 |
--cache-file="${BUILD_DIR}"/config.cache |
99 |
--docdir="/usr/share/doc/${PF}" |
100 |
|
101 |
$(use_enable cxx libasprintf) |
102 |
$(use_enable java) |
103 |
$(use_enable static-libs static) |
104 |
) |
105 |
|
106 |
# Build with --without-included-gettext (on glibc systems) |
107 |
if use elibc_glibc || use elibc_musl ; then |
108 |
myconf+=( |
109 |
--without-included-gettext |
110 |
$(use_enable nls) |
111 |
) |
112 |
else |
113 |
myconf+=( |
114 |
--with-included-gettext |
115 |
--enable-nls |
116 |
) |
117 |
fi |
118 |
use cxx || export CXX=$(tc-getCC) |
119 |
|
120 |
# Should be able to drop this hack in next release. #333887 |
121 |
tc-is-cross-compiler && export gl_cv_func_working_acl_get_file=yes |
122 |
|
123 |
local ECONF_SOURCE=${S} |
124 |
if ! multilib_is_native_abi ; then |
125 |
# for non-native ABIs, we build runtime only |
126 |
ECONF_SOURCE+=/gettext-runtime |
127 |
else |
128 |
# remaining switches |
129 |
myconf+=( |
130 |
# Emacs support is now in a separate package |
131 |
--without-emacs |
132 |
--without-lispdir |
133 |
# glib depends on us so avoid circular deps |
134 |
--with-included-glib |
135 |
# libcroco depends on glib which ... ^^^ |
136 |
--with-included-libcroco |
137 |
# this will _disable_ libunistring (since it is not bundled), |
138 |
# see bug #326477 |
139 |
--with-included-libunistring |
140 |
|
141 |
$(use_enable acl) |
142 |
$(use_enable ncurses curses) |
143 |
$(use_enable openmp) |
144 |
$(use_with git) |
145 |
$(usex git --without-cvs $(use_with cvs)) |
146 |
) |
147 |
fi |
148 |
|
149 |
econf "${myconf[@]}" |
150 |
} |
151 |
|
152 |
multilib_src_install() { |
153 |
default |
154 |
|
155 |
if multilib_is_native_abi ; then |
156 |
dosym msgfmt /usr/bin/gmsgfmt #43435 |
157 |
dobin gettext-tools/misc/gettextize |
158 |
|
159 |
[[ ${USERLAND} == "BSD" ]] && gen_usr_ldscript -a intl |
160 |
fi |
161 |
} |
162 |
|
163 |
multilib_src_install_all() { |
164 |
use nls || rm -r "${D}"/usr/share/locale |
165 |
use static-libs || prune_libtool_files --all |
166 |
|
167 |
rm -f "${D}"/usr/share/locale/locale.alias "${D}"/usr/lib/charset.alias |
168 |
|
169 |
if use java ; then |
170 |
java-pkg_dojar "${D}"/usr/share/${PN}/*.jar |
171 |
rm -f "${D}"/usr/share/${PN}/*.jar |
172 |
rm -f "${D}"/usr/share/${PN}/*.class |
173 |
if use doc ; then |
174 |
java-pkg_dojavadoc "${D}"/usr/share/doc/${PF}/javadoc2 |
175 |
rm -rf "${D}"/usr/share/doc/${PF}/javadoc2 |
176 |
fi |
177 |
fi |
178 |
|
179 |
if use doc ; then |
180 |
dohtml "${D}"/usr/share/doc/${PF}/*.html |
181 |
else |
182 |
rm -rf "${D}"/usr/share/doc/${PF}/{csharpdoc,examples,javadoc2,javadoc1} |
183 |
fi |
184 |
rm -f "${D}"/usr/share/doc/${PF}/*.html |
185 |
|
186 |
dodoc AUTHORS ChangeLog NEWS README THANKS |
187 |
} |
188 |
|
189 |
pkg_preinst() { |
190 |
java-pkg-opt-2_pkg_preinst |
191 |
} |