Version bump.
authorMike Frysinger <vapier@gentoo.org>
Thu, 1 Sep 2005 06:50:27 +0000 (06:50 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 1 Sep 2005 06:50:27 +0000 (06:50 +0000)
Package-Manager: portage-2.0.51.22-r2

sys-devel/gettext/ChangeLog
sys-devel/gettext/Manifest
sys-devel/gettext/files/digest-gettext-0.14.5 [new file with mode: 0644]
sys-devel/gettext/gettext-0.14.5.ebuild [new file with mode: 0644]

index b50180ba76e0df2cac7030f1a7cb61e252c71f07..bd157ff08aba4e47ecfeae8879c2db549cc391f4 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-devel/gettext
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.94 2005/06/30 03:55:15 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/ChangeLog,v 1.95 2005/09/01 06:50:27 vapier Exp $
+
+*gettext-0.14.5 (01 Sep 2005)
+
+  01 Sep 2005; Mike Frysinger <vapier@gentoo.org> +gettext-0.14.5.ebuild:
+  Version bump.
 
   29 Jun 2005; Joshua Kinard <kumba@gentoo.org> gettext-0.14.4.ebuild:
   Marked stable on mips.
index 9a309e3685b7b6330d71662e33723e5f092ba30a..e2bf54a4ddd42ddaa2f905f26d796a5c44246f5f 100644 (file)
@@ -2,9 +2,10 @@
 Hash: SHA1
 
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 c74bbdb62b8f3e4b8669fa8133d070c2 gettext-0.14.5.ebuild 3595
 MD5 f46f927893861e2d082d7b836f597ef7 gettext-0.14.2.ebuild 3509
 MD5 0890c612ec51d74a5cefbb0ca3ab8ae7 gettext-0.12.1-r2.ebuild 2543
-MD5 1687e067e530ddbdf04d83d740e5e1c1 ChangeLog 11800
+MD5 1a23652bed7c1d1ca6f1c43c29696d68 ChangeLog 11923
 MD5 ac4041bb4e436a9935d04cd63b40d425 gettext-0.14.1-r1.ebuild 2886
 MD5 430e22b4c52c95f6c61427e5ec6d9439 gettext-0.14.4.ebuild 3578
 MD5 095399be17e9cf19b7b02ffcd1fb95a5 files/gettext-0.14.1-tempfile.patch 2636
@@ -18,12 +19,13 @@ MD5 83b80576c27ac3a75d70802eb9c92790 files/digest-gettext-0.12.1-r2 67
 MD5 fada337fd753f2580b6849dc560498ff files/gettext-0.12.1-tempfile.patch 2226
 MD5 b56837fdd725fc00c173b57b951b90cc files/gettext-0.14.2-no-java-tests.patch 2524
 MD5 38756cea2e4f8e36c2e45b890f1a7463 files/50po-mode-gentoo.el 183
+MD5 ba2eaf73c69d33eeb6f259f2c2da4ded files/digest-gettext-0.14.5 67
 MD5 0e4a00cc30a91523c838cd17b5841399 files/digest-gettext-0.14.1-r1 67
 MD5 44ad3082200305087e6244f5a2665892 files/digest-gettext-0.14.2 67
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (GNU/Linux)
 
-iD8DBQFDC8DsgIKl8Uu19MoRAkCVAJ9yev3jwA0u0CNp1hKfpc+sMC53uQCgg3pM
-uJJzYd3a+JTqja9WnJ12Cx8=
-=7WhU
+iD8DBQFDFqTTgIKl8Uu19MoRAnQtAJ95wC1RS0d/jNmqADurIKtKeRLIUACfWiXP
+OqMgwMoJ2b4uTUCJHGOiJ6A=
+=2XgG
 -----END PGP SIGNATURE-----
diff --git a/sys-devel/gettext/files/digest-gettext-0.14.5 b/sys-devel/gettext/files/digest-gettext-0.14.5
new file mode 100644 (file)
index 0000000..457f67f
--- /dev/null
@@ -0,0 +1 @@
+MD5 e2f6581626a22a0de66dce1d81d00de3 gettext-0.14.5.tar.gz 7105715
diff --git a/sys-devel/gettext/gettext-0.14.5.ebuild b/sys-devel/gettext/gettext-0.14.5.ebuild
new file mode 100644 (file)
index 0000000..8ba18e6
--- /dev/null
@@ -0,0 +1,124 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gettext/gettext-0.14.5.ebuild,v 1.1 2005/09/01 06:50:27 vapier Exp $
+
+inherit flag-o-matic eutils toolchain-funcs mono libtool elisp-common
+
+DESCRIPTION="GNU locale utilities"
+HOMEPAGE="http://www.gnu.org/software/gettext/gettext.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="emacs nls doc"
+
+DEPEND="|| ( sys-libs/glibc dev-libs/libiconv )"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       epunt_cxx
+
+       epatch "${FILESDIR}"/${PN}-0.14.1-lib-path-tests.patch #81628
+       # java sucks
+       epatch "${FILESDIR}"/${PN}-0.14.1-without_java.patch
+       epatch "${FILESDIR}"/${PN}-0.14.2-no-java-tests.patch
+       # Fix race, bug #85054
+       epatch "${FILESDIR}"/${PN}-0.14.2-fix-race.patch
+
+       # bundled libtool seems to be broken so skip certain rpath tests
+       # http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html
+       sed -i \
+               -e '2iexit 77' \
+               autoconf-lib-link/tests/rpath-3*[ef] || die "sed tests"
+
+       # use Gentoo std docdir
+       sed -i \
+               -e "/^docdir=/s:=.*:=/usr/share/doc/${PF}:" \
+               gettext-runtime/configure \
+               gettext-tools/configure \
+               gettext-tools/examples/installpaths.in \
+               || die "sed docdir"
+
+       if use ppc-macos ; then
+               glibtoolize
+               append-flags -bind_at_load
+       fi
+}
+
+src_compile() {
+       local myconf=""
+       # Build with --without-included-gettext (on glibc systems)
+       if use elibc_glibc ; then
+               myconf="${myconf} --without-included-gettext $(use_enable nls)"
+       else
+               myconf="${myconf} --with-included-gettext --enable-nls"
+       fi
+       use emacs || export EMACS=no #93823
+       CXX=$(tc-getCC) \
+       econf \
+               --without-java \
+               ${myconf} \
+               || die
+       emake || die
+}
+
+src_install() {
+       make install DESTDIR="${D}" || die "install failed"
+       use nls || rm -r "${D}"/usr/share/locale
+       dosym msgfmt /usr/bin/gmsgfmt #43435
+       dobin gettext-tools/misc/gettextize || die "gettextize"
+
+       # remove stuff that glibc handles
+       if use elibc_glibc ; then
+               rm -f "${D}"/usr/include/libintl.h
+               rm -f "${D}"/usr/$(get_libdir)/libintl.*
+       fi
+       rm -f "${D}"/usr/share/locale/locale.alias
+
+       # older gettext's sometimes installed libintl ...
+       # need to keep the linked version or the system
+       # could die (things like sed link against it :/)
+       if use ppc-macos; then
+               rm -f "${D}"/usr/lib/charset.alias
+               if [ -e "${ROOT}"/usr/$(get_libdir)/libintl.2.dylib ] ; then
+                       cp -pPR ${ROOT}/usr/$(get_libdir)/libintl.2.dylib ${D}/usr/$(get_libdir)/
+                       touch "${D}"/usr/$(get_libdir)/libintl.2.dylib
+               fi
+       else
+               if [ -e "${ROOT}"/usr/$(get_libdir)/libintl.so.2 ] ; then
+                       cp -pPR ${ROOT}/usr/$(get_libdir)/libintl.so.2* ${D}/usr/$(get_libdir)/
+                       touch "${D}"/usr/$(get_libdir)/libintl.so.2*
+               fi
+       fi
+
+       if ! use doc ; then
+               rm -r "${D}"/usr/share/doc/${PF}/html
+               rm -r "${D}"/usr/share/doc/${PF}/{csharpdoc,examples,javadoc2,javadoc1}
+       fi
+       dohtml "${D}"/usr/share/doc/${PF}/*.html
+       rm -f "${D}"/usr/share/doc/${PF}/*.html
+
+       # Remove emacs site-lisp stuff if 'emacs' is not in USE
+       if use emacs ; then
+               elisp-site-file-install "${FILESDIR}"/50po-mode-gentoo.el
+       else
+               rm -rf "${D}"/usr/share/emacs
+       fi
+
+       dodoc AUTHORS BUGS ChangeLog DISCLAIM NEWS README* THANKS TODO
+}
+
+pkg_postinst() {
+       use emacs && elisp-site-regen
+       ewarn "Any package that linked against the previous version"
+       ewarn "of gettext will have to be rebuilt."
+       ewarn "Please 'emerge gentoolkit' and run:"
+       ewarn "revdep-rebuild --soname libintl.so.2"
+}
+
+pkg_postrm() {
+       use emacs && elisp-site-regen
+}