Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-admin/chrpath: ChangeLog chrpath-0.13-r2.ebuild
Date: Tue, 11 Oct 2011 16:59:51
Message-Id: 4E9475E1.30708@gentoo.org
1 On 10/11/2011 07:49 PM, Fabian Groffen (grobian) wrote:
2 > grobian 11/10/11 16:49:18
3 >
4 > Modified: ChangeLog chrpath-0.13-r2.ebuild
5 > Log:
6 > Revert ssuominen's changes that were totally uncalled for and most importantly broke the installation of this package on the main consumer's platform: Prefix
7 >
8 > (Portage version: 2.2.01.19295-prefix/cvs/SunOS i386)
9 >
10 > Revision Changes Path
11 > 1.17 app-admin/chrpath/ChangeLog
12 >
13 > file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chrpath/ChangeLog?rev=1.17&view=markup
14 > plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chrpath/ChangeLog?rev=1.17&content-type=text/plain
15 > diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chrpath/ChangeLog?r1=1.16&r2=1.17
16 >
17 > Index: ChangeLog
18 > ===================================================================
19 > RCS file: /var/cvsroot/gentoo-x86/app-admin/chrpath/ChangeLog,v
20 > retrieving revision 1.16
21 > retrieving revision 1.17
22 > diff -u -r1.16 -r1.17
23 > --- ChangeLog 10 Oct 2011 22:28:37 -0000 1.16
24 > +++ ChangeLog 11 Oct 2011 16:49:17 -0000 1.17
25 > @@ -1,6 +1,11 @@
26 > # ChangeLog for app-admin/chrpath
27 > # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 > -# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/ChangeLog,v 1.16 2011/10/10 22:28:37 ssuominen Exp $
29 > +# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/ChangeLog,v 1.17 2011/10/11 16:49:17 grobian Exp $
30 > +
31 > + 11 Oct 2011; Fabian Groffen <grobian@g.o> chrpath-0.13-r2.ebuild:
32 > + Revert ssuominen's changes that were totally uncalled for and most
33 > + importantly broke the installation of this package on the main consumer's
34 > + platform: Prefix
35 >
36 > 10 Oct 2011; Samuli Suominen <ssuominen@g.o> chrpath-0.13-r2.ebuild:
37 > Remove unnecessary static libraries because chrpath is dlopening the dynamic
38 >
39 >
40 >
41 > 1.3 app-admin/chrpath/chrpath-0.13-r2.ebuild
42 >
43 > file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chrpath/chrpath-0.13-r2.ebuild?rev=1.3&view=markup
44 > plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chrpath/chrpath-0.13-r2.ebuild?rev=1.3&content-type=text/plain
45 > diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/chrpath/chrpath-0.13-r2.ebuild?r1=1.2&r2=1.3
46 >
47 > Index: chrpath-0.13-r2.ebuild
48 > ===================================================================
49 > RCS file: /var/cvsroot/gentoo-x86/app-admin/chrpath/chrpath-0.13-r2.ebuild,v
50 > retrieving revision 1.2
51 > retrieving revision 1.3
52 > diff -u -r1.2 -r1.3
53 > --- chrpath-0.13-r2.ebuild 10 Oct 2011 22:28:37 -0000 1.2
54 > +++ chrpath-0.13-r2.ebuild 11 Oct 2011 16:49:17 -0000 1.3
55 > @@ -1,13 +1,15 @@
56 > # Copyright 1999-2011 Gentoo Foundation
57 > # Distributed under the terms of the GNU General Public License v2
58 > -# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/chrpath-0.13-r2.ebuild,v 1.2 2011/10/10 22:28:37 ssuominen Exp $
59 > +# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/chrpath-0.13-r2.ebuild,v 1.3 2011/10/11 16:49:17 grobian Exp $
60 >
61 > -EAPI=4
62 > -inherit autotools eutils
63 > +EAPI="2"
64 > +
65 > +inherit eutils autotools
66 >
67 > DESCRIPTION="chrpath can modify the rpath and runpath of ELF executables"
68 > HOMEPAGE="http://directory.fsf.org/project/chrpath/"
69 > -SRC_URI="mirror://gentoo/${P}.tar.gz"
70 > +# original upstream no longer exists (ftp://ftp.hungry.com/pub/hungry)
71 > +SRC_URI="http://ftp.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/${P}.tar.gz"
72 >
73 > LICENSE="GPL-2"
74 > SLOT="0"
75 > @@ -15,21 +17,14 @@
76 > IUSE=""
77 >
78 > src_prepare() {
79 > - epatch \
80 > - "${FILESDIR}"/${P}-multilib.patch \
81 > - "${FILESDIR}"/${PN}-keepgoing.patch \
82 > - "${FILESDIR}"/${P}-testsuite-1.patch
83 > -
84 > + epatch "${FILESDIR}"/${P}-multilib.patch
85 > + epatch "${FILESDIR}"/${PN}-keepgoing.patch
86 > + epatch "${FILESDIR}"/${P}-testsuite-1.patch
87 > + sed -i -e '/^docdir/d' Makefile.am # use standard docdir
88 > eautoreconf
89 > }
90 >
91 > src_install() {
92 > - emake \
93 > - DESTDIR="${D}" \
94 > - docdir=/usr/share/doc/${PF} \
95 > - install
96 > -
97 > - rm -f \
98 > - "${ED}"usr/lib*/lib*.{a,la} \
99 > - "${ED}"usr/share/doc/${PF}/{COPYING,INSTALL}
100 > + emake install DESTDIR="${D}" || die
101 > + dodoc ChangeLog AUTHORS NEWS README
102 > }
103
104 You just broke the package again by reverting technically correct commits:
105
106 Documentation:
107
108 >>> /usr/share/doc/chrpath-0.13-r2/ChangeLog.bz2
109 >>> /usr/share/doc/chrpath-0.13-r2/AUTHORS.bz2
110 >>> /usr/share/doc/chrpath-0.13-r2/NEWS.bz2
111 >>> /usr/share/doc/chrpath-0.13-r2/README.bz2
112 >>> /usr/share/doc/-chrpath-/
113 >>> /usr/share/doc/-chrpath-/README
114 >>> /usr/share/doc/-chrpath-/NEWS
115 >>> /usr/share/doc/-chrpath-/INSTALL
116 >>> /usr/share/doc/-chrpath-/ChangeLog
117 >>> /usr/share/doc/-chrpath-/COPYING
118 >>> /usr/share/doc/-chrpath-/AUTHORS
119
120 Unused libtool files:
121
122 >>> /usr/lib64/libchrpath64.la
123 >>> /usr/lib64/libchrpath32.la
124
125 Libs used only by chrpath itself now install static versions of
126 themself, unused:
127
128 >>> /usr/lib64/libchrpath32.a
129 >>> /usr/lib64/libchrpath64.a
130
131 So I've missed one ${EPREFIX} for docdir= ? How about just fixing that,
132 and not crapping all over the package?
133
134 - Samuli

Replies