summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Buisse <nattfodd@gentoo.org>2006-05-23 07:40:01 +0000
committerAlexandre Buisse <nattfodd@gentoo.org>2006-05-23 07:40:01 +0000
commite59eb5a08bc06f742937eb88cd267324a86bed15 (patch)
treedd0a25fff26e4052361f387de17f1fe33febc8ff /dev-tex
parentNew package. Fixes bug 122118. (diff)
downloadhistorical-e59eb5a08bc06f742937eb88cd267324a86bed15.tar.gz
historical-e59eb5a08bc06f742937eb88cd267324a86bed15.tar.bz2
historical-e59eb5a08bc06f742937eb88cd267324a86bed15.zip
Fix bug #80468 about perl executable name.
Package-Manager: portage-2.1_pre10-r2
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/latex2html/ChangeLog9
-rw-r--r--dev-tex/latex2html/Manifest48
-rw-r--r--dev-tex/latex2html/files/digest-latex2html-2002.2.1_pre200410252
-rw-r--r--dev-tex/latex2html/files/digest-latex2html-2002.2.1_pre20041025-r13
-rw-r--r--dev-tex/latex2html/files/latex2html-perl_name.patch11
-rw-r--r--dev-tex/latex2html/latex2html-2002.2.1_pre20041025-r1.ebuild101
6 files changed, 170 insertions, 4 deletions
diff --git a/dev-tex/latex2html/ChangeLog b/dev-tex/latex2html/ChangeLog
index aa9dfd2d94a4..eb6abdc3d44b 100644
--- a/dev-tex/latex2html/ChangeLog
+++ b/dev-tex/latex2html/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-tex/latex2html
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/ChangeLog,v 1.27 2006/05/12 18:53:03 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/ChangeLog,v 1.28 2006/05/23 07:40:01 nattfodd Exp $
+
+*latex2html-2002.2.1_pre20041025-r1 (23 May 2006)
+
+ 23 May 2006; Alexandre Buisse <nattfodd@gentoo.org>
+ +files/latex2html-perl_name.patch,
+ +latex2html-2002.2.1_pre20041025-r1.ebuild:
+ Fix the perl executable name so it can survive perl bumps. Fixes bug #80468.
12 May 2006; Tobias Scherbaum <dertobi123@gentoo.org>
latex2html-2002.2.1_pre20041025.ebuild:
diff --git a/dev-tex/latex2html/Manifest b/dev-tex/latex2html/Manifest
index 08c6bdfb8e97..6ca51ca0f0f2 100644
--- a/dev-tex/latex2html/Manifest
+++ b/dev-tex/latex2html/Manifest
@@ -1,7 +1,49 @@
-MD5 46f3bf03e2a22e072f66c4c2a50ce6c7 ChangeLog 5629
-MD5 f7668b3f13da504da3419967ee997ab1 files/digest-latex2html-2002.2 256
-MD5 0eb4f31ba18d25c8fd3229a00e5aad2e files/digest-latex2html-2002.2.1_pre20041025 81
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX latex2html-convert-length.patch 1150 RMD160 29e9c8addbc8afe3fe1409b7d74bb4d67f382c4c SHA1 9347ffb21e01d9661787f0959ccbef60e92c2dcf SHA256 f1d05a3770498237e57a22c0b7a9a1a3ef0461acd3fac26db5f1842d5b0678da size 1150
MD5 927d08ce301ae5a9ecc9fd04cd84bb07 files/latex2html-convert-length.patch 1150
+RMD160 29e9c8addbc8afe3fe1409b7d74bb4d67f382c4c files/latex2html-convert-length.patch 1150
+SHA256 f1d05a3770498237e57a22c0b7a9a1a3ef0461acd3fac26db5f1842d5b0678da files/latex2html-convert-length.patch 1150
+AUX latex2html-perl_name.patch 445 RMD160 6f93bdc394f8c240542cd6a224864c3b4b27420d SHA1 3fd8480e23e3c06b8cb9876cc82a42b61e21386b SHA256 41dcf9d9b46691c34bddbae39faccbfeadf6beb2e19a4ac18af4a186758289c9 size 445
+MD5 5cc488131c048bf38a2761f5018e7507 files/latex2html-perl_name.patch 445
+RMD160 6f93bdc394f8c240542cd6a224864c3b4b27420d files/latex2html-perl_name.patch 445
+SHA256 41dcf9d9b46691c34bddbae39faccbfeadf6beb2e19a4ac18af4a186758289c9 files/latex2html-perl_name.patch 445
+DIST latex2html-2002-2-1+20041025.tar.gz 1124233 RMD160 3ee05b1016fe9aad0db45bbbda6bc76e58dc3c25 SHA256 5bb9204992d03562345a4c0371fd0f9e65e0ac0b133a91ddb4a6bdb011d2ecae size 1124233
+DIST latex2html-2002-2.tar.gz 1122586 RMD160 ad5e35c5f752b53396b041ba4454393250c05688 SHA256 ed7b1137e807d853c8e5e76fa65e00f85831ff42ca0797e3c43b42db455bd657 size 1122586
+EBUILD latex2html-2002.2.1_pre20041025-r1.ebuild 2816 RMD160 7487ee665f75832085744437936ccc1119a2f08f SHA1 40dfe77bc065b3a639ee06c42e1bedbf463ed054 SHA256 d4adddf57586226e9b2cf274193a954dfe311a62692603eff19e80b6182f8b56 size 2816
+MD5 6d8d1efccc36258a1b80c34354458f6d latex2html-2002.2.1_pre20041025-r1.ebuild 2816
+RMD160 7487ee665f75832085744437936ccc1119a2f08f latex2html-2002.2.1_pre20041025-r1.ebuild 2816
+SHA256 d4adddf57586226e9b2cf274193a954dfe311a62692603eff19e80b6182f8b56 latex2html-2002.2.1_pre20041025-r1.ebuild 2816
+EBUILD latex2html-2002.2.1_pre20041025.ebuild 2766 RMD160 d518570863d56e6fb856376f3a1c7ba2101a7ef7 SHA1 4e63f88071be5c3a04834192bcf7717c8a592875 SHA256 1247cb1df2dd862dee780874fbbe146d3a25b7782555c19a93db9b85c074442f size 2766
MD5 a21a189155bd4363b1485ff4f58b37af latex2html-2002.2.1_pre20041025.ebuild 2766
+RMD160 d518570863d56e6fb856376f3a1c7ba2101a7ef7 latex2html-2002.2.1_pre20041025.ebuild 2766
+SHA256 1247cb1df2dd862dee780874fbbe146d3a25b7782555c19a93db9b85c074442f latex2html-2002.2.1_pre20041025.ebuild 2766
+EBUILD latex2html-2002.2.ebuild 2219 RMD160 126722b931059383ebd09fd31a830d57a28b5bca SHA1 e61faf2d3c5d59cb105a2bbf449bf8dc481f8037 SHA256 82fa14e239dc62abca97515d9ed34ce29adcb54c70b867db4ef811c0dc82e57b size 2219
MD5 a4be24c80dde51dd27280edf4e3f197d latex2html-2002.2.ebuild 2219
+RMD160 126722b931059383ebd09fd31a830d57a28b5bca latex2html-2002.2.ebuild 2219
+SHA256 82fa14e239dc62abca97515d9ed34ce29adcb54c70b867db4ef811c0dc82e57b latex2html-2002.2.ebuild 2219
+MISC ChangeLog 5895 RMD160 3ab1ee14c59165c46b5354a174c72eae7935f0f9 SHA1 105ce1bf6290c2fe8d8690bb00c26dd913b0e237 SHA256 6f3345f58d830298aeac5053bfa4f85a6750c95917f5a42fd5b375fda74f1f32 size 5895
+MD5 42f74a0905e32153f15b9d1b6fb068af ChangeLog 5895
+RMD160 3ab1ee14c59165c46b5354a174c72eae7935f0f9 ChangeLog 5895
+SHA256 6f3345f58d830298aeac5053bfa4f85a6750c95917f5a42fd5b375fda74f1f32 ChangeLog 5895
+MISC metadata.xml 164 RMD160 698422e821458386b8da17baa6014296f8284e0b SHA1 a805613d38e6e3bff93cba3858d6a92cc79fe2f7 SHA256 7bd4d93c657a26aa9af1dea4232520c0d388cc92115dd9ca0eb04259228e044f size 164
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
+RMD160 698422e821458386b8da17baa6014296f8284e0b metadata.xml 164
+SHA256 7bd4d93c657a26aa9af1dea4232520c0d388cc92115dd9ca0eb04259228e044f metadata.xml 164
+MD5 f7668b3f13da504da3419967ee997ab1 files/digest-latex2html-2002.2 256
+RMD160 a2a8b2b80aa4abfa5c9921f614aa303100b5cc5c files/digest-latex2html-2002.2 256
+SHA256 3ec546434ceea2c4617c8d389d8151344b214dd5825f09c600b8fd038235aa64 files/digest-latex2html-2002.2 256
+MD5 f3494534f6b053d7cb76b50bda928892 files/digest-latex2html-2002.2.1_pre20041025 289
+RMD160 8a07874abf4feb0aed8e5d5b0587bfe4cbb479df files/digest-latex2html-2002.2.1_pre20041025 289
+SHA256 a09a68eaf0aeb211e9b394580f022c8da59a083fd1669a11bb2e2d1bdcf145f9 files/digest-latex2html-2002.2.1_pre20041025 289
+MD5 f3494534f6b053d7cb76b50bda928892 files/digest-latex2html-2002.2.1_pre20041025-r1 289
+RMD160 8a07874abf4feb0aed8e5d5b0587bfe4cbb479df files/digest-latex2html-2002.2.1_pre20041025-r1 289
+SHA256 a09a68eaf0aeb211e9b394580f022c8da59a083fd1669a11bb2e2d1bdcf145f9 files/digest-latex2html-2002.2.1_pre20041025-r1 289
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFEctlUwx9vvAARv2sRAv7AAJ0YqRPFTZKX3ChtziCZOwnLDIc7CQCgwr6L
+ojBoW3h3x4oTlY58o+VkgPo=
+=O9rT
+-----END PGP SIGNATURE-----
diff --git a/dev-tex/latex2html/files/digest-latex2html-2002.2.1_pre20041025 b/dev-tex/latex2html/files/digest-latex2html-2002.2.1_pre20041025
index f7fd488ef358..1e5d7aa72c30 100644
--- a/dev-tex/latex2html/files/digest-latex2html-2002.2.1_pre20041025
+++ b/dev-tex/latex2html/files/digest-latex2html-2002.2.1_pre20041025
@@ -1 +1,3 @@
MD5 a79cda0648c8721ab6df5020cd11e220 latex2html-2002-2-1+20041025.tar.gz 1124233
+RMD160 3ee05b1016fe9aad0db45bbbda6bc76e58dc3c25 latex2html-2002-2-1+20041025.tar.gz 1124233
+SHA256 5bb9204992d03562345a4c0371fd0f9e65e0ac0b133a91ddb4a6bdb011d2ecae latex2html-2002-2-1+20041025.tar.gz 1124233
diff --git a/dev-tex/latex2html/files/digest-latex2html-2002.2.1_pre20041025-r1 b/dev-tex/latex2html/files/digest-latex2html-2002.2.1_pre20041025-r1
new file mode 100644
index 000000000000..1e5d7aa72c30
--- /dev/null
+++ b/dev-tex/latex2html/files/digest-latex2html-2002.2.1_pre20041025-r1
@@ -0,0 +1,3 @@
+MD5 a79cda0648c8721ab6df5020cd11e220 latex2html-2002-2-1+20041025.tar.gz 1124233
+RMD160 3ee05b1016fe9aad0db45bbbda6bc76e58dc3c25 latex2html-2002-2-1+20041025.tar.gz 1124233
+SHA256 5bb9204992d03562345a4c0371fd0f9e65e0ac0b133a91ddb4a6bdb011d2ecae latex2html-2002-2-1+20041025.tar.gz 1124233
diff --git a/dev-tex/latex2html/files/latex2html-perl_name.patch b/dev-tex/latex2html/files/latex2html-perl_name.patch
new file mode 100644
index 000000000000..cc56f91437fa
--- /dev/null
+++ b/dev-tex/latex2html/files/latex2html-perl_name.patch
@@ -0,0 +1,11 @@
+--- latex2html-2002-2-1/config/config.pl 2002-11-29 12:49:01.000000000 +0100
++++ latex2html-2002-2-1/config/config.pl.new 2006-05-23 11:29:10.000000000 +0200
+@@ -617,7 +617,7 @@
+
+ # only perl gets an absolute pathname
+ my $abs_path_names = 1;
+-$newcfg{'PERL'} = &find_prog($^X); # take the perl internal executable name
++$newcfg{'PERL'} = &find_prog("perl"); # take the perl internal executable name
+ &checking('perl version');
+ &result($]);
+
diff --git a/dev-tex/latex2html/latex2html-2002.2.1_pre20041025-r1.ebuild b/dev-tex/latex2html/latex2html-2002.2.1_pre20041025-r1.ebuild
new file mode 100644
index 000000000000..e12baa659f96
--- /dev/null
+++ b/dev-tex/latex2html/latex2html-2002.2.1_pre20041025-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/latex2html-2002.2.1_pre20041025-r1.ebuild,v 1.1 2006/05/23 07:40:01 nattfodd Exp $
+
+inherit eutils
+
+BASE_PV="${PV/_*/}" # 2002.2.1_pre20041025 -> 2002.2.1
+SNAP_PV="${PV/*_pre/}" # 2002.2.1_pre20041025 -> 20041025
+
+MY_P="${PN}-${BASE_PV//./-}" # latex2html-2002-2-1
+JA_P="l2h-${BASE_PV//./-}+jp2.0" # l2h-2002-2-1+jp2.0
+
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="LATEX2HTML is a convertor written in Perl that converts LATEX documents to HTML."
+# Downloaded from:
+# http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/latex2html-2002-2-1.tar.gz
+SRC_URI="mirror://gentoo/${MY_P}+${SNAP_PV}.tar.gz"
+# linguas_ja? ( http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/data/${JA_P}.patch.gz )"
+HOMEPAGE="http://www.latex2html.org/"
+# "http://takeno.iee.niit.ac.jp/~shige/TeX/latex2html/ltx2html.html"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="gif png"
+
+DEPEND="virtual/ghostscript
+ virtual/tetex
+ media-libs/netpbm
+ dev-lang/perl
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-convert-length.patch
+ epatch ${FILESDIR}/${PN}-perl_name.patch
+}
+
+src_compile() {
+ sed -ie 's%@PERL@%/usr/bin/perl%g' wrapper/unix.pin || die
+
+ local myconf
+
+ use gif || use png || myconf="${myconf} --disable-images"
+
+ econf --libdir=/usr/lib/latex2html \
+ --shlibdir=/usr/lib/latex2html \
+ --enable-pk \
+ --enable-eps \
+ --enable-reverse \
+ --enable-pipes \
+ --enable-paths \
+ --enable-wrapper \
+ $(use_enable gif) \
+ $(use_enable png) \
+ ${myconf} || die "econf failed"
+ make || die
+ make check || die
+}
+
+src_install() {
+ dodir /usr/bin /usr/lib/latex2html /usr/share/latex2html
+ dodir /usr/share/texmf/tex/latex/html
+ cp cfgcache.pm cfgcache.pm.bak
+
+ # mktexlsr is run later to avoid a sandbox violation
+ sed \
+ -e "/BINDIR\|LIBDIR\|SHLIBDIR\|TEXPATH/s#q'/#q'"${D}"#" \
+ -e "/MKTEXLSR/s:q'.*':q'':" \
+ cfgcache.pm.bak > cfgcache.pm
+
+ make install || die
+ insinto /usr/lib/latex2html
+ newins cfgcache.pm.bak cfgcache.pm
+
+ dodoc BUGS Changes FAQ LICENSE 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"
+ einfo ${T}
+ dosed "s:${T}:/tmp:g" /usr/lib/latex2html/pstoimg.pl
+ dosed "s:${S}::g" /usr/lib/latex2html/latex2html.pl
+ dosed "s:${T}:/tmp:g" /usr/lib/latex2html/cfgcache.pm
+ dosed "s:${T}:/tmp:g" /usr/lib/latex2html/l2hconf.pm
+}
+
+pkg_postinst() {
+ einfo "Running mktexlsr to rebuild ls-R database...."
+ mktexlsr
+}
+
+pkg_postrm() {
+ einfo "Running mktexlsr to rebuild ls-R database...."
+ mktexlsr
+}