diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-01-15 07:21:37 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-01-15 07:21:37 +0000 |
commit | c56cccc72cb34e957f3e08030944528ca8160d90 (patch) | |
tree | 423779fa910dc16180e9d1c72aed53db0d4e77a3 /dev-tex/tex4ht | |
parent | Oops. Use eautoreconf, not eautoconf (bug #226585 again). (diff) | |
download | historical-c56cccc72cb34e957f3e08030944528ca8160d90.tar.gz historical-c56cccc72cb34e957f3e08030944528ca8160d90.tar.bz2 historical-c56cccc72cb34e957f3e08030944528ca8160d90.zip |
version bump
Package-Manager: portage-2.2_rc22/cvs/Linux 2.6.28 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-20090115_p0029.ebuild | 113 |
3 files changed, 126 insertions, 5 deletions
diff --git a/dev-tex/tex4ht/ChangeLog b/dev-tex/tex4ht/ChangeLog index 82cc11b59244..3da31605e4c8 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.43 2009/01/11 18:18:18 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.44 2009/01/15 07:21:37 aballier Exp $ + +*tex4ht-20090115_p0029 (15 Jan 2009) + + 15 Jan 2009; Alexis Ballier <aballier@gentoo.org> + +tex4ht-20090115_p0029.ebuild: + version bump 11 Jan 2009; Alexis Ballier <aballier@gentoo.org> -tex4ht-20071024_p0140.ebuild: diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest index 0f8afe9652b5..179ae5fb5c49 100644 --- a/dev-tex/tex4ht/Manifest +++ b/dev-tex/tex4ht/Manifest @@ -3,13 +3,15 @@ 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_01_15_0029.tar.gz 2521310 RMD160 1ac914616d0c9a341c50702aed66aca5d264baf9 SHA1 d1cbb78b78e8af1be9a56001c5eaad1b55072e59 SHA256 6cd1ff948791b8ac92cc0e20a6813ae6d732b063cf8ea7b84b2e4bc26284b593 EBUILD tex4ht-20081103_p0302.ebuild 3343 RMD160 b57bceaa58314b35b60f3f3be287551c0e14633e SHA1 46ad41ce1cc15878021531e5c34acdaa19583ed4 SHA256 4676461a7d4c1fa377666882f3f835a8f917a56137576089b4566444281e0433 -MISC ChangeLog 6376 RMD160 370c48ca6cf064f75de8c013c2e46486b672bda8 SHA1 460e279e343cb0db109cdc1723b5711662a9ad68 SHA256 774a9069c5bce1ec8b14e66570dfb23f851b31cd2330b40282be9e8e4aa15eda +EBUILD tex4ht-20090115_p0029.ebuild 3352 RMD160 b47db9a3f3fcb9db2235427f4eb97c414e42fee1 SHA1 0f4d5d3c4cf3cfb8e20a52ca2f3fcb2f6d30e895 SHA256 56fe4c3e9f9948f25eb7f8fbad1845bfcd12dd35809137f550b54445712f61b7 +MISC ChangeLog 6515 RMD160 42339b71ad9ee0c0375c0fecaf31de6697137bdb SHA1 b6ff682ce78484982d91a362d8391b2fd69a57b2 SHA256 c0d2e9e0cd7d9ac328ace6be37ee987df01e13fcabcad9150576db002cbe1dd7 MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAklqN+8ACgkQvFcC4BYPU0p0OwCggOhKPSclh39/rD2BL3kyhWUQ -UUoAn3MLqtEKSg7MPWm8LlBCTicZ3bIo -=BxnH +iEYEARECAAYFAklu5AcACgkQvFcC4BYPU0rytACeOeVEBg8nS9JAmdhyNUl3Dhps +uPQAn26Wja0QSOryNCbJVhpUU3PoJh21 +=/tOM -----END PGP SIGNATURE----- diff --git a/dev-tex/tex4ht/tex4ht-20090115_p0029.ebuild b/dev-tex/tex4ht/tex4ht-20090115_p0029.ebuild new file mode 100644 index 000000000000..cb0041786cc4 --- /dev/null +++ b/dev-tex/tex4ht/tex4ht-20090115_p0029.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-20090115_p0029.ebuild,v 1.1 2009/01/15 07:21:37 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'" +} |