Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/linuxdoc-tools: ChangeLog linuxdoc-tools-0.9.21_p11.ebuild
Date: Sat, 29 Sep 2007 07:55:23
Message-Id: E1IbX23-0007IV-Cc@stork.gentoo.org
1 pva 07/09/29 07:46:35
2
3 Modified: ChangeLog
4 Added: linuxdoc-tools-0.9.21_p11.ebuild
5 Log:
6 Version bump, bug #190967.
7 (Portage version: 2.1.3.11)
8
9 Revision Changes Path
10 1.9 app-text/linuxdoc-tools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/linuxdoc-tools/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/linuxdoc-tools/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/linuxdoc-tools/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 13 Mar 2007 01:40:28 -0000 1.8
23 +++ ChangeLog 29 Sep 2007 07:46:34 -0000 1.9
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-text/linuxdoc-tools
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/ChangeLog,v 1.8 2007/03/13 01:40:28 leonardop Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/ChangeLog,v 1.9 2007/09/29 07:46:34 pva Exp $
29 +
30 +*linuxdoc-tools-0.9.21_p11 (29 Sep 2007)
31 +
32 + 29 Sep 2007; <pva@g.o> +linuxdoc-tools-0.9.21_p11.ebuild:
33 + Version bump, bug #190967.
34
35 13 Mar 2007; Leonardo Boshell <leonardop@g.o> metadata.xml:
36 Replacing text-markup herd with the new sgml herd.
37
38
39
40 1.1 app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p11.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p11.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p11.ebuild?rev=1.1&content-type=text/plain
44
45 Index: linuxdoc-tools-0.9.21_p11.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p11.ebuild,v 1.1 2007/09/29 07:46:34 pva Exp $
50
51 inherit eutils sgml-catalog
52
53 MY_PV=${PV/_p/-0.}
54
55 S=${WORKDIR}/${P/_p*}
56 DESCRIPTION="A toolset for processing LinuxDoc DTD SGML files"
57 HOMEPAGE="http://packages.qa.debian.org/l/linuxdoc-tools.html"
58 SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${MY_PV}.tar.gz"
59
60 LICENSE="KenMacLeod SGMLUG"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
63 IUSE="tetex"
64
65 DEPEND="app-text/openjade
66 app-text/sgml-common
67 >=dev-lang/perl-5.004
68 sys-apps/gawk
69 sys-apps/groff
70 !<app-text/sgmltools-lite-3.0.3-r10
71 !<app-text/tetex-3"
72
73 RDEPEND="${DEPEND}
74 tetex? ( >=app-text/tetex-3 )"
75
76 sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" \
77 "/usr/share/linuxdoc-tools/linuxdoc-tools.catalog"
78
79 src_unpack() {
80 unpack ${A}
81
82 cd "${S}"
83 epatch "${FILESDIR}/${PN}-0.9.13-letter.patch"
84 epatch "${FILESDIR}/${PN}-0.9.20-lib64.patch"
85 epatch "${FILESDIR}/${PN}-0.9.21-malloc.patch"
86 }
87 src_compile() {
88 local myconf="--with-installed-iso-entities"
89
90 econf $myconf || die "./configure failed"
91 emake CFLAGS="${CFLAGS}" || die "Compilation failed"
92 }
93
94 src_install() {
95 # Else fails with sandbox violations
96 export VARTEXFONTS="${T}/fonts"
97
98 # Besides the path being wrong, in changing perl5libdir, it cannot find the
99 # catalog.
100 export SGML_CATALOG_FILES="/usr/share/sgml/sgml-iso-entities-8879.1986/catalog"
101
102 eval `perl -V:installvendorarch`
103 einstall \
104 perl5libdir="${D}${installvendorarch}" \
105 LINUXDOCDOC="${D}/usr/share/doc/${PF}/guide" \
106 || die "Installation failed"
107
108 # Wrong path for the catalog.
109 dosed -e \
110 's,/iso-entities-8879.1986/iso-entities.cat,/sgml-iso-entities-8879.1986/catalog,' \
111 /usr/share/linuxdoc-tools/LinuxDocTools.pm
112
113 if use tetex ; then
114 insinto /usr/share/texmf/tex/latex/misc
115 doins "${S}"/lib/*.sty
116 fi
117
118 dodoc ChangeLog README
119 }
120
121
122
123 --
124 gentoo-commits@g.o mailing list