diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-06-19 20:10:26 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-06-19 20:10:26 +0000 |
commit | 83c71e0eac0edcfaaf4f1f4b32282ed34e54732b (patch) | |
tree | cf74eecea470a374acc40f163438936f8164dd1a /dev-tex/tex4ht | |
parent | workaround bug 274742 (diff) | |
download | historical-83c71e0eac0edcfaaf4f1f4b32282ed34e54732b.tar.gz historical-83c71e0eac0edcfaaf4f1f4b32282ed34e54732b.tar.bz2 historical-83c71e0eac0edcfaaf4f1f4b32282ed34e54732b.zip |
version bump
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-tex/tex4ht')
-rw-r--r-- | dev-tex/tex4ht/ChangeLog | 8 | ||||
-rw-r--r-- | dev-tex/tex4ht/Manifest | 10 | ||||
-rw-r--r-- | dev-tex/tex4ht/tex4ht-20090611_p1038.ebuild | 113 |
3 files changed, 126 insertions, 5 deletions
diff --git a/dev-tex/tex4ht/ChangeLog b/dev-tex/tex4ht/ChangeLog index 84842969f358..8284cb61c9ff 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.51 2009/06/19 19:54:28 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.52 2009/06/19 20:10:26 aballier Exp $ + +*tex4ht-20090611_p1038 (19 Jun 2009) + + 19 Jun 2009; Alexis Ballier <aballier@gentoo.org> + +tex4ht-20090611_p1038.ebuild: + version bump 19 Jun 2009; Alexis Ballier <aballier@gentoo.org> -tex4ht-20090428_p1436.ebuild: diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest index e7d1f6a09b34..76aa753e7f41 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_05_13_1511.tar.gz 2575254 RMD160 5ee0775befa633645e987e50e491789ddd3da75c SHA1 2a14cce707b1cd412f81fc77a1f295abd05d4f00 SHA256 a87e0be8e6bc7ee119984755e943d2ab323d326b449c52f8fe1f2fd01df0574a +DIST tex4ht-1.0.2009_06_11_1038.tar.gz 2576719 RMD160 09bce74e23058d02bc251305632cea4a4ee6595d SHA1 7d46488059316dec3234b6478cd0d2ca8f4d110f SHA256 9f3e259641bb7d5f32b8efaa85cb7c1a9f1a17f5fc6a859c81449d9984ec91a3 EBUILD tex4ht-20081103_p0302.ebuild 3355 RMD160 d1a735b139b105b476eba66ced8386380a6f611d SHA1 9a90bb929b267969a6dc1c0c19a98be498b2ed73 SHA256 1f85e7cda5c0815bcf718cf75f888e6469282f060eca2290bc3f54b62ac54b14 EBUILD tex4ht-20090513_p1511.ebuild 3367 RMD160 bca89d791dc880bd70e52a39c8ecd7d1c2c0f2aa SHA1 10b52079e224190c298c5b52e58d17e2091e6916 SHA256 b5b4dce07cddb0bbbc5f1b98bf86b4fa6e3b7c7a02af12c3d11a1fc010491378 -MISC ChangeLog 7409 RMD160 a1e1fcaff7c8d1b19f4937fc677e172f2874f0bf SHA1 dd0ced8b1f5a1b667f979a784396d74b6ea437be SHA256 478975464d986c81342d1ad943add3330a8d29ca716a221bd1b16bae919f8a02 +EBUILD tex4ht-20090611_p1038.ebuild 3367 RMD160 70b290fc7597f97815a9cc24437bd2f8fcb06a82 SHA1 9cb9ab57b8f7577606f7f504157b53deae58a9d3 SHA256 3332c93472e6b952e842119ffdbd4a0c161363e08de734c3faeb28e44fe11b77 +MISC ChangeLog 7548 RMD160 de13f998e4d6f8e62fe41181985b2cf904bd8f80 SHA1 74f01669bee478c0b4c36bce6a8ed60e4852b982 SHA256 6dbb75ca3c66bd85cda542249e5a50dfaf4ec555d96f096297ff46b19a0b4fd4 MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAko77PoACgkQvFcC4BYPU0pC5ACgqKICa4/ylEKaoYDndpn4Qe/O -9W0An1T+xcUzNk66rEKVS9myQN2L3KZ/ -=jE1z +iEYEARECAAYFAko78LgACgkQvFcC4BYPU0qJGACeLH7asD+/ZQjEuwTqfKD8i0jU ++/wAniMDON4ooUtrphcTsRz0W6wEfOme +=TpC2 -----END PGP SIGNATURE----- diff --git a/dev-tex/tex4ht/tex4ht-20090611_p1038.ebuild b/dev-tex/tex4ht/tex4ht-20090611_p1038.ebuild new file mode 100644 index 000000000000..6b0796bd1d95 --- /dev/null +++ b/dev-tex/tex4ht/tex4ht-20090611_p1038.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-20090611_p1038.ebuild,v 1.1 2009/06/19 20:10:26 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'" +} |