diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-08-09 07:05:30 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-08-09 07:05:30 +0000 |
commit | 0b24dea19f6b30fa4896067131d419258cb77d30 (patch) | |
tree | 601720723f3ae4691683859096b8cff9fe5cc165 /dev-tex/tex4ht | |
parent | remove old (diff) | |
download | historical-0b24dea19f6b30fa4896067131d419258cb77d30.tar.gz historical-0b24dea19f6b30fa4896067131d419258cb77d30.tar.bz2 historical-0b24dea19f6b30fa4896067131d419258cb77d30.zip |
version bump
Package-Manager: portage-2.2_rc6/cvs/Linux 2.6.26-gentoo 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-20080807_p1635.ebuild | 113 |
3 files changed, 126 insertions, 5 deletions
diff --git a/dev-tex/tex4ht/ChangeLog b/dev-tex/tex4ht/ChangeLog index 54e34c566fcc..5f89de0e96e4 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.28 2008/08/09 06:57:25 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.29 2008/08/09 07:05:30 aballier Exp $ + +*tex4ht-20080807_p1635 (09 Aug 2008) + + 09 Aug 2008; Alexis Ballier <aballier@gentoo.org> + +tex4ht-20080807_p1635.ebuild: + version bump 09 Aug 2008; Alexis Ballier <aballier@gentoo.org> -tex4ht-20080125_p0949.ebuild, -tex4ht-20080510_p2222.ebuild: diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest index e5f9819d5a06..4d5940c91d1e 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.2007_10_24_0140.tar.gz 1946502 RMD160 3a6b35425c33c4430ab2ac344544bceb91ed7a9f SHA1 e4d2268aef585332b691ab14dfbda8c557610ac5 SHA256 e71b45195dc66d261b26ceb44a88890d4e87bdbebeaa0ca1f1ec10d55e4d0a44 DIST tex4ht-1.0.2008_07_11_0635.tar.gz 2465858 RMD160 0e5adc77f5e6b7a7092888c31d0d9f583ad5d7f6 SHA1 89eb9b318ec4ac574d2011e5f866da3f51afed71 SHA256 bd15bec5cc040ee7adcd49595028d6691663789a4f3d16a3bb3d7650ee2cb38d +DIST tex4ht-1.0.2008_08_07_1635.tar.gz 2466688 RMD160 00abfd8c615bf1bb20b2fd342652da101133620c SHA1 f90708fa0f3312f4cc9836a169babb525334a853 SHA256 049304574cc8da234eced1396ea4f27abd3e2ff6067070618db855268fa4c182 EBUILD tex4ht-20071024_p0140.ebuild 3283 RMD160 67d5e810196ac27179ff573ccf1985bd8a47b5dd SHA1 bd8f73410997c65a52eea188fc255ca8c4994d25 SHA256 acc9d8e1b22b048872de4060f0f35534402d4dd70f418896d98960ebfe32ba15 EBUILD tex4ht-20080711_p0635.ebuild 3352 RMD160 e97adb47aaee73428546d5adcbee7ec07ef69e2e SHA1 622d377804cf0fd495a03576c3e355504641a4b7 SHA256 51978d4d8467b1b019358f4d406e59ee0d1eed41199b665e850d7a8ffce797d8 -MISC ChangeLog 4431 RMD160 27630610d9197b091f7ec335b3d24396e6c686f6 SHA1 a5df4765670b8442e31021300933a1ab6626456d SHA256 4041fd8ff1deb043fc6c25d8b3fa967126d8407c15918a5a373d9061b2253133 +EBUILD tex4ht-20080807_p1635.ebuild 3352 RMD160 ba62e7f3f8936e94c1307ed0d884c9f4080a82fb SHA1 55cb27dd5bb28c1438114e6a0ad35e90dad995fa SHA256 db63f7dda4aaf50f41e6feebf2769d78807621aae207822bba65eda416c20c8c +MISC ChangeLog 4570 RMD160 ca51ef1c62db1458710bad83e4f63b029604caf9 SHA1 b709e6332fe31a20cd69e14d97fcc6e4c4885cc2 SHA256 5d76efe2828f4967e478ce4170969f7471784a32800a193dce68da879edbd677 MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkidP9sACgkQvFcC4BYPU0o+7ACgk0ypxzZb8gVrN31GvmlqVJhp -19kAmwRQ9PBO6SbpY+lAJP4cDoBWJC12 -=6ar0 +iEYEARECAAYFAkidQcAACgkQvFcC4BYPU0o8KwCaArcNHEYibVLfXd/2XknVQePv +wCIAnR+YOenphe+lSOSukPvVP162UeVE +=q2JS -----END PGP SIGNATURE----- diff --git a/dev-tex/tex4ht/tex4ht-20080807_p1635.ebuild b/dev-tex/tex4ht/tex4ht-20080807_p1635.ebuild new file mode 100644 index 000000000000..f494410ae372 --- /dev/null +++ b/dev-tex/tex4ht/tex4ht-20080807_p1635.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-20080807_p1635.ebuild,v 1.1 2008/08/09 07:05:30 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'" +} |