summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Buisse <nattfodd@gentoo.org>2005-12-02 19:40:37 +0000
committerAlexandre Buisse <nattfodd@gentoo.org>2005-12-02 19:40:37 +0000
commit9a7c3290a8b971880f0958dcc673b06f46755c16 (patch)
treed870cfb412c2f5caea728a28047d80c938747e65 /app-text/tetex
parentMake sandbox dep !mips? in stable Portage for now. (diff)
downloadhistorical-9a7c3290a8b971880f0958dcc673b06f46755c16.tar.gz
historical-9a7c3290a8b971880f0958dcc673b06f46755c16.tar.bz2
historical-9a7c3290a8b971880f0958dcc673b06f46755c16.zip
Bumps for fixing wrong rotation and handling filenames with spaces in epstopdf (bug #85404).
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'app-text/tetex')
-rw-r--r--app-text/tetex/ChangeLog12
-rw-r--r--app-text/tetex/Manifest32
-rw-r--r--app-text/tetex/files/digest-tetex-2.0.2-r74
-rw-r--r--app-text/tetex/files/digest-tetex-3.0-r43
-rw-r--r--app-text/tetex/files/tetex-2.0.2-epstopdf-wrong-rotation.patch12
-rw-r--r--app-text/tetex/files/tetex-3.0-epstopdf-wrong-rotation.patch12
-rw-r--r--app-text/tetex/tetex-2.0.2-r7.ebuild38
-rw-r--r--app-text/tetex/tetex-3.0-r4.ebuild46
8 files changed, 145 insertions, 14 deletions
diff --git a/app-text/tetex/ChangeLog b/app-text/tetex/ChangeLog
index ac4d4aece1a3..e3eda1831add 100644
--- a/app-text/tetex/ChangeLog
+++ b/app-text/tetex/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for app-text/tetex
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.95 2005/09/30 22:48:58 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.96 2005/12/02 19:40:37 nattfodd Exp $
+
+*tetex-3.0-r4 (02 Dec 2005)
+*tetex-2.0.2-r7 (02 Dec 2005)
+
+ 02 Dec 2005; Alexandre Buisse <nattfodd@gentoo.org>
+ +files/tetex-2.0.2-epstopdf-wrong-rotation.patch,
+ +files/tetex-3.0-epstopdf-wrong-rotation.patch, +tetex-2.0.2-r7.ebuild,
+ +tetex-3.0-r4.ebuild:
+ Bump to fix wrong rotation and handling of filenames with spaces in epstopdf
+ (bug #85404). Thanks to Fabio Rossi and Horst Schirmeier for the patch.
30 Sep 2005; MATSUU Takuto <matsuu@gentoo.org> tetex-2.0.2-r5.ebuild:
Stable on sh.
diff --git a/app-text/tetex/Manifest b/app-text/tetex/Manifest
index 07e73630f42e..7b926e172039 100644
--- a/app-text/tetex/Manifest
+++ b/app-text/tetex/Manifest
@@ -1,20 +1,26 @@
-MD5 3058d01e61a91e690cb7f66ce72d0395 ChangeLog 16586
-MD5 9179c455d1a594b0b06b670e0b051374 files/digest-tetex-1.0.7-r13 343
+MD5 1fe71bbc946829906e955a0380bbbcef tetex-3.0-r4.ebuild 1345
+MD5 8f27cd5e7c06b0c37851607799f69316 tetex-1.0.7-r13.ebuild 4770
+MD5 0f8500396bced0f297604c1919883bc6 tetex-2.0.2-r5.ebuild 1162
+MD5 d83cea94a74788901290e20dd375883e tetex-2.0.2-r7.ebuild 1272
+MD5 6d84991ef4fd00210a9eb68fdb393bd8 tetex-3.0-r3.ebuild 1272
+MD5 5ec3bbcf0526206f46edf6734f6305d6 tetex-2.0.2-r6.ebuild 1174
+MD5 c7bb62fac7e5ed7ea9eb387b5fbde27c ChangeLog 17005
+MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
MD5 ed2101fe2206c296c09f0d2b67759841 files/digest-tetex-2.0.2-r5 282
MD5 ed2101fe2206c296c09f0d2b67759841 files/digest-tetex-2.0.2-r6 282
-MD5 7184c72f1e38b2f0ddb843687cf80832 files/digest-tetex-3.0-r3 202
-MD5 6f48f0b987b7ea33b02aea8ba198eeed files/iso-8859-7.def 4419
+MD5 ed2101fe2206c296c09f0d2b67759841 files/digest-tetex-2.0.2-r7 282
+MD5 b15d18a85d673070c4b9ac48ebc586ed files/tetex-3.0-epstopdf-wrong-rotation.patch 521
+MD5 77107ec8ba31c93b0e1bc35a9e4c9c4b files/xdvizilla.patch 912
+MD5 ce3900d8a86ef6eb7c20dc2d445f16ff files/tetex-2.0.2-epstopdf-wrong-rotation.patch 525
MD5 0e727f58dac2997f22e90f51b2d79da3 files/tetex-3.0-kpathsea-pic.patch 1590
-MD5 1c3401dbbc9d478e94c98e44b9b68e38 files/tetex-no-readlink-manpage.diff 542
MD5 41f87c91f8bb6ceeae3c1fb7ca0dce1c files/tetex-texdoctk-gentoo.patch 509
-MD5 77107ec8ba31c93b0e1bc35a9e4c9c4b files/xdvizilla.patch 912
+MD5 362296e34a1a04a6e5e2a7d9e97547c6 files/xpdf2-underflow.patch 2363
+MD5 7184c72f1e38b2f0ddb843687cf80832 files/digest-tetex-3.0-r3 202
+MD5 7184c72f1e38b2f0ddb843687cf80832 files/digest-tetex-3.0-r4 202
+MD5 1c3401dbbc9d478e94c98e44b9b68e38 files/tetex-no-readlink-manpage.diff 542
+MD5 9179c455d1a594b0b06b670e0b051374 files/digest-tetex-1.0.7-r13 343
MD5 5d40ba9d885af84bcc917ad17e2bf8e0 files/xpdf-3.00pl2-CAN-2004-1125.patch 1136
MD5 c32a612ce419b9930ff273cf382558bf files/xpdf-3.00pl3-CAN-2005-0064.patch 346
-MD5 87d20c86d1451638e4b7adc2f7ac8067 files/xpdf-CESA-2004-007-xpdf2-newer.diff 2718
MD5 2fce5bedd61300fad1566a41f991a782 files/xpdf-goo-sizet.patch 1424
-MD5 362296e34a1a04a6e5e2a7d9e97547c6 files/xpdf2-underflow.patch 2363
-MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
-MD5 8f27cd5e7c06b0c37851607799f69316 tetex-1.0.7-r13.ebuild 4770
-MD5 0f8500396bced0f297604c1919883bc6 tetex-2.0.2-r5.ebuild 1162
-MD5 5ec3bbcf0526206f46edf6734f6305d6 tetex-2.0.2-r6.ebuild 1174
-MD5 6d84991ef4fd00210a9eb68fdb393bd8 tetex-3.0-r3.ebuild 1272
+MD5 6f48f0b987b7ea33b02aea8ba198eeed files/iso-8859-7.def 4419
+MD5 87d20c86d1451638e4b7adc2f7ac8067 files/xpdf-CESA-2004-007-xpdf2-newer.diff 2718
diff --git a/app-text/tetex/files/digest-tetex-2.0.2-r7 b/app-text/tetex/files/digest-tetex-2.0.2-r7
new file mode 100644
index 000000000000..e7e17c3b6698
--- /dev/null
+++ b/app-text/tetex/files/digest-tetex-2.0.2-r7
@@ -0,0 +1,4 @@
+MD5 a16f6bba227d55e79aeee46fbbd82d28 tetex-src-2.0.2.tar.gz 11745933
+MD5 d3bdb96f9077e43b2115d3cc471743b3 tetex-texmf-2.0.2.tar.gz 52424280
+MD5 40d4b2c5582eccbee4b6ec692c3cc253 tetex-texmfsrc-2.0.2.tar.gz 22909537
+MD5 0a0ba30552331663f496d41b8ca2a299 tetex-2.0.2-gentoo.tar.gz 1704
diff --git a/app-text/tetex/files/digest-tetex-3.0-r4 b/app-text/tetex/files/digest-tetex-3.0-r4
new file mode 100644
index 000000000000..79805884155f
--- /dev/null
+++ b/app-text/tetex/files/digest-tetex-3.0-r4
@@ -0,0 +1,3 @@
+MD5 944a4641e79e61043fdaf8f38ecbb4b3 tetex-src-3.0.tar.gz 12749314
+MD5 11aa15c8d3e28ee7815e0d5fcdf43fd4 tetex-texmf-3.0.tar.gz 91762123
+MD5 3d45189842f826b84ed867ab74a8b9fe tetex-3.0-gentoo.tar.gz 1352
diff --git a/app-text/tetex/files/tetex-2.0.2-epstopdf-wrong-rotation.patch b/app-text/tetex/files/tetex-2.0.2-epstopdf-wrong-rotation.patch
new file mode 100644
index 000000000000..dfdc740ade31
--- /dev/null
+++ b/app-text/tetex/files/tetex-2.0.2-epstopdf-wrong-rotation.patch
@@ -0,0 +1,12 @@
+--- tetex-src-2.0.2.old/texk/tetex/epstopdf 2002-11-23 01:58:03.000000000 +0100
++++ tetex-src-2.0.2/texk/tetex/epstopdf 2005-12-02 19:57:55.000000000 +0100
+@@ -194,7 +194,8 @@
+ ### open output file
+ if ($::opt_gs) {
+ my $pipe = "$GS -q -sDEVICE=pdfwrite $GSOPTS " .
+- "-sOutputFile=$OutputFilename - -c quit";
++ "-dAutoRotatePages=/None " .
++ "\"-sOutputFile=$OutputFilename\" - -c quit";
+ debug "Ghostscript pipe:", $pipe;
+ open(OUT,"|$pipe") or error "Cannot open Ghostscript for piped input";
+ }
diff --git a/app-text/tetex/files/tetex-3.0-epstopdf-wrong-rotation.patch b/app-text/tetex/files/tetex-3.0-epstopdf-wrong-rotation.patch
new file mode 100644
index 000000000000..429c4fddbbfd
--- /dev/null
+++ b/app-text/tetex/files/tetex-3.0-epstopdf-wrong-rotation.patch
@@ -0,0 +1,12 @@
+--- tetex-src-3.0/texk/tetex/epstopdf.orig 2005-11-28 01:34:05.000000000 +0100
++++ tetex-src-3.0/texk/tetex/epstopdf 2005-10-22 19:25:12.000000000 +0200
+@@ -205,7 +205,8 @@
+ ### open output file
+ if ($::opt_gs) {
+ my $pipe = "$GS -q -sDEVICE=pdfwrite $GSOPTS " .
+- "-sOutputFile=$OutputFilename - -c quit";
++ "-dAutoRotatePages=/None " .
++ "\"-sOutputFile=$OutputFilename\" - -c quit";
+ debug "Ghostscript pipe:", $pipe;
+ open(OUT,"|$pipe") or error "Cannot open Ghostscript for piped input";
+ }
diff --git a/app-text/tetex/tetex-2.0.2-r7.ebuild b/app-text/tetex/tetex-2.0.2-r7.ebuild
new file mode 100644
index 000000000000..afd978e7e6c7
--- /dev/null
+++ b/app-text/tetex/tetex-2.0.2-r7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r7.ebuild,v 1.1 2005/12/02 19:40:37 nattfodd Exp $
+
+inherit tetex-2 flag-o-matic
+
+DESCRIPTION="a complete TeX distribution"
+HOMEPAGE="http://tug.org/teTeX/"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+src_unpack() {
+ tetex-2_src_unpack
+
+ # bug 75801
+ EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-CESA-2004-007-xpdf2-newer.diff
+ EPATCH_OPTS="-d ${S}/libs/xpdf -p1" epatch ${FILESDIR}/xpdf-goo-sizet.patch
+ EPATCH_OPTS="-d ${S}/libs/xpdf -p1" epatch ${FILESDIR}/xpdf2-underflow.patch
+ EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl2-CAN-2004-1125.patch
+ EPATCH_OPTS="-d ${S}/libs/xpdf/xpdf -p0" epatch ${FILESDIR}/xpdf-3.00pl3-CAN-2005-0064.patch
+
+ EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/xdvizilla.patch
+
+ # bug 85404
+ EPATCH_OPTS="-d ${S} -p1" epatch ${FILESDIR}/${P}-epstopdf-wrong-rotation.patch
+}
+
+src_compile() {
+ use amd64 && replace-flags "-O3" "-O2"
+ tetex_src_compile
+}
+
+src_install() {
+ insinto /usr/share/texmf/tex/latex/greek
+ doins ${FILESDIR}/iso-8859-7.def
+ tetex-2_src_install
+}
diff --git a/app-text/tetex/tetex-3.0-r4.ebuild b/app-text/tetex/tetex-3.0-r4.ebuild
new file mode 100644
index 000000000000..e91c4e9e109f
--- /dev/null
+++ b/app-text/tetex/tetex-3.0-r4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-3.0-r4.ebuild,v 1.1 2005/12/02 19:40:37 nattfodd Exp $
+
+inherit tetex-3 flag-o-matic
+
+#TETEX_TEXMF_PV=2.96.5.20040711
+TETEX_TEXMF_PV=${PV}
+S=${WORKDIR}/tetex-src-${PV}
+
+TETEX_SRC="tetex-src-${TETEX_SRC_PV:-${TETEX_PV}}.tar.gz"
+TETEX_TEXMF="tetex-texmf-${TETEX_TEXMF_PV:-${TETEX_PV}}.tar.gz"
+#TETEX_TEXMF_SRC="tetex-texmfsrc-${TETEX_TEXMF_PV:-${TETEX_PV}}.tar.gz"
+TETEX_TEXMF_SRC=""
+
+DESCRIPTION="a complete TeX distribution"
+HOMEPAGE="http://tug.org/teTeX/"
+
+SRC_PATH_TETEX=ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib
+SRC_URI="${SRC_PATH_TETEX}/${TETEX_SRC}
+ ${SRC_PATH_TETEX}/${TETEX_TEXMF}
+ mirror://gentoo/${P}-gentoo.tar.gz
+ http://dev.gentoo.org/~usata/distfiles/${P}-gentoo.tar.gz"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~ppc-macos ~s390 ~sparc ~x86"
+
+# these are defined in tetex.eclass and tetex-3.eclass
+IUSE=""
+DEPEND=""
+
+src_unpack() {
+ tetex-3_src_unpack
+ cd ${S}
+ epatch ${FILESDIR}/${P}-kpathsea-pic.patch
+
+ # bug 85404
+ epatch ${FILESDIR}/${P}-epstopdf-wrong-rotation.patch
+}
+
+src_install() {
+ tetex-3_src_install
+
+ # virtex was removed from tetex-3
+ dosym /usr/bin/tex /usr/bin/virtex
+ dosym /usr/bin/pdftex /usr/bin/pdfvirtex
+}