Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 191907 Details for
Bug 269905
app-admin/realpath-1.14 - ridiculously heavy dependencies only to get translations for manuals
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed changes for realpath-1.14-r1.ebuild
realpath-1.14-r1.ebuild.diff (text/plain), 1.41 KB, created by
Ulrich Müller
on 2009-05-20 15:50:41 UTC
(
hide
)
Description:
Proposed changes for realpath-1.14-r1.ebuild
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2009-05-20 15:50:41 UTC
Size:
1.41 KB
patch
obsolete
>--- realpath-1.14-r1.ebuild 19 May 2009 22:11:35 -0000 1.1 >+++ realpath-1.14-r1.ebuild 20 May 2009 15:41:50 -0000 >@@ -7,15 +7,30 @@ > > 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" >+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 ~mips ~ppc ~ppc64 ~sparc ~x86" >-IUSE="" >+IUSE="nls" > > RDEPEND="!sys-freebsd/freebsd-bin" > >+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() { > epatch "${FILESDIR}"/${P}-build.patch > epatch "${FILESDIR}"/${P}-no-po4a.patch >@@ -29,4 +44,13 @@ > src_install() { > emake VERSION="${PV}" DESTDIR="${D}" install || die "emake install failed" > newdoc debian/changelog ChangeLog.debian >+ >+ 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 > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269905
:
191296
|
191907
|
191992