summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-04-30 07:10:18 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-04-30 07:10:18 +0000
commit1f9df4e7baa419783981a81ed60ab87ac0aae519 (patch)
tree818470591b3c4314f871e0d3471c06e848a65d19
parentNew ebuild for PMEL's xgks library, a required dependency for Ferret. (diff)
downloadhistorical-1f9df4e7baa419783981a81ed60ab87ac0aae519.tar.gz
historical-1f9df4e7baa419783981a81ed60ab87ac0aae519.tar.bz2
historical-1f9df4e7baa419783981a81ed60ab87ac0aae519.zip
version bump
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
-rw-r--r--dev-tex/tex4ht/ChangeLog8
-rw-r--r--dev-tex/tex4ht/Manifest14
-rw-r--r--dev-tex/tex4ht/tex4ht-20090428_p1436.ebuild113
3 files changed, 133 insertions, 2 deletions
diff --git a/dev-tex/tex4ht/ChangeLog b/dev-tex/tex4ht/ChangeLog
index f15005c3950b..bb8eeb1b2981 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.47 2009/03/18 19:02:57 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.48 2009/04/30 07:10:18 aballier Exp $
+
+*tex4ht-20090428_p1436 (30 Apr 2009)
+
+ 30 Apr 2009; Alexis Ballier <aballier@gentoo.org>
+ +tex4ht-20090428_p1436.ebuild:
+ version bump
18 Mar 2009; Raúl Porcel <armin76@gentoo.org>
tex4ht-20081103_p0302.ebuild, tex4ht-20090115_p0029.ebuild:
diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest
index 581535e3b71f..3be23016202a 100644
--- a/dev-tex/tex4ht/Manifest
+++ b/dev-tex/tex4ht/Manifest
@@ -1,9 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+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
DIST tex4ht-1.0.2009_02_23_2217.tar.gz 2564972 RMD160 7a883a370a2e3646c495dd33fa3e639a9b333aff SHA1 4dab3690fe4af6853492093d846a070f13600474 SHA256 e0a2642dcfa8136a3b231fee3bcf8c9931d01dff10269cfe871916203c0bd4c0
+DIST tex4ht-1.0.2009_04_28_1436.tar.gz 2576236 RMD160 e6079519584f508486194bb1cff034775cef76a4 SHA1 91fcfa9b656e5c41d656e9f7a4207d106dcab97a SHA256 a56f728d69427496c9cef31b79aa4e4e639a49e4b6266e51ace1b019836af4f6
EBUILD tex4ht-20081103_p0302.ebuild 3355 RMD160 d1a735b139b105b476eba66ced8386380a6f611d SHA1 9a90bb929b267969a6dc1c0c19a98be498b2ed73 SHA256 1f85e7cda5c0815bcf718cf75f888e6469282f060eca2290bc3f54b62ac54b14
EBUILD tex4ht-20090115_p0029.ebuild 3366 RMD160 394819d97baba651acc94d81b6e51455e4ac0ba6 SHA1 915f66726d8241b68e500d244bf2e48e1142d5f1 SHA256 8b11f3e5afe411b120ecdc7a45a1af27dd37a75fa508585ed1992ac2c0b1bf53
EBUILD tex4ht-20090223_p2217.ebuild 3366 RMD160 b21125be920fb377295d41bdee56ea04d665241e SHA1 d3b6e30d5a78cecabeed72d48b37d154414011cc SHA256 b30fdfd55e353e79af90b3f37ce2ad53aaf408f3127b3c5fe6b04dae4685bd47
-MISC ChangeLog 6901 RMD160 436ff59e923d88f8f29cf2f51e7fd86d4d33e617 SHA1 6c43fb76a8da6175bcf821098ceadbbcea9f8002 SHA256 4e9e4faea2ba0e050f99c1963ff067f81ff8878fafb1327bf19bf0a7a1075e86
+EBUILD tex4ht-20090428_p1436.ebuild 3367 RMD160 8eeddf0e4bc82f4c8d943cb46af17d32eab58065 SHA1 75b59766cf646d63ee45a1d7055ff495711bf236 SHA256 6fdb9790b879ae769471a94847ddb7e60c368e44acd3de8874e42ded1f8496d4
+MISC ChangeLog 7041 RMD160 b7851e879d8da308a46f478d3413658f28b59956 SHA1 c5bb71daab71a74a6c9e5b3acb791ad102c29e3c SHA256 e8fb166d421c3c849c9e1ff6834c7abab0226fbce92fcd87d1b6ac928dfa6d25
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkn5TuAACgkQvFcC4BYPU0qiPgCfa9v4Y+lyT5N8+Yb/XEC92wdV
+aGkAn3lwj//SzDpeqeW7i90ZgNUeVQK+
+=JGu/
+-----END PGP SIGNATURE-----
diff --git a/dev-tex/tex4ht/tex4ht-20090428_p1436.ebuild b/dev-tex/tex4ht/tex4ht-20090428_p1436.ebuild
new file mode 100644
index 000000000000..bd32af8c882b
--- /dev/null
+++ b/dev-tex/tex4ht/tex4ht-20090428_p1436.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-20090428_p1436.ebuild,v 1.1 2009/04/30 07:10:18 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'"
+}