# ChangeLog for app-text/tetex
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.117 2006/03/16 12:22:42 ehmsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.118 2006/03/16 14:16:40 ehmsen Exp $
+
+ 16 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org>
+ -files/tetex-no-readlink-manpage.diff, -files/tetex-texdoctk-gentoo.patch,
+ -tetex-1.0.7-r13.ebuild:
+ Removed tetex-1.
16 Mar 2006; Martin Ehmsen <ehmsen@gentoo.org>
+files/tetex-3.0_p1-pdftosrc-install.patch, tetex-3.0_p1-r2.ebuild:
-MD5 37ee4007b13796c4fdfdce4df0a75ca5 ChangeLog 21371
-RMD160 51965dbcece628f1311a4035781eeb331a794770 ChangeLog 21371
-SHA256 d76dc998698324108b5aedd1e3bc8674b812cc3bd3fed74d3024dd8b136747cb ChangeLog 21371
-MD5 cc0be22b4e4ac7d6802a5a2a639a6001 files/digest-tetex-1.0.7-r13 1259
-RMD160 d57a184e1acc3083d0e85bb5bdad07205f475659 files/digest-tetex-1.0.7-r13 1259
-SHA256 87edfe22f8ad177c46988508ef9acbca026052936e80b6afc424ca850d2a5ede files/digest-tetex-1.0.7-r13 1259
+MD5 7e69eb096fa46c853881c86a531e2ca3 ChangeLog 21544
+RMD160 dba06e704a0057e97c7f7a4212f5764c3b8f7941 ChangeLog 21544
+SHA256 b72ff2382417835f45bace2ad74880c89223b224522229a9f98a687802a6e310 ChangeLog 21544
MD5 22d6dcce2ae5229c5ba109e6638041ef files/digest-tetex-2.0.2-r5 1030
RMD160 2575064189200d3d022f6a39736291f7757a862e files/digest-tetex-2.0.2-r5 1030
SHA256 6c98bb9cfb053bd9cf0bb0fedb62459df5500fcb1c6e91d8625208574f4a773e files/digest-tetex-2.0.2-r5 1030
MD5 e70ba402012ed53ab6c0f0d5df28f3df files/tetex-3.0_p1-xpdf-vulnerabilities.patch 4069
RMD160 e319c2212bdc7883fba436b7ac426cf10d734059 files/tetex-3.0_p1-xpdf-vulnerabilities.patch 4069
SHA256 aa978d95ead2626eba04062b75abaab4a0c90d284a1f62461dc6195ed26e6962 files/tetex-3.0_p1-xpdf-vulnerabilities.patch 4069
-MD5 1c3401dbbc9d478e94c98e44b9b68e38 files/tetex-no-readlink-manpage.diff 542
-RMD160 d91ac58184f62f9e19d4b89bbc2a6d972d698191 files/tetex-no-readlink-manpage.diff 542
-SHA256 b4b2a223985979d3f01c28f1b9dc041493ab0bf6d96b4d884d5f8fbb78c5edb0 files/tetex-no-readlink-manpage.diff 542
-MD5 41f87c91f8bb6ceeae3c1fb7ca0dce1c files/tetex-texdoctk-gentoo.patch 509
-RMD160 3a320b612fe367ae08f234b6eae306e0fe6cd015 files/tetex-texdoctk-gentoo.patch 509
-SHA256 8894f31c0bcaa1d68c22dcb273d136bec6de5014879c4b660300e0e91d526cb1 files/tetex-texdoctk-gentoo.patch 509
MD5 77107ec8ba31c93b0e1bc35a9e4c9c4b files/xdvizilla.patch 912
RMD160 79bf98f5b05cdc4e99147809e1ec6895e8843097 files/xdvizilla.patch 912
SHA256 cb7f0ca4758cd20d5a0a819dd87caa8f2d1df64aaac458e13b4bb3c43deb5204 files/xdvizilla.patch 912
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
RMD160 698422e821458386b8da17baa6014296f8284e0b metadata.xml 164
SHA256 7bd4d93c657a26aa9af1dea4232520c0d388cc92115dd9ca0eb04259228e044f metadata.xml 164
-MD5 3e41886004d55eb01635f3837dec252c tetex-1.0.7-r13.ebuild 4926
-RMD160 cbc4d15a274aff3bdac538ea9ce6deb29cc40410 tetex-1.0.7-r13.ebuild 4926
-SHA256 404a9912c7fb70721fe7e90f814bae1a4cd682918c435832755bee4a74e309a2 tetex-1.0.7-r13.ebuild 4926
MD5 d23509f8f5b49f9c22a26e4291cf7c2b tetex-2.0.2-r5.ebuild 1369
RMD160 6ed6a47d392ad8ab274bb6c588fd824cc0ad9c96 tetex-2.0.2-r5.ebuild 1369
SHA256 7121e81f954d7f55c4c47b5836d5a1bf54a4025ff771db07446983901e87d7f0 tetex-2.0.2-r5.ebuild 1369
+++ /dev/null
-MD5 12925188fdadcd6a970c21bba3269fc2 ec-ready-mf-tfm.tar.gz 386630
-RMD160 9e52d01d237c9186c9aff85795728b916aabb5c7 ec-ready-mf-tfm.tar.gz 386630
-SHA256 7361d87cd0f2c43282c676d8a0edc117a1333c4a2c395bce8407319bec1e3c56 ec-ready-mf-tfm.tar.gz 386630
-MD5 37393316b285926214c247acd55db743 teTeX-french.tar.gz 268161
-RMD160 6be2487294e283b98ac81d7d2b76be94861b88e5 teTeX-french.tar.gz 268161
-SHA256 a2922ce0e841ba66933e9a770811e59de371eee01fb4b58e66f59fb781691c73 teTeX-french.tar.gz 268161
-MD5 2c6da2a45096c2fdc41b8de6a8af1a52 teTeX-src-1.0.7.tar.gz 8040192
-RMD160 5846994b85ff67a8ec982cd7cb275650c363a7c2 teTeX-src-1.0.7.tar.gz 8040192
-SHA256 bd73a8c9da21215a19e8bbbc42decf64611147a4f940bbe3010db1c68503604e teTeX-src-1.0.7.tar.gz 8040192
-MD5 984530be5cc0dd73738de9d0067bc130 teTeX-texmf-gg-1.0.3.tar.bz2 35037546
-RMD160 2b2b7ce4f984dde648dca855038a803c8594e0af teTeX-texmf-gg-1.0.3.tar.bz2 35037546
-SHA256 d1e7f0cb2532a7600ef2c70fbad89f3ea853853180ca55be14437cd73dbd17c6 teTeX-texmf-gg-1.0.3.tar.bz2 35037546
-MD5 8e593d8dc1ffcd9e767d7436504e0a38 tetex-1.0.7-gentoo.tar.gz 18189
-RMD160 48a9476df17ad8250253bc55e22b4560a0f07d54 tetex-1.0.7-gentoo.tar.gz 18189
-SHA256 f205c35254910ba60e7ca1553528ebfe81ade30fbbcebc9ad63af656df8893a5 tetex-1.0.7-gentoo.tar.gz 18189
+++ /dev/null
-diff -urN tetex-src-2.0.2.old/texk/kpathsea/Makefile.in tetex-src-2.0.2/texk/kpathsea/Makefile.in
---- tetex-src-2.0.2.old/texk/kpathsea/Makefile.in 2003-02-15 09:21:42.000000000 -0800
-+++ tetex-src-2.0.2/texk/kpathsea/Makefile.in 2003-12-09 22:22:47.000000000 -0800
-@@ -265,7 +265,7 @@
- rm -f paths.h texmf.cnf texmf.sed stamp-paths
-
- # The manual pages
--manfiles = access.1 kpsestat.1 kpsewhich.1 readlink.1 \
-+manfiles = access.1 kpsestat.1 kpsewhich.1 \
- mktexlsr.1 mktexmf.1 mktextfm.1 mktexpk.1
-
- ac_include ../make/man.mk
+++ /dev/null
---- texk/tetex/texdoctk.orig 2004-05-21 08:16:29.000000000 +0900
-+++ texk/tetex/texdoctk 2004-09-09 04:14:46.000000000 +0900
-@@ -316,7 +316,7 @@
- -fill=>'x',
- -side=>'right');
- # handle selection; only one selection possible
-- $tplist->bind('<Button-1>'=>sub{my $slctind=$tplist->curselection();
-+ $tplist->bind('<Button-1>'=>sub{my $slctind=$tplist->index($tplist->curselection());
- $dspselect=$lbitems[$slctind];
- $docselect=$lbdocs[$slctind];});
- # key bindings
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r13.ebuild,v 1.15 2006/02/02 22:13:19 ehmsen Exp $
-
-inherit eutils flag-o-matic
-
-TEXMFSRC="teTeX-texmf-gg-1.0.3.tar.bz2"
-S=${WORKDIR}/teTeX-1.0
-
-DESCRIPTION="a complete TeX distribution"
-HOMEPAGE="http://tug.org/teTeX/"
-SRC_URI="ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-src-${PV}.tar.gz
- ftp://ftp.dante.de/pub/tex/systems/unix/teTeX/1.0/contrib/ghibo/${TEXMFSRC}
- mirror://gentoo/ec-ready-mf-tfm.tar.gz
- mirror://gentoo/teTeX-french.tar.gz
- mirror://gentoo/${P}-gentoo.tar.gz"
-
-KEYWORDS="x86 ppc sparc alpha hppa"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="X"
-
-DEPEND="!app-text/ptex
- !app-text/cstetex
- sys-apps/ed
- X? ( || ( (
- x11-libs/libXmu
- x11-libs/libXp
- x11-libs/libXpm
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libXaw
- x11-libs/libXfont
- )
- virtual/x11
- )
- )
- >=media-libs/libpng-1.2.1
- sys-libs/ncurses
- >=net-libs/libwww-5.3.2-r1
- sys-libs/zlib"
-RDEPEND="${DEPEND}
- >=dev-lang/perl-5.2
- dev-util/dialog"
-PROVIDE="virtual/tetex"
-
-src_unpack() {
- unpack teTeX-src-${PV}.tar.gz
-
- cd ${S}
-
- mkdir ${S}/texmf
- cd ${S}/texmf
- umask 022
- echo ">>> Unpacking ${TEXMFSRC}"
- tar --no-same-owner -xjf ${DISTDIR}/${TEXMFSRC} || die
- echo ">>> Unpacking ec-ready-mf-tfm.tar.gz"
- tar --no-same-owner -xzf ${DISTDIR}/ec-ready-mf-tfm.tar.gz -C .. || die
- echo ">>> Unpacking teTeX-french.tar.gz"
- tar --no-same-owner -xzf ${DISTDIR}/teTeX-french.tar.gz || die
-
- cd ${S}
- unpack ${P}-gentoo.tar.gz
- epatch ${P}-dvips-secure.diff
-
- # Fixes from way back ... not sure even Achim will
- # still know why :/
- epatch teTeX-1.0-gentoo.diff
- epatch teTeX-1.0.diff
-
- # Do not run config stuff
- epatch ${P}-dont-run-config.diff
-
- # Fix for dvips to print directly.
- epatch teTeX-1.0-dvips.diff
-
- # Fix picins.sty
- epatch ${P}-picins.diff
-
- # Prevent the silly readlink manpage from installing
- epatch ${FILESDIR}/${PN}-no-readlink-manpage.diff
-
- # Fix problem where the *.fmt files are not generated due to the LaTeX
- # source being older than a year.
- local x
- for x in `find ${S}/texmf/ -type f -name '*.ini'`
- do
- cp ${x} ${x}.orig
- sed -e '1i \\scrollmode' ${x}.orig > ${x}
- rm -f ${x}.orig
- done
-
- # IMPORTANT! If you're having *.fmt problems, do this:
- # fmtutil --all
- # after the merge.
-}
-
-src_compile() {
- filter-flags -fstack-protector
-
- local myconf=""
- use X \
- && myconf="--with-x" \
- || myconf="--without-x"
-
- econf \
- --without-texinfo \
- --without-dialog \
- --disable-multiplatform \
- --with-epsfwin \
- --with-mftalkwin \
- --with-regiswin \
- --with-system-wwwlib \
- --with-libwww-include=/usr/include/w3c-libwww \
- --with-system-pnglib \
- --with-system-ncurses \
- --with-system-zlib \
- --with-tektronixwin \
- --with-unitermwin \
- --with-ps=gs \
- --enable-ipc \
- --with-etex \
- ${myconf} || die "econf failed"
-
- # emake seems to not work (18 Jan 2003 agriffis)
- make || die
-}
-
-src_install() {
- dodir /usr/share/
- # Install texmf files
- einfo "Installing texmf..."
- cp -Rv texmf ${D}/usr/share || die "cp -Rv texmf failed"
-
- einstall \
- texmf=${D}/usr/share/texmf \
- texmfmain=${D}/usr/share/texmf \
- mandir=${D}/usr/share/man/man1 \
- || die "einstall failed"
-
- 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
- rm -f ${D}/usr/bin/readlink
- #add /var/cache/fonts directory
- dodir /var/cache/fonts
-
- #fix for lousy upstream permisssions on /usr/share/texmf files
- #NOTE: do not use fowners, as its not recursive ...
- einfo "Fixing permissions..."
- chown -R root:root ${D}/usr/share/texmf
-}
-
-pkg_postinst() {
- if [ $ROOT = "/" ]
- then
- einfo "Configuring teTeX..."
- mktexlsr &>/dev/null
- texlinks &>/dev/null
- texconfig init &>/dev/null
- texconfig confall &>/dev/null
- texconfig font vardir /var/cache/fonts &>/dev/null
-
- # Fix bug 13789; this should really be done by texconfig init
- # but oh well, it will probably be fixed by 2.0, right? ;-)
- # (18 Jan 2003 agriffis)
- ( cd /var/lib/texmf/web2c; inimf mf; ) &>/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
- fi
-}