Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/xml2doc: ChangeLog xml2doc-20030510-r1.ebuild
Date: Tue, 02 Jun 2009 10:05:50
Message-Id: E1MBQsO-0002Ao-8W@stork.gentoo.org
1 flameeyes 09/06/02 10:05:48
2
3 Modified: ChangeLog xml2doc-20030510-r1.ebuild
4 Log:
5 Cleanup ebuild and fix build with --as-needed, thanks to Kevin Pyle in bug #247001.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.18 app-text/xml2doc/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/xml2doc/ChangeLog?rev=1.18&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/xml2doc/ChangeLog?rev=1.18&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/xml2doc/ChangeLog?r1=1.17&r2=1.18
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-text/xml2doc/ChangeLog,v
18 retrieving revision 1.17
19 retrieving revision 1.18
20 diff -u -r1.17 -r1.18
21 --- ChangeLog 14 Mar 2007 20:17:41 -0000 1.17
22 +++ ChangeLog 2 Jun 2009 10:05:48 -0000 1.18
23 @@ -1,6 +1,11 @@
24 # ChangeLog for app-text/xml2doc
25 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-text/xml2doc/ChangeLog,v 1.17 2007/03/14 20:17:41 leonardop Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/xml2doc/ChangeLog,v 1.18 2009/06/02 10:05:48 flameeyes Exp $
29 +
30 + 02 Jun 2009; Diego E. Pettenò <flameeyes@g.o>
31 + xml2doc-20030510-r1.ebuild:
32 + Cleanup ebuild and fix build with --as-needed, thanks to Kevin Pyle in bug
33 + #247001.
34
35 *xml2doc-20030510-r1 (14 Mar 2007)
36
37
38
39
40 1.3 app-text/xml2doc/xml2doc-20030510-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/xml2doc/xml2doc-20030510-r1.ebuild?rev=1.3&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/xml2doc/xml2doc-20030510-r1.ebuild?rev=1.3&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/xml2doc/xml2doc-20030510-r1.ebuild?r1=1.2&r2=1.3
45
46 Index: xml2doc-20030510-r1.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/app-text/xml2doc/xml2doc-20030510-r1.ebuild,v
49 retrieving revision 1.2
50 retrieving revision 1.3
51 diff -u -r1.2 -r1.3
52 --- xml2doc-20030510-r1.ebuild 12 Jul 2007 04:37:47 -0000 1.2
53 +++ xml2doc-20030510-r1.ebuild 2 Jun 2009 10:05:48 -0000 1.3
54 @@ -1,6 +1,6 @@
55 -# Copyright 1999-2007 Gentoo Foundation
56 +# Copyright 1999-2009 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/app-text/xml2doc/xml2doc-20030510-r1.ebuild,v 1.2 2007/07/12 04:37:47 mr_bones_ Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/app-text/xml2doc/xml2doc-20030510-r1.ebuild,v 1.3 2009/06/02 10:05:48 flameeyes Exp $
60
61 inherit eutils
62
63 @@ -28,29 +28,32 @@
64 epatch "${FILESDIR}/${PN}-pointer_fix.patch"
65
66 # Don't strip symbols from binary (bug #152266)
67 - sed -i -e '/^\s*strip/d' src/Makefile.in
68 + sed -i -e '/^\s*strip/d' \
69 + -e '/^CC=/d' \
70 + -e 's/^\t$(CC) $(LFLAGS).*/\t$(LINK.o) $(L_PDF) $^ -lxml2 -o $(BIN)/' \
71 + -e '/^\t$(CC) $(CFLAGS) /d' \
72 + src/Makefile.in
73 }
74
75 src_compile() {
76 - local myconf="$(use_enable pdf)"
77 -
78 - econf $myconf || die "./configure failed"
79 + econf $(use_enable pdf) || die "./configure failed"
80 emake || die "Compilation failed"
81 +
82 + cd "${S}/doc"
83 + "${S}"/src/xml2doc -oM manpage.xml xml2doc.1 || die
84 }
85
86 src_install() {
87 # xml2doc's make install is unfortunately broken
88
89 # binary
90 - dobin ${S}/src/xml2doc
91 + dobin src/xml2doc || die
92
93 # documentation
94 - dodoc BUGS README TODO
95 + dodoc BUGS README TODO || die
96 docinto examples
97 - dodoc ${S}/examples/*.{xml,png}
98 + dodoc examples/*.{xml,png} || die
99
100 # manpage
101 - cd ${S}/doc
102 - ${S}/src/xml2doc -oM manpage.xml xml2doc.1
103 - doman xml2doc.1
104 + doman doc/xml2doc.1 || die
105 }