summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-04-09 03:36:53 +0000
committerMamoru Komachi <usata@gentoo.org>2005-04-09 03:36:53 +0000
commitc831b7c49593773461c1a6591c178555c568fb96 (patch)
tree43a122a360d6e66c374c1c66b1d3b43b131c4e33 /app-text/jadetex
parentdigest fix (diff)
downloadgentoo-2-c831b7c49593773461c1a6591c178555c568fb96.tar.gz
gentoo-2-c831b7c49593773461c1a6591c178555c568fb96.tar.bz2
gentoo-2-c831b7c49593773461c1a6591c178555c568fb96.zip
Added 80jadetex.cnf. This closes bug #21501.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-text/jadetex')
-rw-r--r--app-text/jadetex/ChangeLog8
-rw-r--r--app-text/jadetex/Manifest5
-rw-r--r--app-text/jadetex/files/80jadetex.cnf37
-rw-r--r--app-text/jadetex/files/digest-jadetex-3.13-r11
-rw-r--r--app-text/jadetex/jadetex-3.13-r1.ebuild87
-rw-r--r--app-text/jadetex/jadetex-3.13.ebuild6
6 files changed, 141 insertions, 3 deletions
diff --git a/app-text/jadetex/ChangeLog b/app-text/jadetex/ChangeLog
index 953bfb3b47a7..09b0f53dcd24 100644
--- a/app-text/jadetex/ChangeLog
+++ b/app-text/jadetex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/jadetex
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/ChangeLog,v 1.24 2005/04/08 14:24:52 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/ChangeLog,v 1.25 2005/04/09 03:36:53 usata Exp $
+
+*jadetex-3.13-r1 (09 Apr 2005)
+
+ 09 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> +files/80jadetex.cnf,
+ jadetex-3.13.ebuild, +jadetex-3.13-r1.ebuild:
+ Added 80jadetex.cnf. This closes bug #21501.
08 Apr 2005; Markus Rothe <corsair@gentoo.org> jadetex-3.13.ebuild:
Stable on ppc64
diff --git a/app-text/jadetex/Manifest b/app-text/jadetex/Manifest
index 737694c8ea89..1638c4957a89 100644
--- a/app-text/jadetex/Manifest
+++ b/app-text/jadetex/Manifest
@@ -1,6 +1,9 @@
MD5 27554821f5beff4a119760f590e7f678 ChangeLog 2497
MD5 00f8fea607816e196c404b4f50ef0f1b jadetex-3.12.ebuild 1349
-MD5 aedfa2bc1a0b610372c6caa8abac7b22 jadetex-3.13.ebuild 1352
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
+MD5 107882bc8d8709ad47fca42bebc42852 jadetex-3.13.ebuild 1376
+MD5 bd1680626f4a782aa8b7bf8645d94941 jadetex-3.13-r1.ebuild 1778
MD5 7f0d22d26d92eaab7fdf9912e1a4c323 files/digest-jadetex-3.12 64
+MD5 d5c01c34ebd3925803273c21c94beed5 files/80jadetex.cnf 995
MD5 b56f5e66f8ca0a50bd3c1af5153d60fe files/digest-jadetex-3.13 64
+MD5 b56f5e66f8ca0a50bd3c1af5153d60fe files/digest-jadetex-3.13-r1 64
diff --git a/app-text/jadetex/files/80jadetex.cnf b/app-text/jadetex/files/80jadetex.cnf
new file mode 100644
index 000000000000..a5976a74e09e
--- /dev/null
+++ b/app-text/jadetex/files/80jadetex.cnf
@@ -0,0 +1,37 @@
+% -- jadetex configuration params added by texmf-update --
+% latex settings
+main_memory.latex = 1100000
+param_size.latex = 1500
+stack_size.latex = 1500
+hash_extra.latex = 15000
+string_vacancies.latex = 45000
+pool_free.latex = 47500
+nest_size.latex = 500
+save_size.latex = 5000
+pool_size.latex = 500000
+max_strings.latex = 55000
+font_mem_size.latex= 400000
+
+% jadetex & pdfjadetex
+main_memory.jadetex = 1500000
+param_size.jadetex = 1500
+stack_size.jadetex = 1500
+hash_extra.jadetex = 50000
+string_vacancies.jadetex = 45000
+pool_free.jadetex = 47500
+nest_size.jadetex = 500
+save_size.jadetex = 5000
+pool_size.jadetex = 500000
+max_strings.jadetex = 55000
+
+main_memory.pdfjadetex = 2500000
+param_size.pdfjadetex = 1500
+stack_size.pdfjadetex = 1500
+hash_extra.pdfjadetex = 50000
+string_vacancies.pdfjadetex = 45000
+pool_free.pdfjadetex = 47500
+nest_size.pdfjadetex = 500
+save_size.pdfjadetex = 5000
+pool_size.pdfjadetex = 500000
+max_strings.pdfjadetex = 55000
+% -- jadetex configuration ends here --
diff --git a/app-text/jadetex/files/digest-jadetex-3.13-r1 b/app-text/jadetex/files/digest-jadetex-3.13-r1
new file mode 100644
index 000000000000..796220482c6d
--- /dev/null
+++ b/app-text/jadetex/files/digest-jadetex-3.13-r1
@@ -0,0 +1 @@
+MD5 634dfc172fbf66a6976e2c2c60e2d198 jadetex-3.13.tar.gz 103137
diff --git a/app-text/jadetex/jadetex-3.13-r1.ebuild b/app-text/jadetex/jadetex-3.13-r1.ebuild
new file mode 100644
index 000000000000..1ed514a6a318
--- /dev/null
+++ b/app-text/jadetex/jadetex-3.13-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/jadetex-3.13-r1.ebuild,v 1.1 2005/04/09 03:36:53 usata 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 ~mips ppc ppc64 s390 sparc x86"
+IUSE=""
+
+# virtual/tetex comes from latex-package
+DEPEND=">=app-text/openjade-1.3.1"
+
+has_tetex_3() {
+ if has_version '>=app-text/tetex-2.96' || has_version '>=app-text/ptex-3.1.4.20041026' ; 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
+}
+
+src_install() {
+ addwrite /usr/share/texmf/ls-R
+ addwrite /usr/share/texmf/fonts
+ addwrite /var/cache/fonts
+ make \
+ 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
+ else
+ dosym /usr/bin/virtex /usr/bin/jadetex
+ dosym /usr/bin/pdfvirtex /usr/bin/pdfjadetex
+ fi
+
+ dohtml -r doc/*
+}
+
+src_test() {
+ return
+}
+
+pkg_postinst() {
+ if has_tetex_3 ; then
+ texmf-update
+ einfo
+ einfo "If jadetex fails with \"TeX capacity exceeded, sorry [save size=5000]\","
+ einfo "increase save_size in /etc/texmf/texmf.d/80jadetex.cnf and."
+ einfo "remerge jadetex. See bug #21501."
+ einfo
+ else
+ latex-package_pkg_postinst
+ fi
+}
+
+pkg_postrm() {
+ if has_tetex_3 ; then
+ texmf-update
+ else
+ latex-package_pkg_postrm
+ fi
+}
diff --git a/app-text/jadetex/jadetex-3.13.ebuild b/app-text/jadetex/jadetex-3.13.ebuild
index cce25531ec88..fc3e49e8aa1c 100644
--- a/app-text/jadetex/jadetex-3.13.ebuild
+++ b/app-text/jadetex/jadetex-3.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/jadetex-3.13.ebuild,v 1.10 2005/04/08 14:24:52 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/jadetex-3.13.ebuild,v 1.11 2005/04/09 03:36:53 usata Exp $
inherit latex-package
@@ -58,3 +58,7 @@ src_install() {
dohtml -r doc/*
}
+
+src_test() {
+ return
+}