summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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-20090513_p1511.ebuild113
3 files changed, 126 insertions, 5 deletions
diff --git a/dev-tex/tex4ht/ChangeLog b/dev-tex/tex4ht/ChangeLog
index c5c97d5befe6..9547ca63e9b2 100644
--- a/dev-tex/tex4ht/ChangeLog
+++ b/dev-tex/tex4ht/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tex/tex4ht
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.49 2009/05/14 08:47:22 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.50 2009/05/14 08:57:34 aballier Exp $
+
+*tex4ht-20090513_p1511 (14 May 2009)
+
+ 14 May 2009; Alexis Ballier <aballier@gentoo.org>
+ +tex4ht-20090513_p1511.ebuild:
+ version bump
14 May 2009; Alexis Ballier <aballier@gentoo.org>
-tex4ht-20090115_p0029.ebuild, -tex4ht-20090223_p2217.ebuild:
diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest
index 7830e1e5ab80..b16eabe333cd 100644
--- a/dev-tex/tex4ht/Manifest
+++ b/dev-tex/tex4ht/Manifest
@@ -4,14 +4,16 @@ Hash: SHA1
AUX 50tex4ht.cnf 192 RMD160 5b1858ef986eee4d9cc353e2147bee99938d7529 SHA1 6e7e561eb5bbf86dcd32b058e55cd5947e59e783 SHA256 5c9659aad7091b763e4a1363d78629a1ad8e1fe5ba679c151b95c69f4de9d9c1
DIST tex4ht-1.0.2008_11_03_0302.tar.gz 2516092 RMD160 c0241500e36acbec6c98c11045d79e4f430571bb SHA1 80eaac979b9e5925467a3919233e7a2904bc05b5 SHA256 a2eebdf464a7c6a6f6e3907bb3f3249f2425591be5089ff995b56ad9785e0ae3
DIST tex4ht-1.0.2009_04_28_1436.tar.gz 2576236 RMD160 e6079519584f508486194bb1cff034775cef76a4 SHA1 91fcfa9b656e5c41d656e9f7a4207d106dcab97a SHA256 a56f728d69427496c9cef31b79aa4e4e639a49e4b6266e51ace1b019836af4f6
+DIST tex4ht-1.0.2009_05_13_1511.tar.gz 2575254 RMD160 5ee0775befa633645e987e50e491789ddd3da75c SHA1 2a14cce707b1cd412f81fc77a1f295abd05d4f00 SHA256 a87e0be8e6bc7ee119984755e943d2ab323d326b449c52f8fe1f2fd01df0574a
EBUILD tex4ht-20081103_p0302.ebuild 3355 RMD160 d1a735b139b105b476eba66ced8386380a6f611d SHA1 9a90bb929b267969a6dc1c0c19a98be498b2ed73 SHA256 1f85e7cda5c0815bcf718cf75f888e6469282f060eca2290bc3f54b62ac54b14
EBUILD tex4ht-20090428_p1436.ebuild 3367 RMD160 8eeddf0e4bc82f4c8d943cb46af17d32eab58065 SHA1 75b59766cf646d63ee45a1d7055ff495711bf236 SHA256 6fdb9790b879ae769471a94847ddb7e60c368e44acd3de8874e42ded1f8496d4
-MISC ChangeLog 7171 RMD160 9d7133e1d5e0b18be81dcfe0b44ebc603d1c0e8d SHA1 b23b9498cdf753842205c2239af5bd09a6949c50 SHA256 4e089353291a80c879bc83f96922357a0aea0eb577b1dbb0c224a9f2217520dc
+EBUILD tex4ht-20090513_p1511.ebuild 3367 RMD160 bca89d791dc880bd70e52a39c8ecd7d1c2c0f2aa SHA1 10b52079e224190c298c5b52e58d17e2091e6916 SHA256 b5b4dce07cddb0bbbc5f1b98bf86b4fa6e3b7c7a02af12c3d11a1fc010491378
+MISC ChangeLog 7310 RMD160 eb6f7fafd90671151175267b2474d68c7194f71a SHA1 f17aa63538226b5d6c4be6eb93bd27c6ac2c554a SHA256 518da4e97cdc44cbfd5ffc0814c6e76a01862e32cb85b986ca5e99fbcdf41883
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkoL2qAACgkQvFcC4BYPU0p3qQCdF1rp9WDTLRqttydsI3DH8JM5
-ACAAoJAcxSgRIhEknhW3lZaovqndT3UU
-=Ba9c
+iEYEARECAAYFAkoL3QQACgkQvFcC4BYPU0oDSwCgr9UmA75O5XAr1EVa1bSOvVrO
+1j4AmwVW8fXgb7fJpqzPJHKc4SYKLrUS
+=9Dqc
-----END PGP SIGNATURE-----
diff --git a/dev-tex/tex4ht/tex4ht-20090513_p1511.ebuild b/dev-tex/tex4ht/tex4ht-20090513_p1511.ebuild
new file mode 100644
index 000000000000..aaceb2c2ff78
--- /dev/null
+++ b/dev-tex/tex4ht/tex4ht-20090513_p1511.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20090513_p1511.ebuild,v 1.1 2009/05/14 08:57:34 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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~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'"
+}