1 |
vapier 07/11/10 07:24:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gettext-0.17.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.155 sys-devel/gettext/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gettext/ChangeLog?rev=1.155&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gettext/ChangeLog?rev=1.155&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gettext/ChangeLog?r1=1.154&r2=1.155 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v |
19 |
retrieving revision 1.154 |
20 |
retrieving revision 1.155 |
21 |
diff -u -r1.154 -r1.155 |
22 |
--- ChangeLog 6 Oct 2007 07:29:48 -0000 1.154 |
23 |
+++ ChangeLog 10 Nov 2007 07:24:09 -0000 1.155 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sys-devel/gettext |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.154 2007/10/06 07:29:48 ulm Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.155 2007/11/10 07:24:09 vapier Exp $ |
29 |
+ |
30 |
+*gettext-0.17 (10 Nov 2007) |
31 |
+ |
32 |
+ 10 Nov 2007; Mike Frysinger <vapier@g.o> +gettext-0.17.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
06 Oct 2007; Ulrich Mueller <ulm@g.o> -files/50po-mode-gentoo.el, |
36 |
-gettext-0.16.1.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 sys-devel/gettext/gettext-0.17.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gettext/gettext-0.17.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gettext/gettext-0.17.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: gettext-0.17.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.17.ebuild,v 1.1 2007/11/10 07:24:09 vapier Exp $ |
50 |
|
51 |
inherit flag-o-matic eutils multilib toolchain-funcs mono libtool |
52 |
|
53 |
DESCRIPTION="GNU locale utilities" |
54 |
HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html" |
55 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
60 |
IUSE="emacs nls doc nocxx" |
61 |
|
62 |
DEPEND="virtual/libiconv |
63 |
dev-libs/expat" |
64 |
PDEPEND="emacs? ( app-emacs/po-mode )" |
65 |
|
66 |
src_unpack() { |
67 |
unpack ${A} |
68 |
cd "${S}" |
69 |
|
70 |
epunt_cxx |
71 |
|
72 |
epatch "${FILESDIR}"/${PN}-0.14.1-lib-path-tests.patch #81628 |
73 |
epatch "${FILESDIR}"/${PN}-0.14.2-fix-race.patch #85054 |
74 |
epatch "${FILESDIR}"/${PN}-0.15-expat-no-dlopen.patch #146211 |
75 |
|
76 |
# bundled libtool seems to be broken so skip certain rpath tests |
77 |
# http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html |
78 |
sed -i \ |
79 |
-e '2iexit 77' \ |
80 |
autoconf-lib-link/tests/rpath-3*[ef] || die "sed tests" |
81 |
|
82 |
# sanity check for Bug 105304 |
83 |
if [[ -z ${USERLAND} ]] ; then |
84 |
eerror "You just hit Bug 105304, please post your 'emerge info' here:" |
85 |
eerror "http://bugs.gentoo.org/105304" |
86 |
die "Aborting to prevent screwing your system" |
87 |
fi |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
local myconf="" |
92 |
# Build with --without-included-gettext (on glibc systems) |
93 |
if use elibc_glibc ; then |
94 |
myconf="${myconf} --without-included-gettext $(use_enable nls)" |
95 |
else |
96 |
myconf="${myconf} --with-included-gettext --enable-nls" |
97 |
fi |
98 |
use nocxx && export CXX=$(tc-getCC) |
99 |
|
100 |
# Emacs support is now in a separate package, so configure --without-emacs |
101 |
econf \ |
102 |
--docdir="/usr/share/doc/${PF}" \ |
103 |
--without-emacs \ |
104 |
--disable-java \ |
105 |
${myconf} \ |
106 |
|| die |
107 |
emake || die |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
make install DESTDIR="${D}" || die "install failed" |
112 |
use nls || rm -r "${D}"/usr/share/locale |
113 |
dosym msgfmt /usr/bin/gmsgfmt #43435 |
114 |
dobin gettext-tools/misc/gettextize || die "gettextize" |
115 |
|
116 |
# remove stuff that glibc handles |
117 |
if use elibc_glibc ; then |
118 |
rm -f "${D}"/usr/include/libintl.h |
119 |
rm -f "${D}"/usr/$(get_libdir)/libintl.* |
120 |
fi |
121 |
rm -f "${D}"/usr/share/locale/locale.alias "${D}"/usr/lib/charset.alias |
122 |
|
123 |
if [[ ${USERLAND} == "BSD" ]] ; then |
124 |
libname="libintl$(get_libname 8)" |
125 |
# Move dynamic libs and creates ldscripts into /usr/lib |
126 |
dodir /$(get_libdir) |
127 |
mv "${D}"/usr/$(get_libdir)/${libname}* "${D}"/$(get_libdir)/ |
128 |
gen_usr_ldscript ${libname} |
129 |
fi |
130 |
|
131 |
if use doc ; then |
132 |
dohtml "${D}"/usr/share/doc/${PF}/*.html |
133 |
else |
134 |
rm -rf "${D}"/usr/share/doc/${PF}/{csharpdoc,examples,javadoc2,javadoc1} |
135 |
fi |
136 |
rm -f "${D}"/usr/share/doc/${PF}/*.html |
137 |
|
138 |
dodoc AUTHORS ChangeLog NEWS README THANKS |
139 |
} |
140 |
|
141 |
pkg_preinst() { |
142 |
# older gettext's sometimes installed libintl ... |
143 |
# need to keep the linked version or the system |
144 |
# could die (things like sed link against it :/) |
145 |
preserve_old_lib /{,usr/}$(get_libdir)/libintl$(get_libname 7) |
146 |
} |
147 |
|
148 |
pkg_postinst() { |
149 |
ewarn "Any package that linked against the previous version" |
150 |
ewarn "of gettext will have to be rebuilt." |
151 |
ewarn "Please 'emerge gentoolkit' and run:" |
152 |
ewarn "revdep-rebuild --library libintl.so.7" |
153 |
} |
154 |
|
155 |
|
156 |
|
157 |
-- |
158 |
gentoo-commits@g.o mailing list |