summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-05-25 13:44:17 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-05-25 13:44:17 +0000
commit518d0674afe190111e127c3cc2b7ff6edca4e129 (patch)
tree6b2bff69a97f33386796290fca30f52c90726e46 /app-text/jadetex
parentKeyworded for amd64 wrt bug #305397 (diff)
downloadgentoo-2-518d0674afe190111e127c3cc2b7ff6edca4e129.tar.gz
gentoo-2-518d0674afe190111e127c3cc2b7ff6edca4e129.tar.bz2
gentoo-2-518d0674afe190111e127c3cc2b7ff6edca4e129.zip
Switch to manual install for installing properly in our TeX setup; this allows to put it in the texmf-update loop and avoid bugs like #307807; remove support for our, so called, pre-tetex3 layout, it's been there for more than 5 years
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-text/jadetex')
-rw-r--r--app-text/jadetex/ChangeLog11
-rw-r--r--app-text/jadetex/files/format.jadetex.cnf3
-rw-r--r--app-text/jadetex/jadetex-3.13-r3.ebuild64
3 files changed, 77 insertions, 1 deletions
diff --git a/app-text/jadetex/ChangeLog b/app-text/jadetex/ChangeLog
index 6c6c578dece9..65f58ecb4535 100644
--- a/app-text/jadetex/ChangeLog
+++ b/app-text/jadetex/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-text/jadetex
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/ChangeLog,v 1.47 2010/01/02 11:26:43 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/ChangeLog,v 1.48 2010/05/25 13:44:17 aballier Exp $
+
+*jadetex-3.13-r3 (25 May 2010)
+
+ 25 May 2010; Alexis Ballier <aballier@gentoo.org> +jadetex-3.13-r3.ebuild,
+ +files/format.jadetex.cnf:
+ Switch to manual install for installing properly in our TeX setup; this
+ allows to put it in the texmf-update loop and avoid bugs like #307807;
+ remove support for our, so called, pre-tetex3 layout, it's been there for
+ more than 5 years
02 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
jadetex-3.13-r2.ebuild:
diff --git a/app-text/jadetex/files/format.jadetex.cnf b/app-text/jadetex/files/format.jadetex.cnf
new file mode 100644
index 000000000000..5bd4d378c0a6
--- /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-r3.ebuild b/app-text/jadetex/jadetex-3.13-r3.ebuild
new file mode 100644
index 000000000000..c5482722e903
--- /dev/null
+++ b/app-text/jadetex/jadetex-3.13-r3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/jadetex-3.13-r3.ebuild,v 1.1 2010/05/25 13:44:17 aballier Exp $
+
+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="freedist"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+RESTRICT="test"
+
+DEPEND=">=app-text/openjade-1.3.1
+ || ( dev-texlive/texlive-fontsrecommended app-text/ptex )"
+
+src_compile() {
+ VARTEXFONTS="${T}/fonts" emake || die "emake failed"
+ 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/tex/jadetex
+ doins dsssl.def jadetex.ltx jadetex.cfg jadetex.ini *.sty || die
+
+ insinto /var/lib/texmf
+ doins -r texmf-var/* || die
+
+ 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() {
+ if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; 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
+}
+
+pkg_postrm() {
+ if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then
+ /usr/sbin/texmf-update
+ fi
+}