ChangeLog

# ChangeLog for dev-tex/tex4ht
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.26 2008/05/12 12:25:15 aballier Exp $

*tex4ht-20080510_p2222 (12 May 2008)

12 May 2008; Alexis Ballier
+tex4ht-20080510_p2222.ebuild:
version bump

16 Mar 2008; Santiago M. Mola
tex4ht-20071024_p0140.ebuild:
amd64 stable wrt bug #208763

*tex4ht-20080125_p0949 (10 Feb 2008)

10 Feb 2008; Alexis Ballier
+tex4ht-20080125_p0949.ebuild:
version bump and keyword ~x86-fbsd

10 Feb 2008; Alexis Ballier
-tex4ht-20050406_p1623-r1.ebuild, -tex4ht-20050701_p1825.ebuild:
remove old

09 Feb 2008; Brent Baude tex4ht-20071024_p0140.ebuild:
Marking tex4ht-20071024_p0140 ppc64 for bug 208763

08 Feb 2008; Tobias Scherbaum
tex4ht-20071024_p0140.ebuild:
ppc stable, bug #208763

07 Feb 2008; Raúl Porcel
tex4ht-20071024_p0140.ebuild:
alpha/ia64 stable wrt #208763

05 Feb 2008; Ferris McCormick
tex4ht-20071024_p0140.ebuild:
Sparc stable --- Bug #208763 --- required for texlive.

04 Feb 2008; Jeroen Roovers tex4ht-20071024_p0140.ebuild:
Stable for HPPA (bug #208763).

03 Feb 2008; Christian Faulhammer
tex4ht-20071024_p0140.ebuild:
stable x86, bug 208763

18 Dec 2007; Jeroen Roovers tex4ht-20071024_p0140.ebuild:
Marked ~hppa (bug #195815).

06 Nov 2007; Markus Rothe
tex4ht-20071024_p0140.ebuild:
Added ~ppc64; bug #197543

01 Nov 2007; Raúl Porcel
tex4ht-20071024_p0140.ebuild:
Add ~alpha/~ia64 wrt #197543

30 Oct 2007; Alexis Ballier
tex4ht-20050406_p1623-r1.ebuild, tex4ht-20050701_p1825.ebuild:
quote variables

*tex4ht-20071024_p0140 (30 Oct 2007)

30 Oct 2007; Alexis Ballier
+tex4ht-20071024_p0140.ebuild:
version bump, bug #153028, thanks to Gerard Vermeulen for the ebuild and
wltjr for the help with java

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

09 Feb 2007; Diego Pettenò ChangeLog:
Regenerate digest in Manifest2 format.

15 Nov 2005; Gustavo Zacarias
tex4ht-20050406_p1623-r1.ebuild:
Stable on sparc

14 Oct 2005; Gustavo Zacarias
tex4ht-20050406_p1623-r1.ebuild, tex4ht-20050701_p1825.ebuild:
Keyworded ~sparc

24 Aug 2005; Leonardo Boshell
-tex4ht-20040212.ebuild, tex4ht-20050406_p1623-r1.ebuild,
tex4ht-20050701_p1825.ebuild:
Modified calls to 'cp -a' as described on bug #103487.

*tex4ht-20050701_p1825 (02 Jul 2005)

02 Jul 2005; Mamoru KOMACHI
-tex4ht-20050406_p1623.ebuild, tex4ht-20050406_p1623-r1,
+tex4ht-20050701_p1825.ebuild:
Version bumped. This closes bug #97099.

*tex4ht-20050406_p1623-r1 (09 Apr 2005)

09 Apr 2005; Mamoru KOMACHI +files/50tex4ht.cnf,
+tex4ht-20050406_p1623-r1.ebuild:
Added 50tex4ht.cnf. This closes bug #76864. Thanks to Stefan
Kamphausen .

*tex4ht-20050406_p1623 (07 Apr 2005)

07 Apr 2005; Mamoru KOMACHI
-tex4ht-20050331_p2350.ebuild, +tex4ht-20050406_p1623.ebuild:
Added new snapshot and mirror it on Gentoo distfiles server.
This closes bug #88083.

*tex4ht-20050331_p2350 (02 Apr 2005)

02 Apr 2005; Mamoru KOMACHI
+tex4ht-20050331_p2350.ebuild:
Version bumped. Thanks to Martin Diers ; bug #85301.

31 Aug 2004; David Holm tex4ht-20040212.ebuild:
Added to ~ppc.

*tex4ht-20040212 (19 Aug 2004)

19 Aug 2004; Mamoru KOMACHI +metadata.xml,
+tex4ht-20040212.ebuild:
Initial import. Thanks to Maarten Wisse
and Richard Seymour for providing an ebuild. This closes
bug #33259.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX 50tex4ht.cnf 192 RMD160 5b1858ef986eee4d9cc353e2147bee99938d7529 SHA1 6e7e561eb5bbf86dcd32b058e55cd5947e59e783 SHA256 5c9659aad7091b763e4a1363d78629a1ad8e1fe5ba679c151b95c69f4de9d9c1
DIST tex4ht-1.0.2007_10_24_0140.tar.gz 1946502 RMD160 3a6b35425c33c4430ab2ac344544bceb91ed7a9f SHA1 e4d2268aef585332b691ab14dfbda8c557610ac5 SHA256 e71b45195dc66d261b26ceb44a88890d4e87bdbebeaa0ca1f1ec10d55e4d0a44
DIST tex4ht-1.0.2008_01_25_0949.tar.gz 1904620 RMD160 b7470ef3946f8744ca36025a6ab8da6c91020dde SHA1 2c66cffaa8f96b57f86a6de8172ff43bee47c04c SHA256 0c15f2344d2dac06ac2af62a494163800e3bd5abf382a082604738ba95e93176
DIST tex4ht-1.0.2008_05_10_2222.tar.gz 1909827 RMD160 9173ae16caa67392573f98dc32b5d4d3617dc1f8 SHA1 13b0957333d0f0c3a10fc155386ba4a1367d260a SHA256 97554515223330ae2bd091d595f01669603cbd8e3932e97dbeea1bb9bfa12461
EBUILD tex4ht-20071024_p0140.ebuild 3283 RMD160 67d5e810196ac27179ff573ccf1985bd8a47b5dd SHA1 bd8f73410997c65a52eea188fc255ca8c4994d25 SHA256 acc9d8e1b22b048872de4060f0f35534402d4dd70f418896d98960ebfe32ba15
EBUILD tex4ht-20080125_p0949.ebuild 3300 RMD160 ba56732f41ad9cb0378f52e91990312338f28864 SHA1 475032aaeeafd5965260c22ae35bc10a1fadb956 SHA256 9ac29890477671646143dd5dc653ffd7e3dcaf2f682dddcd53b2f60148208315
EBUILD tex4ht-20080510_p2222.ebuild 3265 RMD160 bd4fd12cb011f5a2148e46eb9cff35f1f7deaf1d SHA1 7df9e4c9d4f57ceed2d78c6b95cb95ce4e92aa4a SHA256 35d03d997e2f91a16cbc9e899957ea56a89956f7b683f01f2b0e6762dfabe7d9
MISC ChangeLog 4162 RMD160 b06433966582ed1c67cfb6d9fada3c33b8ac1cb5 SHA1 d5d8d85cbf63e66da18a516a7cf91f94390ae03a SHA256 4bae71484277e1908529895328811948dc308a0a6d859e74c64c8c256ce33103
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkgoNzYACgkQvFcC4BYPU0pPiwCcDIvEQW2Rfpv/vpOAALVPRHaZ
OAIAoJhlvJebpYE4S/8yvF9P2xLFkYOi
=lTNX
-----END PGP SIGNATURE-----

files

metadata.xml




tex

tex4ht-20071024_p0140.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20071024_p0140.ebuild,v 1.11 2008/03/16 14:37:00 coldwind Exp $

inherit latex-package toolchain-funcs java-pkg-opt-2

IUSE=""

# tex4ht-20050331_p2350 -> tex4ht-1.0.2005_03_31_2350
MY_P="${PN}-1.0.${PV:0:4}_${PV:4:2}_${PV:6:2}_${PV/*_p/}"

DESCRIPTION="Converts (La)TeX to (X)HTML, XML and OO.org"
HOMEPAGE="http://www.cse.ohio-state.edu/~gurari/TeX4ht/
http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html"
SRC_URI="http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/${MY_P}.tar.gz"

LICENSE="LPPL-1.2"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
SLOT="0"

DEPEND=">=sys-apps/sed-4
java? ( >=virtual/jdk-1.5 )"

RDEPEND="virtual/ghostscript
media-gfx/imagemagick
java? ( >=virtual/jre-1.5 )"

IUSE="java"

S="${WORKDIR}/${MY_P}"

src_unpack() {
unpack ${A}
cd "${S}/texmf/tex4ht/base/unix"
sed -i -e \
's#~/tex4ht.dir#/usr/share#' tex4ht.env || die
sed -i -e \
's#tpath/tex/texmf/fonts/tfm/!#t/usr/share/texmf/fonts/tfm/!\nt/usr/local/share/texmf/fonts/tfm/!\nt/var/cache/fonts/tfm/!#' tex4ht.env || die
sed -i -e \
's#%%~/texmf-dist#/usr/share/texmf#g' tex4ht.env || die

einfo "Removing precompiled java stuff"
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -print -delete

# Rename ht script to avoid collisions with app-editors/hteditor
# Bug #197213
mv "${S}/bin/unix/ht" "${S}/bin/unix/ht.tex4ht"
}

src_compile() {
cd "${S}/src/"
einfo "Compiling postprocessor sources..."
for f in tex4ht t4ht htcmd ; do
$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $f $f.c \
-DENVFILE='"/usr/share/texmf/tex4ht/base/tex4ht.env"' \
-DHAVE_DIRENT_H -DKPATHSEA -lkpathsea \
|| die "Compiling $f failed"
done
if use java; then
einfo "Compiling java files..."
cd java
ejavac *.java */*.java */*/*.java -d ../../texmf/tex4ht/bin
cd "${S}/texmf/tex4ht/bin"
# Create the jar needed by oolatex
jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
fi
}

src_install () {
# install the binaries
dobin "${S}/src/tex4ht" "${S}/src/t4ht" "${S}/src/htcmd"
# install the scripts
if ! use java; then
rm -f "${S}"/bin/unix/oo*
rm -f "${S}"/bin/unix/jh*
fi
dobin "${S}"/bin/unix/*

# install the .4ht scripts
insinto /usr/share/texmf/tex/generic/tex4ht
doins "${S}"/texmf/tex/generic/tex4ht/*

# install the special htf fonts
insinto /usr/share/texmf/tex4ht
doins -r "${S}/texmf/tex4ht/ht-fonts"

if use java; then
# install the java files
doins -r "${S}/texmf/tex4ht/bin"
java-pkg_jarinto /usr/share/texmf/tex4ht/bin
java-pkg_dojar "${S}/${PN}.jar"
fi

# install the .4xt files
doins -r "${S}/texmf/tex4ht/xtpipes"
doins -r "${S}/texmf/tex4ht/xttl"

# install the env file
insinto /usr/share/texmf/tex4ht/base
newins "${S}/texmf/tex4ht/base/unix/tex4ht.env" tex4ht.env

if latex-package_has_tetex_3 ; then
insinto /etc/texmf/texmf.d
doins "${FILESDIR}/50tex4ht.cnf" || die
fi
}

pkg_postinst() {
use java || elog 'ODF converters (oolatex & friends) require the java use flag'
latex-package_pkg_postinst
elog "In order to avoid collisions with app-editors/hteditor"
elog "The helper script 'ht' has been renamed to 'ht.tex4ht'"
}

tex4ht-20080125_p0949.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20080125_p0949.ebuild,v 1.1 2008/02/10 12:35:01 aballier Exp $

inherit latex-package toolchain-funcs java-pkg-opt-2

IUSE=""

# tex4ht-20050331_p2350 -> tex4ht-1.0.2005_03_31_2350
MY_P="${PN}-1.0.${PV:0:4}_${PV:4:2}_${PV:6:2}_${PV/*_p/}"

DESCRIPTION="Converts (La)TeX to (X)HTML, XML and OO.org"
HOMEPAGE="http://www.cse.ohio-state.edu/~gurari/TeX4ht/
http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html"
SRC_URI="http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/${MY_P}.tar.gz"

LICENSE="LPPL-1.2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SLOT="0"

DEPEND=">=sys-apps/sed-4
java? ( >=virtual/jdk-1.5 )"

RDEPEND="virtual/ghostscript
media-gfx/imagemagick
java? ( >=virtual/jre-1.5 )"

IUSE="java"

S="${WORKDIR}/${MY_P}"

src_unpack() {
unpack ${A}
cd "${S}/texmf/tex4ht/base/unix"
sed -i -e \
's#~/tex4ht.dir#/usr/share#' tex4ht.env || die
sed -i -e \
's#tpath/tex/texmf/fonts/tfm/!#t/usr/share/texmf/fonts/tfm/!\nt/usr/local/share/texmf/fonts/tfm/!\nt/var/cache/fonts/tfm/!#' tex4ht.env || die
sed -i -e \
's#%%~/texmf-dist#/usr/share/texmf#g' tex4ht.env || die

einfo "Removing precompiled java stuff"
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -print -delete

# Rename ht script to avoid collisions with app-editors/hteditor
# Bug #197213
mv "${S}/bin/unix/ht" "${S}/bin/unix/ht.tex4ht"
}

src_compile() {
cd "${S}/src/"
einfo "Compiling postprocessor sources..."
for f in tex4ht t4ht htcmd ; do
$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $f $f.c \
-DENVFILE='"/usr/share/texmf/tex4ht/base/tex4ht.env"' \
-DHAVE_DIRENT_H -DKPATHSEA -lkpathsea \
|| die "Compiling $f failed"
done
if use java; then
einfo "Compiling java files..."
cd java
ejavac *.java */*.java */*/*.java -d ../../texmf/tex4ht/bin
cd "${S}/texmf/tex4ht/bin"
# Create the jar needed by oolatex
jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
fi
}

src_install () {
# install the binaries
dobin "${S}/src/tex4ht" "${S}/src/t4ht" "${S}/src/htcmd"
# install the scripts
if ! use java; then
rm -f "${S}"/bin/unix/oo*
rm -f "${S}"/bin/unix/jh*
fi
dobin "${S}"/bin/unix/*

# install the .4ht scripts
insinto /usr/share/texmf/tex/generic/tex4ht
doins "${S}"/texmf/tex/generic/tex4ht/*

# install the special htf fonts
insinto /usr/share/texmf/tex4ht
doins -r "${S}/texmf/tex4ht/ht-fonts"

if use java; then
# install the java files
doins -r "${S}/texmf/tex4ht/bin"
java-pkg_jarinto /usr/share/texmf/tex4ht/bin
java-pkg_dojar "${S}/${PN}.jar"
fi

# install the .4xt files
doins -r "${S}/texmf/tex4ht/xtpipes"
doins -r "${S}/texmf/tex4ht/xttl"

# install the env file
insinto /usr/share/texmf/tex4ht/base
newins "${S}/texmf/tex4ht/base/unix/tex4ht.env" tex4ht.env

if latex-package_has_tetex_3 ; then
insinto /etc/texmf/texmf.d
doins "${FILESDIR}/50tex4ht.cnf" || die
fi
}

pkg_postinst() {
use java || elog 'ODF converters (oolatex & friends) require the java use flag'
latex-package_pkg_postinst
elog "In order to avoid collisions with app-editors/hteditor"
elog "The helper script 'ht' has been renamed to 'ht.tex4ht'"
}

tex4ht-20080510_p2222.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20080510_p2222.ebuild,v 1.1 2008/05/12 12:25:15 aballier Exp $

inherit latex-package toolchain-funcs java-pkg-opt-2

IUSE=""

# tex4ht-20050331_p2350 -> tex4ht-1.0.2005_03_31_2350
MY_P="${PN}-1.0.${PV:0:4}_${PV:4:2}_${PV:6:2}_${PV/*_p/}"

DESCRIPTION="Converts (La)TeX to (X)HTML, XML and OO.org"
HOMEPAGE="http://www.cse.ohio-state.edu/~gurari/TeX4ht/
http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html"
SRC_URI="http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/${MY_P}.tar.gz"

LICENSE="LPPL-1.2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SLOT="0"

DEPEND=">=sys-apps/sed-4
java? ( >=virtual/jdk-1.5 )"

RDEPEND="virtual/ghostscript
media-gfx/imagemagick
java? ( >=virtual/jre-1.5 )"

IUSE="java"

S="${WORKDIR}/${MY_P}"

src_unpack() {
unpack ${A}
cd "${S}/texmf/tex4ht/base/unix"
sed -i -e \
's#~/tex4ht.dir#/usr/share#' tex4ht.env || die
sed -i -e \
's#tpath/tex/texmf/fonts/tfm/!#t/usr/share/texmf/fonts/tfm/!\nt/usr/local/share/texmf/fonts/tfm/!\nt/var/cache/fonts/tfm/!#' tex4ht.env || die
sed -i -e \
's#%%~/texmf-dist#/usr/share/texmf#g' tex4ht.env || die

einfo "Removing precompiled java stuff"
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -print -delete

# Rename ht script to avoid collisions with app-editors/hteditor
# Bug #197213
mv "${S}/bin/unix/ht" "${S}/bin/unix/ht.tex4ht"
}

src_compile() {
cd "${S}/src/"
einfo "Compiling postprocessor sources..."
for f in tex4ht t4ht htcmd ; do
$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $f $f.c \
-DENVFILE='"/usr/share/texmf/tex4ht/base/tex4ht.env"' \
-DHAVE_DIRENT_H -DKPATHSEA -lkpathsea \
|| die "Compiling $f failed"
done
if use java; then
einfo "Compiling java files..."
cd java
ejavac *.java */*.java */*/*.java -d ../../texmf/tex4ht/bin
cd "${S}/texmf/tex4ht/bin"
# Create the jar needed by oolatex
jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
fi
}

src_install () {
# install the binaries
dobin "${S}/src/tex4ht" "${S}/src/t4ht" "${S}/src/htcmd"
# install the scripts
if ! use java; then
rm -f "${S}"/bin/unix/oo*
rm -f "${S}"/bin/unix/jh*
fi
dobin "${S}"/bin/unix/*

# install the .4ht scripts
insinto /usr/share/texmf/tex/generic/tex4ht
doins "${S}"/texmf/tex/generic/tex4ht/*

# install the special htf fonts
insinto /usr/share/texmf/tex4ht
doins -r "${S}/texmf/tex4ht/ht-fonts"

if use java; then
# install the java files
doins -r "${S}/texmf/tex4ht/bin"
java-pkg_jarinto /usr/share/texmf/tex4ht/bin
java-pkg_dojar "${S}/${PN}.jar"
fi

# install the .4xt files
doins -r "${S}/texmf/tex4ht/xtpipes"

# install the env file
insinto /usr/share/texmf/tex4ht/base
newins "${S}/texmf/tex4ht/base/unix/tex4ht.env" tex4ht.env

if latex-package_has_tetex_3 ; then
insinto /etc/texmf/texmf.d
doins "${FILESDIR}/50tex4ht.cnf" || die
fi
}

pkg_postinst() {
use java || elog 'ODF converters (oolatex & friends) require the java use flag'
latex-package_pkg_postinst
elog "In order to avoid collisions with app-editors/hteditor"
elog "The helper script 'ht' has been renamed to 'ht.tex4ht'"
}