Version Bump, fixes #379635
authorJustin Lecher <jlec@gentoo.org>
Mon, 17 Oct 2011 14:54:27 +0000 (14:54 +0000)
committerJustin Lecher <jlec@gentoo.org>
Mon, 17 Oct 2011 14:54:27 +0000 (14:54 +0000)
Package-Manager: portage-2.2.0_alpha67/cvs/Linux x86_64

app-misc/realpath/ChangeLog
app-misc/realpath/Manifest
app-misc/realpath/metadata.xml
app-misc/realpath/realpath-1.16.ebuild [new file with mode: 0644]

index 08ba1c12181acffe70c56b5340087b17e919d0ee..7d8430ba34b261879bc5e576cf7757518e299c0a 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-misc/realpath
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/realpath/ChangeLog,v 1.15 2011/03/27 21:52:55 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/realpath/ChangeLog,v 1.16 2011/10/17 14:54:27 jlec Exp $
+
+*realpath-1.16 (17 Oct 2011)
+
+  17 Oct 2011; Justin Lecher <jlec@gentoo.org> +realpath-1.16.ebuild,
+  metadata.xml:
+  Version Bump, fixes #379635
 
   27 Mar 2011; Jeremy Olexa <darkside@gentoo.org> -realpath-1.15.ebuild,
   -realpath-1.15-r2.ebuild:
index cb421f47a31787827d3d6f0fbb1c4d25a0739dbc..bfe98c7f8318cb0eff1b36e1d8924dc586e9d4c5 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
 AUX realpath-1.14-build.patch 1019 RMD160 d9a19eadd3ef17347e901d00f662f9b265581e8b SHA1 9fd50083a6dee83f4fe6d77ef70cde85f3814a5a SHA256 050432c91359228e47e57c989425428096a081b9c82ae037ec3876fac1fabafc
 AUX realpath-1.14-no-po4a.patch 288 RMD160 0c652a04b84432353b0547dba1454a4784350ee6 SHA1 0ef6f48971ffd947e09361225c1faf6d2f6f6c32 SHA256 5fc4321c8e6a3906366d198d309768de026b628ec320bf4c00c137f9fa6eeacc
 AUX realpath-1.15-build.patch 1083 RMD160 f3564d00f7772fdb9da9b2830eec3e90142678c6 SHA1 7bcc6fd8f1a36563f7a4a7cebc4d75b02b626dc8 SHA256 d3e92fbb823cc3b20017cbf1dd370ade7870f36dd819d199ebff1a04534e41d3
@@ -5,7 +8,17 @@ AUX realpath-1.15-nonls.patch 583 RMD160 a8c791e5660616a696247cf07a59d87589fa34b
 AUX realpath-1.15-prefix.patch 1443 RMD160 fcf72dedc5ce1308a8ec554974dbd92b7698c312 SHA1 4e569d5ee2bf20986f22eee9ee88fee1ee7e3730 SHA256 df01fbc26743f1d25715589827aed7e1c68444ce596225f2aca571a75029cf27
 DIST realpath_1.15.tar.gz 17406 RMD160 83129946171248446b3bcd1eae8ad82217c4248d SHA1 27174ef37d846761a12ebd81af1398327ee824b9 SHA256 b3d11cec375145ea60663e6fe54727c70a0e86c18f40bddac2a89b635cc1531f
 DIST realpath_1.15_i386.deb 15670 RMD160 cedc694ff0e7302581ee3a81ba951ca591309828 SHA1 a890ea32d012d712fc263a68a076631805feab4c SHA256 6fdcace221422a042d7fce941e46977adfb3b1da44d23e8be00628c56d726d3e
+DIST realpath_1.16.tar.gz 17420 RMD160 f90ebc48f64d611825cdcf6a6eb61838a36f91c6 SHA1 ecc9272dcc3844c0d01e1606674d62ff52721a56 SHA256 b42b4c17a29d1cca933f42c463771d4162f35a731e801dae1312b65fc4d702d8
+DIST realpath_1.16_i386.deb 16114 RMD160 6abbec5c6b59f8c35659276e110aa6c661a852b4 SHA1 40dbbbcfd7e2a71c75e6616c29268cc30bfa408c SHA256 596a20716bf0cc1fc036b0df0ff793c27dde24522fcd10edb04e47c3bc892a97
 EBUILD realpath-1.15-r1.ebuild 1701 RMD160 70833465db01644445cb2fdaaf08a564443dd2d9 SHA1 fba0246616e26d173d928aef5a7a93447868457c SHA256 9134173886fac6fc4a97e80f4aa7929f3498eb7612eb325056eb3652629401d7
 EBUILD realpath-1.15-r3.ebuild 2386 RMD160 8a9ce34f6a193dbb572313a34c3e764a3e598d47 SHA1 8090ee2d01bc7e21edc818fb720454063a5b87d3 SHA256 ea625486b288fd0f8f4ab257991507757c0aeda92c3e905e41c523abec89ca14
