summaryrefslogtreecommitdiff
path: root/app-text/jadetex
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/jadetex')
-rw-r--r--app-text/jadetex/Manifest7
-rw-r--r--app-text/jadetex/files/80jadetex.cnf37
-rw-r--r--app-text/jadetex/files/format.jadetex.cnf3
-rw-r--r--app-text/jadetex/jadetex-3.13-r7.ebuild62
-rw-r--r--app-text/jadetex/metadata.xml11
5 files changed, 120 insertions, 0 deletions
diff --git a/app-text/jadetex/Manifest b/app-text/jadetex/Manifest
new file mode 100644
index 000000000000..c045843c21b5
--- /dev/null
+++ b/app-text/jadetex/Manifest
@@ -0,0 +1,7 @@
+AUX 80jadetex.cnf 995 SHA256 d146a34c916474a33669f0ac892127d72cc2680d2d4e3f56e9e43e7566012eb1 SHA512 b1e940b79bbb76b3ad02c82e25120651ab64259be104849fc39aee94fcedaea091220b6896217faa84f93a45cbafca5b1855396b47210952723148b69d9727f9 WHIRLPOOL 9d51961e3f5269a593081b715e71a8c141795002dc8c9ffc2ad4da30e7e7555a3aea12baae9763f2d5ee04b54b44689141c64f595cdd1e460ea0fb6c77ccefcc
+AUX format.jadetex.cnf 170 SHA256 4b2d4c9b54c5f738b874e108b5943ee59c9a6f7a75ffc3692ae7d00ca73d93ad SHA512 8d5d6ed30c45e1d79f108268e045acb763fa6815ca90a8f246daff51350ab2c19c7d38237aff3ced94f10bb9de06e3021c11138d3f038f4beaff25c5cade391b WHIRLPOOL a3e1fcd59d1a46244a4518b6cfa938766069e968e348042fb81166b5eb8d5a5d34db5d9b01f0ec33928598dc2be5a2b31f78f77d911883df2ee6ac28a1262422
+DIST jadetex-3.13.tar.gz 103137 SHA256 115aa01dc9665c263453e51dbb099769c63e47adb5e800436950154701059cf8 SHA512 188fb83b50fbe82856a32ef95088d5c801750114810e3cdf7e1758f78b6a94b331b7ae7d81feb1c08b7bb31ac52f8435503911933350baa3068ad373e11dbba1 WHIRLPOOL e2f23146969cf107e32658cf4fc338d39c89fd720ba8f77289e003c0c70910fd0d5cfb373f8ad2f012d1cfdbf028e9d56a63f6efd5e7d65fe23639d1a01ee8e9
+EBUILD jadetex-3.13-r7.ebuild 1620 SHA256 c7af40441457b5535c0da899c93e7adcd2563d4233e95bae6f942db204bc8871 SHA512 bc4e327e12f928cd4adb1c841362950d6e78e8b68f40077f89703d55123d9423be096289f6f691427a7e5fbe14d35d4effb1ca4f496f7cfcf59e9067e74b6ad3 WHIRLPOOL fce87bb1ead806183c142b907c4c0e0e59beb1331c69c72e2677caccc4ab2dc82a3b87aea4f6f9633e96c10722326813e1ff562b05628b5be226e70ce537cd15
+MISC ChangeLog 2480 SHA256 da029270870b0f628d13b8b4d8b7687a61f2eaa8168128287a0964ac61aec83e SHA512 d5f80e6b24b656ab5b7a6c70c34bcd63781b8fdf36e8ec63c688c176198c408e40df77b21b2aee09ddaf5a97cba4a909513e18c8959dd1ffe0eee441e63a23fd WHIRLPOOL a9c15a8c6f17dd027378b19abfe4f4e66474ea3be9e354702616ab4f9d091138ea12c2d4ea214b1d7fd6b907c3d4d21dd77278fdeba70f314ba7fffc0c6bcbec
+MISC ChangeLog-2015 9405 SHA256 4698102c5c83877613e463cb7eaa441b541ef111c1374b1d5a61f4c348b5cec9 SHA512 b88f5c6ca9627237338121217c9a121932298e07228ddcd83ebdc13f12bf268e798a233b09a8bc0b6757cfb7f743c1ceb1909386eaaa9b64c69df67bed0d98fc WHIRLPOOL e886037ec01de18b52a580310235133b2b4e8b29579d93ad22f913b52ae39b4aa7e962015891dfe151d9cf818d43ded4c9d80947d3281a0f8022f54480656d44
+MISC metadata.xml 326 SHA256 2b5c6c8ef0f155991251fdbc410ae2473b2d42b02b032a79722b580906ce212e SHA512 eb50eeb89f113a376963fe314c979d5e399f43b0ab85fcecc923618c717e30c90f8f70fe22ba7a02b39b14c57861efebfdb785f607a2e7830578aee20c2bd915 WHIRLPOOL 84132edca88f401f60d1e8a50c66252ab122b83189a5830cee67f83cbcb4757dc9f0b09268368bf43bd8e931013922fb0ce618243fa1fd29cf37e2cecfa6925a
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/format.jadetex.cnf b/app-text/jadetex/files/format.jadetex.cnf
new file mode 100644
index 000000000000..d88f7eb0bff8
--- /dev/null
+++ b/app-text/jadetex/files/format.jadetex.cnf
@@ -0,0 +1,3 @@
+# JadeTeX
+jadetex pdftex language.dat -translate-file=cp227.tcx \&latex jadetex.ini
+pdfjadetex pdftex language.dat -translate-file=cp227.tcx \&pdflatex pdfjadetex.ini
diff --git a/app-text/jadetex/jadetex-3.13-r7.ebuild b/app-text/jadetex/jadetex-3.13-r7.ebuild
new file mode 100644
index 000000000000..01c408053fa0
--- /dev/null
+++ b/app-text/jadetex/jadetex-3.13-r7.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit latex-package texlive-common
+
+DESCRIPTION="TeX macros used by Jade TeX output"
+HOMEPAGE="http://jadetex.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jadetex/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+RESTRICT="test"
+
+DEPEND=">=app-text/openjade-1.3.1
+ dev-texlive/texlive-fontsrecommended
+ || ( dev-texlive/texlive-plaingeneric dev-texlive/texlive-genericrecommended )"
+
+src_compile() {
+ VARTEXFONTS="${T}/fonts" emake
+ VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}" env -u TEXINPUTS \
+ fmtutil --cnffile "${FILESDIR}/format.jadetex.cnf" --fmtdir "${S}/texmf-var/web2c" --all\
+ || die "failed to build format"
+}
+
+src_install() {
+ # Runtime files
+ insinto /usr/share/texmf-site/tex/jadetex
+ doins dsssl.def jadetex.ltx jadetex.cfg {pdf,}jadetex.ini *.sty
+
+ insinto /var/lib/texmf
+ doins -r texmf-var/*
+
+ etexlinks "${FILESDIR}/format.jadetex.cnf"
+
+ # Doc/manpages
+ dodoc ChangeLog*
+ doman *.1
+ dohtml -r .
+
+ # Support for our latex setup
+ insinto /etc/texmf/texmf.d
+ doins "${FILESDIR}/80jadetex.cnf"
+ insinto /etc/texmf/fmtutil.d
+ doins "${FILESDIR}/format.jadetex.cnf"
+}
+
+pkg_postinst() {
+ etexmf-update
+ 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
+}
+
+pkg_postrm() {
+ etexmf-update
+}
diff --git a/app-text/jadetex/metadata.xml b/app-text/jadetex/metadata.xml
new file mode 100644
index 000000000000..964ad3bf6d73
--- /dev/null
+++ b/app-text/jadetex/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">jadetex</remote-id>
+ </upstream>
+</pkgmetadata>