summaryrefslogtreecommitdiff
path: root/app-text/jadetex
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/jadetex
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/jadetex')
-rw-r--r--app-text/jadetex/Manifest5
-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, 118 insertions, 0 deletions
diff --git a/app-text/jadetex/Manifest b/app-text/jadetex/Manifest
new file mode 100644
index 000000000000..c42f64630a84
--- /dev/null
+++ b/app-text/jadetex/Manifest
@@ -0,0 +1,5 @@
+AUX 80jadetex.cnf 995 BLAKE2B 1316aa328e42553d13ba377512bb1c7301a62ee60b8351a9209dbdf7ebd306f092e9b3e35c6b605c9847a1fd931cda3ccfb042a30ec3415b59f1c88537ebe55d SHA512 b1e940b79bbb76b3ad02c82e25120651ab64259be104849fc39aee94fcedaea091220b6896217faa84f93a45cbafca5b1855396b47210952723148b69d9727f9
+AUX format.jadetex.cnf 170 BLAKE2B f6f923eb38263e054ef470f0e9bb8f4beae75a9ea5f5df380077e1661e22fed024e1f77f56f8419127bfb831b7409f486cd53bfbf2aa81bb80a2c47ec674cf2a SHA512 8d5d6ed30c45e1d79f108268e045acb763fa6815ca90a8f246daff51350ab2c19c7d38237aff3ced94f10bb9de06e3021c11138d3f038f4beaff25c5cade391b
+DIST jadetex-3.13.tar.gz 103137 BLAKE2B f1b94f62a6a9c0a33acba4e8c757bcfaf26660a2d0b4ac338cf5afe8d03476a8744652244218d056678a59507ce3c8de7066314f5559469a60be5287a8c0ab37 SHA512 188fb83b50fbe82856a32ef95088d5c801750114810e3cdf7e1758f78b6a94b331b7ae7d81feb1c08b7bb31ac52f8435503911933350baa3068ad373e11dbba1
+EBUILD jadetex-3.13-r7.ebuild 1620 BLAKE2B 63469fe5dea37a4bbfbe46ee9697de5e4b9b7b7be6afd388d31b6bedb7a2c6c92c7b4bf2439961e27850ab9da23a5ce2452d3004c6be17ba6c731a0337f70fc9 SHA512 bc4e327e12f928cd4adb1c841362950d6e78e8b68f40077f89703d55123d9423be096289f6f691427a7e5fbe14d35d4effb1ca4f496f7cfcf59e9067e74b6ad3
+MISC metadata.xml 326 BLAKE2B 43480e556a9ce9c52fc46d18765664881cbb16ea08954b18d357df0a956d335815e9a0c3093504bd68a5b2249bee307ca05030fbe7fb4324beb8fdd7ff8b2e53 SHA512 eb50eeb89f113a376963fe314c979d5e399f43b0ab85fcecc923618c717e30c90f8f70fe22ba7a02b39b14c57861efebfdb785f607a2e7830578aee20c2bd915
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>