-MISC ChangeLog 8251 RMD160 9f495506653482ccc2ef07906cc08aecfab0037d SHA1 80811511fc3d934cd91bf9c540a8f1e66c657a42 SHA256 eb386c1d62c4d3d41e1971ae56e289636f02d065694ae3775021edd2fc8e0e88
-MISC metadata.xml 328 RMD160 405f12dbe5abd64eccefcefead9cb2662b687b1f SHA1 c2dafdc2d68df2e12665c5b15d88010414497af1 SHA256 71d668f1cb87b5412b35f181bc761921019e7502b7b56bf7ea9aa5c514e939e0
+EBUILD realpath-1.16.ebuild 2395 RMD160 bbbb1d486920ad39f4c8809b53ab0353714da64a SHA1 ebf8e0c09c9ee65d4a08df01e9fc3391b51138a7 SHA256 fe1200246821d6d96021dce5d412b038cc0d2cd7957af4d41eac29d53c0a75f7
+MISC ChangeLog 8394 RMD160 fa19e75a493420279a69c2f1cb517cec89001bfb SHA1 210d8c28ed936bf210635a2108258ea01c478607 SHA256 47ed0429c3200ba6815ffa4bab66e5a8fd7207ab9382b3842fee53ad9a8e8bb3
+MISC metadata.xml 330 RMD160 8e4fb7e078006d9ec92fc010ed29b1c3db4b1981 SHA1 0ce456d51b531a1915118f4a382e56288206fc16 SHA256 547bed0d72e01786755f761c092ae7d23d46a77f88565acf3b32ab8622954de3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEAREKAAYFAk6cQagACgkQgAnW8HDreRbe0QCg0MM+OV8DThvwKoopHzUveig1
+14sAoMPFPCK4X/sCSkBp/7FultDIZ3Dk
+=Bn4b
+-----END PGP SIGNATURE-----
index 376efb8cd9e0f02affee616fe140e144b7028ff5..9fe17c2d7432a9072c64a7f89d7de930757b7462 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>shell-tools</herd>
-<longdescription lang="en">
+       <herd>shell-tools</herd>
+       <longdescription lang="en">
   The realpath utility finds the canonicalized absolute pathname of its
   arguments in a similar way to readlink -f.
 </longdescription>
diff --git a/app-misc/realpath/realpath-1.16.ebuild b/app-misc/realpath/realpath-1.16.ebuild
new file mode 100644 (file)
index 0000000..d7e6581
--- /dev/null
@@ -0,0 +1,75 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/realpath/realpath-1.16.ebuild,v 1.1 2011/10/17 14:54:27 jlec Exp $
+
+EAPI="3"
+inherit eutils toolchain-funcs flag-o-matic prefix
+
+DESCRIPTION="Return the canonicalized absolute pathname"
+HOMEPAGE="http://packages.debian.org/unstable/utils/realpath"
+SRC_URI="mirror://debian/pool/main/r/${PN}/${PN}_${PV}.tar.gz
+       nls? ( mirror://debian/pool/main/r/${PN}/${PN}_${PV}_i386.deb )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls"
+
+RDEPEND="!sys-freebsd/freebsd-bin"
+DEPEND="${RDEPEND}
+       sys-devel/gettext
+       virtual/libintl
+       elibc_IRIX? ( dev-libs/gnulib )
+       x86-interix? ( dev-libs/gnulib )
+       elibc_mintlib? ( virtual/libiconv )"
+
+src_unpack() {
+       unpack ${PN}_${PV}.tar.gz
+
+       if use nls; then
+               # Unpack the .deb file, in order to get the preprocessed man page
+               # translations. This way we avoid a dependency on app-text/po4a.
+               mkdir deb
+               cd deb
+               unpack ${PN}_${PV}_i386.deb
+               unpack ./data.tar.gz
+               gunzip -r usr/share/man || die "gunzip failed"
+       fi
+}
+
+src_prepare() {
+       use nls || epatch "${FILESDIR}"/${P}-nonls.patch
+       epatch "${FILESDIR}"/${PN}-1.15-build.patch
+       epatch "${FILESDIR}"/${PN}-1.14-no-po4a.patch
+       epatch "${FILESDIR}"/${PN}-1.15-prefix.patch
+       eprefixify common.mk
+}
+
+src_compile() {
+       tc-export CC
+       use !elibc_glibc && append-libs -lintl
+       [[ ${CHOST} == *-mint* ]] && append-libs "-liconv"
+       if [[ ${CHOST} == *-irix* || ${CHOST} == *-interix[35]* ]] ; then
+               append-flags -I"${EPREFIX}"/usr/$(get_libdir)/gnulib/include
+               append-ldflags -L"${EPREFIX}"/usr/$(get_libdir)/gnulib/$(get_libdir)
+               append-libs -lgnu
+       fi
+
+       emake VERSION="${PV}" SUBDIRS="src man $(use nls && echo po)" \
+               || die "emake failed"
+}
+
+src_install() {
+       emake VERSION="${PV}" SUBDIRS="src man $(use nls && echo po)" \
+               DESTDIR="${D}" install || die "emake install failed"
+       newdoc debian/changelog ChangeLog.debian || die
+
+       if use nls; then
+               local dir
+               for dir in "${WORKDIR}"/deb/usr/share/man/*; do
+                       [ -f "${dir}"/man1/realpath.1 ] || continue
+                       newman "${dir}"/man1/realpath.1 realpath.${dir##*/}.1 \
+                               || die "newman failed"
+               done
+       fi
+}