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