summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-12-15 10:37:21 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-12-15 10:37:21 +0000
commit89cc8ee2fa73537425b995ca12dbfe1dc4d8772b (patch)
tree0afdb1e4c593bded545ec5c68601b1325ceab3cf /app-text/texlive
parentremove obsolete masks for apache and subversion (diff)
downloadhistorical-89cc8ee2fa73537425b995ca12dbfe1dc4d8772b.tar.gz
historical-89cc8ee2fa73537425b995ca12dbfe1dc4d8772b.tar.bz2
historical-89cc8ee2fa73537425b995ca12dbfe1dc4d8772b.zip
remove texlive 2005 as 2007 has been there for a while
Package-Manager: portage-2.1.4_rc10
Diffstat (limited to 'app-text/texlive')
-rw-r--r--app-text/texlive/ChangeLog14
-rw-r--r--app-text/texlive/Manifest60
-rw-r--r--app-text/texlive/files/2005/texlive-2005-amd64-xdvik-wp.patch27
-rw-r--r--app-text/texlive/files/2005/texlive-2005-create-empty-files.patch24
-rw-r--r--app-text/texlive/files/2005/texlive-2005-fmtutil-in.patch38
-rw-r--r--app-text/texlive/files/2005/texlive-2005-gentoo-texmf-site.patch26
-rw-r--r--app-text/texlive/files/2005/texlive-2005-mptest.patch11
-rw-r--r--app-text/texlive/files/2005/texlive-2005-pdftosrc-install.patch19
-rw-r--r--app-text/texlive/files/2005/texlive-2005-use-system-libtool.patch50
-rw-r--r--app-text/texlive/files/2005/texlive-2005-xpdf-vulnerabilities.patch143
-rw-r--r--app-text/texlive/files/digest-texlive-20059
-rw-r--r--app-text/texlive/files/texmf-update58
-rw-r--r--app-text/texlive/texlive-2005.ebuild278
13 files changed, 20 insertions, 737 deletions
diff --git a/app-text/texlive/ChangeLog b/app-text/texlive/ChangeLog
index 3bc218f6b459..52f91975434e 100644
--- a/app-text/texlive/ChangeLog
+++ b/app-text/texlive/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for app-text/texlive
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/texlive/ChangeLog,v 1.26 2007/12/11 10:44:15 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/texlive/ChangeLog,v 1.27 2007/12/15 10:37:20 aballier Exp $
+
+ 15 Dec 2007; Alexis Ballier <aballier@gentoo.org>
+ -files/2005/texlive-2005-amd64-xdvik-wp.patch,
+ -files/2005/texlive-2005-create-empty-files.patch,
+ -files/2005/texlive-2005-fmtutil-in.patch,
+ -files/2005/texlive-2005-gentoo-texmf-site.patch,
+ -files/2005/texlive-2005-mptest.patch,
+ -files/2005/texlive-2005-pdftosrc-install.patch,
+ -files/2005/texlive-2005-use-system-libtool.patch,
+ -files/2005/texlive-2005-xpdf-vulnerabilities.patch, -files/texmf-update,
+ -texlive-2005.ebuild:
+ remove texlive 2005 as 2007 has been there for a while
11 Dec 2007; Alexis Ballier <aballier@gentoo.org> texlive-2005.ebuild:
remove cstetex references, its being removed, part of bug #196673
diff --git a/app-text/texlive/Manifest b/app-text/texlive/Manifest
index 4da9968ed648..08fd24a3ec16 100644
--- a/app-text/texlive/Manifest
+++ b/app-text/texlive/Manifest
@@ -1,71 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 2005/texlive-2005-amd64-xdvik-wp.patch 891 RMD160 b5ca77437fb3cb65ab28ded97a122009dda581dd SHA1 f6046af61e128b0b2967687e679109224032c192 SHA256 47644a39dbaafebbb580f421fb6993744a9a74626fee474adfe4cc4a22718749
-MD5 196e2ac417459761152c317025da2141 files/2005/texlive-2005-amd64-xdvik-wp.patch 891
-RMD160 b5ca77437fb3cb65ab28ded97a122009dda581dd files/2005/texlive-2005-amd64-xdvik-wp.patch 891
-SHA256 47644a39dbaafebbb580f421fb6993744a9a74626fee474adfe4cc4a22718749 files/2005/texlive-2005-amd64-xdvik-wp.patch 891
-AUX 2005/texlive-2005-create-empty-files.patch 1091 RMD160 114f69ff218b56bf90861a8d049330109440aca6 SHA1 cb857815570fccfadbcde76dc60973984749ff7d SHA256 1869e55c2ab0378938992bf06dd618fde7c0c7fb6cdcdd39145b594cae196d17
-MD5 55cc394be5a65a4a5c5b7c4d8d8f5fe7 files/2005/texlive-2005-create-empty-files.patch 1091
-RMD160 114f69ff218b56bf90861a8d049330109440aca6 files/2005/texlive-2005-create-empty-files.patch 1091
-SHA256 1869e55c2ab0378938992bf06dd618fde7c0c7fb6cdcdd39145b594cae196d17 files/2005/texlive-2005-create-empty-files.patch 1091
-AUX 2005/texlive-2005-fmtutil-in.patch 1767 RMD160 0495f340842d0a0c750c4b654e727dfd9de6fd3c SHA1 080c87c1666a8efbe8ce531d4d2c27a3f9efb572 SHA256 b0a2f06acb7179934fe3b05176ff8edd9f3e3dfc272e9c7d2825f15e696fdee8
-MD5 e826c5ec6a436c2ac3ffca45c12cf6fd files/2005/texlive-2005-fmtutil-in.patch 1767
-RMD160 0495f340842d0a0c750c4b654e727dfd9de6fd3c files/2005/texlive-2005-fmtutil-in.patch 1767
-SHA256 b0a2f06acb7179934fe3b05176ff8edd9f3e3dfc272e9c7d2825f15e696fdee8 files/2005/texlive-2005-fmtutil-in.patch 1767
-AUX 2005/texlive-2005-gentoo-texmf-site.patch 1246 RMD160 3b3ba9ac684ab1207f73480af2d80c5a91295b8f SHA1 4de406284604e5dcd664108b5acfafc486a5522d SHA256 9d14aeccd57f499efc2f43db0d6fccacfa63760900b9c79bb14cdcd9bc82861b
-MD5 5aae85bd4be05268963eb89212605618 files/2005/texlive-2005-gentoo-texmf-site.patch 1246
-RMD160 3b3ba9ac684ab1207f73480af2d80c5a91295b8f files/2005/texlive-2005-gentoo-texmf-site.patch 1246
-SHA256 9d14aeccd57f499efc2f43db0d6fccacfa63760900b9c79bb14cdcd9bc82861b files/2005/texlive-2005-gentoo-texmf-site.patch 1246
-AUX 2005/texlive-2005-mptest.patch 425 RMD160 e5199b164132faa9fd85e4eb1e5bd626fb9e64a8 SHA1 986dfa97b402b695f3c1214a9ceb5f08ca06bbd9 SHA256 61a13ec65768b7f10200b2f7bd6ccaa8ffac8560c331ebefb2f19999e4266a69
-MD5 10d7e14ea29ff07b899716e8bd447a20 files/2005/texlive-2005-mptest.patch 425
-RMD160 e5199b164132faa9fd85e4eb1e5bd626fb9e64a8 files/2005/texlive-2005-mptest.patch 425
-SHA256 61a13ec65768b7f10200b2f7bd6ccaa8ffac8560c331ebefb2f19999e4266a69 files/2005/texlive-2005-mptest.patch 425
-AUX 2005/texlive-2005-pdftosrc-install.patch 930 RMD160 1e3971813d1cc9f6ad7839b3c4f6cfae5c02f17b SHA1 ca3a814581cd7a18eaee7fbc44d247004b456bec SHA256 34cb75bb42c658b303d9387dfd601d247eb4e76f317e30f57c8ee6abc720b4b4
-MD5 50739edffa520935e22c643185eda571 files/2005/texlive-2005-pdftosrc-install.patch 930
-RMD160 1e3971813d1cc9f6ad7839b3c4f6cfae5c02f17b files/2005/texlive-2005-pdftosrc-install.patch 930
-SHA256 34cb75bb42c658b303d9387dfd601d247eb4e76f317e30f57c8ee6abc720b4b4 files/2005/texlive-2005-pdftosrc-install.patch 930
-AUX 2005/texlive-2005-use-system-libtool.patch 1511 RMD160 62e0c7f4ab3f781f39aa3e1186dff9feb9806bd2 SHA1 546fd00657ec8612b72e60d9feb3ed75ff55ac24 SHA256 f03b1b80da77bb8798c42923c2d7ab30429e46393ce8ee07af2257055953a0cc
-MD5 9678ae52548a04846d643c0c91cf49d3 files/2005/texlive-2005-use-system-libtool.patch 1511
-RMD160 62e0c7f4ab3f781f39aa3e1186dff9feb9806bd2 files/2005/texlive-2005-use-system-libtool.patch 1511
-SHA256 f03b1b80da77bb8798c42923c2d7ab30429e46393ce8ee07af2257055953a0cc files/2005/texlive-2005-use-system-libtool.patch 1511
-AUX 2005/texlive-2005-xpdf-vulnerabilities.patch 4247 RMD160 ff35a336df6fad9ea76d27dfe27d5cc714b37914 SHA1 094a1251c6e3b1ea0bf72431af957641c96148f4 SHA256 0c75a17f477ee7277b8e22bdc203d54ee9cd5248c3e4959f82712771133cfac2
-MD5 91aeed19f8c9fb38e6078c6423952c9c files/2005/texlive-2005-xpdf-vulnerabilities.patch 4247
-RMD160 ff35a336df6fad9ea76d27dfe27d5cc714b37914 files/2005/texlive-2005-xpdf-vulnerabilities.patch 4247
-SHA256 0c75a17f477ee7277b8e22bdc203d54ee9cd5248c3e4959f82712771133cfac2 files/2005/texlive-2005-xpdf-vulnerabilities.patch 4247
-AUX texmf-update 1876 RMD160 731e5551321b43149aba9b3a5d79b051df953b81 SHA1 bd74ca54dd0e5da1347fbe8494d7cbc5f8301ae1 SHA256 eca7bdd52d000a0d8405641f83773f37e528da3300ed1bfaf010252e264a2fe5
-MD5 7decdf517ed2c37ae7033732432eb4ec files/texmf-update 1876
-RMD160 731e5551321b43149aba9b3a5d79b051df953b81 files/texmf-update 1876
-SHA256 eca7bdd52d000a0d8405641f83773f37e528da3300ed1bfaf010252e264a2fe5 files/texmf-update 1876
-DIST texlive-2005-src.tar.bz2 18754502 RMD160 ac2c390cad8160028b2754c46a347847d6523346 SHA1 a4078d825c38874c6aa4c3dc070c203c66e913d2 SHA256 faf645ca74889c35ec9df5902e8b0d7afe1eb29477574a6747810b671afef674
-DIST texlive-2005-texmf-dist.tar.bz2 408486129 RMD160 32d046f1363028bf8164bd1525a60968ca78ec39 SHA1 fba766bff12fb04e7859c1b39c8a10ccaadbfcad SHA256 ef6838f569cdbcc7ce49b1102be7797995c1b0e82e0c9b593acf0c5b133b843c
-DIST texlive-2005-texmf.tar.bz2 16285465 RMD160 bcdad713732a49607005130b8f707f7fbeb59815 SHA1 c7c87c55bd5cccbde62b07d8180b2816c6d169ce SHA256 ffe9d2ec59a30aa4972ae21a99e8e0ea85648204a77f9e114b01bd3a8a603a6b
-EBUILD texlive-2005.ebuild 7263 RMD160 a98215beea414ae461ea17ad876f0b1c459cd02b SHA1 51c69935c3b9e2dcda8d582b5dd39e0a4ada2e0b SHA256 4d30b038c1952ee4df9aae2f65f233335beef907781167114f3d4e1070b001fd
-MD5 99c2821ed3ec8f6b0b46acaeb7bd8d42 texlive-2005.ebuild 7263
-RMD160 a98215beea414ae461ea17ad876f0b1c459cd02b texlive-2005.ebuild 7263
-SHA256 4d30b038c1952ee4df9aae2f65f233335beef907781167114f3d4e1070b001fd texlive-2005.ebuild 7263
EBUILD texlive-2007-r3.ebuild 5983 RMD160 141ccd3387e75acbc86a8d9af64cb3c2010a0985 SHA1 808bd9fd3efbc82fef2d29c0337e03ba2e55a4ed SHA256 c392ef7fbe98b6a0ebd2410426d299bcd18c262753ba513349c622eb8d37e7d9
MD5 af2c3ce37b5dbb844f3ea6f91c9af05b texlive-2007-r3.ebuild 5983
RMD160 141ccd3387e75acbc86a8d9af64cb3c2010a0985 texlive-2007-r3.ebuild 5983
SHA256 c392ef7fbe98b6a0ebd2410426d299bcd18c262753ba513349c622eb8d37e7d9 texlive-2007-r3.ebuild 5983
-MISC ChangeLog 4283 RMD160 7b8639fd94826cd4e5c7ea303c42516d49966f51 SHA1 3c8152b7e7b06407e67684fb8125f0c92f06ac26 SHA256 b112b9c75eb7a48b466107586cc012296e3b4ebf62772c5667e8fc90aca9439f
-MD5 a6a6a582978752034c5edcd375925570 ChangeLog 4283
-RMD160 7b8639fd94826cd4e5c7ea303c42516d49966f51 ChangeLog 4283
-SHA256 b112b9c75eb7a48b466107586cc012296e3b4ebf62772c5667e8fc90aca9439f ChangeLog 4283
+MISC ChangeLog 4837 RMD160 81f6161ff51933ac8075ad854e76f60c08ee9cf0 SHA1 fa6c9dbf07d98e88d089399218c830dbfef3c0a1 SHA256 589986403439e628bbe71e1ca8812432c3b62d31c14a0ac6ed741108198855a1
+MD5 a4f3929a1779977b53730398177d9309 ChangeLog 4837
+RMD160 81f6161ff51933ac8075ad854e76f60c08ee9cf0 ChangeLog 4837
+SHA256 589986403439e628bbe71e1ca8812432c3b62d31c14a0ac6ed741108198855a1 ChangeLog 4837
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
MD5 504d11dd034a4ba8f06e8e7c633d13ba metadata.xml 156
RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 metadata.xml 156
SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 metadata.xml 156
-MD5 9c7fbe19385a877bcd96ce75c347ad09 files/digest-texlive-2005 807
-RMD160 b3467176f93577677e4fded094c285a53b0be5e0 files/digest-texlive-2005 807
-SHA256 391f065bfc3c3cc88cbd4690c772c1550e16696ba934362f5523ea9b5a234607 files/digest-texlive-2005 807
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-texlive-2007-r3 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-texlive-2007-r3 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-texlive-2007-r3 0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHXmopvFcC4BYPU0oRAiCwAJ4r9mm4qSXov03ankyYeYWTXkvfGwCgl+bQ
-vQP/IR5NQD9bSQ3Xe8QAyrs=
-=nyR2
+iD8DBQFHY66kvFcC4BYPU0oRAhJfAJ9O7gpyhuh0Ya1boTbYxi3MTtatOACfdoIH
+Cg4FwO/MwPGulaEpJoZmGcM=
+=e6c2
-----END PGP SIGNATURE-----
diff --git a/app-text/texlive/files/2005/texlive-2005-amd64-xdvik-wp.patch b/app-text/texlive/files/2005/texlive-2005-amd64-xdvik-wp.patch
deleted file mode 100644
index 7358b1803ab1..000000000000
--- a/app-text/texlive/files/2005/texlive-2005-amd64-xdvik-wp.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -urN TeX.orig/texk/xdvik/x_util.c TeX/texk/xdvik/x_util.c
---- TeX.orig/texk/xdvik/x_util.c 2004-12-03 00:40:41.000000000 +0100
-+++ TeX/texk/xdvik/x_util.c 2006-05-27 23:09:34.000000000 +0200
-@@ -205,15 +205,15 @@
- w = (*((xuint32 *) window_p));
- #else
- # if WORDS_BIGENDIAN
-- w = ((unsigned long)wp[0] << 24) |
-- ((unsigned long)wp[1] << 16) |
-- ((unsigned long)wp[2] << 8) |
-- (unsigned long)wp[3];
-+ w = ((unsigned long)window_p[0] << 24) |
-+ ((unsigned long)window_p[1] << 16) |
-+ ((unsigned long)window_p[2] << 8) |
-+ (unsigned long)window_p[3];
- # else
-- w = ((unsigned long)wp[3] << 24) |
-- ((unsigned long)wp[2] << 16) |
-- ((unsigned long)wp[1] << 8) |
-- (unsigned long)wp[0];
-+ w = ((unsigned long)window_p[3] << 24) |
-+ ((unsigned long)window_p[2] << 16) |
-+ ((unsigned long)window_p[1] << 8) |
-+ (unsigned long)window_p[0];
- # endif
- #endif
- return w;
diff --git a/app-text/texlive/files/2005/texlive-2005-create-empty-files.patch b/app-text/texlive/files/2005/texlive-2005-create-empty-files.patch
deleted file mode 100644
index e021a2dfc12e..000000000000
--- a/app-text/texlive/files/2005/texlive-2005-create-empty-files.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -urN TeX.orig/texk/kpathsea/mktexlsr TeX/texk/kpathsea/mktexlsr
---- TeX.orig/texk/kpathsea/mktexlsr 2005-06-21 16:32:26.000000000 +0200
-+++ TeX/texk/kpathsea/mktexlsr 2006-05-27 23:46:52.000000000 +0200
-@@ -108,7 +108,7 @@
- test -w "$db_dir" || { echo "$progname: $db_dir: directory not writable. Skipping..." >&2; continue; }
-
- if test ! -f "$db_file"; then
-- cp /dev/null "$db_file"
-+ touch "$db_file"
- # Use same permissions as parent directory, minus x,s, or t bits.
- chmod `kpsestat -xst "$db_dir"` "$db_file"
- elif test -s "$db_file" \
-diff -urN TeX.orig/texk/make/man.mk TeX/texk/make/man.mk
---- TeX.orig/texk/make/man.mk 2002-11-12 21:54:15.000000000 +0100
-+++ TeX/texk/make/man.mk 2006-05-27 23:46:52.000000000 +0200
-@@ -28,7 +28,7 @@
- # Makefile can change for reasons that do not affect the man pages.
- # At present, all but VERSION should be unused.
- sedscript:
-- cp /dev/null sedscript
-+ touch sedscript
- for f in $(kpathsea_dir)/paths.h; do \
- sed -n -e '/^#define/s/#define[ ][ ]*\([A-Z_a-z][A-Z_a-z]*\)[ ][ ]*\(.*\)/s%@\1@%\2%/p' \
- $$f \
diff --git a/app-text/texlive/files/2005/texlive-2005-fmtutil-in.patch b/app-text/texlive/files/2005/texlive-2005-fmtutil-in.patch
deleted file mode 100644
index 578ac34290a1..000000000000
--- a/app-text/texlive/files/2005/texlive-2005-fmtutil-in.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -urN TeX.orig/texk/web2c/fmtutil.in TeX/texk/web2c/fmtutil.in
---- TeX.orig/texk/web2c/fmtutil.in 2005-09-12 18:09:28.000000000 +0200
-+++ TeX/texk/web2c/fmtutil.in 2006-05-27 23:39:05.000000000 +0200
-@@ -45,9 +45,10 @@
- # if you want babel support in tex. Add -translate-file=cp227.tcx before tex.ini
- # if you want to make all characters directly "printable" for
- # any \write (instead of ^^xy).
--tex tex - tex.ini
-+tex tex language.dat tex.ini
- latex pdfetex language.dat -translate-file=cp227.tcx *latex.ini
- etex pdfetex language.def -translate-file=cp227.tcx *etex.ini
-+elatex pdfetex language.def -translate-file=cp227.tcx *latex.ini
- pdftex pdfetex - -translate-file=cp227.tcx *pdftex.ini
- pdflatex pdfetex language.dat -translate-file=cp227.tcx *pdflatex.ini
- pdfetex pdfetex language.def -translate-file=cp227.tcx *pdfetex.ini
-@@ -60,11 +61,11 @@
-
- # Change "amstex.ini -> bamstex.ini" and "- -> language.dat"
- # if you want babel support in amstex:
--amstex pdfetex - -translate-file=cp227.tcx *amstex.ini
-+amstex pdfetex language.dat -translate-file=cp227.tcx *amstex.ini
-
- # Change "pdfamstex.ini -> pdfbamstex.ini" and "- -> language.dat"
- # if you want babel support in pdfamstex:
--#! pdfamstex pdfetex - -translate-file=cp227.tcx *pdfamstex.ini
-+pdfamstex pdfetex language.dat -translate-file=cp227.tcx *pdfamstex.ini
-
- # Context formats:
- #! cont-cz pdfetex cont-usr.tex -8bit *cont-cz.ini
-@@ -116,7 +117,7 @@
-
- # Change "eplain.ini -> ebplain.ini" and "- -> language.dat"
- # if you want babel support in eplain:
--eplain pdfetex - -translate-file=cp227.tcx *eplain.ini
-+eplain pdfetex language.dat -translate-file=cp227.tcx *eplain.ini
-
- # mptopdf utility
- mptopdf pdfetex - -translate-file=cp227.tcx mptopdf.tex
diff --git a/app-text/texlive/files/2005/texlive-2005-gentoo-texmf-site.patch b/app-text/texlive/files/2005/texlive-2005-gentoo-texmf-site.patch
deleted file mode 100644
index 3ed13325ecb6..000000000000
--- a/app-text/texlive/files/2005/texlive-2005-gentoo-texmf-site.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -urN TeX.orig/texk/kpathsea/texmf.in TeX/texk/kpathsea/texmf.in
---- TeX.orig/texk/kpathsea/texmf.in 2005-08-31 21:42:48.000000000 +0200
-+++ TeX/texk/kpathsea/texmf.in 2006-05-27 23:56:46.000000000 +0200
-@@ -61,6 +61,9 @@
- % The main distribution tree:
- TEXMFDIST = @texmf@-dist
-
-+% The Gentoo site tree:
-+TEXMFSITE = /usr/share/texmf-site
-+
- % A place for local additions to a "standard" texmf tree.
- % This tree is not used for local configuration maintained by
- % texconfig, it uses TEXMFCONFIG below.
-@@ -111,10 +114,10 @@
- %
- % For texconfig to work properly, TEXMFCONFIG and TEXMFVAR should be named
- % explicitly and before all other trees.
--TEXMF = {!!$TEXMFCONFIG,!!$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
-+TEXMF = {!!$TEXMFCONFIG,!!$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFSITE,!!$TEXMFDIST}
-
- % The system trees. These are the trees that are shared by all the users.
--SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN;$TEXMFDIST
-+SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN;$TEXMFDIST;$TEXMFSITE
-
- % Where generated fonts may be written. This tree is used when the sources
- % were found in a system tree and either that tree wasn't writable, or the
diff --git a/app-text/texlive/files/2005/texlive-2005-mptest.patch b/app-text/texlive/files/2005/texlive-2005-mptest.patch
deleted file mode 100644
index f99c8a5bba94..000000000000
--- a/app-text/texlive/files/2005/texlive-2005-mptest.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urN TeX.orig/texk/web2c/tests/mptest.mp TeX/texk/web2c/tests/mptest.mp
---- TeX.orig/texk/web2c/tests/mptest.mp 2000-06-21 00:27:56.000000000 +0200
-+++ TeX/texk/web2c/tests/mptest.mp 2006-05-27 23:12:52.000000000 +0200
-@@ -40,6 +40,6 @@
-
- message("* Test for big numbers in btex...etex:");
- picture q;
--q = btex $2^{12} = 4096 \qquad 2^{15} = 32768$ etex;
-+%q = btex $2^{12} = 4096 \qquad 2^{15} = 32768$ etex;
-
- end.
diff --git a/app-text/texlive/files/2005/texlive-2005-pdftosrc-install.patch b/app-text/texlive/files/2005/texlive-2005-pdftosrc-install.patch
deleted file mode 100644
index 960bba6d6908..000000000000
--- a/app-text/texlive/files/2005/texlive-2005-pdftosrc-install.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -urN TeX.orig/texk/web2c/Makefile.in TeX/texk/web2c/Makefile.in
---- TeX.orig/texk/web2c/Makefile.in 2005-08-03 11:08:02.000000000 +0200
-+++ TeX/texk/web2c/Makefile.in 2006-05-27 23:45:48.000000000 +0200
-@@ -562,13 +562,13 @@
- # Common
- programs = bibtex ctangle ctie cweave dvicopy dvitomp dvitype gftodvi gftopk \
- gftype mft $(odvicopy) $(odvitype) $(otangle) patgen pktogf pktype pltotf \
-- pooltype tangle tftopl tie $(ttf2afm) vftovp vptovf weave
-+ pooltype tangle tftopl tie $(ttf2afm) vftovp vptovf weave pdftosrc
- engines = $(tex) $(etex) $(mf) $(mfn) $(mpost) \
- $(omega) $(aleph) \
- $(pdftex) $(pdfetex)
-
- programs: $(programs) $(engines) $(mpware_programs) \
-- $(omegafonts_programs) $(otps_programs) $(pdftosrc)
-+ $(omegafonts_programs) $(otps_programs)
-
- # Additional dependencies for relinking.
- # Note that each program and engine already depends on $(web2c_programs).
diff --git a/app-text/texlive/files/2005/texlive-2005-use-system-libtool.patch b/app-text/texlive/files/2005/texlive-2005-use-system-libtool.patch
deleted file mode 100644
index 3b8df13efd41..000000000000
--- a/app-text/texlive/files/2005/texlive-2005-use-system-libtool.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -urN TeX.orig/texk/kpathsea/configure TeX/texk/kpathsea/configure
---- TeX.orig/texk/kpathsea/configure 2005-08-21 22:04:18.000000000 +0200
-+++ TeX/texk/kpathsea/configure 2006-05-27 20:01:29.000000000 +0200
-@@ -5539,7 +5539,11 @@
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+if [ "${USERLAND}" = "Darwin" ]; then
-+LIBTOOL='glibtool'
-+else
-+LIBTOOL='libtool'
-+fi
-
- # Prevent multiple expansion
-
-diff -urN TeX.orig/texk/libtool.m4 TeX/texk/libtool.m4
---- TeX.orig/texk/libtool.m4 2005-08-14 16:13:04.000000000 +0200
-+++ TeX/texk/libtool.m4 2006-05-27 20:02:13.000000000 +0200
-@@ -31,7 +31,13 @@
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+# Use the system libtool
-+if [ "${USERLAND}" = "Darwin" ]; then
-+LIBTOOL='glibtool'
-+else
-+LIBTOOL='libtool'
-+fi
-+
- AC_SUBST(LIBTOOL)dnl
-
- # Prevent multiple expansion
-diff -urN TeX.orig/texk/make/common.mk TeX/texk/make/common.mk
---- TeX.orig/texk/make/common.mk 2004-08-06 20:40:50.000000000 +0200
-+++ TeX/texk/make/common.mk 2006-05-27 20:03:18.000000000 +0200
-@@ -12,7 +12,11 @@
- LDFLAGS = @LDFLAGS@ $(XLDFLAGS)
-
- # Kpathsea needs this for compiling, programs need it for linking.
--LIBTOOL = $(SHELL) $(kpathsea_parent)/libtool
-+ifeq ($(USERLAND),Darwin)
-+LIBTOOL='glibtool'
-+else
-+LIBTOOL='libtool'
-+endif
-
- # You can change [X]CPPFLAGS, [X]CFLAGS, or [X]DEFS, but
- # please don't change ALL_CPPFLAGS or ALL_CFLAGS.
diff --git a/app-text/texlive/files/2005/texlive-2005-xpdf-vulnerabilities.patch b/app-text/texlive/files/2005/texlive-2005-xpdf-vulnerabilities.patch
deleted file mode 100644
index 7ad201d4e2d2..000000000000
--- a/app-text/texlive/files/2005/texlive-2005-xpdf-vulnerabilities.patch
+++ /dev/null
@@ -1,143 +0,0 @@
-diff -urN TeX.orig/libs/xpdf/xpdf/JBIG2Stream.cc TeX/libs/xpdf/xpdf/JBIG2Stream.cc
---- TeX.orig/libs/xpdf/xpdf/JBIG2Stream.cc 2005-08-17 07:34:31.000000000 +0200
-+++ TeX/libs/xpdf/xpdf/JBIG2Stream.cc 2006-05-28 23:52:10.000000000 +0200
-@@ -7,6 +7,7 @@
- //========================================================================
-
- #include <aconf.h>
-+#include <limits.h>
-
- #ifdef USE_GCC_PRAGMAS
- #pragma implementation
-@@ -681,6 +682,11 @@
- w = wA;
- h = hA;
- line = (wA + 7) >> 3;
-+ if (h < 0 || line <= 0 || h >= (INT_MAX - 1) / line) {
-+ error(-1, "invalid width/height");
-+ data = NULL;
-+ return;
-+ }
- // need to allocate one extra guard byte for use in combine()
- data = (Guchar *)gmalloc(h * line + 1);
- data[h * line] = 0;
-@@ -692,6 +698,11 @@
- w = bitmap->w;
- h = bitmap->h;
- line = bitmap->line;
-+ if (h < 0 || line <= 0 || h >= (INT_MAX - 1) / line) {
-+ error(-1, "invalid width/height");
-+ data = NULL;
-+ return;
-+ }
- // need to allocate one extra guard byte for use in combine()
- data = (Guchar *)gmalloc(h * line + 1);
- memcpy(data, bitmap->data, h * line);
-@@ -720,7 +731,10 @@
- }
-
- void JBIG2Bitmap::expand(int newH, Guint pixel) {
-- if (newH <= h) {
-+ if (newH <= h || line <= 0 || newH >= (INT_MAX - 1) / line) {
-+ error(-1, "invalid width/height");
-+ gfree(data);
-+ data = NULL;
- return;
- }
- // need to allocate one extra guard byte for use in combine()
-@@ -2936,6 +2950,11 @@
- JBIG2BitmapPtr tpgrCXPtr0, tpgrCXPtr1, tpgrCXPtr2;
- int x, y, pix;
-
-+ if (w < 0 || h <= 0 || w >= INT_MAX / h) {
-+ error(-1, "invalid width/height");
-+ return NULL;
-+ }
-+
- bitmap = new JBIG2Bitmap(0, w, h);
- bitmap->clearToZero();
-
-diff -urN TeX.orig/libs/xpdf/xpdf/JPXStream.cc TeX/libs/xpdf/xpdf/JPXStream.cc
---- TeX.orig/libs/xpdf/xpdf/JPXStream.cc 2005-08-17 07:34:31.000000000 +0200
-+++ TeX/libs/xpdf/xpdf/JPXStream.cc 2006-05-28 23:44:00.000000000 +0200
-@@ -7,6 +7,7 @@
- //========================================================================
-
- #include <aconf.h>
-+#include <limits.h>
-
- #ifdef USE_GCC_PRAGMAS
- #pragma implementation
-diff -urN TeX.orig/libs/xpdf/xpdf/Stream.cc TeX/libs/xpdf/xpdf/Stream.cc
---- TeX.orig/libs/xpdf/xpdf/Stream.cc 2005-08-17 07:34:31.000000000 +0200
-+++ TeX/libs/xpdf/xpdf/Stream.cc 2006-05-28 23:49:26.000000000 +0200
-@@ -7,6 +7,7 @@
- //========================================================================
-
- #include <aconf.h>
-+#include <limits.h>
-
- #ifdef USE_GCC_PRAGMAS
- #pragma implementation
-@@ -1256,8 +1257,9 @@
- endOfLine = endOfLineA;
- byteAlign = byteAlignA;
- columns = columnsA;
-- if (columns < 1) {
-- columns = 1;
-+ if (columns < 1 || columns >= INT_MAX / sizeof(short)) {
-+ error (-1, "invalid number of columns: %d\n", columns);
-+ exit (1);
- }
- rows = rowsA;
- endOfBlock = endOfBlockA;
-@@ -2925,6 +2927,10 @@
- height = read16();
- width = read16();
- numComps = str->getChar();
-+ if (numComps <= 0 || numComps > 4) {
-+ error(getPos(), "Bad number of components in DCT stream", prec);
-+ return gFalse;
-+ }
- if (prec != 8) {
- error(getPos(), "Bad DCT precision %d", prec);
- return gFalse;
-@@ -2947,6 +2953,11 @@
-
- length = read16() - 2;
- scanInfo.numComps = str->getChar();
-+ if (scanInfo.numComps <= 0 || scanInfo.numComps > 4) {
-+ scanInfo.numComps = 0;
-+ error(getPos(), "Bad number of components in DCT stream");
-+ return gFalse;
-+ }
- --length;
- if (length != 2 * scanInfo.numComps + 3) {
- error(getPos(), "Bad DCT scan info block");
-@@ -3031,12 +3042,12 @@
- while (length > 0) {
- index = str->getChar();
- --length;
-- if ((index & 0x0f) >= 4) {
-+ if ((index & 0x10) >= 4 || (index & 0x10) < 0) {
- error(getPos(), "Bad DCT Huffman table");
- return gFalse;
- }
- if (index & 0x10) {
-- index &= 0x0f;
-+ index &= 0x03;
- if (index >= numACHuffTables)
- numACHuffTables = index+1;
- tbl = &acHuffTables[index];
-@@ -3154,9 +3165,11 @@
- do {
- do {
- c = str->getChar();
-+ if (c == EOF) return EOF;
- } while (c != 0xff && c != EOF);
- do {
- c = str->getChar();
-+ if (c == EOF) return EOF;
- } while (c == 0xff);
- } while (c == 0x00);
- return c;
diff --git a/app-text/texlive/files/digest-texlive-2005 b/app-text/texlive/files/digest-texlive-2005
deleted file mode 100644
index 2a36d2d94a01..000000000000
--- a/app-text/texlive/files/digest-texlive-2005
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 841d6678183bda7089526e5b7d2eba69 texlive-2005-src.tar.bz2 18754502
-RMD160 ac2c390cad8160028b2754c46a347847d6523346 texlive-2005-src.tar.bz2 18754502
-SHA256 faf645ca74889c35ec9df5902e8b0d7afe1eb29477574a6747810b671afef674 texlive-2005-src.tar.bz2 18754502
-MD5 527ae2d21701b787764d6cfe52ee51f3 texlive-2005-texmf-dist.tar.bz2 408486129
-RMD160 32d046f1363028bf8164bd1525a60968ca78ec39 texlive-2005-texmf-dist.tar.bz2 408486129
-SHA256 ef6838f569cdbcc7ce49b1102be7797995c1b0e82e0c9b593acf0c5b133b843c texlive-2005-texmf-dist.tar.bz2 408486129
-MD5 7abffdae0ea9cdd4823efcbc02e96b91 texlive-2005-texmf.tar.bz2 16285465
-RMD160 bcdad713732a49607005130b8f707f7fbeb59815 texlive-2005-texmf.tar.bz2 16285465
-SHA256 ffe9d2ec59a30aa4972ae21a99e8e0ea85648204a77f9e114b01bd3a8a603a6b texlive-2005-texmf.tar.bz2 16285465
diff --git a/app-text/texlive/files/texmf-update b/app-text/texlive/files/texmf-update
deleted file mode 100644
index 99f7bb46a397..000000000000
--- a/app-text/texlive/files/texmf-update
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/bash
-#
-# Utility to update Gentoo teTeX distribution configuration files
-#
-
-PATH=/bin:/usr/bin
-
-# Fix for all those with altered umask for root
-umask 022
-
-# Make sure we have a correct environment, bug #30432
-# The list of env. vars is taken from the INSTALL file
-for texvar in AFMFONTS BIBINPUTS BSTINPUTS DVILJFONTS DVIPSFONTS \
- DVIPSHEADERS GFFONTS GLYPHFONTS INDEXSTYLE MFBASES MFINPUTS \
- MFPOOL MFTINPUTS MPINPUTS MPMEMS MPPOOL MPSUPPORT OCPINPUTS \
- OFMFONTS OPLFONTS OTPINPUTS OVFFONTS OVPFONTS PKFONTS PSHEADERS \
- T1FONTS T1INPUTS TEXBIB TEXCONFIG TEXDOCS TEXFONTMAPS TEXFONTS \
- TEXFORMATS TEXINDEXSTYLE TEXINPUTS TEXMFCNF TEXMFDBS TEXMFINI \
- TEXPICTS TEXPKS TEXPOOL TEXPSHEADERS TEXSOURCES TFMFONTS TRFONTS \
- VFFONTS XDVIFONTS XDVIVFS ; do
-
- if [ "${!texvar}" ]; then
- if ! $(echo ${!texvar} | grep '^:\|::\|:$' &>/dev/null) ; then
- export ${texvar}="${!texvar}:"
- fi
- fi
-done
-
-if [ "$TEXINPUTS" ]; then
- if $(echo ${TEXINPUTS} | grep '/usr/share/texmf' &>/dev/null) ; then
- export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|/usr/share/texmf/*:\?||g')
- elif $(echo ${TEXINPUTS} | grep '/var/lib/texmf' &>/dev/null) ; then
- export TEXINPUTS=$(echo ${TEXINPUTS} | sed -e 's|/var/lib/texmf/*:\?||g')
- fi
-fi
-
-for conf in texmf.cnf fmtutil.cnf updmap.cfg ; do
- if [ -d "/etc/texmf/${conf/.*/.d}" ] ; then
- echo "Generating /etc/texmf/web2c/${conf} from /etc/texmf/${conf/.*/.d} ..."
- cat /etc/texmf/${conf/.*/.d}/* > "/etc/texmf/web2c/${conf}"
- fi
-done
-
-# configure
-echo "Configuring teTeX ..."
-mktexlsr &>/dev/null
-texconfig-sys init &>/dev/null
-texconfig-sys confall &>/dev/null
-texconfig-sys font rw &>/dev/null
-texconfig-sys font vardir /var/cache/fonts &>/dev/null
-updmap-sys &>/dev/null
-
-# generate
-echo "Generating format files ..."
-fmtutil-sys --missing &>/dev/null
-echo
-echo "Use 'texconfig font ro' to disable font generation for users"
-echo
diff --git a/app-text/texlive/texlive-2005.ebuild b/app-text/texlive/texlive-2005.ebuild
deleted file mode 100644
index 0ae4b8af4d42..000000000000
--- a/app-text/texlive/texlive-2005.ebuild
+++ /dev/null
@@ -1,278 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/texlive/texlive-2005.ebuild,v 1.6 2007/12/11 10:44:15 aballier Exp $
-
-inherit eutils flag-o-matic toolchain-funcs versionator virtualx
-
-TEXMF_PATH=/var/lib/texmf
-
-DESCRIPTION="a complete TeX distribution"
-HOMEPAGE="http://tug.org/texlive/"
-SLOT="0"
-LICENSE="GPL-2"
-
-SRC_URI="http://dev.gentoo.org/~ehmsen/texlive/${P}-src.tar.bz2
- http://dev.gentoo.org/~ehmsen/texlive/${P}-texmf-dist.tar.bz2
- http://dev.gentoo.org/~ehmsen/texlive/${P}-texmf.tar.bz2"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="X doc tk Xaw3d lesstif motif neXt"
-
-# This is less than an ideal name
-PROVIDE="virtual/tetex"
-
-# I hope to kick this very soon
-BLOCKS="!dev-tex/memoir
- !dev-tex/lineno
- !dev-tex/SIunits
- !dev-tex/floatflt
- !dev-tex/g-brief
- !dev-tex/pgf
- !dev-tex/xcolor
- !dev-tex/xkeyval
- !dev-tex/latex-beamer
- !dev-tex/vntex
- !dev-tex/koma-script
- !dev-tex/currvita
- !dev-tex/eurosym
- !dev-tex/extsizes"
-
-MODULAR_X_DEPEND="X? ( x11-libs/libXmu
- x11-libs/libXp
- x11-libs/libXpm
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXaw
- x11-libs/libXfont )"
-
-DEPEND="${MODULAR_X_DEPEND}
- !app-text/ptex
- !app-text/tetex
- X? ( motif? ( lesstif? ( x11-libs/lesstif )
- !lesstif? ( x11-libs/openmotif ) )
- !motif? ( neXt? ( x11-libs/neXtaw )
- !neXt? ( Xaw3d? ( x11-libs/Xaw3d ) ) )
- !app-text/xdvik
- )
- sys-apps/ed
- sys-libs/zlib
- >=media-libs/libpng-1.2.1
- sys-libs/ncurses
- >=net-libs/libwww-5.3.2-r1"
-
-RDEPEND="${DEPEND}
- ${BLOCKS}
- >=dev-lang/perl-5.2
- tk? ( dev-perl/perl-tk )
- dev-util/dialog"
-
-src_unpack() {
- unpack ${P}-src.tar.bz2 || die "unpack src"
-
- cd "${S}"
-
- unpack ${P}-texmf.tar.bz2 || die "unpack texmf"
- unpack ${P}-texmf-dist.tar.bz2 || die "unpack texmf-dist"
-
- epatch "${FILESDIR}/${PV}/${P}-use-system-libtool.patch" || die
- epatch "${FILESDIR}/${PV}/${P}-amd64-xdvik-wp.patch" || die
- epatch "${FILESDIR}/${PV}/${P}-mptest.patch" || die
- epatch "${FILESDIR}/${PV}/${P}-fmtutil-in.patch" || die
- epatch "${FILESDIR}/${PV}/${P}-xpdf-vulnerabilities.patch" || die
- epatch "${FILESDIR}/${PV}/${P}-pdftosrc-install.patch" || die
- epatch "${FILESDIR}/${PV}/${P}-create-empty-files.patch" || die
- epatch "${FILESDIR}/${PV}/${P}-gentoo-texmf-site.patch" || die
-
- sed -i -e "/mktexlsr/,+3d" -e "s/\(updmap-sys\)/\1 --nohash/" \
- Makefile.in || die "sed"
-}
-
-src_compile() {
- local my_conf
-
- export LC_ALL=C
-
- filter-flags "-fstack-protector" "-Os"
- use amd64 && replace-flags "-O3" "-O2"
-
- if use X ; then
- addwrite /var/cache/fonts
- my_conf="${my_conf} --with-xdvik --with-oxdvik"
- if use motif ; then
- if use lesstif ; then
- append-ldflags -L/usr/X11R6/lib/lesstif -R/usr/X11R6/lib/lesstif
- export CPPFLAGS="${CPPFLAGS} -I/usr/X11R6/include/lesstif"
- fi
- my_conf="${my_conf} --with-xdvi-x-toolkit=motif"
- elif use neXt ; then
- my_conf="${my_conf} --with-xdvi-x-toolkit=neXtaw"
- elif use Xaw3d ; then
- my_conf="${my_conf} --with-xdvi-x-toolkit=xaw3d"
- else
- my_conf="${my_conf} --with-xdvi-x-toolkit=xaw"
- fi
- else
- my_conf="${my_conf} --without-xdvik --without-oxdvik"
- fi
-
- econf --bindir=/usr/bin \
- --datadir=${S} \
- --with-system-wwwlib \
- --with-libwww-include=/usr/include/w3c-libwww \
- --with-system-ncurses \
- --with-system-pnglib \
- --without-texinfo \
- --without-dialog \
- --without-texi2html \
- --with-system-zlib \
- --disable-multiplatform \
- --with-epsfwin \
- --with-mftalkwin \
- --with-regiswin \
- --with-tektronixwin \
- --with-unitermwin \
- --with-ps=gs \
- --enable-ipc \
- --with-etex \
- --without-dvipng \
- --without-dvipdfm \
- --without-dvipdfmx \
- $(use_with X x) \
- ${my_conf} || die "econf"
-
- if use X && use ppc-macos ; then
- for f in $(find ${S} -name config.status) ; do
- sed -i -e "s:-ldl::g" $f
- done
- fi
-
- emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" texmf=${TEXMF_PATH:-/usr/share/texmf} || die "make"
-}
-
-src_test() {
- fmtutil --fmtdir "${S}/texk/web2c" --all
- Xmake check || die "Xmake check failed."
-}
-
-src_install() {
- dodir /usr/share/
- cp -R texmf ${D}/usr/share
- cp -R texmf-dist ${D}/usr/share
-
- dodir ${TEXMF_PATH:-/usr/share/texmf}/web2c
- einstall bindir=${D}/usr/bin texmf=${D}${TEXMF_PATH:-/usr/share/texmf} || die "install"
-
- dosbin ${FILESDIR}/${PV}/texmf-update
-
- docinto texk
- cd ${S}/TeX/texk
- dodoc ChangeLog README
-
- docinto kpathesa
- cd ${S}/TeX/texk/kpathsea
- dodoc BUGS ChangeLog NEWS PROJECTS README
-
- docinto dviljk
- cd ${S}/TeX/texk/dviljk
- dodoc ChangeLog README NEWS
-
- docinto dvipsk
- cd ${S}/TeX/texk/dvipsk
- dodoc ChangeLog README
-
- docinto makeindexk
- cd ${S}/TeX/texk/makeindexk
- dodoc ChangeLog NEWS NOTES README
-
- docinto ps2pkm
- cd ${S}/TeX/texk/ps2pkm
- dodoc ChangeLog README README.14m
-
- docinto web2c
- cd ${S}/TeX/texk/web2c
- dodoc ChangeLog NEWS PROJECTS README
-
- if use doc ; then
- dodir /usr/share/doc/${PF}
- mv ${D}/usr/share/texmf/doc/* \
- ${D}/usr/share/doc/${PF} \
- || die "mv doc failed."
- cd ${D}/usr/share/texmf
- rmdir doc
- ln -s ../doc/${PF} doc || die "ln -s doc failed."
- cd -
- else
- rm -rf ${D}/usr/share/texmf/doc
- fi
-
- dodir /var/cache/fonts
-
- # root group name doesn't exist on Mac OS X
- chown -R 0:0 ${D}/usr/share/texmf
-
- dodir /etc/env.d
- echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c"' > ${D}/etc/env.d/98tetex
- # populate /etc/texmf
- keepdir /etc/texmf/web2c
- # _not_ ${TEXMF_PATH}
- cd ${D}/usr/share/texmf
- for d in $(find . -name config -type d | sed -e "s:\./::g") ; do
- dodir /etc/texmf/${d}
- for f in $(find ${D}usr/share/texmf/$d -maxdepth 1 -mindepth 1); do
- mv $f ${D}/etc/texmf/$d || die "mv $f failed"
- dosym /etc/texmf/$d/$(basename $f) /usr/share/texmf/$d/$(basename $f)
- done
- done
- cd -
- cd ${D}/${TEXMF_PATH}
- for f in $(find . -name '*.cnf' -o -name '*.cfg' -type f | sed -e "s:\./::g") ; do
- if [ "${f/config/}" != "${f}" ] ; then
- continue
- fi
- dodir /etc/texmf/$(dirname $f)
- mv ${D}/${TEXMF_PATH}/$f ${D}/etc/texmf/$(dirname $f) || die "mv $f failed."
- dosym /etc/texmf/$f ${TEXMF_PATH}/$f
- done
-
- # take care of updmap.cfg, fmtutil.cnf and texmf.cnf
- dodir /etc/texmf/{updmap.d,fmtutil.d,texmf.d}
- dosym /etc/texmf/web2c/updmap.cfg ${TEXMF_PATH}/web2c/updmap.cfg
- mv ${D}/usr/share/texmf/web2c/updmap.cfg ${D}/etc/texmf/updmap.d/00updmap.cfg
- mv ${D}/etc/texmf/web2c/fmtutil.cnf ${D}/etc/texmf/fmtutil.d/00fmtutil.cnf
- mv ${D}/etc/texmf/web2c/texmf.cnf ${D}/etc/texmf/texmf.d/00texmf.cnf
-
- # xdvi
- if use X ; then
- dodir /etc/X11/app-defaults /etc/texmf/xdvi
- mv ${D}${TEXMF_PATH}/xdvi/XDvi ${D}/etc/X11/app-defaults || die "mv XDvi failed"
- dosym /etc/X11/app-defaults/XDvi ${TEXMF_PATH}/xdvi/XDvi
- fi
-
- doman ${S}/texk/web2c/pdftexdir/pdftosrc.1
-
- keepdir /usr/share/texmf-site
-
- # the virtex symlink is not installed
- # The links has to be relative, since the targets
- # is not present at this stage and MacOS doesn't
- # like non-existing targets
- cd ${D}/usr/bin/
- ln -snf tex virtex
- ln -snf pdftex pdfvirtex
-}
-
-pkg_preinst() {
- ewarn "Removing ${ROOT}usr/share/texmf/web2c"
- rm -rf "${ROOT}usr/share/texmf/web2c"
-}
-
-pkg_postinst() {
- if [ "$ROOT" = "/" ] ; then
- /usr/sbin/texmf-update
- fi
-
- elog
- elog "If you have configuration files in /etc/texmf to merge,"
- elog "please update them and run /usr/sbin/texmf-update."
- elog
-}