summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-02-25 07:02:05 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-02-25 07:02:05 +0000
commite0873e355376f3784fb43e6dabd9dc9354f6e92f (patch)
tree96b40901d79fca353a263d1884734060cf0838c6 /dev-tex/tex4ht
parentFix invalid combination of >= and * in gnome-desktop-sharp and gnome-panel-sh... (diff)
downloadhistorical-e0873e355376f3784fb43e6dabd9dc9354f6e92f.tar.gz
historical-e0873e355376f3784fb43e6dabd9dc9354f6e92f.tar.bz2
historical-e0873e355376f3784fb43e6dabd9dc9354f6e92f.zip
version bump
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-tex/tex4ht')
-rw-r--r--dev-tex/tex4ht/ChangeLog8
-rw-r--r--dev-tex/tex4ht/Manifest12
-rw-r--r--dev-tex/tex4ht/tex4ht-20090223_p2217.ebuild113
3 files changed, 127 insertions, 6 deletions
diff --git a/dev-tex/tex4ht/ChangeLog b/dev-tex/tex4ht/ChangeLog
index 3da31605e4c8..8bc9e04094a6 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.44 2009/01/15 07:21:37 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.45 2009/02/25 07:02:05 aballier Exp $
+
+*tex4ht-20090223_p2217 (25 Feb 2009)
+
+ 25 Feb 2009; Alexis Ballier <aballier@gentoo.org>
+ +tex4ht-20090223_p2217.ebuild:
+ version bump
*tex4ht-20090115_p0029 (15 Jan 2009)
diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest
index 179ae5fb5c49..4cdc29d76dfb 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_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
EBUILD tex4ht-20081103_p0302.ebuild 3343 RMD160 b57bceaa58314b35b60f3f3be287551c0e14633e SHA1 46ad41ce1cc15878021531e5c34acdaa19583ed4 SHA256 4676461a7d4c1fa377666882f3f835a8f917a56137576089b4566444281e0433
EBUILD tex4ht-20090115_p0029.ebuild 3352 RMD160 b47db9a3f3fcb9db2235427f4eb97c414e42fee1 SHA1 0f4d5d3c4cf3cfb8e20a52ca2f3fcb2f6d30e895 SHA256 56fe4c3e9f9948f25eb7f8fbad1845bfcd12dd35809137f550b54445712f61b7
-MISC ChangeLog 6515 RMD160 42339b71ad9ee0c0375c0fecaf31de6697137bdb SHA1 b6ff682ce78484982d91a362d8391b2fd69a57b2 SHA256 c0d2e9e0cd7d9ac328ace6be37ee987df01e13fcabcad9150576db002cbe1dd7
+EBUILD tex4ht-20090223_p2217.ebuild 3352 RMD160 4f8b2fb7633a040210bdec5f20e3af46b0cb59dc SHA1 2aa5799e521595777f868c19842678f390429179 SHA256 726d47cc26f97a3a9f75b36caccb62b3646e9ce3b3027421da8689eb8b6845b3
+MISC ChangeLog 6654 RMD160 eda959f0679133af4e36c9e969013de535097c08 SHA1 62ce1bb0dd50cf326da7269de5127b8b865bddcb SHA256 620d15a7549da5521ecc50e6c0fa75edb59195c01aa2b4a20e47012045b5258e
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAklu5AcACgkQvFcC4BYPU0rytACeOeVEBg8nS9JAmdhyNUl3Dhps
-uPQAn26Wja0QSOryNCbJVhpUU3PoJh21
-=/tOM
+iEYEARECAAYFAkmk7PMACgkQvFcC4BYPU0r/qgCglz+JLTGI0fiMOmBm/H/VWOH2
+rjkAn0A9g/QWbLYzwAu7MLIR7bXUBc1p
+=VSA6
-----END PGP SIGNATURE-----
diff --git a/dev-tex/tex4ht/tex4ht-20090223_p2217.ebuild b/dev-tex/tex4ht/tex4ht-20090223_p2217.ebuild
new file mode 100644
index 000000000000..198a8a0ddce6
--- /dev/null
+++ b/dev-tex/tex4ht/tex4ht-20090223_p2217.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-20090223_p2217.ebuild,v 1.1 2009/02/25 07:02:05 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'"
+}