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