remove ptex
authorAlexis Ballier <aballier@gentoo.org>
Thu, 6 Oct 2011 20:14:13 +0000 (20:14 +0000)
committerAlexis Ballier <aballier@gentoo.org>
Thu, 6 Oct 2011 20:14:13 +0000 (20:14 +0000)
20 files changed:
app-text/ptex/ChangeLog [deleted file]
app-text/ptex/Manifest [deleted file]
app-text/ptex/files/CVE-2009-1284.patch [deleted file]
app-text/ptex/files/latex-date-warning.patch [deleted file]
app-text/ptex/files/ptex-3.1.10_p20071122-epstopdf-wrong-rotation.patch [deleted file]
app-text/ptex/files/ptex-3.1.10_p20071122-pdftosrc-install.patch [deleted file]
app-text/ptex/files/ptex-3.1.10_p20090610-gentoo.patch [deleted file]
app-text/ptex/files/ptex-3.1.10_p20090610-getline.patch [deleted file]
app-text/ptex/files/ptex-3.1.10_p20090610-libpng14.patch [deleted file]
app-text/ptex/files/ptex-3.1.10_p20090610-r1-gentoo.patch [deleted file]
app-text/ptex/files/tetex-3.0-kpathsea-pic.patch [deleted file]
app-text/ptex/files/tetex-3.0_p1-create-empty-files.patch [deleted file]
app-text/ptex/files/tetex-3.0_p1-dvipdfm-timezone.patch [deleted file]
app-text/ptex/files/tetex-3.0_p1-dvips_bufferoverflow.patch [deleted file]
app-text/ptex/files/tetex-3.0_p1-mptest.patch [deleted file]
app-text/ptex/files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch [deleted file]
app-text/ptex/files/texmf-update [deleted file]
app-text/ptex/files/xpdf-3.02pl2.patch [deleted file]
app-text/ptex/metadata.xml [deleted file]
app-text/ptex/ptex-3.1.10_p20090610-r1.ebuild [deleted file]

