diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-10-16 07:10:12 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-10-16 07:10:12 +0000 |
commit | 85af5bd80d79c6f453899e6b4cb80ff829ca22f6 (patch) | |
tree | b6903104bb3e03c10bfa93d4a17d22b52228a14a /app-text/jadetex | |
parent | amd64 stable, bug #195512. (diff) | |
download | historical-85af5bd80d79c6f453899e6b4cb80ff829ca22f6.tar.gz historical-85af5bd80d79c6f453899e6b4cb80ff829ca22f6.tar.bz2 historical-85af5bd80d79c6f453899e6b4cb80ff829ca22f6.zip |
add format description for fmtutil, thanks to Dmitry S. Kulyabov <yamadharma@gmail.com>, bug #108848, only run texmf-update when root=/
Package-Manager: portage-2.1.3.14
Diffstat (limited to 'app-text/jadetex')
-rw-r--r-- | app-text/jadetex/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/jadetex/Manifest | 25 | ||||
-rw-r--r-- | app-text/jadetex/files/80format.jadetex.cnf | 5 | ||||
-rw-r--r-- | app-text/jadetex/files/digest-jadetex-3.13-r2 | 3 | ||||
-rw-r--r-- | app-text/jadetex/jadetex-3.13-r2.ebuild | 89 |
5 files changed, 123 insertions, 8 deletions
diff --git a/app-text/jadetex/ChangeLog b/app-text/jadetex/ChangeLog index af71a5a05b2f..e82597e2a586 100644 --- a/app-text/jadetex/ChangeLog +++ b/app-text/jadetex/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/jadetex # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/ChangeLog,v 1.32 2007/10/15 20:17:42 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/ChangeLog,v 1.33 2007/10/16 07:10:12 aballier Exp $ + +*jadetex-3.13-r2 (16 Oct 2007) + + 16 Oct 2007; Alexis Ballier <aballier@gentoo.org> + +files/80format.jadetex.cnf, +jadetex-3.13-r2.ebuild: + add format description for fmtutil, thanks to Dmitry S. Kulyabov + <yamadharma@gmail.com>, bug #108848, only run texmf-update when root=/ 15 Oct 2007; Alexis Ballier <aballier@gentoo.org> jadetex-3.13-r1.ebuild: Fixes for texlive integration diff --git a/app-text/jadetex/Manifest b/app-text/jadetex/Manifest index 03e8328715cb..17c915eb6e6e 100644 --- a/app-text/jadetex/Manifest +++ b/app-text/jadetex/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 80format.jadetex.cnf 178 RMD160 4ccc9bea2dc742e812b5d2c28f9826836c7b4e44 SHA1 7ad21e4cb69f5c8a09e6244a9366306e986e09ff SHA256 b90a9c6c648271d8d9448dc1665d573ee777303b78f74dd15fc978a6180205b3 +MD5 58bb7d4988631c242bee1b54f55d36c0 files/80format.jadetex.cnf 178 +RMD160 4ccc9bea2dc742e812b5d2c28f9826836c7b4e44 files/80format.jadetex.cnf 178 +SHA256 b90a9c6c648271d8d9448dc1665d573ee777303b78f74dd15fc978a6180205b3 files/80format.jadetex.cnf 178 AUX 80jadetex.cnf 995 RMD160 33d6726aa762960eaaef3a874ab91620c64d8329 SHA1 7046f012cdaeeb02bfe573a7d0776169d9cddf23 SHA256 d146a34c916474a33669f0ac892127d72cc2680d2d4e3f56e9e43e7566012eb1 MD5 d5c01c34ebd3925803273c21c94beed5 files/80jadetex.cnf 995 RMD160 33d6726aa762960eaaef3a874ab91620c64d8329 files/80jadetex.cnf 995 @@ -15,10 +19,14 @@ EBUILD jadetex-3.13-r1.ebuild 1945 RMD160 0e7966924fcaf0cf866f70740545a243993882 MD5 f7da58ff936ab3b4d461f65c0fb336ed jadetex-3.13-r1.ebuild 1945 RMD160 0e7966924fcaf0cf866f70740545a24399388211 jadetex-3.13-r1.ebuild 1945 SHA256 6ecd53af385d26a41cf00a310e5600623f7db6f16d3c4631fac91eddcbb8738b jadetex-3.13-r1.ebuild 1945 -MISC ChangeLog 3527 RMD160 464a8fe75c58c5950d41f71102c1929cc9c0fd4f SHA1 6903d193ed6d7d269ef927d1976ad890512bb01c SHA256 299e020749295f50e33a42d43b83343516e7836a7a016adbd66753e93e7696be -MD5 2f9dae7dcec4123c1d936f67f25a1da9 ChangeLog 3527 -RMD160 464a8fe75c58c5950d41f71102c1929cc9c0fd4f ChangeLog 3527 -SHA256 299e020749295f50e33a42d43b83343516e7836a7a016adbd66753e93e7696be ChangeLog 3527 +EBUILD jadetex-3.13-r2.ebuild 2139 RMD160 78404d65aa288e92b34127d31b2a49c183324de6 SHA1 f2c1c0d604044444044330a37b654a43d694f103 SHA256 920a7a985503ebb178d7d4f4c43c59b56bb33c800c93dd1e2450465bc647bafa +MD5 edd0ce280d5b4e7bbb493e5da6d0ec6a jadetex-3.13-r2.ebuild 2139 +RMD160 78404d65aa288e92b34127d31b2a49c183324de6 jadetex-3.13-r2.ebuild 2139 +SHA256 920a7a985503ebb178d7d4f4c43c59b56bb33c800c93dd1e2450465bc647bafa jadetex-3.13-r2.ebuild 2139 +MISC ChangeLog 3808 RMD160 0560b22e575308ba0dc2bca80e538f22d7c8f413 SHA1 f9054bb47f41cdc3a5af08738fa9e673d187bb21 SHA256 3eaeae0747bcfa11154f5e7af6166a692e2df32bc85e1711fd61df4d982653fe +MD5 2feafcc5c715eeaab5404c944c1581d5 ChangeLog 3808 +RMD160 0560b22e575308ba0dc2bca80e538f22d7c8f413 ChangeLog 3808 +SHA256 3eaeae0747bcfa11154f5e7af6166a692e2df32bc85e1711fd61df4d982653fe ChangeLog 3808 MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 MD5 504d11dd034a4ba8f06e8e7c633d13ba metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 metadata.xml 156 @@ -29,10 +37,13 @@ SHA256 a8b991d0a6c956b2f9fb72669f77c658d75e160e21fc417b96051e97eff29ed7 files/di MD5 d5890dbdc915c61f723768c6d9bbf07a files/digest-jadetex-3.13-r1 238 RMD160 2a1adb7893cff96dda4bcd433e330b71f57b82b3 files/digest-jadetex-3.13-r1 238 SHA256 b1eb948bf675c6588c464ebfc59746e06bd0c385776fbe505b3b0561c961bee1 files/digest-jadetex-3.13-r1 238 +MD5 d5890dbdc915c61f723768c6d9bbf07a files/digest-jadetex-3.13-r2 238 +RMD160 2a1adb7893cff96dda4bcd433e330b71f57b82b3 files/digest-jadetex-3.13-r2 238 +SHA256 b1eb948bf675c6588c464ebfc59746e06bd0c385776fbe505b3b0561c961bee1 files/digest-jadetex-3.13-r2 238 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHE8slvFcC4BYPU0oRAtmZAKCysAlVZzODlkN+dm1wbmQ/lXeNfwCdFlCJ -rYe8cvKWiq+bi5Z1D/jZmek= -=dkpE +iD8DBQFHFGPavFcC4BYPU0oRAiqZAJ9CNR3tf0V7Lg/KfIMsrJ0HHglxIgCggsOb +Ai5aNAuYuJhzt403HTTNy/I= +=BskQ -----END PGP SIGNATURE----- diff --git a/app-text/jadetex/files/80format.jadetex.cnf b/app-text/jadetex/files/80format.jadetex.cnf new file mode 100644 index 000000000000..349d3f5d9987 --- /dev/null +++ b/app-text/jadetex/files/80format.jadetex.cnf @@ -0,0 +1,5 @@ +# JadeTeX +jadetex pdflatex language.dat -translate-file=cp227.tcx "&latex" jadetex.ini +pdfjadetex pdflatex language.dat -translate-file=cp227.tcx "&pdflatex" pdfjadetex.ini + + diff --git a/app-text/jadetex/files/digest-jadetex-3.13-r2 b/app-text/jadetex/files/digest-jadetex-3.13-r2 new file mode 100644 index 000000000000..c6948d3d961f --- /dev/null +++ b/app-text/jadetex/files/digest-jadetex-3.13-r2 @@ -0,0 +1,3 @@ +MD5 634dfc172fbf66a6976e2c2c60e2d198 jadetex-3.13.tar.gz 103137 +RMD160 d28ea2f55892c26fe04eea2faace15e9b646cef4 jadetex-3.13.tar.gz 103137 +SHA256 115aa01dc9665c263453e51dbb099769c63e47adb5e800436950154701059cf8 jadetex-3.13.tar.gz 103137 diff --git a/app-text/jadetex/jadetex-3.13-r2.ebuild b/app-text/jadetex/jadetex-3.13-r2.ebuild new file mode 100644 index 000000000000..84ae4ff67ec3 --- /dev/null +++ b/app-text/jadetex/jadetex-3.13-r2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/jadetex-3.13-r2.ebuild,v 1.1 2007/10/16 07:10:12 aballier Exp $ + +inherit latex-package + +DESCRIPTION="TeX macros used by Jade TeX output" +HOMEPAGE="http://jadetex.sourceforge.net/" +SRC_URI="mirror://sourceforge/jadetex/${P}.tar.gz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" +RESTRICT="test" + +DEPEND=">=app-text/openjade-1.3.1 + || ( dev-texlive/texlive-fontsrecommended virtual/tetex )" + +has_tetex_3() { + if has_version '>=app-text/tetex-2.96' || has_version '>=app-text/ptex-3.1.4.20041026' || has_version '>=app-text/texlive-2005' || has_version '>=app-text/texlive-core-2007'; then + true + else + false + fi +} + +src_compile() { + addwrite /usr/share/texmf/ls-R + addwrite /usr/share/texmf/fonts + addwrite /var/cache/fonts + + if has_tetex_3 ; then + sed -i -e "s:tex -ini:latex -ini:" Makefile || die "sed failed" + fi + + emake || die "emake failed" +} + +src_install() { + addwrite /usr/share/texmf/ls-R + addwrite /usr/share/texmf/fonts + addwrite /var/cache/fonts + + emake DESTDIR="${D}" install || die + + dodoc ChangeLog* + doman *.1 + + dodir /usr/bin + if has_tetex_3 ; then + dosym /usr/bin/latex /usr/bin/jadetex + dosym /usr/bin/pdftex /usr/bin/pdfjadetex + insinto /etc/texmf/texmf.d + doins "${FILESDIR}/80jadetex.cnf" + insinto /etc/texmf/fmtutil.d + doins "${FILESDIR}/80format.jadetex.cnf" + else + dosym /usr/bin/virtex /usr/bin/jadetex + dosym /usr/bin/pdfvirtex /usr/bin/pdfjadetex + fi + + dohtml -r . +} + +pkg_postinst() { + if has_tetex_3 ; then + if [ "$ROOT" = "/" ] ; then + /usr/sbin/texmf-update + fi + elog + elog "If jadetex fails with \"TeX capacity exceeded, sorry [save size=5000]\"," + elog "increase save_size in /etc/texmf/texmf.d/80jadetex.cnf and." + elog "remerge jadetex. See bug #21501." + elog + else + latex-package_pkg_postinst + fi +} + +pkg_postrm() { + if has_tetex_3 ; then + if [ "$ROOT" = "/" ] ; then + /usr/sbin/texmf-update + fi + else + latex-package_pkg_postrm + fi +} |