ChangeLog

# ChangeLog for dev-tex/latex2html
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/ChangeLog,v 1.41 2007/10/14 21:43:06 aballier Exp $

14 Oct 2007; Alexis Ballier
latex2html-2002.2.1_pre20041025-r1.ebuild:
virtual/tetex -> virtual/latex-base

14 Oct 2007; Alexis Ballier
latex2html-2002.2.1_pre20041025-r1.ebuild:
variable quoting

14 Oct 2007; Alexis Ballier
-latex2html-2002.2.ebuild, -latex2html-2002.2.1_pre20041025.ebuild:
remove old versions

11 Apr 2007; Jeroen Roovers
latex2html-2002.2.1_pre20041025-r1.ebuild:
Stable for HPPA too.

12 Mar 2007; Alexandre Buisse metadata.xml:
Replaced text-markup by tex as maintaining herd (text-markup split).

04 Mar 2007; Olivier Crête
latex2html-2002.2.1_pre20041025-r1.ebuild:
Stable on amd64

20 Oct 2006; Bryan Østergaard
latex2html-2002.2.1_pre20041025-r1.ebuild:
Stable on Alpha.

03 Sep 2006; Michael Hanselmann
latex2html-2002.2.1_pre20041025-r1.ebuild:
Stable on ppc.

30 Aug 2006; Gustavo Zacarias
latex2html-2002.2.1_pre20041025-r1.ebuild:
Stable on sparc

24 Aug 2006; Markus Rothe
latex2html-2002.2.1_pre20041025-r1.ebuild:
Stable on ppc64

16 Jul 2006; Tobias Scherbaum
latex2html-2002.2.1_pre20041025.ebuild:
hppa stable, bug #139612

07 Jul 2006; Diego Pettenò
latex2html-2002.2.1_pre20041025-r1.ebuild:
Add ~x86-fbsd keyword.

02 Jun 2006; Martin Ehmsen
+files/latex2html-extract-major-version.patch,
latex2html-2002.2.1_pre20041025-r1.ebuild:
Fixed the extraction of netpbms major verions number in config/config.pl,
bug #122927.

*latex2html-2002.2.1_pre20041025-r1 (23 May 2006)

23 May 2006; Alexandre Buisse
+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
latex2html-2002.2.1_pre20041025.ebuild:
Added ~hppa

09 Mar 2006; Martin Ehmsen
latex2html-2002.2.1_pre20041025.ebuild:
Removed INSTALL from dodoc, found by QA script.