diff --git a/app-text/ptex/ChangeLog b/app-text/ptex/ChangeLog
deleted file mode 100644 (file)
index 152d28c..0000000
+++ /dev/null
@@ -1,462 +0,0 @@
-# ChangeLog for app-text/ptex
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.98 2011/07/01 11:34:32 hwoarang Exp $
-
-  01 Jul 2011; Markos Chandras <hwoarang@gentoo.org>
-  ptex-3.1.10_p20090610-r1.ebuild, +files/latex-date-warning.patch:
-  Apply patch thanks to alex-gentoo@gt.net. Bug #323559
-
-  10 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
-  -ptex-3.1.10_p20071203.ebuild, -ptex-3.1.10_p20090610.ebuild,
-  -files/ptex-3.1.10_p20071122-fmtutil-etex.patch,
-  -files/ptex-3.1.10_p20071203-gentoo.patch, -files/psfonts-ja.map:
-  Remove old wrt #319509 (leave only libpng14 compatible version in tree).
-
-  10 Jul 2010; Raúl Porcel <armin76@gentoo.org>
-  ptex-3.1.10_p20090610-r1.ebuild:
-  alpha/arm/ia64/sh/sparc stable wrt #319509
-
-  03 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
-  ptex-3.1.10_p20071203.ebuild, ptex-3.1.10_p20090610.ebuild:
-  Revert back to ~ppc64 wrt #319509 and #323559
-
-  28 Jun 2010; Jeroen Roovers <jer@gentoo.org>
-  ptex-3.1.10_p20090610-r1.ebuild:
-  Stable for HPPA (bug #319509).
-
-  27 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
-  ptex-3.1.10_p20090610-r1.ebuild:
-  amd64 stable wrt #319509
-
-  24 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
-  ptex-3.1.10_p20090610-r1.ebuild:
-  x86 stable wrt bug #319509
-
-  08 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
-  ptex-3.1.10_p20090610-r1.ebuild,
-  +files/ptex-3.1.10_p20090610-libpng14.patch:
-  Fix building with libpng14 (copied from app-text/dvipdfm and
-  app-text/dvipdfmx).
-
-  11 Dec 2009; Brent Baude <ranger@gentoo.org> ptex-3.1.10_p20090610.ebuild:
-  Marking ptex-3.1.10_p20090610 ppc64 for bug 289339
-
-  09 Dec 2009; nixnut <nixnut@gentoo.org> ptex-3.1.10_p20090610.ebuild:
-  ppc stable #289339
-
-  18 Nov 2009; Raúl Porcel <armin76@gentoo.org>
-  ptex-3.1.10_p20090610.ebuild:
-  ia64/sh/sparc stable wrt #289339
-
-*ptex-3.1.10_p20090610-r1 (15 Nov 2009)
-
-  15 Nov 2009; MATSUU Takuto <matsuu@gentoo.org>
-  -ptex-3.1.10_p20080128.ebuild, -ptex-3.1.10_p20080414.ebuild,
-  +ptex-3.1.10_p20090610-r1.ebuild,
-  -files/ptex-3.1.10_p20080128-gentoo.patch,
-  -files/ptex-3.1.10_p20080414-gentoo.patch,
-  +files/ptex-3.1.10_p20090610-r1-gentoo.patch:
-  Fixed fonts handling. Fixed texmf override issue. Removed old versions.
-
-  10 Nov 2009; Markus Meier <maekke@gentoo.org>
-  ptex-3.1.10_p20090610.ebuild:
-  arm/x86 stable, bug #289339
-
-  24 Oct 2009; Tobias Klausmann <klausman@gentoo.org>
-  ptex-3.1.10_p20090610.ebuild:
-  Stable on alpha, bug #289339
-
-  23 Oct 2009; Jeroen Roovers <jer@gentoo.org> ptex-3.1.10_p20090610.ebuild:
-  Stable for HPPA (bug #289339).
-
-  23 Oct 2009; Samuli Suominen <ssuominen@gentoo.org>
-  ptex-3.1.10_p20090610.ebuild:
-  amd64 stable wrt #289339
-
-*ptex-3.1.10_p20090610 (30 Sep 2009)
-
-  30 Sep 2009; MATSUU Takuto <matsuu@gentoo.org>
-  +ptex-3.1.10_p20090610.ebuild, +files/ptex-3.1.10_p20090610-gentoo.patch,
-  +files/ptex-3.1.10_p20090610-getline.patch, +files/CVE-2009-1284.patch:
-  Fixed #126092, #223793, #226877, #284825 and #282874.
-
-  31 Oct 2008; Ulrich Mueller <ulm@gentoo.org> ptex-3.1.10_p20071203.ebuild,
-  ptex-3.1.10_p20080128.ebuild, ptex-3.1.10_p20080414.ebuild:
-  Remove virtual/tetex, bug 222501.
-
-*ptex-3.1.10_p20080414 (10 May 2008)
-
-  10 May 2008; MATSUU Takuto <matsuu@gentoo.org>
-  +files/ptex-3.1.10_p20080414-gentoo.patch, ptex-3.1.10_p20071203.ebuild,
-  ptex-3.1.10_p20080128.ebuild, +ptex-3.1.10_p20080414.ebuild:
-  Version bumped. Removed motif-config, bug #219300.
-
-  21 Feb 2008; MATSUU Takuto <matsuu@gentoo.org>
-  -files/xpdf-2.02pl1-CAN-2005-3191-3.patch,
-  -files/xpdf-3.00pl2-CAN-2004-1125.patch,
-  -files/xpdf-3.00pl3-CAN-2005-0064.patch, -files/20fmtutil-platex.cnf,
-  -files/xdvi-xorg-7.0.patch, -files/20updmap-ja.cfg,
-  -files/ptex-3.1.5-dvi-draw-conflicting-types.patch,
-  -files/ptex-3.1.5-flex-unput.patch,
-  -files/xpdf-CESA-2004-007-xpdf2-newer.diff, -files/20texmf-cmap.cnf,
-  -files/10texmf-ptex.cnf, -files/ptex-xdvi-vfontmap-ja-ipafonts,
-  -files/ptex-xdvi-vfontmap-kochi-substitute, -files/xdvizilla.patch,
-  -files/xpdf-goo-sizet.patch, -files/xpdf2-underflow.patch,
-  -ptex-3.1.5-r1.ebuild, -ptex-3.1.10_p20071214.ebuild,
-  -ptex-3.1.10_p20080107.ebuild:
-  Removed old versions.
-
-*ptex-3.1.10_p20080128 (14 Feb 2008)
-
-  14 Feb 2008; MATSUU Takuto <matsuu@gentoo.org>
-  +files/ptex-3.1.10_p20080128-gentoo.patch, ptex-3.1.5-r1.ebuild,
-  ptex-3.1.10_p20071203.ebuild, ptex-3.1.10_p20071214.ebuild,
-  ptex-3.1.10_p20080107.ebuild, +ptex-3.1.10_p20080128.ebuild:
-  Version bumped.
-  Removed lesstif USE flag, bug #209859.
-  Clean up ebuild.
-
-*ptex-3.1.10_p20080107 (18 Jan 2008)
-
-  18 Jan 2008; MATSUU Takuto <matsuu@gentoo.org>
-  +ptex-3.1.10_p20080107.ebuild:
-  Version bumped.
-  Added app-arch/unzip to DEPEND, bug #206027.
-
-  11 Jan 2008; Fabian Groffen <grobian@gentoo.org> ptex-3.1.5-r1.ebuild:
-  Dropped ppc-macos keyword, see you in prefix
-
-*ptex-3.1.10_p20071214 (31 Dec 2007)
-
-  31 Dec 2007; MATSUU Takuto <matsuu@gentoo.org>
-  -files/ptex-3.1.10_p20071122-gentoo.patch, -ptex-3.1.5-r2.ebuild,
-  -ptex-3.1.8.1_p20050418.ebuild, -ptex-3.1.10_beta3.ebuild,
-  -ptex-3.1.10_p20071122.ebuild, +ptex-3.1.10_p20071214.ebuild:
-  Version bumped.
-  Removed old versions.
-
-  25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
-  Removing usata from metadata.xml as per #22931.
-
-  14 Dec 2007; Tobias Scherbaum <dertobi123@gentoo.org>
-  ptex-3.1.10_p20071203.ebuild:
-  ppc stable, bug #196673
-
-  13 Dec 2007; Raúl Porcel <armin76@gentoo.org>
-  ptex-3.1.10_p20071203.ebuild:
-  alpha/ia64/sparc stable wrt security #196673
-
-  13 Dec 2007; Jeroen Roovers <jer@gentoo.org> ptex-3.1.10_p20071203.ebuild:
-  Stable for HPPA (bug #196673).
-
-  12 Dec 2007; <welp@gentoo.org> ptex-3.1.10_p20071203.ebuild:
-  Stable on amd64; bug 196673
-
-  11 Dec 2007; Markus Rothe <corsair@gentoo.org>
-  ptex-3.1.10_p20071203.ebuild:
-  Stable on ppc64; bug #196673
-
-  11 Dec 2007; Christian Faulhammer <opfer@gentoo.org>
-  ptex-3.1.10_p20071203.ebuild:
-  stable x86, security bug 196673
-
-*ptex-3.1.10_p20071203 (06 Dec 2007)
-
-  06 Dec 2007; <matsuu@gentoo.org>
-  +files/ptex-3.1.10_p20071203-gentoo.patch, +files/xpdf-3.02pl2.patch,
-  +ptex-3.1.10_p20071203.ebuild:
-  Version bumbed.
-  Added xpdf security patch, bug #196673.
-
-  01 Dec 2007; <matsuu@gentoo.org> ptex-3.1.10_p20071122.ebuild:
-  Fixed to work with "USE=-X".
-
-*ptex-3.1.10_p20071122 (30 Nov 2007)
-
-  30 Nov 2007; <matsuu@gentoo.org> +files/tetex-3.0-kpathsea-pic.patch,
-  +files/tetex-3.0_p1-create-empty-files.patch,
-  +files/tetex-3.0_p1-dvipdfm-timezone.patch,
-  +files/tetex-3.0_p1-dvips_bufferoverflow.patch,
-  +files/tetex-3.0_p1-mptest.patch,
-  +files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch,
-  +files/ptex-3.1.10_p20071122-epstopdf-wrong-rotation.patch,
-  +files/ptex-3.1.10_p20071122-fmtutil-etex.patch,
-  +files/ptex-3.1.10_p20071122-gentoo.patch,
-  +files/ptex-3.1.10_p20071122-pdftosrc-install.patch, +files/texmf-update,
-  +ptex-3.1.10_p20071122.ebuild:
-  Version bumped. Ebuild submitted by aisomur <aisomur@gmail.com>. bug #196342
-  Fixed various security issue. bug #196673
-  Removed old versions.
-  Dropped ppc-macos keyword, see you in prefix
-
-  02 Sep 2007; Robert Buchholz <rbu@gentoo.org>
-  files/digest-ptex-3.1.8.1_p20050418, files/digest-ptex-3.1.10_beta3,
-  Manifest:
-  Redigest (bug #189716)
-
-  12 Mar 2007; Alexandre Buisse <nattfodd@gentoo.org> metadata.xml:
-  Replaced text-markup by tex as maintaining herd (text-markup split).
-
-  28 Jan 2007; Marius Mauch <genone@gentoo.org> ptex-3.1.10_beta3.ebuild:
-  Replacing einfo with elog
-
-*ptex-3.1.10_beta3 (14 Nov 2006)
-
-  14 Nov 2006; Mamoru KOMACHI <usata@gentoo.org> files/20texmf-cmap.cnf,
-  +files/ptex-xdvi-vfontmap-ja-ipafonts,
-  +files/ptex-xdvi-vfontmap-kochi-substitute, ptex-3.1.5-r1.ebuild,
-  ptex-3.1.5-r2.ebuild, -ptex-3.1.8.1.ebuild, ptex-3.1.8.1_p20050418.ebuild,
-  +ptex-3.1.10_beta3.ebuild:
-  Updated not to block app-text/tetex. Added explicit blocks to app-text/tetex
-  to old versions. Added several dirs to CMap search path. Removed old ebuild.
-
-  23 Oct 2006; Mamoru KOMACHI <usata@gentoo.org> +files/xdvi-xorg-7.0.patch,
-  ptex-3.1.5-r2.ebuild, ptex-3.1.8.1_p20050418.ebuild:
-  Added xdvi-cjk patch. See
-  http://developer.momonga-linux.org/wiki/?StatusReport-20060408 for detail.
-
-  07 Oct 2006; MATSUU Takuto <matsuu@gentoo.org> -ptex-3.1.4-r2.ebuild,
-  -ptex-3.1.5.ebuild, ptex-3.1.8.1_p20050418.ebuild:
-  Removed unused flags in IUSE.
-  Removed old versions.
-
-*ptex-3.1.5-r2 (28 Apr 2006)
-
-  28 Apr 2006; Mamoru KOMACHI <usata@gentoo.org> +ptex-3.1.5-r2.ebuild:
-  Fixed CMAPINPUTS (dvipdfmx) issue. Adopted ptetex2 for ptex patch distribution.
-
-  10 Mar 2006; Aron Griffis <agriffis@gentoo.org> ptex-3.1.5-r1.ebuild:
-  Mark 3.1.5-r1 stable on ia64
-
-  04 Mar 2006; Jose Luis Rivero <yoswink@gentoo.org> ptex-3.1.5-r1.ebuild:
-  Stable on alpha wrt security #115775
-
-  01 Mar 2006; Simon Stelling <blubb@gentoo.org> ptex-3.1.5-r1.ebuild:
-  stable on amd64 wrt bug 115775
-
-  21 Feb 2006; Rene Nussbaumer <killerfox@gentoo.org> ptex-3.1.5-r1.ebuild:
-  Stable on hppa. See bug #115775.
-
-  20 Feb 2006; Tobias Scherbaum <dertobi123@gentoo.org>
-  ptex-3.1.5-r1.ebuild:
-  ppc stable, bug #115775
-
-  20 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org> ptex-3.1.5-r1.ebuild:
-  Stable on sparc wrt security #115775
-
-  20 Feb 2006; Markus Rothe <corsair@gentoo.org> ptex-3.1.5-r1.ebuild:
-  Stable on ppc64; bug #115775
-
-  19 Feb 2006; Joshua Jackson <tsunam@gentoo.org> ptex-3.1.5-r1.ebuild:
-  stable on x86; security bug #115775
-
-  19 Feb 2006; Fabian Groffen <grobian@gentoo.org> ptex-3.1.5-r1.ebuild:
-  Marked ppc-macos stable (bug #115775) thanks exg!
-
-*ptex-3.1.5-r1 (18 Feb 2006)
-
-  18 Feb 2006; Alexandre Buisse <nattfodd@gentoo.org>
-  +files/xpdf-2.02pl1-CAN-2005-3191-3.patch,
-  +files/ptex-3.1.5-dvi-draw-conflicting-types.patch,
-  +files/ptex-3.1.5-flex-unput.patch, +ptex-3.1.5-r1.ebuild:
-  Backport recent tetex-2 patches (from bugs #115775, #122365 and #118264).
-
-*ptex-3.1.8.1_p20050418 (19 Apr 2005)
-
-  19 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> +files/10texmf-ptex.cnf,
-  -ptex-3.1.8.1_p20050325.ebuild, -ptex-3.1.8.1_p20050405.ebuild,
-  +ptex-3.1.8.1_p20050418.ebuild:
-  Version bumped and fixed bug #89429.
-
-  08 Apr 2005; Markus Rothe <corsair@gentoo.org> ptex-3.1.5.ebuild:
-  Stable on ppc64
-
-*ptex-3.1.8.1_p20050405 (07 Apr 2005)
-
-  07 Apr 2005; Mamoru KOMACHI <usata@gentoo.org>
-  +ptex-3.1.8.1_p20050405.ebuild:
-  Changed to use tetex-3_src_compile and added virtex/pdfvirtex symlinks.
-  Added jis and morisawa fonts.
-
-  05 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.4-r2.ebuild,
-  ptex-3.1.5.ebuild, ptex-3.1.8.1.ebuild, ptex-3.1.8.1_p20050325.ebuild:
-  Changed to use tetex-2 and tetex-3, repectively.
-
-  02 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.8.1.ebuild,
-  ptex-3.1.8.1_p20050325.ebuild:
-  Fixed xdvi toolkit dependency; bug #87375.
-
-  01 Apr 2005; <blubb@gentoo.org> ptex-3.1.5.ebuild:
-  stable on amd64
-
-*ptex-3.1.8.1_p20050325 (31 Mar 2005)
-
-  31 Mar 2005; Mamoru KOMACHI <usata@gentoo.org>
-  +ptex-3.1.8.1_p20050325.ebuild, -ptex-3.1.8.20050218.ebuild:
-  Version bumped.
-
-  27 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> ptex-3.1.5.ebuild:
-  Stable on alpha.
-
-*ptex-3.1.8.1 (16 Mar 2005)
-
-  16 Mar 2005; Mamoru KOMACHI <usata@gentoo.org> +ptex-3.1.8.1.ebuild:
-  Version bumped.
-
-  07 Mar 2005; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.4-r2.ebuild,
-  ptex-3.1.5.ebuild, -ptex-3.1.8.20050111.ebuild:
-  Fixed incorrect newins psfonts-ja.map.
-
-  24 Feb 2005; Gustavo Zacarias <gustavoz@gentoo.org> ptex-3.1.5.ebuild:
-  Stable on sparc
-
-*ptex-3.1.8.20050218 (22 Feb 2005)
-
-  22 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> -ptex-3.1.3.ebuild,
-  ptex-3.1.4-r2.ebuild, ptex-3.1.5.ebuild, +ptex-3.1.8.20050218.ebuild:
-  Version bumped. Marked 3.1.4-r2 stable on ppc-macos.
-
-  20 Feb 2005; Aron Griffis <agriffis@gentoo.org> ptex-3.1.5.ebuild,
-  ptex-3.1.8.20050111.ebuild:
-  add ~ia64
-
-  22 Jan 2005; Jason Wever <weeve@gentoo.org> ptex-3.1.4-r2.ebuild:
-  Stable on sparc wrt security bug #75801.
-
-  21 Jan 2005; Lars Weiler <pylon@gentoo.org> ptex-3.1.4-r2.ebuild:
-  Stable on ppc; bug #75801.
-
-  21 Jan 2005; Simon Stelling <blubb@gentoo.org> ptex-3.1.4-r2.ebuild:
-  stable on amd64 wrt 75801
-
-*ptex-3.1.8.20050111 (21 Jan 2005)
-*ptex-3.1.5 (21 Jan 2005)
-
-  21 Jan 2005; Mamoru KOMACHI <usata@gentoo.org> -ptex-3.1.3-r1.ebuild,
-  -ptex-3.1.4-r1.ebuild, -ptex-3.1.4.20041109-r1.ebuild,
-  -ptex-3.1.4.20041109.ebuild, +ptex-3.1.5.ebuild,
-  +ptex-3.1.8.20050111.ebuild:
-  Version bumped.
-
-  20 Jan 2005; Markus Rothe <corsair@gentoo.org> ptex-3.1.4-r2.ebuild:
-  Stable on ppc64; bug #75801
-
-  20 Jan 2005; Olivier Cr?te <tester@gentoo.org> ptex-3.1.4-r2.ebuild:
-  Stable on x86 wrt security bug #75801
-
-*ptex-3.1.4-r2 (20 Jan 2005)
-
-  20 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> ptex-3.1.4-r2.ebuild:
-  Stable on alpha, bug 75801.
-
-*ptex-3.1.4.20041109-r1 (21 Nov 2004)
-
-  21 Nov 2004; Mamoru KOMACHI <usata@gentoo.org>
-  +files/20fmtutil-platex.cnf, +files/20texmf-cmap.cnf,
-  +files/20updmap-ja.cfg, -ptex-3.1.4.20041026.ebuild,
-  +ptex-3.1.4.20041109-r1.ebuild:
-  Changed updmap.cfg, fmtutil.cnf and mktex.cnf to use
-  /etc/texmf/{updmap.d,fmtutil.d,mktex.d}.
-  This will close bug #21501 and bug #56440.
-
-*ptex-3.1.4.20041109 (19 Nov 2004)
-
-  19 Nov 2004; Mamoru KOMACHI <usata@gentoo.org>
-  +ptex-3.1.4.20041109.ebuild:
-  Version bumped.
-
-*ptex-3.1.4.20041026 (06 Nov 2004)
-
-  06 Nov 2004; Mamoru KOMACHI <usata@gentoo.org>
-  -files/tetex-2.0.2-dont-run-config.diff, -files/tetex-2.0.2.diff,
-  ptex-3.1.4-r1.ebuild, +ptex-3.1.4.20041026.ebuild:
-  Added ptetex-3 patch. This will be masked until teTeX-3 official release.
-
-  30 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.3-r1.ebuild,
-  ptex-3.1.4-r1.ebuild:
-  Fixed xdvik compilation.
-
-*ptex-3.1.4-r1 (27 Oct 2004)
-
-  27 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> files/psfonts-ja.map,
-  -files/psfonts-novflib-ja.map, +ptex-3.1.3-r1.ebuild, ptex-3.1.3.ebuild,
-  +ptex-3.1.4-r1.ebuild, ptex-3.1.4.ebuild:
-  Use included xdvik.
-
-  24 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.3.ebuild,
-  ptex-3.1.4.ebuild:
-  Added to ~ppc-macos.
-
-*ptex-3.1.4 (01 Oct 2004)
-
-  01 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> +ptex-3.1.4.ebuild:
-  Version bumped.
-
-  28 Jul 2004; Tom Gall <tgall@gentoo.org> ptex-3.1.3.ebuild:
-  stable on ppc64
-
-  12 Jul 2004; Tom Gall <tgall@gentoo.org> ptex-3.1.3.ebuild:
-  added ~ppc64, bug #55965
-
-  05 Jun 2004; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.2-r1.ebuild,
-  ptex-3.1.3.ebuild:
-  Removed old ebuild. Marked 3.1.3 stable on ppc.
-
-  08 May 2004; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.2-r1.ebuild,
-  ptex-3.1.2.ebuild, ptex-3.1.3.ebuild:
-  Marked 3.1.2-r1 stable on ppc and added ~ppc to 3.1.3. Removed 3.1.2
-  from Portage tree.
-
-  25 Apr 2004; Aron Griffis <agriffis@gentoo.org> ptex-3.1.2.ebuild:
-  Add die following econf for bug 48950
-
-  16 Apr 2004; Jason Wever <weeve@gentoo.org> ptex-3.1.3.ebuild:
-  Stable on sparc.
-
-  14 Mar 2004; Jason Wever <weeve@gentoo.org> ptex-3.1.3.ebuild:
-  Added ~sparc keyword.
-
-  07 Mar 2004; Jon Portnoy <avenj@gentoo.org> ptex-3.1.3.ebuild :
-  AMD64 keywords.
-
-  23 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> ptex-3.1.2-r1.ebuild,
-  ptex-3.1.2.ebuild:
-  filter-flags in src_compile
-
-  23 Dec 2003; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.2-r1.ebuild,
-  ptex-3.1.3.ebuild:
-  Removed dvipdfmx from dependencies (circular dependency). Marked 3.1.3 stable
-
-*ptex-3.1.3 (13 Nov 2003)
-
-  13 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.2-r1.ebuild,
-  ptex-3.1.2.ebuild, ptex-3.1.3.ebuild:
-  Version bumped.  Marked 3.1.2 as stable on ppc.
-
-  28 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> metadata.xml,
-  ptex-3.1.2-r1.ebuild, ptex-3.1.2.ebuild:
-  Changed alpha and sparc keywords to stable. Added text-markup herd.
-
-  22 Sep 2003; <paul@gentoo.org> metadata.xml:
-  Fix metadata.xml
-
-*ptex-3.1.2-r1 (09 Sep 2003)
-
-  09 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.2-r1.ebuild,
-  files/psfonts-novflib-ja.map:
-  Sync'd with tetex-2.0.2-r1.ebuild. Removed VFlib2 patch and its dependency.
-
-*ptex-3.1.2 (27 Jul 2003)
-
-  13 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.2.ebuild:
-  Marked stable on x86
-
-  30 Jul 2003; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.2.ebuild:
-  Changed emake to make because sometimes it b0rks on SPARC
-
-  27 Jul 2003; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.2.ebuild,
-  files/psfonts-ja.map, files/tetex-2.0.2-dont-run-config.diff,
-  files/tetex-2.0.2.diff:
-  New ebuild, based on the ebuild submitted by Shinya Ando
-  <shinya@systemlinks.com> at GentooJP BugTrack, closing #23128
-
diff --git a/app-text/ptex/Manifest b/app-text/ptex/Manifest
deleted file mode 100644 (file)
index 991fc88..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
-AUX CVE-2009-1284.patch 726 RMD160 1f2b609feb777d9c27bdf0deeccb3cc00017effc SHA1 f1862eb25c3d8b362856602e5fa8bde2a011cece SHA256 b13c2047d1ab722cac51cb60acc1285fa7c66c26240730f6d1526217fb0fc035
-AUX latex-date-warning.patch 1395 RMD160 91baa4de354af9cdb027b4a54ce45fa781f5a770 SHA1 ba838878df73bfe274f3989b69c91787571e93e4 SHA256 de61707d4e28a8f3479e63fe01e6810067854f61a76b5b60e5969968ae01b5a6
-AUX ptex-3.1.10_p20071122-epstopdf-wrong-rotation.patch 627 RMD160 73c26696f3efe24271fc609218e85ef332d5611c SHA1 a6c9ed5f9143702da8574c894f927b48232a5775 SHA256 a67a2078d4e320d4a9ef73567b1c8e55aba7a8c6448deed0c1635855c5b778bb
-AUX ptex-3.1.10_p20071122-pdftosrc-install.patch 979 RMD160 08544f56b48be70f974d1ab318fdeaa9fcbae362 SHA1 3d7e7875503ee438c950947cef9ca44cc8801c7c SHA256 0f89361cadccbc3a47b525b9138640b7d7ef00544291586d2c760e459743d7cd
-AUX ptex-3.1.10_p20090610-gentoo.patch 5497 RMD160 2f2c8f53b43416f771a312123c158bdb7ce69922 SHA1 9d31ac401ed73fcce76d87dc6e6d9e9d9f63ccde SHA256 f3fac1a1c60d915882a5f47434ee857e22c77001d2ff9c4fc042de35c2d1456a
-AUX ptex-3.1.10_p20090610-getline.patch 2670 RMD160 5fbc40f7f394bff0a57b16dbbde24f5b6b6bbbbc SHA1 c81b08ac72db0ceadaf9e3eb90272159529f1cc8 SHA256 1f61b5a1dbaea2133ed275df8dcc264f58c648ae6330e8d9270de9304efb71ee
-AUX ptex-3.1.10_p20090610-libpng14.patch 1034 RMD160 008b9363473241e617742f0e700e73b8beb515e3 SHA1 ff4d2a3e9a9d278850ecc2d95c97cd24a131d522 SHA256 a4b466c72d0e1f906a496b25a87c61b5338421256bdd09b8ca7d554a0f192ef5
-AUX ptex-3.1.10_p20090610-r1-gentoo.patch 7758 RMD160 b1d832a9e7b2dd27fe8315b1543bb22be19c0af0 SHA1 dd39f3f94980a4fb89c52eddb5b18f1412db121b SHA256 3daa6d6b2aba0dd230e1cec9bf9eac89d2f5fe4947eb9b086f06e0c96e89892e
-AUX tetex-3.0-kpathsea-pic.patch 1791 RMD160 30c7da6951977eab26323509b7034a9a1cb6a809 SHA1 d5a894337e87c04daf2f98fdb3fcdab9cf55c8f2 SHA256 d00020bd51264210be5425d2392e373b9f3964302e4f24401c398f3704631691
-AUX tetex-3.0_p1-create-empty-files.patch 1171 RMD160 908bfb3dedd721e021fc16c1ed9bee1159e5f947 SHA1 e929b5d8272ae81a65c726f139d4cfe14ea9a4a5 SHA256 3c2efa2cc82fccd5452e3ba49a9207264bcf06d2a4467158f4d5f45bd84b3268
-AUX tetex-3.0_p1-dvipdfm-timezone.patch 1546 RMD160 9be8bb58b3be7add25ce30acb4eee08b35c85c5f SHA1 e3824f4fefa52927dda1327fb073c256e700ee14 SHA256 a441179d3f09c7faca63ccf85cd84ad64d117835ad925f33b0fcbc882ed9c827
-AUX tetex-3.0_p1-dvips_bufferoverflow.patch 3032 RMD160 d82c40767b8614180e1487a95c923b99e92161b5 SHA1 1616aff45e9412ad861d75019a2c88a5122e5b23 SHA256 d5942c40589199d19dd4407b9bcdfeb13a2559de59e70ca986c3c16040788f6b
-AUX tetex-3.0_p1-mptest.patch 367 RMD160 5669a8c815ecbc5d3bb03281f50360cad86c6e3a SHA1 0c1f6ab9e2cec3af63d10cabd802f10d6c3a0d07 SHA256 07b84a63d174a401d77ca62031fd1258496789038dd013c52896d9853efe10cd
-AUX tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch 627 RMD160 9c4b663fa960bbac698a70f808ce1fd75d4083e9 SHA1 095673160925babe6717225071dfb1da6583043c SHA256 e27c3f797280b668833dcb663c6808afd7e8c926725ac5e3847e7e6463d75849
-AUX texmf-update 2083 RMD160 4f31819f7389c0da09c8f298a788c38be42f58c9 SHA1 5cc2f572ce3bb8450b04731e6ed405b4be32981c SHA256 362506e23e77cf51e2c42738693ac36a323cdb69cb134a62468e959b7012df61
-AUX xpdf-3.02pl2.patch 15838 RMD160 7a2a6ad90450cc66afa5d7ed9ec3c4a705b8e6e6 SHA1 30824919b4482cff625daa2dc789c8a619d59308 SHA256 5c78443b0c87ed16e214964428a4523b8ebbcdf1e7ace00a021ae5e4e94f457f
-DIST ptetex-cmap-20090506.tar.gz 3506102 RMD160 38a82a3b3eb625bbb959500a2a1e1e3e930ee498 SHA1 0e27aa14fdece2f14604e2c594928d3c1efa9d95 SHA256 97bd8bc0107c6038ba8a921d17ed4074c602fecaf94ee0b87177692ad9b8027b
-DIST ptetex3-20090610.tar.gz 6502684 RMD160 e14fb24175d674755bcfd99a3ca9e806577434de SHA1 23294bfa0615dd771b0bf333d9535f4c95a65be0 SHA256 5e4e17b91009f5301ef4b4442c417a6909ac1c2aa48f269466eedf49301a9757
-DIST ptex-3.1.10_p20071122-dviljk-security-fixes.patch.bz2 8739 RMD160 7a63ebf1ebce0dbd7d48d9dbef2ea663ba187871 SHA1 9dad652088e93a5a6924460bd6c60efe88e9e80b SHA256 af6b92ee2640e754fc3e0b55e8aa7c8436d655f0d38e5afdd3badf5ee5f55c93
-DIST tetex-src-3.0.tar.gz 12749314 RMD160 15a139f5f36993e4ed3583260e175cfb13ce7bcc SHA1 7637789f7f4929694aed1b89820f5bad4753e8fc SHA256 9c0f7eaeb5ba6dc6f66433404d264941bf95cded2fa798b1f7a9dd580c21649b
-DIST tetex-texmf-3.0po.tar.gz 91402377 RMD160 a1e87733fa3cbef04e39a690ed8549aeaaddb241 SHA1 1be97f57a26a6e9b72ebfd932e45914a959aff16 SHA256 6c3b8fa619749cbb28ca0f8847e56773d13e0bb92f1ea34287420950373640c2
-EBUILD ptex-3.1.10_p20090610-r1.ebuild 8389 RMD160 dfdc3182b384759e595a8b158aad5c92653096c4 SHA1 3fd18c0f95482d635479fc0ef203b308ec4ace75 SHA256 274c94059fe24e71429763f007292588d0616482f1fb38752d93622988d16f3a
-MISC ChangeLog 16661 RMD160 a3661f855af95dc82b10c3b4609cf5b4202bccfa SHA1 7468b8d4f32113d35dd6b4652a74d57ee8f477a8 SHA256 ec6f864f04813da2ed3026ac3fa406982e4101c584b10673a6710e4551f3ffb8
-MISC metadata.xml 450 RMD160 910d918b9fe476cdb72c633a1c5532549d3f6114 SHA1 33ca5b367c7d2f1d470d8c18afc11230b501da89 SHA256 b9d2baa3e5a641dd35a68feed6752e874b2131480d63989ef5830080a942608b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iQIcBAEBCgAGBQJODbDOAAoJEPqDWhW0r/LCqh4P/3FUncQoxXk6eF4DC4TN1cxv
-zwx38AaTBtTNvOqYWty9rYO808iZYRu2wyNLOHQ6iLYtp441fGY0F4XUr6tcUU9q
-iM/XSM81Sjk2aYJAzVWeTo+bCWHgqPqC0K6mlVUfuGY6sHxD52AaNZislSXw+8Dd
-3ndaDcwCZpNPKIEkWXyJt7uGtEx43GWhgQPDNP+XExVzEY6tyNR3o/1HUEZvoQRr
-tUKhXMYA8/YkpLEp1Mhb+k5SROwur1PfQi7TEk+MtJrKGKhojcBuRAEidTP5C5VV
-0r0p+0pEOG5rJPPcW84Xq9lhcE5c4/srLQKfGK+E1zMF+zR6sn+YtLIER7JaLgaZ
-SiFWuuIWFODYTg3IMOUrTtcWmpdBAcZ1pb+B1kj2CWeUQf2J/ZrNmaNpeDV9ni7s
-uPO/m6ugi/yeX5IdVI7CZWi3anRj0UhOYA0DFLXDN55+0JwOjqi2SfXb2WzEUEo4
-+Duk74zM1K0n13SR0mfPsC9sLNqaIzM9w4gtPMv21mRwimylqBpuvdOsFcR12gpC
-FFrG2kvH5JDltym36fqS/gjtuSOJh1KHilMlyNlVSCmFO2HnYvXorD6RweRrWW4q
-ilnc+4HvnhJZ977XCQ1IAoYAfoAn6wQAqCcQZm0BnY9OQjTyCd/EkxO50+zCNWUS
-sEIJjtAjJjnRkmncSKZa
-=/9jV
------END PGP SIGNATURE-----
diff --git a/app-text/ptex/files/CVE-2009-1284.patch b/app-text/ptex/files/CVE-2009-1284.patch
deleted file mode 100644 (file)
index 3e5b7f7..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- tetex-src-3.0.orig/texk/web2c/bibtex.ch    2004-07-15 02:32:51.000000000 +0900
-+++ tetex-src-3.0/texk/web2c/bibtex.ch 2009-09-30 08:11:22.000000000 +0900
-@@ -1077,6 +1077,15 @@
- @y
- @z
-+% Forgot to check for pool overflow here.  Triggered by test case linked
-+% from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520920.
-+@x
-+while (sp_ptr < sp_end) do                      {shift the substring}
-+@y
-+str_room(sp_end - sp_ptr);
-+while (sp_ptr < sp_end) do                      {shift the substring}
-+@z
-+
- % [459] Eliminate unreferenced statement label, because `undefined' is
- % now a constant expression that is not evaluated at the Web level. If
- % this label were ever required, it could be replaced by the constant
diff --git a/app-text/ptex/files/latex-date-warning.patch b/app-text/ptex/files/latex-date-warning.patch
deleted file mode 100644 (file)
index a1ddcf7..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
---- tetex-texmf-3.0/tex/latex/base/latex.ltx.orig       2004-03-13 18:19:52.000000000 -0800
-+++ tetex-texmf-3.0/tex/latex/base/latex.ltx    2011-06-08 21:03:22.591995784 -0700
-@@ -525,20 +525,6 @@
-   \advance\count@\month
-   \advance\count@-#2\relax}
- \expandafter\reserved@a\fmtversion\@nil
--\ifnum\count@>65
--  \typeout{^^J%
--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J%
--!  You are attempting to make a LaTeX format from a source file^^J%
--!  That is more than five years old.^^J%
--!^^J%
--!  If you enter <return> to scroll past this message then the format^^J%
--!  will be built, but please consider obtaining newer source files^^J%
--!  before continuing to build LaTeX.^^J%
--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J%
--}
--   \errhelp{To avoid this error message, obtain new LaTeX sources.}
--   \errmessage{LaTeX source files more than 5 years old!}
--\fi
- \let\reserved@a\relax
- \fi
- \everyjob{\typeout{\fmtname
---- ptetex3-20090610/md5sum/texmf.orig  2011-06-08 21:18:24.812014540 -0700
-+++ ptetex3-20090610/md5sum/texmf       2011-06-08 21:19:10.142018035 -0700
-@@ -1,3 +1,3 @@
- fae7a6148989ea475ff67ecb46f83412  ./dvips/pstricks/pst-text.pro
--46e11c2c40a68d1ed838ab5697e96082  ./tex/latex/base/latex.ltx
-+653bcef6368208d27be72e26a567b29a  ./tex/latex/base/latex.ltx
- c481cbb783442730ab8c3fc06772faef  ./tex/latex/marvosym/marvosym.sty
\ No newline at end of file
diff --git a/app-text/ptex/files/ptex-3.1.10_p20071122-epstopdf-wrong-rotation.patch b/app-text/ptex/files/ptex-3.1.10_p20071122-epstopdf-wrong-rotation.patch
deleted file mode 100644 (file)
index 3f5d874..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Naur tetex-src-3.0.orig/texk/tetex/epstopdf tetex-src-3.0/texk/tetex/epstopdf
---- tetex-src-3.0.orig/texk/tetex/epstopdf     2007-11-30 01:20:28.000000000 +0900
-+++ tetex-src-3.0/texk/tetex/epstopdf  2007-11-30 01:32:36.000000000 +0900
-@@ -208,7 +208,8 @@
- ### open output file
- if ($::opt_gs) {
-   my $pipe = "$GS -q -sDEVICE=pdfwrite $GSOPTS " .
--          "-sOutputFile=$OutputFilename $GSNOEMBED - -c quit";
-+      "-dAutoRotatePages=/None " .
-+      "\"-sOutputFile=$OutputFilename\" $GSNOEMBED - -c quit";
-   debug "Ghostscript pipe:", $pipe;
-   open(OUT,"|$pipe") or error "Cannot open Ghostscript for piped input";
- }
diff --git a/app-text/ptex/files/ptex-3.1.10_p20071122-pdftosrc-install.patch b/app-text/ptex/files/ptex-3.1.10_p20071122-pdftosrc-install.patch
deleted file mode 100644 (file)
index f8b4801..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur tetex-src-3.0.orig/texk/web2c/Makefile.in tetex-src-3.0/texk/web2c/Makefile.in
---- tetex-src-3.0.orig/texk/web2c/Makefile.in  2007-11-30 01:20:29.000000000 +0900
-+++ tetex-src-3.0/texk/web2c/Makefile.in       2007-11-30 01:46:41.000000000 +0900
-@@ -652,13 +652,13 @@
- programs = bibtex ctangle ctie cweave dvicopy dvitomp dvitype gftodvi gftopk \
-  ofm2opl opl2ofm ovf2ovp ovp2ovf \
-  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) $(pdfxtex)
- programs: $(programs) $(engines) $(mpware) \
--          $(omegafonts_programs) $(otps_programs) $(pdftosrc)
-+          $(omegafonts_programs) $(otps_programs)
- # We put some programs (written directly in C) in a subdirectory.
- $(mpware): $(mpware_sources)
diff --git a/app-text/ptex/files/ptex-3.1.10_p20090610-gentoo.patch b/app-text/ptex/files/ptex-3.1.10_p20090610-gentoo.patch
deleted file mode 100644 (file)
index 75c1995..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
---- ptetex3-20090610.orig/2extract-src.sh       2009-06-07 10:00:07.000000000 +0200
-+++ ptetex3-20090610/2extract-src.sh    2009-09-16 08:05:52.000000000 +0200
-@@ -147,25 +147,25 @@
-     $MKDIR $SRC/texk/pdvipsk
-     $CP $SRC/texk/dvipsk/* $SRC/texk/pdvipsk/ 2> /dev/null
-     tarcp $SRC/texk/xdvik $SRC/texk/pxdvik
--    P=p
-+    DVIPSK_P=p
- fi # "$JAPANESE" = "international"
- ## for dvipsk
--#tarx archive/dvipsk-jpatch-p*.tar.gz         $SRC/texk/${P}dvipsk
--#cpatch $SRC/texk/${P}dvipsk/dvipsk-*.patch 1 $SRC/texk/${P}dvipsk
--tarx archive/dvipsk-*-p*.tar.gz              $SRC/texk/${P}dvipsk
--cpatch $SRC/texk/${P}dvipsk/dvipsk-*.diff 1  $SRC/texk/${P}dvipsk
--perlprint 's/^kpse_include/ac_include/g'     $SRC/texk/${P}dvipsk/Makefile.in
-+#tarx archive/dvipsk-jpatch-p*.tar.gz         $SRC/texk/${DVIPSK_P}dvipsk
-+#cpatch $SRC/texk/${DVIPSK_P}dvipsk/dvipsk-*.patch 1 $SRC/texk/${DVIPSK_P}dvipsk
-+tarx archive/dvipsk-*-p*.tar.gz              $SRC/texk/${DVIPSK_P}dvipsk
-+cpatch $SRC/texk/${DVIPSK_P}dvipsk/dvipsk-*.diff 1  $SRC/texk/${DVIPSK_P}dvipsk
-+perlprint 's/^kpse_include/ac_include/g'     $SRC/texk/${DVIPSK_P}dvipsk/Makefile.in
-
- ## for xdvik
--zpatch archive/xdvik-200?????-tetex-3.0.diff.gz 3 $SRC/texk/${P}xdvik
-+zpatch archive/xdvik-200?????-tetex-3.0.diff.gz 3 $SRC/texk/${DVIPSK_P}xdvik
- # fix for FC5
- perlprint 'print "#define NeedWidePrototypes 1\n" if /limits/' \
--    $SRC/texk/${P}xdvik/xdvi.h
-+    $SRC/texk/${DVIPSK_P}xdvik/xdvi.h
- # pTeX fontmap
- perlnoprint "s/^ptexmap .*/ptexmap kanjix.map/; print unless /IPA/" \
--    $SRC/texk/${P}xdvik/texmf/xdvi.cfg
-+    $SRC/texk/${DVIPSK_P}xdvik/texmf/xdvi.cfg
- # adjust X resource
--cat <<EOF >> $SRC/texk/${P}xdvik/texmf/XDvi || exit 1
-+cat <<EOF >> $SRC/texk/${DVIPSK_P}xdvik/texmf/XDvi || exit 1
-
-
- !!! ------- added by ptetex3 -------
---- ptetex3-20090610.orig/4make-install.sh      2009-05-04 18:35:49.000000000 +0200
-+++ ptetex3-20090610/4make-install.sh   2009-09-16 08:40:47.000000000 +0200
-@@ -44,11 +44,9 @@
-
- echo "[--tetex--] configure"
- cd $SRC || exit
--$MKDIR $PREFIX/share/texmf 2> /dev/null # avoid warning of texmf tree
- ./configure --prefix=$PREFIX --datadir=$DATADIR \
-     --disable-multiplatform --with-ptexenc=$KANJI_CODE \
-     $CONF_OPTION || exit
--$RMDIR $PREFIX/share/texmf 2> /dev/null # avoid warning of texmf tree
- xdvi_check
- echo "[--tetex--] make"
- $MAKE $MAKE_OPTION || exit
-diff -Naur ptetex3-20090610.orig/7font-search.sh ptetex3-20090610/7font-search.sh
---- ptetex3-20090610.orig/7font-search.sh      2008-04-14 18:07:04.000000000 +0900
-+++ ptetex3-20090610/7font-search.sh   2008-05-10 09:36:33.000000000 +0900
-@@ -58,6 +58,17 @@
-     done
- }
-+mksymlink_gentoo(){
-+    $MKDIR $TRUETYPE
-+    fonts_dir=/usr/share/fonts/
-+    find $fonts_dir -maxdepth 1 -mindepth 1 -type d | while read font_path; do
-+      if [ `find $font_path -maxdepth 1 -type f -iname '*.ttf' | wc -l` -gt 0 ]; then
-+          font_name=${font_path/$fonts_dir/}
-+          test -h ${TRUETYPE}/${font_name} && continue
-+          $LN "${font_path}" "${TRUETYPE}/${font_name}"
-+      fi
-+    done
-+}
- setrmlgbm() {
-     if test -n "$2"; then
-@@ -111,10 +122,10 @@
- mksymlink $CMAP <<EOF
- ### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
--Acrobat4    /usr{,/local,/sfw}{,/lib}/Acrobat4/Resource/CMap
--Acrobat5    /usr{,/local,/sfw}{,/lib}/Acrobat5/Resource/Font
--Acrobat7    /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat7.0/Resource/CMap
--Acrobat8    /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat8.0/Resource/CMap
-+Acrobat4    {/opt,/usr{,/local,/sfw}{,/lib}}/Acrobat4/Resource/CMap
-+Acrobat5    {/opt,/usr{,/local,/sfw}{,/lib}}/Acrobat5/Resource/Font
-+Acrobat7    {/opt,/usr{,/local,/sfw}{,/lib}}{,/Adobe}/Acrobat7{,.0}/Resource/CMap
-+Acrobat8    {/opt,/usr{,/local,/sfw}{,/lib}}{,/Adobe}/{Acrobat,Reader}8{,.0}/Resource/CMap
- ghostscript /usr{,/local,/sfw}/{share,lib}/ghostscript{,/*}/Resource/CMap
- openwinja   /usr/openwin/lib/locale/ja/X11/Resource/CMap
- openwinko   /usr/openwin/lib/locale/ko/X11/Resource/CMap
-@@ -122,21 +133,7 @@
- openwintw   /usr/openwin/lib/locale/zh_TW.BIG5/X11/Resource/CMap
- EOF
--mksymlink $TRUETYPE <<EOF
--### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
--x11       /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/truetype
--X11       /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/TrueType
--X11TTF    /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/TTF
--truetype  /usr{,/local}/share/fonts/truetype
--TrueType  /usr{,/local}/share/fonts/TrueType
--TTF     /usr{,/local}/share/fonts/TTF
--ja        /usr{,/local}/share/fonts/ja/TrueType
--japanese  /usr{,/local}/share/fonts/japanese/TrueType
--openwin   /usr/openwin/lib/locale/ja/X11/fonts/TT
--QtPalmtop /opt/QtPalmtop/lib/X11/fonts/TrueType
--f8sazanami-min  /usr/share/fonts/sazanami-fonts-mincho
--f8sazanami-goth /usr/share/fonts/sazanami-fonts-gothic
--EOF
-+mksymlink_gentoo
- mksymlink $OPENTYPE <<EOF
- ### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
-diff -Naur ptetex3-20090610.orig/common.sh ptetex3-20090610/common.sh
---- ptetex3-20090610.orig/common.sh    2008-04-05 17:51:07.000000000 +0900
-+++ ptetex3-20090610/common.sh 2008-05-10 09:47:00.000000000 +0900
-@@ -220,12 +220,12 @@
-       echo "You are root."
-       echo "It is RECOMMENDED to execute by a user."
-       echo "Executing by root may cause SERIOUS DAMAGE for your system."
--      echo -n "Are you sure to execute by root AT YOUR OWN RISK? (yes/NO) "
--      read REPLY
--      case $REPLY in
--          yes) ;;
--          *) exit 1;;
--      esac
-+#     echo -n "Are you sure to execute by root AT YOUR OWN RISK? (yes/NO) "
-+#     read REPLY
-+#     case $REPLY in
-+#         yes) ;;
-+#         *) exit 1;;
-+#     esac
-     fi
- }
diff --git a/app-text/ptex/files/ptex-3.1.10_p20090610-getline.patch b/app-text/ptex/files/ptex-3.1.10_p20090610-getline.patch
deleted file mode 100644 (file)
index 1a570cb..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-diff -Naur tetex-src-3.0.orig/texk/dvipsk/afm2tfm.c tetex-src-3.0/texk/dvipsk/afm2tfm.c
---- tetex-src-3.0.orig/texk/dvipsk/afm2tfm.c   2005-01-30 22:17:09.000000000 +0900
-+++ tetex-src-3.0/texk/dvipsk/afm2tfm.c        2009-09-29 08:47:30.000000000 +0900
-@@ -257,7 +257,7 @@
- }
- int
--getline P1H(void) {
-+_getline P1H(void) {
-    register char *p ;
-    register int c ;
-@@ -606,7 +606,7 @@
-    ai = newchar() ;
-    ai->adobenum = -1 ;
-    ai->adobename = "||" ; /* boundary character name */
--   while (getline()) {
-+   while (_getline()) {
-       switch(interest(paramstring())) {
- case FontName:
-          fontname = paramnewstring() ;
-@@ -1882,7 +1882,7 @@
-    while (1) {
-       while (param == 0 || *param == 0) {
--         if (getline() == 0)
-+         if (_getline() == 0)
-             error("! premature end in encoding file") ;
-          for (p=buffer; *p; p++)
-             if (*p == '%') {
-@@ -1973,7 +1973,7 @@
-       p = gettoken() ;
-       if (strcmp(p, "]"))
-          error("! token 258 in encoding must be make-array (])") ;
--      while (getline()) {
-+      while (_getline()) {
-          for (p=buffer; *p; p++)
-             if (*p == '%') {
-                if (ignoreligkern == 0)
-diff -Naur tetex-src-3.0.orig/texk/web2c/cpascal.h tetex-src-3.0/texk/web2c/cpascal.h
---- tetex-src-3.0.orig/texk/web2c/cpascal.h    2004-08-29 05:49:59.000000000 +0900
-+++ tetex-src-3.0/texk/web2c/cpascal.h 2009-09-29 23:09:57.000000000 +0900
-@@ -14,6 +14,7 @@
- /* We must include this first, to resolve many C issues.  */
- #include "config.h"
-+#define getline _getline
- /* We only use getopt in the applications, not in web2c itself.  */
- #include <kpathsea/getopt.h>
-diff -Naur tetex-src-3.0.orig/texk/web2c/mpware/mpto.c tetex-src-3.0/texk/web2c/mpware/mpto.c
---- tetex-src-3.0.orig/texk/web2c/mpware/mpto.c        2004-07-15 02:40:35.000000000 +0900
-+++ tetex-src-3.0/texk/web2c/mpware/mpto.c     2009-09-29 23:09:35.000000000 +0900
-@@ -95,7 +95,7 @@
-       exit(1);
- }
--char *getline()       /* returns NULL on EOF or error, otherwise buf */
-+char *_getline()      /* returns NULL on EOF or error, otherwise buf */
- {
-       int c;
-       unsigned loc = 0;
-@@ -203,10 +203,10 @@
-       while (*aa==' ' || *aa=='\t') aa++;
-       if (*aa==0)
--              if ((aa=getline())==NULL)
-+              if ((aa=_getline())==NULL)
-                       err("btex section does not end");
-       do {    if (*aa==0)
--                      if ((aa=getline())==NULL)
-+                      if ((aa=_getline())==NULL)
-                               err("btex section does not end");
-                       else printf("\n");
-               if (getbta(aa) && *tt=='e') {
-@@ -372,7 +372,7 @@
-           postverb = troff_postverb;
-       }
-       printf("%s",predoc);
--      while (getline()!=NULL)
-+      while (_getline()!=NULL)
-               do_line();
-       printf("%s",postdoc);
-         free(buf);
diff --git a/app-text/ptex/files/ptex-3.1.10_p20090610-libpng14.patch b/app-text/ptex/files/ptex-3.1.10_p20090610-libpng14.patch
deleted file mode 100644 (file)
index b19ba6a..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
---- texk/dvipdfm/pngimage.c
-+++ texk/dvipdfm/pngimage.c
-@@ -42,7 +42,7 @@
-   rewind (png_file);
-   if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
-       sizeof(sigbytes) ||
--      (!png_check_sig (sigbytes, sizeof(sigbytes))))
-+      (png_sig_cmp (sigbytes, 0, sizeof(sigbytes))))
-     return 0;
-   else
-     return 1;
---- texk/dvipdfm/thumbnail.c
-+++ texk/dvipdfm/thumbnail.c
-@@ -79,7 +79,7 @@
-   }
-   if (fread (sigbytes, 1, sizeof(sigbytes), thumb_file) !=
-       sizeof(sigbytes) ||
--      (!png_check_sig (sigbytes, sizeof(sigbytes)))) {
-+      (png_sig_cmp (sigbytes, 0, sizeof(sigbytes)))) {
-     fprintf (stderr, "\nThumbnail not a png file! Skipping\n");
-     return NULL;
-   }
---- texk/dvipdfmx/src/pngimage.c
-+++ texk/dvipdfmx/src/pngimage.c
-@@ -146,7 +146,7 @@
-   rewind (png_file);
-   if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
-       sizeof(sigbytes) ||
--      (!png_check_sig (sigbytes, sizeof(sigbytes))))
-+      (png_sig_cmp (sigbytes, 0, sizeof(sigbytes))))
-     return 0;
-   else
-     return 1;
diff --git a/app-text/ptex/files/ptex-3.1.10_p20090610-r1-gentoo.patch b/app-text/ptex/files/ptex-3.1.10_p20090610-r1-gentoo.patch
deleted file mode 100644 (file)
index ca5bb17..0000000
+++ /dev/null
@@ -1,192 +0,0 @@
-diff -Naur ptetex3-20090610.orig/2extract-src.sh ptetex3-20090610/2extract-src.sh
---- ptetex3-20090610.orig/2extract-src.sh      2009-06-07 17:00:07.000000000 +0900
-+++ ptetex3-20090610/2extract-src.sh   2009-11-12 00:23:18.635898734 +0900
-@@ -147,25 +147,25 @@
-     $MKDIR $SRC/texk/pdvipsk
-     $CP $SRC/texk/dvipsk/* $SRC/texk/pdvipsk/ 2> /dev/null
-     tarcp $SRC/texk/xdvik $SRC/texk/pxdvik
--    P=p
-+    DVIPSK_P=p
- fi # "$JAPANESE" = "international"
- ## for dvipsk
--#tarx archive/dvipsk-jpatch-p*.tar.gz         $SRC/texk/${P}dvipsk
--#cpatch $SRC/texk/${P}dvipsk/dvipsk-*.patch 1 $SRC/texk/${P}dvipsk
--tarx archive/dvipsk-*-p*.tar.gz              $SRC/texk/${P}dvipsk
--cpatch $SRC/texk/${P}dvipsk/dvipsk-*.diff 1  $SRC/texk/${P}dvipsk
--perlprint 's/^kpse_include/ac_include/g'     $SRC/texk/${P}dvipsk/Makefile.in
-+#tarx archive/dvipsk-jpatch-p*.tar.gz         $SRC/texk/${DVIPSK_P}dvipsk
-+#cpatch $SRC/texk/${DVIPSK_P}dvipsk/dvipsk-*.patch 1 $SRC/texk/${DVIPSK_P}dvipsk
-+tarx archive/dvipsk-*-p*.tar.gz              $SRC/texk/${DVIPSK_P}dvipsk
-+cpatch $SRC/texk/${DVIPSK_P}dvipsk/dvipsk-*.diff 1  $SRC/texk/${DVIPSK_P}dvipsk
-+perlprint 's/^kpse_include/ac_include/g'     $SRC/texk/${DVIPSK_P}dvipsk/Makefile.in
- ## for xdvik
--zpatch archive/xdvik-200?????-tetex-3.0.diff.gz 3 $SRC/texk/${P}xdvik
-+zpatch archive/xdvik-200?????-tetex-3.0.diff.gz 3 $SRC/texk/${DVIPSK_P}xdvik
- # fix for FC5
- perlprint 'print "#define NeedWidePrototypes 1\n" if /limits/' \
--    $SRC/texk/${P}xdvik/xdvi.h
-+    $SRC/texk/${DVIPSK_P}xdvik/xdvi.h
- # pTeX fontmap
- perlnoprint "s/^ptexmap .*/ptexmap kanjix.map/; print unless /IPA/" \
--    $SRC/texk/${P}xdvik/texmf/xdvi.cfg
-+    $SRC/texk/${DVIPSK_P}xdvik/texmf/xdvi.cfg
- # adjust X resource
--cat <<EOF >> $SRC/texk/${P}xdvik/texmf/XDvi || exit 1
-+cat <<EOF >> $SRC/texk/${DVIPSK_P}xdvik/texmf/XDvi || exit 1
- !!! ------- added by ptetex3 -------
-diff -Naur ptetex3-20090610.orig/3extract-texmf.sh ptetex3-20090610/3extract-texmf.sh
---- ptetex3-20090610.orig/3extract-texmf.sh    2009-06-10 17:10:51.000000000 +0900
-+++ ptetex3-20090610/3extract-texmf.sh 2009-11-12 01:28:53.475843907 +0900
-@@ -85,8 +85,8 @@
- $CP $MAP/ptex-noEmbed.map $MAP/ptex-morisawa.map
- perlprint "s/min/\!Ryumin-Light/g;
-         s/goth/\!GothicBBB-Medium/g;"   $MAP/ptex-noEmbed.map
--perlprint "s/min/ipam.ttf/g;
--        s/goth/ipag.ttf/g;"             $MAP/ptex-ipa.map
-+perlprint "s/min/ipam.otf/g;
-+        s/goth/ipag.otf/g;"             $MAP/ptex-ipa.map
- perlprint "s/min/HiraMinPro-W3/g;
-         s/goth/HiraKakuPro-W6/g;"       $MAP/ptex-hiragino.map
- perlprint "s/min/KozMinPro-Regular-Acro.otf/g;
-diff -Naur ptetex3-20090610.orig/4make-install.sh ptetex3-20090610/4make-install.sh
---- ptetex3-20090610.orig/4make-install.sh     2009-05-05 01:35:49.000000000 +0900
-+++ ptetex3-20090610/4make-install.sh  2009-11-12 00:23:18.635898734 +0900
-@@ -44,11 +44,9 @@
- echo "[--tetex--] configure"
- cd $SRC || exit
--$MKDIR $PREFIX/share/texmf 2> /dev/null # avoid warning of texmf tree
- ./configure --prefix=$PREFIX --datadir=$DATADIR \
-     --disable-multiplatform --with-ptexenc=$KANJI_CODE \
-     $CONF_OPTION || exit
--$RMDIR $PREFIX/share/texmf 2> /dev/null # avoid warning of texmf tree
- xdvi_check
- echo "[--tetex--] make"
- $MAKE $MAKE_OPTION || exit
-diff -Naur ptetex3-20090610.orig/5macro.sh ptetex3-20090610/5macro.sh
---- ptetex3-20090610.orig/5macro.sh    2008-04-17 14:30:43.000000000 +0900
-+++ ptetex3-20090610/5macro.sh 2009-11-12 01:29:22.365322180 +0900
-@@ -104,8 +104,8 @@
- hkbv        V                 !GothicBBB-Medium
- EOF
--perl -pe 's/\!Ryumin-Light/ipam.ttf/g; 
--        s/\!GothicBBB-Medium/ipag.ttf/g;' \
-+perl -pe 's/\!Ryumin-Light/ipam.otf/g; 
-+        s/\!GothicBBB-Medium/ipag.otf/g;' \
-             < $MAP/utf-noEmbed.map > $MAP/utf-ipa.map
- perl -pe 's/\!Ryumin-Light/HiraMinPro-W3/g; 
-         s/\!GothicBBB-Medium/HiraKakuPro-W6/g;' \
-@@ -197,8 +197,8 @@
- hmgothr-v     V                       !Ryumin-Light
- EOF
--perl -pe 's/\!Ryumin-Light/ipam.ttf/g; 
--        s/\!GothicBBB-Medium/ipag.ttf/g;' \
-+perl -pe 's/\!Ryumin-Light/ipam.otf/g; 
-+        s/\!GothicBBB-Medium/ipag.otf/g;' \
-             < $MAP/otf-noEmbed.map > $MAP/otf-ipa.map
- cat <<EOF > $MAP/otf-cktx.map || exit
-diff -Naur ptetex3-20090610.orig/7font-search.sh ptetex3-20090610/7font-search.sh
---- ptetex3-20090610.orig/7font-search.sh      2008-06-16 13:06:07.000000000 +0900
-+++ ptetex3-20090610/7font-search.sh   2009-11-12 00:23:18.635898734 +0900
-@@ -58,6 +58,26 @@
-     done
- }
-+mksymlink_gentoo(){
-+    $MKDIR $TRUETYPE
-+    fonts_dir=/usr/share/fonts/
-+    find $fonts_dir -maxdepth 1 -mindepth 1 -type d | while read font_path; do
-+      if [ `find $font_path -maxdepth 1 -type f -iname '*.ttf' | wc -l` -gt 0 ]; then
-+          font_name=${font_path/$fonts_dir/}
-+          test -h ${TRUETYPE}/${font_name} && continue
-+          $LN "${font_path}" "${TRUETYPE}/${font_name}"
-+      fi
-+    done
-+    $MKDIR $OPENTYPE
-+    find $fonts_dir -maxdepth 1 -mindepth 1 -type d | while read font_path; do
-+      if [ `find $font_path -maxdepth 1 -type f -iname '*.otf' | wc -l` -gt 0 ]; then
-+          font_name=${font_path/$fonts_dir/}
-+          test -h ${OPENTYPE}/${font_name} && continue
-+          $LN "${font_path}" "${OPENTYPE}/${font_name}"
-+      fi
-+    done
-+
-+}
- setrmlgbm() {
-     if test -n "$2"; then
-@@ -111,10 +131,10 @@
- mksymlink $CMAP <<EOF
- ### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
--Acrobat4    /usr{,/local,/sfw}{,/lib}/Acrobat4/Resource/CMap
--Acrobat5    /usr{,/local,/sfw}{,/lib}/Acrobat5/Resource/Font
--Acrobat7    /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat7.0/Resource/CMap
--Acrobat8    /usr{,/local,/sfw}{,/lib}{,/Adobe}/Acrobat8.0/Resource/CMap
-+Acrobat4    {/opt,/usr{,/local,/sfw}{,/lib}}/Acrobat4/Resource/CMap
-+Acrobat5    {/opt,/usr{,/local,/sfw}{,/lib}}/Acrobat5/Resource/Font
-+Acrobat7    {/opt,/usr{,/local,/sfw}{,/lib}}{,/Adobe}/Acrobat7{,.0}/Resource/CMap
-+Acrobat8    {/opt,/usr{,/local,/sfw}{,/lib}}{,/Adobe}/{Acrobat,Reader}8{,.0}/Resource/CMap
- ghostscript /usr{,/local,/sfw}/{share,lib}/ghostscript{,/*}/Resource/CMap
- openwinja   /usr/openwin/lib/locale/ja/X11/Resource/CMap
- openwinko   /usr/openwin/lib/locale/ko/X11/Resource/CMap
-@@ -122,21 +142,7 @@
- openwintw   /usr/openwin/lib/locale/zh_TW.BIG5/X11/Resource/CMap
- EOF
--mksymlink $TRUETYPE <<EOF
--### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
--x11       /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/truetype
--X11       /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/TrueType
--X11TTF    /usr{,/local,/X11R6,/pkg}/lib/X11/fonts/TTF
--truetype  /usr{,/local}/share/fonts/truetype
--TrueType  /usr{,/local}/share/fonts/TrueType
--TTF     /usr{,/local}/share/fonts/TTF
--ja        /usr{,/local}/share/fonts/ja/TrueType
--japanese  /usr{,/local}/share/fonts/japanese/TrueType
--openwin   /usr/openwin/lib/locale/ja/X11/fonts/TT
--QtPalmtop /opt/QtPalmtop/lib/X11/fonts/TrueType
--f8sazanami-min  /usr/share/fonts/sazanami-fonts-mincho
--f8sazanami-goth /usr/share/fonts/sazanami-fonts-gothic
--EOF
-+mksymlink_gentoo
- mksymlink $OPENTYPE <<EOF
- ### ¥ê¥ó¥¯Ì¾  ¸¡º÷¥Ç¥£¥ì¥¯¥È¥ê/¥Õ¥¡¥¤¥ë
-@@ -222,6 +228,8 @@
- # IPA font http://ossipedia.ipa.go.jp/ipafont/
-       ipam.ttf
-       ipag.ttf
-+      ipam.otf
-+      ipag.otf
- # DynaLab
-       dfmimp3.ttc
-       dfgotp5.ttc
-diff -Naur ptetex3-20090610.orig/common.sh ptetex3-20090610/common.sh
---- ptetex3-20090610.orig/common.sh    2009-05-04 18:32:26.000000000 +0900
-+++ ptetex3-20090610/common.sh 2009-11-12 00:23:18.635898734 +0900
-@@ -221,12 +221,12 @@
-       echo "You are root."
-       echo "It is RECOMMENDED to execute by a user."
-       echo "Executing by root may cause SERIOUS DAMAGE for your system."
--      echo -n "Are you sure to execute by root AT YOUR OWN RISK? (yes/NO) "
--      read REPLY
--      case $REPLY in
--          yes) ;;
--          *) exit 1;;
--      esac
-+#     echo -n "Are you sure to execute by root AT YOUR OWN RISK? (yes/NO) "
-+#     read REPLY
-+#     case $REPLY in
-+#         yes) ;;
-+#         *) exit 1;;
-+#     esac
-     fi
- }
diff --git a/app-text/ptex/files/tetex-3.0-kpathsea-pic.patch b/app-text/ptex/files/tetex-3.0-kpathsea-pic.patch
deleted file mode 100644 (file)
index bddec05..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-diff --exclude-from=/home/dang/.diffrc -u -ruN tetex-src-3.0.orig/texk/kpathsea/configure tetex-src-3.0/texk/kpathsea/configure
---- tetex-src-3.0.orig/texk/kpathsea/configure 2005-02-06 13:27:03.000000000 -0500
-+++ tetex-src-3.0/texk/kpathsea/configure      2005-09-09 00:25:48.000000000 -0400
-@@ -5546,7 +5546,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 --exclude-from=/home/dang/.diffrc -u -ruN tetex-src-3.0.orig/texk/libtool.m4 tetex-src-3.0/texk/libtool.m4
---- tetex-src-3.0.orig/texk/libtool.m4 2003-02-15 08:03:23.000000000 -0500
-+++ tetex-src-3.0/texk/libtool.m4      2005-09-09 00:17:12.000000000 -0400
-@@ -30,8 +30,12 @@
- # This can be used to rebuild libtool when needed
- 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 --exclude-from=/home/dang/.diffrc -u -ruN tetex-src-3.0.orig/texk/make/common.mk tetex-src-3.0/texk/make/common.mk
---- tetex-src-3.0.orig/texk/make/common.mk     2004-08-06 14:40:50.000000000 -0400
-+++ tetex-src-3.0/texk/make/common.mk  2005-09-09 15:02:35.000000000 -0400
-@@ -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/ptex/files/tetex-3.0_p1-create-empty-files.patch b/app-text/ptex/files/tetex-3.0_p1-create-empty-files.patch
deleted file mode 100644 (file)
index b72d6d7..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -urN tetex-src-3.0.orig/texk/kpathsea/mktexlsr tetex-src-3.0/texk/kpathsea/mktexlsr
---- tetex-src-3.0.orig/texk/kpathsea/mktexlsr  2005-12-06 16:03:40.000000000 +0100
-+++ tetex-src-3.0/texk/kpathsea/mktexlsr       2006-03-20 17:27:53.000000000 +0100
-@@ -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 tetex-src-3.0.orig/texk/make/man.mk tetex-src-3.0/texk/make/man.mk
---- tetex-src-3.0.orig/texk/make/man.mk        2005-12-06 16:03:42.000000000 +0100
-+++ tetex-src-3.0/texk/make/man.mk     2006-03-20 17:23:45.000000000 +0100
-@@ -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/ptex/files/tetex-3.0_p1-dvipdfm-timezone.patch b/app-text/ptex/files/tetex-3.0_p1-dvipdfm-timezone.patch
deleted file mode 100644 (file)
index f134206..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -urN tetex-src-3.0.orig/texk/dvipdfm/pdfdoc.c tetex-src-3.0/texk/dvipdfm/pdfdoc.c
---- tetex-src-3.0.orig/texk/dvipdfm/pdfdoc.c   2005-12-06 16:03:23.000000000 +0100
-+++ tetex-src-3.0/texk/dvipdfm/pdfdoc.c        2006-05-23 17:25:49.000000000 +0200
-@@ -234,7 +234,7 @@
- {
- #ifndef HAVE_TIMEZONE
-   #ifdef TM_GM_TOFF
--     #define timezone (bdtime->gm_toff)
-+     #define timezone (bd_time->tm_gmtoff)
-   #else
-      #define timezone 0l
- #endif /* TM_GM_TOFF */
-@@ -242,15 +242,26 @@
-   static char date_string[24];
-   time_t current_time;
-   struct tm *bd_time;
-+  long hh, mm;
-   if (debug) {
-     fprintf (stderr, "(asn_date)");
-   }
-   time(&current_time);
-   bd_time = localtime(&current_time);
--  sprintf (date_string, "D:%04d%02d%02d%02d%02d%02d%+03ld'%02ld'",
--         bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday,
--         bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec,
--         -timezone/3600, timezone%3600);
-+  if (timezone == 0l) {
-+    sprintf (date_string, "D:%04d%02d%02d%02d%02d%02dZ00'00'",
-+           bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday,
-+           bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec);
-+  } else {
-+    hh = timezone/3600;
-+    mm = (timezone%3600)/60;
-+    if (timezone < 0)
-+      mm = -mm;
-+    sprintf (date_string, "D:%04d%02d%02d%02d%02d%02d%+03ld'%02ld'",
-+             bd_time -> tm_year+1900, bd_time -> tm_mon+1, bd_time -> tm_mday,
-+             bd_time -> tm_hour, bd_time -> tm_min, bd_time -> tm_sec,
-+             hh, mm);
-+  }
-   return date_string;
- }
diff --git a/app-text/ptex/files/tetex-3.0_p1-dvips_bufferoverflow.patch b/app-text/ptex/files/tetex-3.0_p1-dvips_bufferoverflow.patch
deleted file mode 100644 (file)
index 3f4732f..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-hps.c (stamp_external, stamp_hps): protext against long strings.
-    From Bastien Roucaries via Norbert, 21 Oct 2007 13:22:19,
-    Debian bug 447081.
-
-Index: texk/dvipsk/hps.c
-===================================================================
---- texk/dvipsk/hps.c  (revision 5253)
-+++ texk/dvipsk/hps.c  (revision 5254)
-@@ -441,20 +441,29 @@
- void stamp_hps P1C(Hps_link *, pl)
- {
--  char tmpbuf[200] ;
-+  char * tmpbuf;
-   if (pl == NULL) {
--    error("Null pointer, oh no!") ;
-+    error("stamp_hps: null pl pointer, oh no!") ;
-     return ;
--  } else {
--    /* print out the proper pdfm with local page info only 
--     *  target info will be in the target dictionary */
--    (void)sprintf(tmpbuf, 
--                " (%s) [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] pdfm ", pl->title, pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
--                pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
--                pl->color[0], pl->color[1], pl->color[2]) ;
--    cmdout(tmpbuf) ; 
--  }
-+  } 
-+  if(pl->title == NULL) {
-+    error("stamp_hps: null pl->title pointer, oh no!") ;
-+    return ;
-+  } 
-+
-+  tmpbuf = (char *) xmalloc(strlen(pl->title)+200);
-+
-+  /* print out the proper pdfm with local page info only 
-+   *  target info will be in the target dictionary */
-+  (void)sprintf(tmpbuf, 
-+              " (%s) [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] pdfm ", 
-+              pl->title, pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
-+              pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
-+              pl->color[0], pl->color[1], pl->color[2]) ;
-+  cmdout(tmpbuf) ; 
-+  free(tmpbuf);
-   
-+  
- }
- /* For external URL's, we just pass them through as a string. The hyperps
-@@ -462,18 +471,27 @@
-  */
- void stamp_external P2C(char *, s, Hps_link *, pl) 
- {
--  char tmpbuf[200];
-+  char *tmpbuf;
-   if (pl == NULL) {
--    error("Null pointer, oh no!") ;
-+    error("stamp_external: null pl pointer, oh no!") ;
-     return ;
--  } else {
--    /* print out the proper pdfm with local page info only 
--     *  target info will be in the target dictionary */
--    (void)sprintf(tmpbuf," [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] (%s) pdfm ", pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
--                pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
--                pl->color[0], pl->color[1], pl->color[2], s) ;
--    cmdout(tmpbuf) ;
--  }
-+  } 
-+
-+  if (s == NULL) {
-+    error("stamp_external: null s pointer, oh no!") ;
-+    return ;
-+  } 
-+
-+  tmpbuf = (char *) xmalloc(strlen(s) + 200);
-+
-+  /* print out the proper pdfm with local page info only 
-+   *  target info will be in the target dictionary */
-+  (void)sprintf(tmpbuf," [[%.0f %.0f %.0f %.0f] [%i %i %i [%i %i]] [%.0f %.0f %.0f]] (%s) pdfm ",
-+              pl->rect.llx, pl->rect.lly, pl->rect.urx, pl->rect.ury,
-+              pl->border[0], pl->border[1], pl->border[2], pl->border[3],pl->border[4],
-+              pl->color[0], pl->color[1], pl->color[2], s) ;
-+  cmdout(tmpbuf) ;
-+  free(tmpbuf);
- }
- void finish_hps P1H(void) {
diff --git a/app-text/ptex/files/tetex-3.0_p1-mptest.patch b/app-text/ptex/files/tetex-3.0_p1-mptest.patch
deleted file mode 100644 (file)
index 5b394db..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- tetex-src-3.0/texk/web2c/tests/mptest.mp.old       2006-01-12 18:52:17.000000000 +0100
-+++ tetex-src-3.0/texk/web2c/tests/mptest.mp   2006-01-12 18:52:42.000000000 +0100
-@@ -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/ptex/files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch b/app-text/ptex/files/tetex-3.0_p1-t1lib-SA26241_buffer_overflow.patch
deleted file mode 100644 (file)
index fe48e44..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Index: tetex-src-3.0/libs/t1lib/t1env.c
-===================================================================
---- tetex-src-3.0.orig/libs/t1lib/t1env.c
-+++ tetex-src-3.0/libs/t1lib/t1env.c
-@@ -568,6 +568,12 @@ char *intT1_Env_GetCompletePath( char *F
- #endif 
-     strcat( pathbuf, DIRECTORY_SEP);
-     /* And finally the filename: */
-+      /* If current pathbuf + StrippedName + 1 byte for NULL is bigger than pathbuf
-+       * let's try next pathbuf */
-+      if( strlen(pathbuf) + strlen(StrippedName) + 1 > sizeof(pathbuf) ) {
-+              i++;
-+              continue;
-+      }
-     strcat( pathbuf, StrippedName);
-     
-     /* Check for existence of the path: */
diff --git a/app-text/ptex/files/texmf-update b/app-text/ptex/files/texmf-update
deleted file mode 100644 (file)
index d6c2a00..0000000
+++ /dev/null
@@ -1,60 +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/ptex/files/xpdf-3.02pl2.patch b/app-text/ptex/files/xpdf-3.02pl2.patch
deleted file mode 100644 (file)
index 40eaf20..0000000
+++ /dev/null
@@ -1,609 +0,0 @@
-diff -Naur tetex-src-3.0.orig/libs/xpdf/xpdf/Stream.cc tetex-src-3.0/libs/xpdf/xpdf/Stream.cc
---- tetex-src-3.0.orig/libs/xpdf/xpdf/Stream.cc        2004-01-22 10:26:45.000000000 +0900
-+++ tetex-src-3.0/libs/xpdf/xpdf/Stream.cc     2007-12-06 08:49:50.000000000 +0900
-@@ -1260,19 +1260,27 @@
-   endOfLine = endOfLineA;
-   byteAlign = byteAlignA;
-   columns = columnsA;
-+  if (columns < 1) {
-+    columns = 1;
-+  }
-+  else if (columns > INT_MAX - 2) columns = INT_MAX - 2;
-   rows = rowsA;
-   endOfBlock = endOfBlockA;
-   black = blackA;
--  refLine = (short *)gmalloc((columns + 3) * sizeof(short));
--  codingLine = (short *)gmalloc((columns + 2) * sizeof(short));
-+  // 0 <= codingLine[0] < codingLine[1] < ... < codingLine[n] = columns
-+  // ---> max codingLine size = columns + 1
-+  // refLine has one extra guard entry at the end
-+  // ---> max refLine size = columns + 2
-+  codingLine = (int *)gmallocn(columns + 1, sizeof(int));
-+  refLine = (int *)gmallocn(columns + 2, sizeof(int));
-   eof = gFalse;
-   row = 0;
-   nextLine2D = encoding < 0;
-   inputBits = 0;
--  codingLine[0] = 0;
--  codingLine[1] = refLine[2] = columns;
--  a0 = 1;
-+  codingLine[0] = columns;
-+  a0i = 0;
-+  outputBits = 0;
-   buf = EOF;
- }
-@@ -1291,9 +1299,9 @@
-   row = 0;
-   nextLine2D = encoding < 0;
-   inputBits = 0;
--  codingLine[0] = 0;
--  codingLine[1] = refLine[2] = columns;
--  a0 = 1;
-+  codingLine[0] = columns;
-+  a0i = 0;
-+  outputBits = 0;
-   buf = EOF;
-   // skip any initial zero bits and end-of-line marker, and get the 2D
-@@ -1310,159 +1318,229 @@
-   }
- }
-+inline void CCITTFaxStream::addPixels(int a1, int blackPixels) {
-+  if (a1 > codingLine[a0i]) {
-+    if (a1 > columns) {
-+      error(getPos(), "CCITTFax row is wrong length (%d)", a1);
-+      err = gTrue;
-+      a1 = columns;
-+    }
-+    if ((a0i & 1) ^ blackPixels) {
-+      ++a0i;
-+    }
-+    codingLine[a0i] = a1;
-+  }
-+}
-+
-+inline void CCITTFaxStream::addPixelsNeg(int a1, int blackPixels) {
-+  if (a1 > codingLine[a0i]) {
-+    if (a1 > columns) {
-+      error(getPos(), "CCITTFax row is wrong length (%d)", a1);
-+      err = gTrue;
-+      a1 = columns;
-+    }
-+    if ((a0i & 1) ^ blackPixels) {
-+      ++a0i;
-+    }
-+    codingLine[a0i] = a1;
-+  } else if (a1 < codingLine[a0i]) {
-+    if (a1 < 0) {
-+      error(getPos(), "Invalid CCITTFax code");
-+      err = gTrue;
-+      a1 = 0;
-+    }
-+    while (a0i > 0 && a1 <= codingLine[a0i - 1]) {
-+      --a0i;
-+    }
-+    codingLine[a0i] = a1;
-+  }
-+}
-+ 
- int CCITTFaxStream::lookChar() {
-   short code1, code2, code3;
--  int a0New;
--  GBool err, gotEOL;
--  int ret;
--  int bits, i;
--
--  // if at eof just return EOF
--  if (eof && codingLine[a0] >= columns) {
--    return EOF;
-+  int b1i, blackPixels, i, bits;
-+  GBool gotEOL;
-+  
-+  if (buf != EOF) {
-+    return buf;
-   }
-   // read the next row
--  err = gFalse;
--  if (codingLine[a0] >= columns) {
-+  if (outputBits == 0) {
-+    // if at eof just return EOF
-+    if (eof) {
-+      return EOF;
-+    }
-+
-+    err = gFalse;
-+  
-     // 2-D encoding
-     if (nextLine2D) {
-       for (i = 0; codingLine[i] < columns; ++i)
-       refLine[i] = codingLine[i];
--      refLine[i] = refLine[i + 1] = columns;
--      b1 = 1;
--      a0New = codingLine[a0 = 0] = 0;
--      do {
--      code1 = getTwoDimCode();
-+      refLine[i++] = columns;
-+      refLine[i] = columns;
-+      codingLine[0] = 0;
-+      a0i = 0;
-+      b1i = 0;
-+      blackPixels = 0;
-+      // invariant:
-+      // refLine[b1i-1] <= codingLine[a0i] < refLine[b1i] < refLine[b1i+1]
-+      //                                                             <= columns
-+      // exception at left edge:
-+      //   codingLine[a0i = 0] = refLine[b1i = 0] = 0 is possible
-+      // exception at right edge:
-+      //   refLine[b1i] = refLine[b1i+1] = columns is possible
-+      while (codingLine[a0i] < columns) {
-+      code1 = getTwoDimCode();
-       switch (code1) {
-       case twoDimPass:
--        if (refLine[b1] < columns) {
--          a0New = refLine[b1 + 1];
--          b1 += 2;
-+        addPixels(refLine[b1i + 1], blackPixels);
-+        if (refLine[b1i + 1] < columns) {
-+          b1i += 2;
-         }
-         break;
-       case twoDimHoriz:
--        if ((a0 & 1) == 0) {
--          code1 = code2 = 0;
-+        code1 = code2 = 0;
-+        if (blackPixels) {
-           do {
--            code1 += code3 = getWhiteCode();
-+            code1 += code3 = getBlackCode();
-           } while (code3 >= 64);
-           do {
--            code2 += code3 = getBlackCode();
-+            code2 += code3 = getWhiteCode();
-           } while (code3 >= 64);
-         } else {
--          code1 = code2 = 0;
-           do {
--            code1 += code3 = getBlackCode();
-+            code1 += code3 = getWhiteCode();
-           } while (code3 >= 64);
-           do {
--            code2 += code3 = getWhiteCode();
-+            code2 += code3 = getBlackCode();
-           } while (code3 >= 64);
-         }
--        if (code1 > 0 || code2 > 0) {
--          codingLine[a0 + 1] = a0New + code1;
--          ++a0;
--          a0New = codingLine[a0 + 1] = codingLine[a0] + code2;
--          ++a0;
--          while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
--            b1 += 2;
-+        addPixels(codingLine[a0i] + code1, blackPixels);
-+        if (codingLine[a0i] < columns) {
-+          addPixels(codingLine[a0i] + code2, blackPixels ^ 1);
-         }
--        break;
--      case twoDimVert0:
--        a0New = codingLine[++a0] = refLine[b1];
--        if (refLine[b1] < columns) {
--          ++b1;
--          while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
--            b1 += 2;
-+        while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+          b1i += 2;
-         }
-         break;
--      case twoDimVertR1:
--        a0New = codingLine[++a0] = refLine[b1] + 1;
--        if (refLine[b1] < columns) {
--          ++b1;
--          while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
--            b1 += 2;
-+      case twoDimVertR3:
-+        addPixels(refLine[b1i] + 3, blackPixels);
-+        blackPixels ^= 1;
-+        if (codingLine[a0i] < columns) {
-+          ++b1i;
-+          while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+            b1i += 2;
-+          }
-         }
-         break;
--      case twoDimVertL1:
--        a0New = codingLine[++a0] = refLine[b1] - 1;
--        --b1;
--        while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
--          b1 += 2;
--        break;
-       case twoDimVertR2:
--        a0New = codingLine[++a0] = refLine[b1] + 2;
--        if (refLine[b1] < columns) {
--          ++b1;
--          while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
--            b1 += 2;
-+        addPixels(refLine[b1i] + 2, blackPixels);
-+        blackPixels ^= 1;
-+        if (codingLine[a0i] < columns) {
-+          ++b1i;
-+          while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+            b1i += 2;
-+          }
-         }
-         break;
--      case twoDimVertL2:
--        a0New = codingLine[++a0] = refLine[b1] - 2;
--        --b1;
--        while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
--          b1 += 2;
-+      case twoDimVertR1:
-+        addPixels(refLine[b1i] + 1, blackPixels);
-+        blackPixels ^= 1;
-+        if (codingLine[a0i] < columns) {
-+          ++b1i;
-+          while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+            b1i += 2;
-+          }
-+        }
-         break;
--      case twoDimVertR3:
--        a0New = codingLine[++a0] = refLine[b1] + 3;
--        if (refLine[b1] < columns) {
--          ++b1;
--          while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
--            b1 += 2;
-+      case twoDimVert0:
-+        addPixels(refLine[b1i], blackPixels);
-+        blackPixels ^= 1;
-+        if (codingLine[a0i] < columns) {
-+          ++b1i;
-+          while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+            b1i += 2;
-+          }
-         }
-         break;
-       case twoDimVertL3:
--        a0New = codingLine[++a0] = refLine[b1] - 3;
--        --b1;
--        while (refLine[b1] <= codingLine[a0] && refLine[b1] < columns)
--          b1 += 2;
--        break;
--      case EOF:
--        eof = gTrue;
--        codingLine[a0 = 0] = columns;
--        return EOF;
--      default:
--        error(getPos(), "Bad 2D code %04x in CCITTFax stream", code1);
--        err = gTrue;
-+        addPixelsNeg(refLine[b1i] - 3, blackPixels);
-+        blackPixels ^= 1;
-+        if (codingLine[a0i] < columns) {
-+          if (b1i > 0) {
-+            --b1i;
-+          } else {
-+           ++b1i;
-+          }
-+         while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+            b1i += 2;
-+          }
-+        }
-+        break;
-+      case twoDimVertL2:
-+        addPixelsNeg(refLine[b1i] - 2, blackPixels);
-+        blackPixels ^= 1;
-+        if (codingLine[a0i] < columns) {
-+          if (b1i > 0) {
-+            --b1i;
-+          } else {
-+            ++b1i;
-+          }
-+          while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+            b1i += 2;
-+          }
-+        }
-+        break;
-+      case twoDimVertL1:
-+        addPixelsNeg(refLine[b1i] - 1, blackPixels);
-+        blackPixels ^= 1;
-+        if (codingLine[a0i] < columns) {
-+          if (b1i > 0) {
-+            --b1i;
-+          } else {
-+            ++b1i;
-+          }
-+          while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
-+            b1i += 2;
-+          }
-+        }
-+        break;
-+      case EOF:
-+        addPixels(columns, 0);
-+        eof = gTrue;
-         break;
--      }
--      } while (codingLine[a0] < columns);
-+      default:
-+        error(getPos(), "Bad 2D code %04x in CCITTFax stream", code1);
-+        addPixels(columns, 0);
-+        err = gTrue;
-+        break;
-+      }
-+      }
-     // 1-D encoding
-     } else {
--      codingLine[a0 = 0] = 0;
--      while (1) {
--      code1 = 0;
--      do {
--        code1 += code3 = getWhiteCode();
--      } while (code3 >= 64);
--      codingLine[a0+1] = codingLine[a0] + code1;
--      ++a0;
--      if (codingLine[a0] >= columns)
--        break;
--      code2 = 0;
--      do {
--        code2 += code3 = getBlackCode();
--      } while (code3 >= 64);
--      codingLine[a0+1] = codingLine[a0] + code2;
--      ++a0;
--      if (codingLine[a0] >= columns)
--        break;
-+      codingLine[0] = 0;
-+      a0i = 0;
-+      blackPixels = 0;
-+      while (codingLine[a0i] < columns) {
-+      code1 = 0;
-+      if (blackPixels) {
-+        do {
-+          code1 += code3 = getBlackCode();
-+        } while (code3 >= 64);
-+      } else {
-+        do {
-+          code1 += code3 = getWhiteCode();
-+        } while (code3 >= 64);
-+      }
-+      addPixels(codingLine[a0i] + code1, blackPixels);
-+      blackPixels ^= 1;
-       }
-     }
--    if (codingLine[a0] != columns) {
--      error(getPos(), "CCITTFax row is wrong length (%d)", codingLine[a0]);
--      // force the row to be the correct length
--      while (codingLine[a0] > columns) {
--      --a0;
--      }
--      codingLine[++a0] = columns;
--      err = gTrue;
--    }
--
-     // byte-align the row
-     if (byteAlign) {
-       inputBits &= ~7;
-@@ -1521,14 +1599,17 @@
-     // this if we know the stream contains end-of-line markers because
-     // the "just plow on" technique tends to work better otherwise
-     } else if (err && endOfLine) {
--      do {
-+      while (1) {
-+      code1 = lookBits(13);
-       if (code1 == EOF) {
-         eof = gTrue;
-         return EOF;
-       }
-+      if ((code1 >> 1) == 0x001) {
-+        break;
-+      }
-       eatBits(1);
--      code1 = lookBits(13);
--      } while ((code1 >> 1) != 0x001);
-+      }
-       eatBits(12); 
-       if (encoding > 0) {
-       eatBits(1);
-@@ -1536,11 +1617,11 @@
-       }
-     }
--    a0 = 0;
--    outputBits = codingLine[1] - codingLine[0];
--    if (outputBits == 0) {
--      a0 = 1;
--      outputBits = codingLine[2] - codingLine[1];
-+    // set up for output
-+    if (codingLine[0] > 0) {
-+      outputBits = codingLine[a0i = 0];
-+    } else {
-+      outputBits = codingLine[a0i = 1];
-     }
-     ++row;
-@@ -1548,39 +1629,43 @@
-   // get a byte
-   if (outputBits >= 8) {
--    ret = ((a0 & 1) == 0) ? 0xff : 0x00;
--    if ((outputBits -= 8) == 0) {
--      ++a0;
--      if (codingLine[a0] < columns) {
--      outputBits = codingLine[a0 + 1] - codingLine[a0];
--      }
-+    buf = (a0i & 1) ? 0x00 : 0xff;
-+    outputBits -= 8;
-+    if (outputBits == 0 && codingLine[a0i] < columns) {
-+      ++a0i;
-+      outputBits = codingLine[a0i] - codingLine[a0i - 1];
-     }
-   } else {
-     bits = 8;
--    ret = 0;
-+    buf = 0;
-     do {
-       if (outputBits > bits) {
--      i = bits;
--      bits = 0;
--      if ((a0 & 1) == 0) {
--        ret |= 0xff >> (8 - i);
-+      buf <<= bits;
-+      if (!(a0i & 1)) {
-+        buf |= 0xff >> (8 - bits);
-       }
--      outputBits -= i;
-+      outputBits -= bits;
-+      bits = 0;
-       } else {
--      i = outputBits;
--      bits -= outputBits;
--      if ((a0 & 1) == 0) {
--        ret |= (0xff >> (8 - i)) << bits;
-+      buf <<= outputBits;
-+      if (!(a0i & 1)) {
-+        buf |= 0xff >> (8 - outputBits);
-       }
-+      bits -= outputBits;
-       outputBits = 0;
--      ++a0;
--      if (codingLine[a0] < columns) {
--        outputBits = codingLine[a0 + 1] - codingLine[a0];
-+      if (codingLine[a0i] < columns) {
-+        ++a0i;
-+        outputBits = codingLine[a0i] - codingLine[a0i - 1];
-+      } else if (bits > 0) {
-+        buf <<= bits;
-+        bits = 0;
-       }
-       }
--    } while (bits > 0 && codingLine[a0] < columns);
-+    } while (bits);
-+  }
-+  if (black) {
-+    buf ^= 0xff;
-   }
--  buf = black ? (ret ^ 0xff) : ret;
-   return buf;
- }
-@@ -1622,6 +1707,9 @@
-   code = 0; // make gcc happy
-   if (endOfBlock) {
-     code = lookBits(12);
-+    if (code == EOF) {
-+      return 1;
-+    }
-     if ((code >> 5) == 0) {
-       p = &whiteTab1[code];
-     } else {
-@@ -1634,6 +1722,9 @@
-   } else {
-     for (n = 1; n <= 9; ++n) {
-       code = lookBits(n);
-+      if (code == EOF) {
-+      return 1;
-+      }
-       if (n < 9) {
-       code <<= 9 - n;
-       }
-@@ -1645,6 +1736,9 @@
-     }
-     for (n = 11; n <= 12; ++n) {
-       code = lookBits(n);
-+      if (code == EOF) {
-+      return 1;
-+      }
-       if (n < 12) {
-       code <<= 12 - n;
-       }
-@@ -1670,6 +1764,9 @@
-   code = 0; // make gcc happy
-   if (endOfBlock) {
-     code = lookBits(13);
-+    if (code == EOF) {
-+      return 1;
-+    }
-     if ((code >> 7) == 0) {
-       p = &blackTab1[code];
-     } else if ((code >> 9) == 0) {
-@@ -1684,6 +1781,9 @@
-   } else {
-     for (n = 2; n <= 6; ++n) {
-       code = lookBits(n);
-+      if (code == EOF) {
-+      return 1;
-+      }
-       if (n < 6) {
-       code <<= 6 - n;
-       }
-@@ -1695,6 +1795,9 @@
-     }
-     for (n = 7; n <= 12; ++n) {
-       code = lookBits(n);
-+      if (code == EOF) {
-+      return 1;
-+      }
-       if (n < 12) {
-       code <<= 12 - n;
-       }
-@@ -1708,6 +1811,9 @@
-     }
-     for (n = 10; n <= 13; ++n) {
-       code = lookBits(n);
-+      if (code == EOF) {
-+      return 1;
-+      }
-       if (n < 13) {
-       code <<= 13 - n;
-       }
-@@ -1934,6 +2040,12 @@
-     // allocate a buffer for the whole image
-     bufWidth = ((width + mcuWidth - 1) / mcuWidth) * mcuWidth;
-     bufHeight = ((height + mcuHeight - 1) / mcuHeight) * mcuHeight;
-+    if (bufWidth <= 0 || bufHeight <= 0 ||
-+      bufWidth > INT_MAX / bufWidth / (int)sizeof(int)) {
-+      error(getPos(), "Invalid image size in DCT stream");
-+      y = height;
-+      return;
-+    }
-     for (i = 0; i < numComps; ++i) {
-       frameBuf[i] = (int *)gmalloc(bufWidth * bufHeight * sizeof(int));
-       memset(frameBuf[i], 0, bufWidth * bufHeight * sizeof(int));
-@@ -2979,6 +3091,11 @@
-   }
-   scanInfo.firstCoeff = str->getChar();
-   scanInfo.lastCoeff = str->getChar();
-+  if (scanInfo.firstCoeff < 0 || scanInfo.lastCoeff > 63 ||
-+      scanInfo.firstCoeff > scanInfo.lastCoeff) {
-+    error(getPos(), "Bad DCT coefficient numbers in scan info block");
-+    return gFalse;
-+  }
-   c = str->getChar();
-   scanInfo.ah = (c >> 4) & 0x0f;
-   scanInfo.al = c & 0x0f;
-diff -Naur tetex-src-3.0.orig/libs/xpdf/xpdf/Stream.h tetex-src-3.0/libs/xpdf/xpdf/Stream.h
---- tetex-src-3.0.orig/libs/xpdf/xpdf/Stream.h 2004-01-22 10:26:45.000000000 +0900
-+++ tetex-src-3.0/libs/xpdf/xpdf/Stream.h      2007-12-05 23:55:19.000000000 +0900
-@@ -520,13 +520,15 @@
-   int row;                    // current row
-   int inputBuf;                       // input buffer
-   int inputBits;              // number of bits in input buffer
--  short *refLine;             // reference line changing elements
--  int b1;                     // index into refLine
--  short *codingLine;          // coding line changing elements
--  int a0;                     // index into codingLine
-+  int *codingLine;            // coding line changing elements
-+  int *refLine;                       // reference line changing elements
-+  int a0i;                    // index into codingLine
-+  GBool err;                  // error on current line
-   int outputBits;             // remaining ouput bits
-   int buf;                    // character buffer
-+  void addPixels(int a1, int black);
-+  void addPixelsNeg(int a1, int black);
-   short getTwoDimCode();
-   short getWhiteCode();
-   short getBlackCode();
diff --git a/app-text/ptex/metadata.xml b/app-text/ptex/metadata.xml
deleted file mode 100644 (file)
index c25e31e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-       <herd>tex</herd>
-       <herd>cjk</herd>
-       <longdescription lang="en">
-               pTeX is one of teTeX distribution with Japanese enhancement. You can
-               set up in type both horizontally (left to right) and vertically (up to
-               down). It is tweaked to provide high quality for Japanese desktop
-               publishing.
-       </longdescription>
-</pkgmetadata>
diff --git a/app-text/ptex/ptex-3.1.10_p20090610-r1.ebuild b/app-text/ptex/ptex-3.1.10_p20090610-r1.ebuild
deleted file mode 100644 (file)
index 9c25a11..0000000
+++ /dev/null
@@ -1,293 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.10_p20090610-r1.ebuild,v 1.7 2011/07/01 11:34:32 hwoarang Exp $
-
-# jmbreuer FOR DEV ONLY
-RESTRICT="mirror test"
-
-TETEX_PV=3.0_p1
-
-inherit eutils tetex-3 flag-o-matic autotools multilib
-
-SMALL_PV="${TETEX_PV/_p*}"
-TETEX_TEXMF_PV="${SMALL_PV}"
-TETEX_S="${WORKDIR}/tetex-src-${SMALL_PV}"
-
-DESCRIPTION="TeX distribution teTeX with Japanese patch collection 'ptetex3'"
-HOMEPAGE="http://www.nn.iij4u.or.jp/~tutimura/tex/ptetex.html"
-
-TETEX_SRC="tetex-src-${SMALL_PV}.tar.gz"
-TETEX_TEXMF="tetex-texmf-${TETEX_TEXMF_PV:-${TETEX_PV}}"
-TETEX_TEXMF_SRC="tetex-texmf-${TETEX_TEXMF_PV:-${TETEX_PV}}po.tar.gz"
-PTETEX="ptetex3-${PV/*_p}"
-PTETEX_CMAP="ptetex-cmap-20090506"
-
-SRC_PATH_TETEX="http://www.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/distrib"
-SRC_URI="${SRC_PATH_TETEX}/${TETEX_SRC}
-       ${SRC_PATH_TETEX}/${TETEX_TEXMF_SRC}
-       http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/${PTETEX}.tar.gz
-       http://tutimura.ath.cx/~nob/tex/ptetex/ptetex-cmap/${PTETEX_CMAP}.tar.gz
-       mirror://gentoo/${PN}-3.1.10_p20071122-dviljk-security-fixes.patch.bz2"
-
-KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ~ppc64 sh sparc x86"
-
-BUILD_DIR="${WORKDIR}/build/usr"
-
-LICENSE="GPL-2 BSD"
-IUSE="X motif Xaw3d neXt iconv unicode"
-
-RDEPEND="!app-text/tetex
-       !<app-text/ptetex-3.1.9
-       !app-text/dvipdfmx
-       !app-text/xdvik
-       !dev-texlive/texlive-basic
-       !dev-texlive/texlive-latex
-       !dev-texlive/texlive-latexrecommended
-       media-libs/t1lib
-       media-libs/gd
-       X? (
-               >=media-libs/freetype-2.3.4
-               || (
-                       >=media-fonts/ja-ipafonts-003.01
-                       media-fonts/ipamonafont
-                       media-fonts/vlgothic
-                       media-fonts/sazanami
-                       media-fonts/kochi-substitute
-               )
-       )"
-DEPEND="${RDEPEND}
-       app-arch/unzip"
-
-S="${WORKDIR}/${PTETEX}"
-
-src_unpack() {
-       mkdir -p "${WORKDIR}/${TETEX_TEXMF}"
-       cd "${WORKDIR}/${TETEX_TEXMF}"
-       unpack ${TETEX_TEXMF_SRC}
-       cd "${WORKDIR}"
-       unpack ${TETEX_SRC}
-       cd "${WORKDIR}"
-       unpack ${PN}-3.1.10_p20071122-dviljk-security-fixes.patch.bz2
-       unpack ${PTETEX}.tar.gz
-       unpack ${PTETEX_CMAP}.tar.gz
-       echo ">>> Unpacking jis and morisawa fonts ..."
-       tar xzf "${WORKDIR}"/${PTETEX}/archive/jis.tar.gz -C "${WORKDIR}" || die
-       tar xzf "${WORKDIR}"/${PTETEX}/archive/morisawa.tar.gz -C "${WORKDIR}" || die
-
-       # Bug #323559
-       cd "${WORKDIR}"
-       epatch "${FILESDIR}"/latex-date-warning.patch
-
-       # Gentoo box reserves variable ${P}!!
-       cd "${S}"
-       epatch "${FILESDIR}"/${PF}-gentoo.patch
-
-       cat <<EOF > "${S}"/my_option
-SRC_DIR="${WORKDIR}"
-TMP_PREFIX="${BUILD_DIR}"
-PREFIX=/usr
-DATADIR=/usr/share
-TEXMFDIST="${WORKDIR}/${TETEX_TEXMF}"
-TEXSRC_EXTRACTED="${WORKDIR}"
-#make_option vartexfonts=/var/lib/texmf
-make_option vartexfonts="${T}/texfonts"
-make_option CC="$(tc-getCC)"
-make_option CXX="$(tc-getCXX)"
-JAPANESE=international
-EXTRA_TRUETYPE="/usr/share/fonts/ja-ipafonts"
-XDVI=echo
-PXDVI=echo
-PLATEX209=no
-STRIP=no
-conf_option --without-dviljk
-conf_option --without-dvipng
-conf_option --without-info
-conf_option --without-texi2html
-conf_option --without-texinfo
-
-conf_option --with-system-zlib
-conf_option --with-system-pnglib
-conf_option --with-system-gd
-conf_option --with-system-ncurses
-conf_option --with-system-t1lib
-conf_option --enable-shared
-EOF
-
-       if use iconv ; then
-               echo "conf_option --enable-kanji-iconv" >> "${S}"/my_option
-       fi
-
-       if use unicode ; then
-               echo "KANJI_CODE=UTF8" >> "${S}"/my_option
-       else
-               echo "KANJI_CODE=EUC" >> "${S}"/my_option
-       fi
-
-       # copied from tetex-3.eclass and modified
-       if use X ; then
-               if use motif ; then
-                       toolkit="motif"
-               elif use neXt ; then
-                       toolkit="neXtaw"
-               elif use Xaw3d ; then
-                       toolkit="xaw3d"
-               else
-                       toolkit="xaw"
-               fi
-               echo "export CPPFLAGS=\"${CPPFLAGS} $(freetype-config --cflags)\"" >> "${S}"/my_option
-               echo "export LDFLAGS=\"${LDFLAGS} $(freetype-config --libs)\"" >> "${S}"/my_option
-               echo "conf_option --with-xdvi-x-toolkit=${toolkit}" >> "${S}"/my_option
-       else
-               echo "conf_option --without-x" >> "${S}"/my_option
-               echo "conf_option --without-xdvik" >> "${S}"/my_option
-               echo "conf_option --without-pxdvik" >> "${S}"/my_option
-       fi
-
-       cd "${S}"
-       unset TEXMFMAIN TEXMF HOME
-       emake -j1 x || die "emake x failed"
-
-       cd "${TETEX_S}"
-
-       epatch "${FILESDIR}/tetex-${SMALL_PV}-kpathsea-pic.patch"
-
-       # bug 85404
-       epatch "${FILESDIR}/${PN}-3.1.10_p20071122-epstopdf-wrong-rotation.patch"
-
-       # ptetex included
-       #epatch "${FILESDIR}/tetex-${TETEX_PV}-amd64-xdvik-wp.patch"
-       epatch "${FILESDIR}/tetex-${TETEX_PV}-mptest.patch"
-
-       #bug 98029
-       # no need
-       #epatch "${FILESDIR}/${PN}-3.1.10_p20071122-fmtutil-etex.patch"
-
-       #bug 115775
-       # ptex included
-       #epatch "${FILESDIR}/tetex-${TETEX_PV}-xpdf-vulnerabilities.patch"
-
-       # bug 94860
-       epatch "${FILESDIR}/${PN}-3.1.10_p20071122-pdftosrc-install.patch"
-
-       # bug 126918
-       epatch "${FILESDIR}/tetex-${TETEX_PV}-create-empty-files.patch"
-
-       # bug 94901
-       epatch "${FILESDIR}/tetex-${TETEX_PV}-dvipdfm-timezone.patch"
-
-       # security bug #170861
-       # ptetex included
-       # epatch "${FILESDIR}/tetex-${TETEX_PV}-CVE-2007-0650.patch"
-
-       # security bug #188172
-       # ptetex included
-       #epatch "${FILESDIR}/tetex-${TETEX_PV}-xpdf-CVE-2007-3387.patch"
-
-       # security bug #198238
-       epatch "${FILESDIR}/tetex-${TETEX_PV}-dvips_bufferoverflow.patch"
-
-       # securty bug #196735
-       epatch "${FILESDIR}/xpdf-3.02pl2.patch"
-
-       # Construct a Gentoo site texmf directory
-       # that overlays the upstream supplied
-       # target not found
-       #epatch "${FILESDIR}/tetex-${TETEX_PV}-texmf-site.patch"
-
-       # security bug #198238
-       epatch "${WORKDIR}/${PN}-3.1.10_p20071122-dviljk-security-fixes.patch"
-
-       # security bug #198238 and bug #193437
-       epatch "${FILESDIR}/tetex-${TETEX_PV}-t1lib-SA26241_buffer_overflow.patch"
-
-       # security bug #282874
-       epatch "${FILESDIR}/CVE-2009-1284.patch"
-
-       epatch "${FILESDIR}"/${P}-getline.patch \
-               "${FILESDIR}"/${P}-libpng14.patch
-
-       cd "${TETEX_S}/texk/dviljk"
-       eautoreconf
-}
-
-src_compile() {
-       unset TEXMFMAIN TEXMF HOME
-
-       emake -j1 c || die "emake c failed"
-       emake -j1 macro || die "emake macro failed"
-       emake -j1 otf || die "emake otf failed"
-       emake -j1 fonty || die "emake fonty failed"
-       emake -j1 babel || die "emake babel failed"
-
-       einfo "Setting ptetex-cmap ..."
-       cd "${WORKDIR}/${PTETEX_CMAP}"
-       PATH="${BUILD_DIR}/bin:${PATH}" \
-       LD_LIBRARY_PATH="${BUILD_DIR}/lib:${LD_LIBRARY_PATH}" \
-       TEXMFMAIN="${BUILD_DIR}/share/texmf" \
-               ./setup.sh "${BUILD_DIR}"/share/texmf/fonts/cmap
-}
-
-src_test() {
-       PATH="${BUILD_DIR}/bin:${PATH}" \
-       LD_LIBRARY_PATH="${BUILD_DIR}/lib:${LD_LIBRARY_PATH}" \
-       TEXMFMAIN="${BUILD_DIR}/share/texmf" \
-               emake -j1 test || die "emake test failed"
-}
-
-src_install() {
-       einfo "Installing texmf files ..."
-       find "${WORKDIR}"/${TETEX_TEXMF} -maxdepth 1 -mindepth 1 -type f | xargs rm -f
-       insinto /usr/share/texmf
-       doins -r "${WORKDIR}"/${TETEX_TEXMF}/*
-
-       einfo "Installing ptetex3 binaries ..."
-       dobin "${BUILD_DIR}"/bin/*
-       dolib "${BUILD_DIR}"/lib/*
-
-       einfo "Installing /usr/include/* files ..."
-       insinto /usr/include
-       doins -r "${BUILD_DIR}"/include/*
-
-       einfo "Installing /usr/share/* files ..."
-       insinto /usr/share
-       cp -dr "${BUILD_DIR}"/share/* "${D}"/usr/share
-
-       einfo "Installing document files ..."
-       doman "${BUILD_DIR}"/man/*/*
-       doinfo "${BUILD_DIR}"/info/*
-
-       einfo "Installing jis and morisawa fonts ..."
-       insinto /usr/share/texmf/fonts/tfm
-       doins -r "${WORKDIR}"/jis/tfm/*        || die "installing jis/tfm failed"
-       doins -r "${WORKDIR}"/morisawa/tfm/*   || die "installing morisawa/tfm failed"
-
-       einfo "Installing other files ..."
-       insinto /usr/share/texmf/fonts/map/dvips/tetex
-       insinto /usr/share/texmf/web2c
-       doins -r "${BUILD_DIR}"/share/texmf-var/web2c/*.fmt
-
-       einfo "Removing unnecessary files ..."
-       rm -r "${D}"/usr/share/texmf/doc
-       rm -r "${D}"/usr/share/texmf/web2c/texmf.cnf.*
-       rm -r "${D}"/usr/share/texmf/web2c/fmtutil.cnf.*
-       find "${D}"/usr/share/texmf | grep "ls-R" | xargs rm -f
-
-       einfo "Installing texmf-update scripte ..."
-       dosbin "${FILESDIR}"/texmf-update
-
-       dodoc ChangeLog* README*
-}
-
-pkg_postinst() {
-       tetex-3_pkg_postinst
-
-       elog
-       elog "Japanese dvips and xdvi have been renamed to pdvipsk and pxdvik."
-       elog
-       elog "To use proper Japanese font in dvips/dvipdfmx/xdvi/pdftex, you"
-       elog "needs to run updmap or updmap-sys w/ map. More deteil info about"
-       elog "this fonts central configuration can be available at following"
-       elog "ptetex Wiki:"
-       elog " http://tutimura.ath.cx/ptetex/?%A5%D5%A5%A9%A5%F3%A5%C8%A4%CE%BD%B8%C3%E6%B4%C9%CD%FD"
-       elog
-}