diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-02-10 12:35:01 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-02-10 12:35:01 +0000 |
commit | 88e4cada18a67cc35ac04855a9598bda137865a4 (patch) | |
tree | 7023a61c6559258040c91e07dcb9a4588037d5d2 /dev-tex | |
parent | Re-add ~alpha, bad drac (diff) | |
download | historical-88e4cada18a67cc35ac04855a9598bda137865a4.tar.gz historical-88e4cada18a67cc35ac04855a9598bda137865a4.tar.bz2 historical-88e4cada18a67cc35ac04855a9598bda137865a4.zip |
version bump and keyword ~x86-fbsd
Package-Manager: portage-2.1.4.2
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/tex4ht/ChangeLog | 8 | ||||
-rw-r--r-- | dev-tex/tex4ht/Manifest | 10 | ||||
-rw-r--r-- | dev-tex/tex4ht/tex4ht-20080125_p0949.ebuild | 113 |
3 files changed, 126 insertions, 5 deletions
diff --git a/dev-tex/tex4ht/ChangeLog b/dev-tex/tex4ht/ChangeLog index 08db680064be..2f356aa9b655 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.23 2008/02/10 12:09:00 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.24 2008/02/10 12:35:01 aballier Exp $ + +*tex4ht-20080125_p0949 (10 Feb 2008) + + 10 Feb 2008; Alexis Ballier <aballier@gentoo.org> + +tex4ht-20080125_p0949.ebuild: + version bump and keyword ~x86-fbsd 10 Feb 2008; Alexis Ballier <aballier@gentoo.org> -tex4ht-20050406_p1623-r1.ebuild, -tex4ht-20050701_p1825.ebuild: diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest index 277aa9ac47f2..f8fd7c034ade 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.2007_10_24_0140.tar.gz 1946502 RMD160 3a6b35425c33c4430ab2ac344544bceb91ed7a9f SHA1 e4d2268aef585332b691ab14dfbda8c557610ac5 SHA256 e71b45195dc66d261b26ceb44a88890d4e87bdbebeaa0ca1f1ec10d55e4d0a44 +DIST tex4ht-1.0.2008_01_25_0949.tar.gz 1904620 RMD160 b7470ef3946f8744ca36025a6ab8da6c91020dde SHA1 2c66cffaa8f96b57f86a6de8172ff43bee47c04c SHA256 0c15f2344d2dac06ac2af62a494163800e3bd5abf382a082604738ba95e93176 EBUILD tex4ht-20071024_p0140.ebuild 3282 RMD160 b41b744d9fc9b6677ede1495ed7f312b7a0483bf SHA1 c776aa72020af95af0b519bedca033fb43ef5cf7 SHA256 a8eb4a31c572fe941b5222a4d26479e940e2f26f5c899e3cffb8ff13d64def68 -MISC ChangeLog 3744 RMD160 77102bd994a4b2b5f8d2b1f86bc29fe821b70d95 SHA1 3c7ed6c82618d0fc569f93bd0abdb1f575b742de SHA256 e0f3c32e68518f387aca334b2b84004de949f5b1cf23a6c01698ba35f60c3a19 +EBUILD tex4ht-20080125_p0949.ebuild 3300 RMD160 ba56732f41ad9cb0378f52e91990312338f28864 SHA1 475032aaeeafd5965260c22ae35bc10a1fadb956 SHA256 9ac29890477671646143dd5dc653ffd7e3dcaf2f682dddcd53b2f60148208315 +MISC ChangeLog 3905 RMD160 0b5099c0a6bc37142fec6d3f6462745d12d1787e SHA1 0f900a929f76e8e4539ffde22d4fa83ba01af3af SHA256 ce1a7d547392bc1d60102fed5604f9c15d168b5589916fd0ed8166498f40110c MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHrulkvFcC4BYPU0oRAshDAJ9ZqWReCXHDsiJ2kBDMFDI2d7JAvgCgit8Z -+yB117fiRWZA+QSlWjc4ImE= -=YdRx +iD8DBQFHru99vFcC4BYPU0oRAgloAKC4JtR//rMXGCRrBz3fNF9FkDDAPgCgkI8U +GIvNoddHbSqld/u0/FbOvDQ= +=XWs9 -----END PGP SIGNATURE----- diff --git a/dev-tex/tex4ht/tex4ht-20080125_p0949.ebuild b/dev-tex/tex4ht/tex4ht-20080125_p0949.ebuild new file mode 100644 index 000000000000..528a93a69084 --- /dev/null +++ b/dev-tex/tex4ht/tex4ht-20080125_p0949.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-20080125_p0949.ebuild,v 1.1 2008/02/10 12:35:01 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/unix/ht" "${S}/bin/unix/ht.tex4ht" +} + +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/unix/* + + # install the .4ht scripts + insinto /usr/share/texmf/tex/generic/tex4ht + doins "${S}"/texmf/tex/generic/tex4ht/* + + # install the special htf fonts + insinto /usr/share/texmf/tex4ht + doins -r "${S}/texmf/tex4ht/ht-fonts" + + 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" + doins -r "${S}/texmf/tex4ht/xttl" + + # install the env file + insinto /usr/share/texmf/tex4ht/base + newins "${S}/texmf/tex4ht/base/unix/tex4ht.env" tex4ht.env + + 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'" +} |