summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Turk <satai@gentoo.org>2003-02-03 05:35:40 +0000
committerMatthew Turk <satai@gentoo.org>2003-02-03 05:35:40 +0000
commit1be658c1db4dfaaa88e9913257f1ec2170d3a084 (patch)
treefc00aec30152ad325c8715e93acade252960d1bf /app-text
parentversionbump (diff)
downloadgentoo-2-1be658c1db4dfaaa88e9913257f1ec2170d3a084.tar.gz
gentoo-2-1be658c1db4dfaaa88e9913257f1ec2170d3a084.tar.bz2
gentoo-2-1be658c1db4dfaaa88e9913257f1ec2170d3a084.zip
Removing all the old, beta ebuilds, adding the new version 2.0 of teTeX ebuild.
Hopefully this will fix lots of problems we've seen in the past with tetex, as it's been a long time since a proper release.
Diffstat (limited to 'app-text')
-rw-r--r--app-text/tetex/ChangeLog8
-rw-r--r--app-text/tetex/files/digest-tetex-2.03
-rw-r--r--app-text/tetex/files/digest-tetex-200209015
-rw-r--r--app-text/tetex/files/digest-tetex-20020901-r15
-rw-r--r--app-text/tetex/files/digest-tetex-200301124
-rw-r--r--app-text/tetex/files/tetex-2.0-dont-run-config.diff (renamed from app-text/tetex/files/tetex-20030112-dont-run-config.diff)0
-rw-r--r--app-text/tetex/files/tetex-20020901-dont-run-config.diff40
-rw-r--r--app-text/tetex/files/tetex-20020901-fontmap.diff57
-rw-r--r--app-text/tetex/files/tetex-20020901-local.diff24
-rw-r--r--app-text/tetex/files/tetex-20020901-makefile.diff27
-rw-r--r--app-text/tetex/tetex-2.0.ebuild (renamed from app-text/tetex/tetex-20030112.ebuild)20
-rw-r--r--app-text/tetex/tetex-20020901-r1.ebuild183
-rw-r--r--app-text/tetex/tetex-20020901.ebuild165
13 files changed, 22 insertions, 519 deletions
diff --git a/app-text/tetex/ChangeLog b/app-text/tetex/ChangeLog
index 909660866ffd..96961fda7f69 100644
--- a/app-text/tetex/ChangeLog
+++ b/app-text/tetex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/tetex
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.25 2003/01/19 01:53:18 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.26 2003/02/03 05:35:40 satai Exp $
+
+*tetex-2.0 (02 Feb 2003)
+
+ 02 Feb 2003; Matthew Turk <satai@gentoo.org> :
+ teTeX-2.0 is released! This should fix *so* many bugs it's just
+ unbelievable... Still leaving marked unstable for the freeze, however.
18 Jan 2003; Aron Griffis <agriffis@gentoo.org> tetex-1.0.7-r12.ebuild :
Fix bug 13789 again, this time by taking Felix's suggestion. Thought I had
diff --git a/app-text/tetex/files/digest-tetex-2.0 b/app-text/tetex/files/digest-tetex-2.0
new file mode 100644
index 000000000000..c66b7d12ee72
--- /dev/null
+++ b/app-text/tetex/files/digest-tetex-2.0
@@ -0,0 +1,3 @@
+MD5 47aed744f1311d49dd9fbd60581da2c4 tetex-src-2.0.tar.gz 11339755
+MD5 91eb7e7aa77a6559e49eecef69211307 tetex-texmfsrc-2.0.tar.gz 22681178
+MD5 56dbbb48f40d795da18c2695666fd175 tetex-texmf-2.0.tar.gz 51697826
diff --git a/app-text/tetex/files/digest-tetex-20020901 b/app-text/tetex/files/digest-tetex-20020901
deleted file mode 100644
index 6913914fc32c..000000000000
--- a/app-text/tetex/files/digest-tetex-20020901
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 692e98841adb9696c32fb976a99bfbc0 teTeX-src-beta-20020901.tar.gz 10064871
-MD5 a623715d418f2c02f16806eb91b288ca teTeX-texmfsrc-beta-20020829.tar.gz 23355616
-MD5 8ecfd4809e99e2475e946578f38b9623 teTeX-texmf-beta-20020901.tar.gz 48760604
-MD5 12925188fdadcd6a970c21bba3269fc2 ec-ready-mf-tfm.tar.gz 386630
-MD5 37393316b285926214c247acd55db743 teTeX-french.tar.gz 268161
diff --git a/app-text/tetex/files/digest-tetex-20020901-r1 b/app-text/tetex/files/digest-tetex-20020901-r1
deleted file mode 100644
index 6913914fc32c..000000000000
--- a/app-text/tetex/files/digest-tetex-20020901-r1
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 692e98841adb9696c32fb976a99bfbc0 teTeX-src-beta-20020901.tar.gz 10064871
-MD5 a623715d418f2c02f16806eb91b288ca teTeX-texmfsrc-beta-20020829.tar.gz 23355616
-MD5 8ecfd4809e99e2475e946578f38b9623 teTeX-texmf-beta-20020901.tar.gz 48760604
-MD5 12925188fdadcd6a970c21bba3269fc2 ec-ready-mf-tfm.tar.gz 386630
-MD5 37393316b285926214c247acd55db743 teTeX-french.tar.gz 268161
diff --git a/app-text/tetex/files/digest-tetex-20030112 b/app-text/tetex/files/digest-tetex-20030112
deleted file mode 100644
index 2f85e196ec0e..000000000000
--- a/app-text/tetex/files/digest-tetex-20030112
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 d15b626f4b0d3d3698ea2b8c28b532a5 teTeX-src-beta-20030112.tar.gz 11135685
-MD5 c9a7045b8bf6a3f6c3d868d6fd381091 teTeX-texmf-beta-20030112.tar.gz 48980288
-MD5 12925188fdadcd6a970c21bba3269fc2 ec-ready-mf-tfm.tar.gz 386630
-MD5 37393316b285926214c247acd55db743 teTeX-french.tar.gz 268161
diff --git a/app-text/tetex/files/tetex-20030112-dont-run-config.diff b/app-text/tetex/files/tetex-2.0-dont-run-config.diff
index 6ab71bc5b229..6ab71bc5b229 100644
--- a/app-text/tetex/files/tetex-20030112-dont-run-config.diff
+++ b/app-text/tetex/files/tetex-2.0-dont-run-config.diff
diff --git a/app-text/tetex/files/tetex-20020901-dont-run-config.diff b/app-text/tetex/files/tetex-20020901-dont-run-config.diff
deleted file mode 100644
index 912bd5d259ec..000000000000
--- a/app-text/tetex/files/tetex-20020901-dont-run-config.diff
+++ /dev/null
@@ -1,40 +0,0 @@
---- teTeX-src-beta-20020901/Makefile.in.orig Mon Sep 16 15:06:33 2002
-+++ teTeX-src-beta-20020901/Makefile.in Mon Sep 16 15:12:22 2002
-@@ -85,15 +85,15 @@
- done
- $(srcdir)/selfautofix "$(bindir)" "$(texmf)/web2c"
- cd $(bindir); for i in $(ALLPROGS); do test -f $$i && { echo strip $$i; strip $$i || true; }; done; true
-- test -f $(scriptdir)/mktexlsr && \
-- TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-- $(scriptdir)/mktexlsr
-- test -f $(scriptdir)/fmtutil && \
-- TEXMFCNF=$(texmf)/web2c TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-- $(scriptdir)/fmtutil --all
-- test -f $(scriptdir)/texlinks && \
-- TEXMF=$(texmf) TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-- $(scriptdir)/texlinks
-+# test -f $(scriptdir)/mktexlsr && \
-+# TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-+# $(scriptdir)/mktexlsr
-+# test -f $(scriptdir)/fmtutil && \
-+# TEXMFCNF=$(texmf)/web2c TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-+# $(scriptdir)/fmtutil --all
-+# test -f $(scriptdir)/texlinks && \
-+# TEXMF=$(texmf) TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-+# $(scriptdir)/texlinks
-
- install-exec:
- for dir in $(ESUBDIRS); do \
-@@ -102,9 +102,9 @@
- $(MAKE) $@) || exit 1; \
- done
- cd $(bindir); for i in $(ALLPROGS); do test -f $$i && { echo strip $$i; strip $$i || true; }; done; true
-- test -f $(scriptdir)/texlinks && \
-- TEXMF=$(texmf) TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-- $(scriptdir)/texlinks
-+# test -f $(scriptdir)/texlinks && \
-+# TEXMF=$(texmf) TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-+# $(scriptdir)/texlinks
-
- strip:
-
diff --git a/app-text/tetex/files/tetex-20020901-fontmap.diff b/app-text/tetex/files/tetex-20020901-fontmap.diff
deleted file mode 100644
index 64a3bb064320..000000000000
--- a/app-text/tetex/files/tetex-20020901-fontmap.diff
+++ /dev/null
@@ -1,57 +0,0 @@
---- texk.orig/tetex/updmap Mon Sep 2 11:16:34 2002
-+++ texk/tetex/updmap Mon Sep 2 10:32:22 2002
-@@ -290,13 +290,13 @@
- -e 's/ NimbusMonL-Regu / Courier /' \
- -e 's/ NimbusMonL-ReguObli / Courier-Oblique /' \
- -e 's/ NimbusSanL-Bold / Helvetica-Bold /' \
-- -e 's/ NimbusSanL-BoldCond / Helvetica-Condensed-Bold /' \
-+ -e 's/ NimbusSanL-BoldCond / Helvetica-Narrow-Bold /' \
- -e 's/ NimbusSanL-BoldItal / Helvetica-BoldOblique /' \
-- -e 's/ NimbusSanL-BoldCondItal / Helvetica-Condensed-BoldObl /' \
-+ -e 's/ NimbusSanL-BoldCondItal / Helvetica-Narrow-BoldOblique /' \
- -e 's/ NimbusSanL-Regu / Helvetica /' \
-- -e 's/ NimbusSanL-ReguCond / Helvetica-Condensed /' \
-+ -e 's/ NimbusSanL-ReguCond / Helvetica-Narrow /' \
- -e 's/ NimbusSanL-ReguItal / Helvetica-Oblique /' \
-- -e 's/ NimbusSanL-ReguCondItal / Helvetica-Condensed-Oblique /' \
-+ -e 's/ NimbusSanL-ReguCondItal / Helvetica-Narrow-Oblique /' \
- -e 's/ CenturySchL-Bold / NewCenturySchlbk-Bold /' \
- -e 's/ CenturySchL-BoldItal / NewCenturySchlbk-BoldItalic /' \
- -e 's/ CenturySchL-Roma / NewCenturySchlbk-Roman /' \
-@@ -335,13 +335,13 @@
- -e 's/\<ucrr8a.pfb\>/pcrr8a.pfb/' \
- -e 's/\<ucrro8a.pfb\>/pcrro8a.pfb/' \
- -e 's/\<uhvb8a.pfb\>/phvb8a.pfb/' \
-- -e 's/\<uhvb8ac.pfb\>/phvb8ac.pfb/' \
-+ -e 's/\<uhvb8ac.pfb\>/phvb8an.pfb/' \
- -e 's/\<uhvbo8a.pfb\>/phvbo8a.pfb/' \
-- -e 's/\<uhvbo8ac.pfb\>/phvbo8ac.pfb/' \
-+ -e 's/\<uhvbo8ac.pfb\>/phvbo8an.pfb/' \
- -e 's/\<uhvr8a.pfb\>/phvr8a.pfb/' \
-- -e 's/\<uhvr8ac.pfb\>/phvr8ac.pfb/' \
-+ -e 's/\<uhvr8ac.pfb\>/phvr8an.pfb/' \
- -e 's/\<uhvro8a.pfb\>/phvro8a.pfb/' \
-- -e 's/\<uhvro8ac.pfb\>/phvro8ac.pfb/' \
-+ -e 's/\<uhvro8ac.pfb\>/phvro8an.pfb/' \
- -e 's/\<uncb8a.pfb\>/pncb8a.pfb/' \
- -e 's/\<uncbi8a.pfb\>/pncbi8a.pfb/' \
- -e 's/\<uncr8a.pfb\>/pncr8a.pfb/' \
-@@ -425,13 +425,13 @@
- -e 's/\<ucrr8a.pfb\>/com_____.pfb/' \
- -e 's/\<ucrro8a.pfb\>/coo_____.pfb/' \
- -e 's/\<uhvb8a.pfb\>/hvb_____.pfb/' \
-- -e 's/\<uhvb8ac.pfb\>/hvcb____.pfb/' \
-+ -e 's/\<uhvb8ac.pfb\>/hvnb____.pfb/' \
- -e 's/\<uhvbo8a.pfb\>/hvbo____.pfb/' \
-- -e 's/\<uhvbo8ac.pfb\>/hvcbo___.pfb/' \
-+ -e 's/\<uhvbo8ac.pfb\>/hvnbo___.pfb/' \
- -e 's/\<uhvr8a.pfb\>/hv______.pfb/' \
-- -e 's/\<uhvr8ac.pfb\>/hvc_____.pfb/' \
-+ -e 's/\<uhvr8ac.pfb\>/hvn_____.pfb/' \
- -e 's/\<uhvro8a.pfb\>/hvo_____.pfb/' \
-- -e 's/\<uhvro8ac.pfb\>/hvcdo___.pfb/' \
-+ -e 's/\<uhvro8ac.pfb\>/hvno____.pfb/' \
- -e 's/\<uncb8a.pfb\>/ncb_____.pfb/' \
- -e 's/\<uncbi8a.pfb\>/ncbi____.pfb/' \
- -e 's/\<uncr8a.pfb\>/ncr_____.pfb/' \
-
diff --git a/app-text/tetex/files/tetex-20020901-local.diff b/app-text/tetex/files/tetex-20020901-local.diff
deleted file mode 100644
index b45ea4d4f6ae..000000000000
--- a/app-text/tetex/files/tetex-20020901-local.diff
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ru teTeX-src-beta-20020901/texk/kpathsea/texmf.in teTeX-src-beta-20020901-fixed/texk/kpathsea/texmf.in
---- teTeX-src-beta-20020901/texk/kpathsea/texmf.in Sun Sep 1 05:44:23 2002
-+++ teTeX-src-beta-20020901-fixed/texk/kpathsea/texmf.in Thu Sep 12 11:28:59 2002
-@@ -58,7 +58,7 @@
- TEXMFMAIN = @texmf@
-
- % A place for local additions to a "standard" texmf tree. For example:
--TEXMFLOCAL = @texmf@-local
-+TEXMFLOCAL = /usr/local/share/texmf
-
- % If defined, teTeX's texconfig stores modifications here (instead of the
- % TEXMFMAIN tree).
-diff -ru teTeX-src-beta-20020901/texmf/web2c/texmf.cnf teTeX-src-beta-20020901-fixed/texmf/web2c/texmf.cnf
---- teTeX-src-beta-20020901/texmf/web2c/texmf.cnf Sun Sep 1 15:00:52 2002
-+++ teTeX-src-beta-20020901-fixed/texmf/web2c/texmf.cnf Thu Sep 12 11:31:19 2002
-@@ -58,7 +58,7 @@
- TEXMFMAIN = /usr/local/teTeX/share/texmf
-
- % A place for local additions to a "standard" texmf tree. For example:
--TEXMFLOCAL = /usr/local/teTeX/share/texmf-local
-+TEXMFLOCAL = /usr/local/share/texmf
-
- % If defined, teTeX's texconfig stores modifications here (instead of the
- % TEXMFMAIN tree).
diff --git a/app-text/tetex/files/tetex-20020901-makefile.diff b/app-text/tetex/files/tetex-20020901-makefile.diff
deleted file mode 100644
index d659e766d9f9..000000000000
--- a/app-text/tetex/files/tetex-20020901-makefile.diff
+++ /dev/null
@@ -1,27 +0,0 @@
---- Makefile.install Thu Sep 5 09:30:02 2002
-+++ Makefile.install.final Thu Sep 5 09:57:23 2002
-@@ -85,15 +85,15 @@
- done
- $(srcdir)/selfautofix "$(bindir)" "$(texmf)/web2c"
- cd $(bindir); for i in $(ALLPROGS); do test -f $$i && { echo strip $$i; strip $$i || true; }; done; true
-- test -f $(scriptdir)/mktexlsr && \
-- TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-- echo
-- test -f $(scriptdir)/fmtutil && \
-- TEXMFCNF=$(texmf)/web2c TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-- $(scriptdir)/fmtutil --all
-- test -f $(scriptdir)/texlinks && \
-- TEXMF=$(texmf) TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-- $(scriptdir)/texlinks
-+ #test -f $(scriptdir)/mktexlsr && \
-+ #TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-+ #echo
-+ #test -f $(scriptdir)/fmtutil && \
-+ #TEXMFCNF=$(texmf)/web2c TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-+ #$(scriptdir)/fmtutil --all
-+ #test -f $(scriptdir)/texlinks && \
-+ #TEXMF=$(texmf) TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
-+ #$(scriptdir)/texlinks
-
- install-exec:
- for dir in $(ESUBDIRS); do \
diff --git a/app-text/tetex/tetex-20030112.ebuild b/app-text/tetex/tetex-2.0.ebuild
index 398ce307b756..409c793a7d00 100644
--- a/app-text/tetex/tetex-20030112.ebuild
+++ b/app-text/tetex/tetex-2.0.ebuild
@@ -1,19 +1,21 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-20030112.ebuild,v 1.2 2003/01/13 23:00:01 satai Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.ebuild,v 1.1 2003/02/03 05:35:40 satai Exp $
inherit flag-o-matic
IUSE="ncurses X libwww png"
+S=${WORKDIR}/tetex-src-${PV}
-TEXMFSRC="teTeX-texmf-beta-20030112.tar.gz"
+TETEXSRC="tetex-src-${PV}.tar.gz"
+TEXMFSRC="tetex-texmfsrc-${PV}.tar.gz"
+TEXMF="tetex-texmf-${PV}.tar.gz"
-S=${WORKDIR}/teTeX-src-beta-20030112
DESCRIPTION="teTeX is a complete TeX distribution"
-SRC_URI="ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-${PV}.tar.gz
- ftp://cam.ctan.org/tex-archive/systems/unix/teTeX-beta/teTeX-texmf-beta-${PV}.tar.gz"
+SRC_URI="ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TETEXSRC}
+ ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TEXMFSRC}
+ ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TEXMF}"
HOMEPAGE="http://tug.cs.umb.edu/tetex/"
-
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
SLOT="0"
LICENSE="GPL-2"
@@ -30,7 +32,7 @@ RDEPEND=">=sys-devel/perl-5.2
src_unpack() {
- unpack teTeX-src-beta-${PV}.tar.gz
+ unpack ${TETEXSRC}
cd ${S}
#patch -p1 < ${FILESDIR}/${PF}-gentoo.diff
@@ -42,6 +44,9 @@ src_unpack() {
einfo "Unpacking ${TEXMFSRC}"
tar --no-same-owner -xzf ${DISTDIR}/${TEXMFSRC} || die
+ einfo "Unpacking ${TEXMF}"
+ tar --no-same-owner -xzf ${DISTDIR}/${TEXMF} || die
+
# Do not run config stuff
cd ${WORKDIR}
cd ${S}
@@ -161,7 +166,6 @@ pkg_postinst() {
texconfig font vardir /var/cache/fonts &>/dev/null
einfo "Generating format files..."
fmtutil --missing &>/dev/null # This should generate all missing fmt files.
-
echo
einfo "Use 'texconfig font rw' to allow all users to generate fonts."
echo
diff --git a/app-text/tetex/tetex-20020901-r1.ebuild b/app-text/tetex/tetex-20020901-r1.ebuild
deleted file mode 100644
index f4663842cb85..000000000000
--- a/app-text/tetex/tetex-20020901-r1.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-20020901-r1.ebuild,v 1.9 2002/12/09 04:17:45 manson Exp $
-
-IUSE="ncurses X libwww png"
-
-TETEXSRC="teTeX-src-beta-${PV}.tar.gz"
-TEXMFSRC="teTeX-texmfsrc-beta-20020829.tar.gz"
-TEXMF="teTeX-texmf-beta-${PV}.tar.gz"
-
-S=${WORKDIR}/teTeX-src-beta-${PV}
-DESCRIPTION="teTeX is a complete TeX distribution"
-SRC_URI=" ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/${TETEXSRC}
- ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/${TEXMFSRC}
- ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/${TEXMF}
- mirror://gentoo/ec-ready-mf-tfm.tar.gz
- mirror://gentoo/teTeX-french.tar.gz"
-HOMEPAGE="http://tug.cs.umb.edu/tetex/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc sparc "
-
-DEPEND="sys-apps/ed
- sys-libs/zlib
- X? ( virtual/x11 )
- png? ( >=media-libs/libpng-1.2.1 )
- ncurses? ( sys-libs/ncurses )
- libwww? ( >=net-libs/libwww-5.4.0-r1 )"
-
-RDEPEND=">=sys-devel/perl-5.2
- dev-util/dialog"
-
-src_unpack() {
-
- unpack ${TETEXSRC}
-
- mkdir -p ${S}/texmf
- cd ${S}/texmf
- umask 022
- echo ">>> Unpacking ${TEXMFSRC}"
- tar --no-same-owner -xzf ${DISTDIR}/${TEXMFSRC} || die "Failed to unpack ${TEXMFSRC}!"
- echo ">>> Unpacking ${TEXMF}"
- tar --no-same-owner -xzf ${DISTDIR}/${TEXMF} || die "Failed to unpack ${TEXMF}!"
- echo ">>> Unpacking ec-ready-mf-tfm.tar.gz"
- tar --no-same-owner -xzf ${DISTDIR}/ec-ready-mf-tfm.tar.gz -C .. || \
- die "Failed to unpack ec-ready-mf-tfm.tar.gz!"
- echo ">>> Unpacking teTeX-french.tar.gz"
- tar --no-same-owner -xzf ${DISTDIR}/teTeX-french.tar.gz || \
- die "Failed to unpack teTeX-french.tar.gz!"
-
- cd ${S}
- # Fix invalid font mappings.
- patch -p0 < ${FILESDIR}/${P}-fontmap.diff || die
- # Change TEXMFLOCAL to /usr/local/share/texmf by default.
- patch -p1 < ${FILESDIR}/${P}-local.diff || die
-
- # Do not run config stuff during 'make install'
- # Rather do it here, as we really should not do it during
- # src_install().
- patch -p1 < ${FILESDIR}/${P}-dont-run-config.diff || die
-
- if [ "`use ncurses`" ]
- then
- cd ${S}/texk/tetex
- sed 's/tcdialog/dialog/g' texconfig > tc-gentoo
- mv tc-gentoo texconfig
- fi
-}
-
-src_compile() {
-
- local myconf=""
- use X \
- && myconf="--with-x" \
- || myconf="--without-x"
-
- use libwww \
- && myconf="${myconf} --with-system-wwwlib"
-
- use png \
- && myconf="${myconf} --with-system-pnglib"
-
- use ncurses \
- && myconf="${myconf} --with-system-ncurses \
- --with-ncurses-libdir=/usr/lib \
- --with-ncurses-include=/usr/include"
-
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --datadir=${S} \
- --without-texinfo \
- --without-dialog \
- --with-system-zlib \
- --disable-multiplatform \
- --with-epsfwin \
- --with-mftalkwin \
- --with-regiswin \
- --with-tektronixwin \
- --with-unitermwin \
- --with-ps=gs \
- --enable-ipc \
- --with-etex \
- ${myconf} || die
-
- make texmf=/usr/share/texmf || die
-}
-
-src_install() {
-
- dodir /usr/share/
- einfo "Installing texmf data..."
- mv -f texmf ${D}/usr/share
-
- make prefix=${D}/usr \
- bindir=${D}/usr/bin \
- datadir=${D}/usr/share \
- mandir=${D}/usr/share/man/man1 \
- infodir=${D}/usr/share/info \
- texmf=${D}/usr/share/texmf \
- -f Makefile \
- install || die
-
- dodoc PROBLEMS README
- docinto texk
- dodoc texk/ChangeLog texk/README
- docinto kpathesa
- cd ${S}/texk/kpathsea
- dodoc README* NEWS PROJECTS HIER
- docinto dviljk
- cd ${S}/texk/dviljk
- dodoc AUTHORS README NEWS
- docinto dvipsk
- cd ${S}/texk/dvipsk
- dodoc AUTHORS ChangeLog INSTALLATION README
- docinto makeindexk
- cd ${S}/texk/makeindexk
- dodoc CONTRIB COPYING NEWS NOTES PORTING README
- docinto ps2pkm
- cd ${S}/texk/ps2pkm
- dodoc ChangeLog CHANGES.type1 INSTALLATION README*
- docinto web2c
- cd ${S}/texk/web2c
- dodoc AUTHORS ChangeLog NEWS PROJECTS README
- docinto xdvik
- cd ${S}/texk/xdvik
- dodoc BUGS FAQ README*
-
- # Fix for conflicting readlink binary.
- rm -f ${D}/bin/readlink
- # Add /var/cache/fonts directory.
- dodir /var/cache/fonts
-
- # Fix for lousy upstream permissions on /usr/share/texmf files
- # NOTE: fowners is not recursive...
- einfo "Fixing permissions and ownership..."
- chown -R root.root ${D}/usr/share/texmf
-}
-
-pkg_postinst() {
-
- if [ "${ROOT}" = "/" ]
- then
- einfo "Configuring teTeX..."
- mktexlsr &> /dev/null
- fmtutil --all &> /dev/null
- texlinks &> /dev/null
- texconfig init &> /dev/null
- texconfig confall &> /dev/null
- texconfig font vardir /var/cache/fonts &> /dev/null
- texconfig font rw &> /dev/null
- echo
-
- einfo "To allow only root to generate fonts, use:"
- einfo ""
- einfo "\ttexconfig font ro"
- fi
-}
-
diff --git a/app-text/tetex/tetex-20020901.ebuild b/app-text/tetex/tetex-20020901.ebuild
deleted file mode 100644
index 8f2885d96ff9..000000000000
--- a/app-text/tetex/tetex-20020901.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-20020901.ebuild,v 1.9 2002/12/09 04:17:45 manson Exp $
-
-IUSE="ncurses X libwww png"
-
-TEXMFSRC="teTeX-texmfsrc-beta-20020829.tar.gz"
-TEXMF="teTeX-texmf-beta-20020901.tar.gz"
-S=${WORKDIR}/teTeX-src-beta-${PV}
-DESCRIPTION="teTeX is a complete TeX distribution"
-SRC_URI=" ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/teTeX-src-beta-20020901.tar.gz
- ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/${TEXMFSRC}
- ftp://ftp.dante.de/tex-archive/systems/unix/teTeX-beta/${TEXMF}
- http://www.ibiblio.org/gentoo/distfiles/ec-ready-mf-tfm.tar.gz
- http://www.ibiblio.org/gentoo/distfiles/teTeX-french.tar.gz"
-HOMEPAGE="http://tug.cs.umb.edu/tetex/"
-SLOT="0"
-LICENSE="GPL-2"
-
-DEPEND="sys-apps/ed
- sys-libs/zlib
- X? ( virtual/x11 )
- png? ( >=media-libs/libpng-1.2.1 )
- ncurses? ( sys-libs/ncurses )
- libwww? ( >=net-libs/libwww-5.4.0-r1 )"
-
-RDEPEND=">=sys-devel/perl-5.2
- dev-util/dialog"
-
-KEYWORDS="x86 ppc sparc "
-
-src_unpack() {
-
- unpack teTeX-src-beta-20020901.tar.gz
-
- mkdir ${S}/texmf
- cd ${S}/texmf
- echo ">>> Unpacking ${TEXMFSRC}"
- tar xzf ${DISTDIR}/${TEXMFSRC}
- echo ">>> Unpacking ${TEXMF}"
- tar xzf ${DISTDIR}/${TEXMF}
- echo ">>> Unpacking ec-ready-mf-tfm.tar.gz"
- tar xzf ${DISTDIR}/ec-ready-mf-tfm.tar.gz -C ..
- echo ">>> Unpacking teTeX-french.tar.gz"
- tar xzf ${DISTDIR}/teTeX-french.tar.gz
-
- cd ${S}
- patch -p0 < ${FILESDIR}/tetex-20020901-fontmap.diff || die
- cd texk/tetex
- sed 's/tcdialog/dialog/g' texconfig > tc-gentoo ||die
- mv tc-gentoo texconfig
-
-}
-
-src_compile() {
-
- local myconf
- use X \
- && myconf="--with-x" \
- || myconf="--without-x"
-
- use libwww && ( \
- myconf="${myconf} --with-system-wwwlib"
- )
-
- use png \
- && myconf="${myconf} --with-system-pnglib"
-
-
- use ncurses \
- && myconf="${myconf} --with-system-ncurses --with-ncurses-libdir=/usr/lib --with-ncurses-include=/usr/include"
-
-
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --datadir=${S} \
- --without-texinfo \
- --without-dialog \
- --with-system-zlib \
- --disable-multiplatform \
- --with-epsfwin \
- --with-mftalkwin \
- --with-regiswin \
- --with-tektronixwin \
- --with-unitermwin \
- --with-ps=gs \
- --enable-ipc \
- --with-etex \
- ${myconf} || die
-
- make texmf=/usr/share/texmf || die
-}
-
-src_install() {
-
- cd ${S}
- dodir /usr/share/
- cp -af texmf ${D}/usr/share
- sed -e 's: \$(scriptdir)/mktexlsr: echo:' \
- -e 's:\$(scriptdir)/texconfig init:echo:' \
- Makefile > Makefile.install
- patch -p0 < ${FILESDIR}/tetex-20020901-makefile.diff || die
- make prefix=${D}/usr \
- bindir=${D}/usr/bin \
- datadir=${D}/usr/share \
- mandir=${D}/usr/share/man/man1 \
- infodir=${D}/usr/share/info \
- texmf=${D}/usr/share/texmf \
- -f Makefile.install \
- install || die
-
- dodoc PROBLEMS README
- docinto texk
- dodoc texk/ChangeLog texk/README
- docinto kpathesa
- cd ${S}/texk/kpathsea
- dodoc README* NEWS PROJECTS HIER
- docinto dviljk
- cd ${S}/texk/dviljk
- dodoc AUTHORS README NEWS
- docinto dvipsk
- cd ${S}/texk/dvipsk
- dodoc AUTHORS ChangeLog INSTALLATION README
- docinto makeindexk
- cd ${S}/texk/makeindexk
- dodoc CONTRIB COPYING NEWS NOTES PORTING README
- docinto ps2pkm
- cd ${S}/texk/ps2pkm
- dodoc ChangeLog CHANGES.type1 INSTALLATION README*
- docinto web2c
- cd ${S}/texk/web2c
- dodoc AUTHORS ChangeLog NEWS PROJECTS README
- docinto xdvik
- cd ${S}/texk/xdvik
- dodoc BUGS FAQ README*
-
- #fix for conflicting readlink binary:
- rm ${D}/bin/readlink
- #add /var/cache/fonts directory
- dodir /var/cache/fonts
-
- #fix for lousy upstream permisssions on /usr/share/texmf files
- fowners root.root /usr/share/texmf/*
-}
-
-pkg_postinst() {
-
- if [ $ROOT = "/" ]
- then
- echo ">>> Configuring teTeX..."
- mktexlsr >/dev/null 2>&1
- fmtutil --all >/dev/null 2>&1
- texlinks >/dev/null 2>&1
- texconfig init >/dev/null 2>&1
- texconfig confall >/dev/null 2>&1
- texconfig font vardir /var/cache/fonts >/dev/null 2>&1
- texconfig font rw
- echo
- einfo "Use 'texconfig font ro' to allow only root to generate fonts."
- fi
-}