* [gentoo-commits] dev/dilfridge:master commit in: dev-tex/latex2html/
@ 2011-02-25 9:05 Andreas K. Huettel
0 siblings, 0 replies; only message in thread
From: Andreas K. Huettel @ 2011-02-25 9:05 UTC (permalink / raw
To: gentoo-commits
commit: 9ad438f2ff7d68aa8a64578cb91583023cc77a31
Author: Andreas K. Huettel (dilfridge) <mail <AT> akhuettel <DOT> de>
AuthorDate: Fri Feb 25 09:04:59 2011 +0000
Commit: Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Feb 25 09:04:59 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dilfridge.git;a=commit;h=9ad438f2
[dev-tex/latex2html] Add match-multiline patch from Debian
(Portage version: 2.1.9.41/git/Linux x86_64, signed Manifest commit with key B6C5F7DE)
---
dev-tex/latex2html/ChangeLog | 9 +++-
dev-tex/latex2html/Manifest | 22 +++++--
dev-tex/latex2html/latex2html-2008-r1.ebuild | 83 ++++++++++++++++++++++++++
3 files changed, 108 insertions(+), 6 deletions(-)
diff --git a/dev-tex/latex2html/ChangeLog b/dev-tex/latex2html/ChangeLog
index b0efd10..38201c2 100644
--- a/dev-tex/latex2html/ChangeLog
+++ b/dev-tex/latex2html/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for dev-tex/latex2html
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/ChangeLog,v 1.52 2010/06/12 12:31:43 aballier Exp $
+*latex2html-2008-r1 (25 Feb 2011)
+
+ 25 Feb 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ +latex2html-2008-r1.ebuild:
+ Add match-multiline patch from Debian (author: Roland Stigge
+ <stigge@antcom.de>) to support newer perl versions
+
12 Jun 2010; Alexis Ballier <aballier@gentoo.org> latex2html-2008.ebuild:
do not try to sed a file that does not exist when use=-gif -png is used,
bug #298589
diff --git a/dev-tex/latex2html/Manifest b/dev-tex/latex2html/Manifest
index a15ceb9..f7b02af 100644
--- a/dev-tex/latex2html/Manifest
+++ b/dev-tex/latex2html/Manifest
@@ -6,13 +6,25 @@ AUX latex2html-destdir.patch 703 RMD160 2b08bb440c4aacd3b23a05cb34d56597de8fd2a5
AUX latex2html-extract-major-version.patch 635 RMD160 5bfc884c149a19f9f3f3608b48e77c9106edd8e0 SHA1 8c3ff25c41f68e1cafe9ba580f3f38d8b1fa28f3 SHA256 265327a28fdbec750a32fc32999625ef254ec80736f170e645e1355d51df5c04
AUX latex2html-perl_name.patch 445 RMD160 6f93bdc394f8c240542cd6a224864c3b4b27420d SHA1 3fd8480e23e3c06b8cb9876cc82a42b61e21386b SHA256 41dcf9d9b46691c34bddbae39faccbfeadf6beb2e19a4ac18af4a186758289c9
DIST latex2html-2008.tar.gz 1133054 RMD160 a95f06253d6fc8808ffedcad7edf8235194d7756 SHA1 5e0aa47572e0c13a4c5da51e963d5496be3f86e7 SHA256 59456815a3984250c295d3d5c46b85646038db8db2735cdc0d3780cf4da337ad
+DIST latex2html-match-multiline.patch.bz2 8147 RMD160 5fcde7efd354356b8eee907393ff949b393b38ba SHA1 dfcb4520ea7318409b2130192822a437818fe9cc SHA256 fa4c74b1e6ef3fc337485b7940922aaa1aed0c33a533e75f4a97503547f4570e
+EBUILD latex2html-2008-r1.ebuild 2570 RMD160 91592af55cfc006d55f082d9a39e78944be653e5 SHA1 d5b396135a1bbacaede5447487851b999e3c3da9 SHA256 556eef1ca0fd528cfad7228258734ea391f64a74e3096e716fa78283dc15989c
EBUILD latex2html-2008.ebuild 2487 RMD160 ec0f095141a9039a46a47cd68a9dc3462c8ca4ac SHA1 e04e85ca9c485121ff90a3c069f69384fc01cb84 SHA256 0035339821254b0418e9daeb10c38bcedbd1570a5ae355828d747e2adad2c1b3
-MISC ChangeLog 9206 RMD160 192628105b51b16f370efe9426c71b823def19bc SHA1 50d50c96fc0f1583c240bfd2c1cd68e991a63f84 SHA256 6b57516b1df4927b538cd65dfb405c59aef8560d14189a1a4cc5a56bcf8546be
+MISC ChangeLog 9445 RMD160 045ee462864de5389608b7914f9c433af1851716 SHA1 2d2fecffbf2914b28792ed89319b958f2e4a8998 SHA256 c01e90243e20798cea74bbd6be0923f2eb7a6d35468ea1fac0c005532bb536b3
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAkwTfjQACgkQvFcC4BYPU0rU8ACeL6tE4Ra7dZj2j/elnnW9Fnpe
-1cAAn1N6jaAkeYV58IeSaLPSQGZGxnta
-=8OLF
+iQIcBAEBAgAGBQJNZ3C7AAoJENwGBM22xffeCd0P/3kBHXxDZ+4OZlVlTKB1Dk7X
+upMev3TL6zFPaP1L+FRMpEM73SC0jZwyEgN44jILdVD1eyQ7J8FCDFXAOWG65Sby
+xiaxrzkIshxj4P8enDlE+AfTvzMrR5WVOht2xbZoft/yJdFpeG6f0gPf4UdDs76Y
+HU2ayfvpZ4fu1sspe+V8o/VRxRjeLCkzFnhJVOE3ZIe1A5vfsriPWleHC4LXc6GC
+HOo9ej/J8wDih8bQDZn7BEiMkGyPyvX47YnV+unSDH1gVAds4VRjGnTXbdlIisUj
+hYGcM1gFjeZ0b2bJ2FNXcnd5WrhmRLmVMGfJYoXNlF+f6tNLSt3DDmEqcRTAL6SB
+9omwoH9rjGJ07REdaUUP9mOdAhMG5wwYiVyEXjXmci3teavUE7u1ee0HOmhdKbOw
+PcmZs80g1IouWz0Ab/yClGOQtqcb6P3WbxbpP5iq2MJPVJrAsgAvu6sStXYVpfCR
+YYMw+yPZW1rl5lzDUQSMWrQuSk0a7vaw+FiZ1r5wFejgPMjYzTquGUal/dCeJ2tQ
+4+hvvNZjFIJiZAj8YjVxY3GcFMV7iWnOcoD0XmJMMM2UizxUGZ2PuFys0i9F4bS9
+epndp6whYBM0OlKtUzEV5pAa5Tgi4m+rBw2J1nkpP+oMr4VrAT++QMiNy9h52T7E
+vR2ovtYy+0D9oxF+sIMR
+=2TDw
-----END PGP SIGNATURE-----
diff --git a/dev-tex/latex2html/latex2html-2008-r1.ebuild b/dev-tex/latex2html/latex2html-2008-r1.ebuild
new file mode 100644
index 0000000..77b5f41
--- /dev/null
+++ b/dev-tex/latex2html/latex2html-2008-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/latex2html-2008.ebuild,v 1.10 2010/06/12 12:31:43 aballier Exp $
+
+EAPI=4
+
+inherit base eutils multilib
+
+DESCRIPTION="convertor written in Perl that converts LATEX documents to HTML"
+SRC_URI="http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/${P}.tar.gz
+ http://dev.gentoo.org/~dilfridge/distfiles/${PN}-match-multiline.patch.bz2"
+HOMEPAGE="http://www.latex2html.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="gif png"
+
+DEPEND="app-text/ghostscript-gpl
+ virtual/latex-base
+ media-libs/netpbm
+ dev-lang/perl
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng )"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}"-{convert-length,perl_name,extract-major-version,destdir}.patch
+ "${DISTDIR}/${PN}"-match-multiline.patch.bz2 )
+
+src_prepare() {
+ base_src_prepare
+
+ # Dont install old url.sty and other files
+ # Bug #240980
+ rm -f texinputs/url.sty texinputs/latin9.def || die "failed to remove duplicate latex files"
+}
+
+src_configure() {
+ local myconf
+
+ use gif || use png || myconf="${myconf} --disable-images"
+
+ econf --libdir=/usr/$(get_libdir)/latex2html \
+ --shlibdir=/usr/$(get_libdir)/latex2html \
+ --enable-pk \
+ --enable-eps \
+ --enable-reverse \
+ --enable-pipes \
+ --enable-paths \
+ --enable-wrapper \
+ --with-texpath=/usr/share/texmf-site/tex/latex/html \
+ --without-mktexlsr \
+ $(use_enable gif) \
+ $(use_enable png) \
+ ${myconf} || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ dodoc BUGS Changes FAQ LICENSE.orig MANIFEST README* TODO
+
+ # make /usr/share/latex2html sticky
+ keepdir /usr/share/latex2html
+
+ # clean the perl scripts up to remove references to the sandbox
+ einfo "fixing sandbox references"
+ # pstoimg isn't built unless gif or png useflags are enabled
+ { use png || use gif ; } && sed -i -e "s:${T}:/tmp:g" "${D}/usr/$(get_libdir)/latex2html/pstoimg.pl"
+ sed -i -e "s:${S}::g" "${D}/usr/$(get_libdir)/latex2html/latex2html.pl" || die
+ sed -i -e "s:${T}:/tmp:g" "${D}/usr/$(get_libdir)/latex2html/cfgcache.pm" || die
+ sed -i -e "s:${T}:/tmp:g" "${D}/usr/$(get_libdir)/latex2html/l2hconf.pm" || die
+}
+
+pkg_postinst() {
+ einfo "Running ${ROOT}usr/bin/mktexlsr to rebuild ls-R database...."
+ "${ROOT}"usr/bin/mktexlsr
+}
+
+pkg_postrm() {
+ einfo "Running ${ROOT}usr/bin/mktexlsr to rebuild ls-R database...."
+ "${ROOT}"usr/bin/mktexlsr
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-25 9:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-25 9:05 [gentoo-commits] dev/dilfridge:master commit in: dev-tex/latex2html/ Andreas K. Huettel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox