summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-11-01 00:21:22 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-11-01 00:21:22 +0000
commit8a2137197aa58a8ddd24d3f2628ea072e243f67e (patch)
tree16ee0118dadf135ee41d97d60a295682c7bb1dc1 /dev-tex/tex4ht
parentForgot to add a comment to the eclass for commit: Add distcc to RESTRICT in l... (diff)
downloadhistorical-8a2137197aa58a8ddd24d3f2628ea072e243f67e.tar.gz
historical-8a2137197aa58a8ddd24d3f2628ea072e243f67e.tar.bz2
historical-8a2137197aa58a8ddd24d3f2628ea072e243f67e.zip
version bump
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27.4 x86_64
Diffstat (limited to 'dev-tex/tex4ht')
-rw-r--r--dev-tex/tex4ht/ChangeLog8
-rw-r--r--dev-tex/tex4ht/Manifest10
-rw-r--r--dev-tex/tex4ht/tex4ht-20081030_p1336.ebuild113
3 files changed, 126 insertions, 5 deletions
diff --git a/dev-tex/tex4ht/ChangeLog b/dev-tex/tex4ht/ChangeLog
index d8cd3637bc04..455d1a15081d 100644
--- a/dev-tex/tex4ht/ChangeLog
+++ b/dev-tex/tex4ht/ChangeLog
@@ -1,6 +1,12 @@
# 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.33 2008/09/03 06:11:28 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.34 2008/11/01 00:21:22 aballier Exp $
+
+*tex4ht-20081030_p1336 (01 Nov 2008)
+
+ 01 Nov 2008; Alexis Ballier <aballier@gentoo.org>
+ +tex4ht-20081030_p1336.ebuild:
+ version bump
03 Sep 2008; Alexis Ballier <aballier@gentoo.org>
-tex4ht-20080829_p0203.ebuild:
diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest
index f8188c1acf1b..ec6eca5db58f 100644
--- a/dev-tex/tex4ht/Manifest
+++ b/dev-tex/tex4ht/Manifest
@@ -5,15 +5,17 @@ AUX 50tex4ht.cnf 192 RMD160 5b1858ef986eee4d9cc353e2147bee99938d7529 SHA1 6e7e56
DIST tex4ht-1.0.2007_10_24_0140.tar.gz 1946502 RMD160 3a6b35425c33c4430ab2ac344544bceb91ed7a9f SHA1 e4d2268aef585332b691ab14dfbda8c557610ac5 SHA256 e71b45195dc66d261b26ceb44a88890d4e87bdbebeaa0ca1f1ec10d55e4d0a44
DIST tex4ht-1.0.2008_08_07_1635.tar.gz 2466688 RMD160 00abfd8c615bf1bb20b2fd342652da101133620c SHA1 f90708fa0f3312f4cc9836a169babb525334a853 SHA256 049304574cc8da234eced1396ea4f27abd3e2ff6067070618db855268fa4c182
DIST tex4ht-1.0.2008_09_02_1753.tar.gz 2501246 RMD160 4cf4dd38c267cbc7f9b52781f3da4874245dcd40 SHA1 65b2d6986e4c135c4f676ce83c4868dde1b47efb SHA256 dd6cbde0ba9b4e395d8c0c32f35b2e81042ffa365352b112363f143b81d510eb
+DIST tex4ht-1.0.2008_10_30_1336.tar.gz 2513275 RMD160 97dbfe5827dff6fef75067b8e3ecc8f08a29bc31 SHA1 62366eb9eb9da48995900a428a5b042890ead3e2 SHA256 a4e69911cf0e411b9de0431e38da746eeca83e4f3e18e7a50c0fd4ccec96fcda
EBUILD tex4ht-20071024_p0140.ebuild 3283 RMD160 67d5e810196ac27179ff573ccf1985bd8a47b5dd SHA1 bd8f73410997c65a52eea188fc255ca8c4994d25 SHA256 acc9d8e1b22b048872de4060f0f35534402d4dd70f418896d98960ebfe32ba15
EBUILD tex4ht-20080807_p1635.ebuild 3352 RMD160 ba62e7f3f8936e94c1307ed0d884c9f4080a82fb SHA1 55cb27dd5bb28c1438114e6a0ad35e90dad995fa SHA256 db63f7dda4aaf50f41e6feebf2769d78807621aae207822bba65eda416c20c8c
EBUILD tex4ht-20080902_p1753.ebuild 3352 RMD160 f0eff8af54a205e67bab180b8bb033a732100c75 SHA1 d1b39d9437b7ff9b127a49b95eaeeea423e23eba SHA256 984d2a5b159d7bd6c88a962084b6094f68bdc31fe6888f78c1e3eb316fd6f385
-MISC ChangeLog 5105 RMD160 d14acf307175cad4a34ed4084fe676e7eef08a9c SHA1 fe9ae7167001d52237af5b1f629fbfd9d10659c5 SHA256 1b6b07e99d5a80e9ebd1a8b898a32d7398c44f7a1a3851431162b5890b7215ab
+EBUILD tex4ht-20081030_p1336.ebuild 3352 RMD160 4576e09ebc84bf04a88d37d578e48881414b9ae0 SHA1 14d59c7cf58a3d65650f09892dfdd9d0aa25d869 SHA256 3f9783035f7816ff0d4b9aef50b11b8be0b4446fc6dcded08cc80d0d0f34f99e
+MISC ChangeLog 5244 RMD160 80a6ed9e9e2c6492f65ac2995a5c8398ad1c2141 SHA1 b277edc7a16745f6d315845a06030dc94c998228 SHA256 0580f20a480b07e89d7d75b830c93b8e8fabd21923ed10fecbc367602f0ad6c4
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAki+KpcACgkQvFcC4BYPU0rOkwCgvPvkw1Zle9K+oGf+KT0UV87D
-p/QAoI3JaDmfpedujFJoYclpAUZ1fiC9
-=g35O
+iEYEARECAAYFAkkLoQkACgkQvFcC4BYPU0r64gCgotfmUyGdBkhI7vRlYi30mtDm
+svwAn3MAs4OKv9cP5cEsQBjz1NgcNQjs
+=ii9i
-----END PGP SIGNATURE-----
diff --git a/dev-tex/tex4ht/tex4ht-20081030_p1336.ebuild b/dev-tex/tex4ht/tex4ht-20081030_p1336.ebuild
new file mode 100644
index 000000000000..3f4492867aa6
--- /dev/null
+++ b/dev-tex/tex4ht/tex4ht-20081030_p1336.ebuild
@@ -0,0 +1,113 @@
+# 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-20081030_p1336.ebuild,v 1.1 2008/11/01 00:21:22 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/ht/unix/ht" "${S}/bin/ht/unix/ht.tex4ht" || die
+}
+
+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/ht/unix/* || die
+ dobin "${S}"/bin/unix/mk4ht || die
+
+ # install the .4ht scripts
+ insinto /usr/share/texmf/tex/generic/tex4ht
+ doins "${S}"/texmf/tex/generic/tex4ht/* || die
+
+ # install the special htf fonts
+ insinto /usr/share/texmf/tex4ht
+ doins -r "${S}/texmf/tex4ht/ht-fonts" || die
+
+ 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" || die
+
+ # install the env file
+ insinto /usr/share/texmf/tex4ht/base
+ newins "${S}/texmf/tex4ht/base/unix/tex4ht.env" tex4ht.env || die
+
+ 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'"
+}