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