summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-12-10 07:33:59 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-12-10 07:33:59 +0000
commit3b496a0aec715056c00e89f1dc85c40e8c0aeded (patch)
treee7d569365c465a45ca6515fe39bfdb903d5e8032 /app-text/tetex
parentKEYWORDS for ~ppc (diff)
downloadgentoo-2-3b496a0aec715056c00e89f1dc85c40e8c0aeded.tar.gz
gentoo-2-3b496a0aec715056c00e89f1dc85c40e8c0aeded.tar.bz2
gentoo-2-3b496a0aec715056c00e89f1dc85c40e8c0aeded.zip
patch to disable readlink manpage
Diffstat (limited to 'app-text/tetex')
-rw-r--r--app-text/tetex/ChangeLog7
-rw-r--r--app-text/tetex/Manifest9
-rw-r--r--app-text/tetex/files/tetex-no-readlink-manpage.diff12
-rw-r--r--app-text/tetex/tetex-1.0.7-r13.ebuild5
-rw-r--r--app-text/tetex/tetex-2.0.2-r1.ebuild39
-rw-r--r--app-text/tetex/tetex-2.0.2-r3.ebuild9
6 files changed, 52 insertions, 29 deletions
diff --git a/app-text/tetex/ChangeLog b/app-text/tetex/ChangeLog
index 9ebe6af8fef7..f2080831b349 100644
--- a/app-text/tetex/ChangeLog
+++ b/app-text/tetex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/tetex
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.51 2003/11/12 21:49:13 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.52 2003/12/10 07:33:57 seemant Exp $
+
+ 09 Dec 2003; Seemant Kulleen <seemant@gentoo.org> tetex-1.0.7-r13.ebuild,
+ tetex-2.0.2-r1.ebuild, tetex-2.0.2-r3.ebuild:
+ tetex has NO reason to install a crap readlink man page. man-pages provides a
+ superior version anyway, so added patch to disable installing it
*tetex-2.0.2-r3 (13 Nov 2003)
diff --git a/app-text/tetex/Manifest b/app-text/tetex/Manifest
index 258b6b611c04..d4596626e882 100644
--- a/app-text/tetex/Manifest
+++ b/app-text/tetex/Manifest
@@ -1,8 +1,8 @@
-MD5 1bfbe142b2aaed750bcc105fcb4c995b tetex-1.0.7-r13.ebuild 4670
-MD5 0fe68b54ad7a367f7b2964e8f5a8a672 tetex-2.0.2-r1.ebuild 4526
-MD5 131a1ca4320193b37566ec18b0cb8600 ChangeLog 9784
+MD5 ecd2470ff1963ab3fdd1c05ad2df8d0a tetex-1.0.7-r13.ebuild 4778
+MD5 dd6902b8cbe05ceca1b8fb96f10b41ce tetex-2.0.2-r1.ebuild 4401
+MD5 333c0c22c00bbbf3e44555d0fff28775 ChangeLog 10058
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
-MD5 fa8054eb4ada3355d52349280e73f85d tetex-2.0.2-r3.ebuild 365
+MD5 01ee27c578c0d7a9052fc14ea508c7d3 tetex-2.0.2-r3.ebuild 471
MD5 50c560b391869be15a001b738e0b7bfe files/tetex-2.0.2.diff 2010
MD5 d17a70a33444ac4f10849dfb55af858c files/digest-tetex-2.0.2-r1 214
MD5 7c6b2802aa5d3ea38bcc94a91c4ac54e files/digest-tetex-2.0.2-r3 214
@@ -10,6 +10,7 @@ MD5 4cefd677082951973c64809e5368874f files/teTeX-1.0-dvips.diff 389
MD5 a57ac0ec7f0c9a136cb087abc8d86c46 files/tetex-1.0.7-dvips-secure.diff 1693
MD5 d1ce2613a3498412c7dde5509a066c9d files/tetex-1.0.7-picins.diff 281
MD5 5fd1b7e5bf4c4d6705e7c365995d057d files/tetex-1.0.7-dont-run-config.diff 1305
+MD5 1c3401dbbc9d478e94c98e44b9b68e38 files/tetex-no-readlink-manpage.diff 542
MD5 cc0a84367e8c96d736ca42ba162594dd files/teTeX-1.0.dif 50852
MD5 f05081952fcd0ac7d776c04242a3f7d1 files/teTeX-1.0-gentoo.diff 1176
MD5 e25ee6dd9708723dc411b9acc3ec33db files/digest-tetex-1.0.7-r13 274
diff --git a/app-text/tetex/files/tetex-no-readlink-manpage.diff b/app-text/tetex/files/tetex-no-readlink-manpage.diff
new file mode 100644
index 000000000000..030929829997
--- /dev/null
+++ b/app-text/tetex/files/tetex-no-readlink-manpage.diff
@@ -0,0 +1,12 @@
+diff -urN tetex-src-2.0.2.old/texk/kpathsea/Makefile.in tetex-src-2.0.2/texk/kpathsea/Makefile.in
+--- tetex-src-2.0.2.old/texk/kpathsea/Makefile.in 2003-02-15 09:21:42.000000000 -0800
++++ tetex-src-2.0.2/texk/kpathsea/Makefile.in 2003-12-09 22:22:47.000000000 -0800
+@@ -265,7 +265,7 @@
+ rm -f paths.h texmf.cnf texmf.sed stamp-paths
+
+ # The manual pages
+-manfiles = access.1 kpsestat.1 kpsewhich.1 readlink.1 \
++manfiles = access.1 kpsestat.1 kpsewhich.1 \
+ mktexlsr.1 mktexmf.1 mktextfm.1 mktexpk.1
+
+ ac_include ../make/man.mk
diff --git a/app-text/tetex/tetex-1.0.7-r13.ebuild b/app-text/tetex/tetex-1.0.7-r13.ebuild
index 7f3744fb6b85..dcc7bf469e2a 100644
--- a/app-text/tetex/tetex-1.0.7-r13.ebuild
+++ b/app-text/tetex/tetex-1.0.7-r13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r13.ebuild,v 1.6 2003/10/24 18:34:49 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r13.ebuild,v 1.7 2003/12/10 07:33:57 seemant Exp $
inherit flag-o-matic eutils
filter-flags "-fstack-protector"
@@ -64,6 +64,9 @@ src_unpack() {
# Fix picins.sty
epatch ${FILESDIR}/${P}-picins.diff
+ # Prevent the silly readlink manpage from installing
+ epatch ${FILESDIR}/${PN}-no-readlink-manpage.diff
+
# Fix problem where the *.fmt files are not generated due to the LaTeX
# source being older than a year.
local x
diff --git a/app-text/tetex/tetex-2.0.2-r1.ebuild b/app-text/tetex/tetex-2.0.2-r1.ebuild
index 709bac522309..7aa9b97de48c 100644
--- a/app-text/tetex/tetex-2.0.2-r1.ebuild
+++ b/app-text/tetex/tetex-2.0.2-r1.ebuild
@@ -1,37 +1,40 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r1.ebuild,v 1.8 2003/11/12 21:49:13 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r1.ebuild,v 1.9 2003/12/10 07:33:57 seemant Exp $
inherit eutils flag-o-matic
filter-flags "-fstack-protector"
+IUSE="X"
+
S=${WORKDIR}/tetex-src-${PV}
TETEXSRC="tetex-src-${PV}.tar.gz"
TEXMFSRC="tetex-texmfsrc-${PV}.tar.gz"
TEXMF="tetex-texmf-${PV}.tar.gz"
DESCRIPTION="a complete TeX distribution"
+HOMEPAGE="http://tug.org/teTeX/"
SRC_URI="ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TETEXSRC}
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TEXMFSRC}
ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/2.0/distrib/${TEXMF}"
-HOMEPAGE="http://tug.org/teTeX/"
-KEYWORDS="ia64 x86 ppc sparc alpha amd64"
SLOT="0"
LICENSE="GPL-2"
-IUSE="X"
+KEYWORDS="x86 ppc sparc alpha ~hppa ~mips ~arm amd64 ia64"
DEPEND="!app-text/ptex
!app-text/cstetex
sys-apps/ed
sys-libs/zlib
- X? ( virtual/x11 )
>=media-libs/libpng-1.2.1
sys-libs/ncurses
- >=net-libs/libwww-5.3.2-r1"
+ >=net-libs/libwww-5.3.2-r1
+ X? ( virtual/x11 )"
+
RDEPEND="${DEPEND}
>=dev-lang/perl-5.2
dev-util/dialog"
+
PROVIDE="virtual/tetex"
src_unpack() {
@@ -42,11 +45,13 @@ src_unpack() {
cd ${S}/texmf
umask 022
pwd
- einfo "Unpacking ${TEXMFSRC}"
- tar --no-same-owner -xzf ${DISTDIR}/${TEXMFSRC} || die
+ ebegin "Unpacking ${TEXMFSRC}"
+ tar --no-same-owner -xzf ${DISTDIR}/${TEXMFSRC}
+ eend $?
- einfo "Unpacking ${TEXMF}"
- tar --no-same-owner -xzf ${DISTDIR}/${TEXMF} || die
+ ebegin "Unpacking ${TEXMF}"
+ tar --no-same-owner -xzf ${DISTDIR}/${TEXMF}
+ eend $?
# Do not run config. Also fix local texmf tree.
cd ${WORKDIR}
@@ -58,21 +63,12 @@ src_unpack() {
# this should be fixed in the next release <obz@gentoo.org>
mv texmf/source/latex/listings/listings.sty texmf/tex/latex/listings/
+ epatch ${FILESDIR}/${PN}-no-readlink-manpage.diff
}
src_compile() {
- local myconf=""
- use X \
- && myconf="--with-x" \
- || myconf="--without-x"
-
- ./configure --host=${CHOST} \
- --prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
+ econf \
--datadir=${S} \
--with-system-wwwlib \
--with-libwww-include=/usr/include/w3c-libwww \
@@ -90,6 +86,7 @@ src_compile() {
--with-ps=gs \
--enable-ipc \
--with-etex \
+ `use_with X x` \
${myconf} || die
make texmf=/usr/share/texmf || die
diff --git a/app-text/tetex/tetex-2.0.2-r3.ebuild b/app-text/tetex/tetex-2.0.2-r3.ebuild
index ad14f4ef9b15..f55e6ad233ce 100644
--- a/app-text/tetex/tetex-2.0.2-r3.ebuild
+++ b/app-text/tetex/tetex-2.0.2-r3.ebuild
@@ -1,9 +1,14 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r3.ebuild,v 1.1 2003/11/12 21:49:13 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.2-r3.ebuild,v 1.2 2003/12/10 07:33:57 seemant Exp $
inherit tetex
DESCRIPTION="a complete TeX distribution"
HOMEPAGE="http://tug.org/teTeX/"
-KEYWORDS="~ia64 ~x86 ~ppc ~sparc ~alpha ~amd64"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm ~amd64 ~ia64"
+
+src_unpack() {
+ tetex_src_unpack
+ epatch ${FILESDIR}/${PN}-no-readlink-manpage.diff
+}