Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/latex2html/
Date: Wed, 05 Jun 2019 12:07:32
Message-Id: 1559736430.4d472e76af33fef431627bc8827a1c4edd644b08.dilfridge@gentoo
1 commit: 4d472e76af33fef431627bc8827a1c4edd644b08
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 5 12:06:32 2019 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 5 12:07:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d472e76
7
8 dev-tex/latex2html: remove old
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.14
11 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
12
13 dev-tex/latex2html/Manifest | 2 -
14 dev-tex/latex2html/latex2html-2008-r1.ebuild | 84 --------------------------
15 dev-tex/latex2html/latex2html-2008.ebuild | 83 -------------------------
16 dev-tex/latex2html/latex2html-2017.2-r1.ebuild | 81 -------------------------
17 4 files changed, 250 deletions(-)
18
19 diff --git a/dev-tex/latex2html/Manifest b/dev-tex/latex2html/Manifest
20 index 4af50b9668e..ea66d1f10f8 100644
21 --- a/dev-tex/latex2html/Manifest
22 +++ b/dev-tex/latex2html/Manifest
23 @@ -1,4 +1,2 @@
24 -DIST latex2html-2008.tar.gz 1133054 BLAKE2B c4ef102d55592f8ecbaf9372ce90d952866f89223b5db80d038a1305db7e4f835c585affed515f6c920fb0c43b2a3e55d4fcb315b272764f805398b8d12a5895 SHA512 e5a9d1700fcc45e6fcb7bae79e25acd52b7a84b70a75b3c7f1e746f65adbd48219a828420f6a7c437613d5c74dfb0405c91df01ac9c1535e9850f3a3e5c47f60
25 DIST latex2html-2015.tar.gz 1217699 BLAKE2B e9daea005b7674ebb6a8c5902b77b609a633515b4127a2b3fe4d1b15bc2428c02ccc024df62545d5fe63e7034ad4b1532905fee97057d49730ec27f12913c55e SHA512 dd031944250efd28691edeba5e83b4c5c0deec3a2e7c2ab2a9bd285a911f6ab21a02cd0ef697bebc2c7c7c0ebd285493c1d6b01b0db9355fc7f3316a2af65e2c
26 DIST latex2html-2017.2.tar.gz 1131438 BLAKE2B 0a13cca95e1f7d8a9fd7d6b077726e083a6d33fbc712b883be46d57fbdea91d1d02a2a2f1990c5827cf2a4b9db18033f41f326af0a69770988bf4ff5e53a010a SHA512 0e1ab1b2005dc71988b1500884d7a13bfbdce73a62ef7f6cc6e83e29d776c98eb09cff3f8d0c162493586094c9ca6f07d47e98d2137f223f27044d03e9bb3473
27 -DIST latex2html-match-multiline.patch.bz2 8147 BLAKE2B 32a2bbe82c5ae08c4a2fdec9f057b8d5750518dc2159e12c53d0435b17841328ee4402b8b776866ad4d72aa2cd2d918c60caad3dc56548a478bd65bb5fff0542 SHA512 01ec0dd1705f030736432a7fa8bf99c83c9e4f01c9755319d36e65e18737361d23073277692a8c44af529a1c37caabcc9e720a4be57e64300f945060e88f6641
28
29 diff --git a/dev-tex/latex2html/latex2html-2008-r1.ebuild b/dev-tex/latex2html/latex2html-2008-r1.ebuild
30 deleted file mode 100644
31 index c8f39eed7f5..00000000000
32 --- a/dev-tex/latex2html/latex2html-2008-r1.ebuild
33 +++ /dev/null
34 @@ -1,84 +0,0 @@
35 -# Copyright 1999-2017 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=4
39 -
40 -inherit base eutils multilib
41 -
42 -DESCRIPTION="convertor written in Perl that converts LATEX documents to HTML"
43 -SRC_URI="http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/${P}.tar.gz
44 - https://dev.gentoo.org/~dilfridge/distfiles/${PN}-match-multiline.patch.bz2"
45 -HOMEPAGE="http://www.latex2html.org/"
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
50 -IUSE="gif png"
51 -
52 -DEPEND="app-text/ghostscript-gpl
53 - virtual/latex-base
54 - media-libs/netpbm
55 - dev-lang/perl
56 - gif? ( media-libs/giflib )
57 - png? ( media-libs/libpng )"
58 -RDEPEND="${DEPEND}"
59 -
60 -PATCHES=( "${FILESDIR}/${PN}"-{convert-length,perl_name,extract-major-version-2,destdir}.patch
61 - "${DISTDIR}/${PN}"-match-multiline.patch.bz2 )
62 -
63 -src_prepare() {
64 - base_src_prepare
65 -
66 - # Dont install old url.sty and other files
67 - # Bug #240980
68 - rm -f texinputs/url.sty texinputs/latin9.def || die "failed to remove duplicate latex files"
69 -
70 - sed -ie 's%@PERL@%'"${EPREFIX}"'/usr/bin/perl%g' wrapper/unix.pin || die
71 -}
72 -
73 -src_configure() {
74 - local myconf
75 -
76 - use gif || use png || myconf="${myconf} --disable-images"
77 -
78 - econf --libdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
79 - --shlibdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
80 - --enable-pk \
81 - --enable-eps \
82 - --enable-reverse \
83 - --enable-pipes \
84 - --enable-paths \
85 - --enable-wrapper \
86 - --with-texpath="${EPREFIX}"/usr/share/texmf-site/tex/latex/html \
87 - --without-mktexlsr \
88 - $(use_enable gif) \
89 - $(use_enable png) \
90 - ${myconf} || die "econf failed"
91 -}
92 -
93 -src_install() {
94 - emake DESTDIR="${D}" install || die "make install failed"
95 -
96 - dodoc BUGS Changes FAQ LICENSE.orig MANIFEST README* TODO
97 -
98 - # make /usr/share/latex2html sticky
99 - keepdir /usr/share/latex2html
100 -
101 - # clean the perl scripts up to remove references to the sandbox
102 - einfo "fixing sandbox references"
103 - # pstoimg isn't built unless gif or png useflags are enabled
104 - { use png || use gif ; } && sed -i -e "s:${T}:/tmp:g" "${ED}/usr/$(get_libdir)/latex2html/pstoimg.pl"
105 - sed -i -e "s:${S}::g" "${ED}/usr/$(get_libdir)/latex2html/latex2html.pl" || die
106 - sed -i -e "s:${T}:/tmp:g" "${ED}/usr/$(get_libdir)/latex2html/cfgcache.pm" || die
107 - sed -i -e "s:${T}:/tmp:g" "${ED}/usr/$(get_libdir)/latex2html/l2hconf.pm" || die
108 -}
109 -
110 -pkg_postinst() {
111 - einfo "Running ${EROOT}usr/bin/mktexlsr to rebuild ls-R database...."
112 - "${EROOT}"usr/bin/mktexlsr
113 -}
114 -
115 -pkg_postrm() {
116 - einfo "Running ${EROOT}usr/bin/mktexlsr to rebuild ls-R database...."
117 - "${EROOT}"usr/bin/mktexlsr
118 -}
119
120 diff --git a/dev-tex/latex2html/latex2html-2008.ebuild b/dev-tex/latex2html/latex2html-2008.ebuild
121 deleted file mode 100644
122 index 0dff1b0e414..00000000000
123 --- a/dev-tex/latex2html/latex2html-2008.ebuild
124 +++ /dev/null
125 @@ -1,83 +0,0 @@
126 -# Copyright 1999-2018 Gentoo Foundation
127 -# Distributed under the terms of the GNU General Public License v2
128 -
129 -EAPI=0
130 -
131 -inherit eutils multilib
132 -
133 -DESCRIPTION="convertor written in Perl that converts LATEX documents to HTML"
134 -SRC_URI="http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/${P}.tar.gz"
135 -HOMEPAGE="http://www.latex2html.org/"
136 -
137 -LICENSE="GPL-2"
138 -SLOT="0"
139 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
140 -IUSE="gif png"
141 -
142 -DEPEND="app-text/ghostscript-gpl
143 - virtual/latex-base
144 - media-libs/netpbm
145 - dev-lang/perl
146 - gif? ( media-libs/giflib )
147 - png? ( media-libs/libpng )"
148 -RDEPEND="${DEPEND}"
149 -
150 -src_unpack() {
151 - unpack ${A}
152 - cd "${S}"
153 - epatch "${FILESDIR}/${PN}-convert-length.patch"
154 - epatch "${FILESDIR}/${PN}-perl_name.patch"
155 - epatch "${FILESDIR}/${PN}-extract-major-version.patch"
156 - epatch "${FILESDIR}/${PN}-destdir.patch"
157 - # Dont install old url.sty and other files
158 - # Bug #240980
159 - rm -f texinputs/url.sty texinputs/latin9.def || die "failed to remove duplicate latex files"
160 -}
161 -
162 -src_compile() {
163 - local myconf
164 -
165 - use gif || use png || myconf="${myconf} --disable-images"
166 -
167 - econf --libdir=/usr/$(get_libdir)/latex2html \
168 - --shlibdir=/usr/$(get_libdir)/latex2html \
169 - --enable-pk \
170 - --enable-eps \
171 - --enable-reverse \
172 - --enable-pipes \
173 - --enable-paths \
174 - --enable-wrapper \
175 - --with-texpath=/usr/share/texmf-site/tex/latex/html \
176 - --without-mktexlsr \
177 - $(use_enable gif) \
178 - $(use_enable png) \
179 - ${myconf} || die "econf failed"
180 - emake || die "make failed"
181 -}
182 -
183 -src_install() {
184 - emake DESTDIR="${D}" install || die "make install failed"
185 -
186 - dodoc BUGS Changes FAQ LICENSE.orig MANIFEST README* TODO
187 -
188 - # make /usr/share/latex2html sticky
189 - keepdir /usr/share/latex2html
190 -
191 - # clean the perl scripts up to remove references to the sandbox
192 - einfo "fixing sandbox references"
193 - # pstoimg isn't built unless gif or png useflags are enabled
194 - { use png || use gif ; } && dosed "s:${T}:/tmp:g" /usr/$(get_libdir)/latex2html/pstoimg.pl
195 - dosed "s:${S}::g" /usr/$(get_libdir)/latex2html/latex2html.pl
196 - dosed "s:${T}:/tmp:g" /usr/$(get_libdir)/latex2html/cfgcache.pm
197 - dosed "s:${T}:/tmp:g" /usr/$(get_libdir)/latex2html/l2hconf.pm
198 -}
199 -
200 -pkg_postinst() {
201 - einfo "Running ${ROOT}usr/bin/mktexlsr to rebuild ls-R database...."
202 - "${ROOT}"usr/bin/mktexlsr
203 -}
204 -
205 -pkg_postrm() {
206 - einfo "Running ${ROOT}usr/bin/mktexlsr to rebuild ls-R database...."
207 - "${ROOT}"usr/bin/mktexlsr
208 -}
209
210 diff --git a/dev-tex/latex2html/latex2html-2017.2-r1.ebuild b/dev-tex/latex2html/latex2html-2017.2-r1.ebuild
211 deleted file mode 100644
212 index ff150f6a652..00000000000
213 --- a/dev-tex/latex2html/latex2html-2017.2-r1.ebuild
214 +++ /dev/null
215 @@ -1,81 +0,0 @@
216 -# Copyright 1999-2017 Gentoo Foundation
217 -# Distributed under the terms of the GNU General Public License v2
218 -
219 -EAPI=6
220 -
221 -DESCRIPTION="Convertor written in Perl that converts LATEX documents to HTML"
222 -HOMEPAGE="http://www.latex2html.org/"
223 -SRC_URI="http://mirrors.ctan.org/support/latex2html/${P}.tar.gz"
224 -
225 -LICENSE="GPL-2"
226 -SLOT="0"
227 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
228 -IUSE="gif png"
229 -
230 -DEPEND="app-text/ghostscript-gpl
231 - virtual/latex-base
232 - media-libs/netpbm
233 - dev-lang/perl
234 - gif? ( media-libs/giflib )
235 - png? ( media-libs/libpng:0 )"
236 -RDEPEND="${DEPEND}"
237 -
238 -PATCHES=(
239 - "${FILESDIR}/${PN}"-{destdir,tests}.patch
240 - "${FILESDIR}/${P}"-dotinc.patch
241 - "${FILESDIR}/${P}"-dotinc-2.patch
242 - "${FILESDIR}/${P}"-brace.patch
243 -)
244 -
245 -src_prepare() {
246 - default
247 -
248 - sed -i -e 's%@PERL@%'"${EPREFIX}"'/usr/bin/perl%g' wrapper/unix.pin || die
249 -}
250 -
251 -src_configure() {
252 - local myconf
253 -
254 - use gif || use png || myconf="${myconf} --disable-images"
255 -
256 - econf --libdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
257 - --shlibdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
258 - --enable-pk \
259 - --enable-eps \
260 - --enable-reverse \
261 - --enable-pipes \
262 - --enable-paths \
263 - --enable-wrapper \
264 - --with-texpath="${EPREFIX}"/usr/share/texmf-site/tex/latex/html \
265 - --without-mktexlsr \
266 - $(use_enable gif) \
267 - $(use_enable png) \
268 - ${myconf}
269 -}
270 -
271 -src_install() {
272 - emake DESTDIR="${D}" install
273 -
274 - # make /usr/share/latex2html sticky
275 - keepdir /usr/share/latex2html
276 -
277 - # clean the perl scripts up to remove references to the sandbox
278 - local dir="${ED}/usr/$(get_libdir)/latex2html"
279 - if use png || use gif; then
280 - # pstoimg isn't built unless gif or png useflags are enabled
281 - sed -i -e "s:${T}:/tmp:g" "${dir}"/pstoimg.pl || die
282 - fi
283 - sed -i -e "s:${S}::g" "${dir}"/latex2html.pl || die
284 - sed -i -e "s:${T}:/tmp:g" "${dir}"/cfgcache.pm || die
285 - sed -i -e "s:${T}:/tmp:g" "${dir}"/l2hconf.pm || die
286 -
287 - dodoc BUGS Changes FAQ MANIFEST README.md TODO
288 -}
289 -
290 -pkg_postinst() {
291 - "${EROOT}"/usr/bin/mktexlsr
292 -}
293 -
294 -pkg_postrm() {
295 - "${EROOT}"/usr/bin/mktexlsr
296 -}