21 Feb 2006; Alexandre Buisse
+files/latex2html-convert-length.patch, latex2html-2002.2.ebuild,
latex2html-2002.2.1_pre20041025.ebuild:
Corrects a warning (possibly an error with some perl versions) in make check
(bug #122927).

02 Oct 2005; Aron Griffis
latex2html-2002.2.1_pre20041025.ebuild:
Mark 2002.2.1_pre20041025 stable on ia64

26 Aug 2005; Aron Griffis
latex2html-2002.2.1_pre20041025.ebuild:
add ~ia64

04 Jun 2005; Mamoru KOMACHI latex2html-2002.2.ebuild,
latex2html-2002.2.1_pre20041025.ebuild:
Removed libungif dep; bug #94946.

21 Apr 2005; Michael Hanselmann
latex2html-2002.2.1_pre20041025.ebuild:
Stable on ppc.

08 Apr 2005; Markus Rothe
latex2html-2002.2.1_pre20041025.ebuild:
Stable on ppc64

01 Apr 2005; Simon Stelling
latex2html-2002.2.1_pre20041025.ebuild:
stable on amd64

19 Mar 2005; Bryan Østergaard
latex2html-2002.2.1_pre20041025.ebuild:
Stable on alpha.

24 Feb 2005; Gustavo Zacarias
latex2html-2002.2.1_pre20041025.ebuild:
Stable on sparc

12 Feb 2005; Mamoru KOMACHI
latex2html-2002.2.1_pre20041025.ebuild:
Don't hardcode perl version to /usr/bin/latex2html; bug #80468.

10 Feb 2005; Mamoru KOMACHI
-latex2html-2002.2.1_pre20040108.ebuild,
latex2html-2002.2.1_pre20041025.ebuild:
Stable on x86.

*latex2html-2002.2.1_pre20041025 (19 Nov 2004)

19 Nov 2004; Mamoru KOMACHI -latex2html-2002.1.ebuild,
+latex2html-2002.2.1_pre20041025.ebuild:
Added new snapshot.

23 Jul 2004; Tom Gall latex2html-2002.2.ebuild:
stable on ppc64, bug #57657

18 May 2004; Ferris McCormick
latex2html-2002.2.1_pre20040108.ebuild:
Add ~sparc keyword; It's working well for me.

25 Apr 2004; Aron Griffis latex2html-2002.1.ebuild,
latex2html-2002.2.ebuild:
Add die following econf for bug 48950

*latex2html-2002.2.1_pre20040108 (24 Apr 2004)

24 Apr 2004; Mamoru KOMACHI latex2html-2002.2.1.ebuild,
latex2html-2002.2.1_pre20040108.ebuild:
Changed ebuild's name to reflect the date of snapshot.
Should fix bug #48682

17 Apr 2004; Daniel Ahlberg latex2html-2002.2.1.ebuild:
Added amd64 keyword.

09 Feb 2004; Dylan Carlson latex2html-2002.2.ebuild:
added amd64 keyword.

10 Dec 2003; Mamoru KOMACHI :
Fixed digest mismatch (Upstream releases different sources with the
same name...)

09 Dec 2003; Heinrich Wendel latex2html-2002.1.ebuild,
latex2html-2002.2.1.ebuild, latex2html-2002.2.ebuild:
changed app-text/ghostscript to virtual/ghostscript

*latex2html-2002.2.1 (08 Dec 2003)

08 Dec 2003; Mamoru KOMACHI latex2html-2002.1.ebuild,
latex2html-2002.2.1.ebuild:
Version bumped

*latex2html-2002.2 (08 Nov 2002)

16 Oct 2003; Mamoru KOMACHI latex2html-2002.1.ebuild,
latex2html-2002.2.ebuild:
Changed app-text/tetex to virtual/tetex.

10 Mar 2003; Aron Griffis latex2html-2002.2.ebuild:
Mark stable on alpha

16 Jan 2003; Seemant Kulleen latex2html-2002.2.ebuild :

Removed dependency on supersed and employed dosed instead (thanks jrray!).
Closes bug #13899 by vapier@gentoo.org (SpanKY)

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

08 Nov 2002; Seemant Kulleen latex2html-2002.2.ebuild
files/digest-latex2html-2002.2.ebuild :

Version bump, and fixed the problem in bug #10446 reported by:
twanger@bluetwanger.de (Markus Bertheau)

*latex2html-2002.1 (18 Jun 2002)

22 Apr 2003; Brandon Low latex2html-2002.1.ebuild:
Change supersed dependencies

2 Aug 2002; phoen][x latex2html-2002.ebuild :
Added LICENSE, SLOT.

2 Aug 2002; phoen][x latex2html-2002.1.ebuild :
Added LICENSE, SLOT.

15 Jul 2002; Owen Stampflee :

Added KEYWORDS.

18 Jun 2002; Dan Armak ChangeLog :

New version (2002-1). Also fixes #3437 (fail on missing /usr/share/latex2html
dir). Thanks a lot to Ben Cornett for the submission.

*latex2html-2002 (27 Apr 2002)

27 Apr 2002; Seemant Kulleen latex2html-2002.ebuild
files/digest-latex2html-2002 :

Version bump.

*latex2html-2000.1b (1 Feb 2002)

2 Aug 2002; phoen][x latex2html-2000.1b.ebuild :
Added LICENSE, SLOT.

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX latex2html-convert-length.patch 1150 RMD160 29e9c8addbc8afe3fe1409b7d74bb4d67f382c4c SHA1 9347ffb21e01d9661787f0959ccbef60e92c2dcf SHA256 f1d05a3770498237e57a22c0b7a9a1a3ef0461acd3fac26db5f1842d5b0678da
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-2002-2-1+20041025.tar.gz 1124233 RMD160 3ee05b1016fe9aad0db45bbbda6bc76e58dc3c25 SHA1 386be87f40ccdd77d4ff9621e05551f00e4d16c8 SHA256 5bb9204992d03562345a4c0371fd0f9e65e0ac0b133a91ddb4a6bdb011d2ecae
EBUILD latex2html-2002.2.1_pre20041025-r1.ebuild 2906 RMD160 94b64452b903ce501ccbe5dcdc15c26bf003c62d SHA1 3d9304e87519981c6add4cbca9379b196e31ddd8 SHA256 910425e3066cf570bab80ce819762be48b31c36480a3cd92badd65bf9be8ce2d
MISC ChangeLog 7614 RMD160 5b3fa9c57ea11e77a92effdb9d8491400e993577 SHA1 6809262dad56cf51dd12cd401e95328e314f8711 SHA256 ee5493f1f5f9174d6c342766efc7b5fb27ab4fe89bec4a5c7312dc73ac1e1359
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6

files

latex2html-2002.2.1_pre20041025-r1.ebuild

# Copyright 1999-2007 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.15 2007/10/14 21:43:06 aballier 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="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"

LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="gif png"

DEPEND="virtual/ghostscript
virtual/latex-base
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" || die
epatch "${FILESDIR}/${PN}-perl_name.patch" || die
epatch "${FILESDIR}/${PN}-extract-major-version.patch" || die
}

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
}

metadata.xml




tex