Files @ 7f52fc52f33b
Branch filter:

Location: ohnobinki_overlay/app-text/tetex/tetex-2.0.2-r5.ebuild - annotation

7f52fc52f33b 1.3 KiB application/vnd.gentoo.ebuild Show Source Show as Raw Download as Raw
binki
added libgphoto2-2.4.2 with a file listing length increase
A future version (beyond libgphoto2-2.4.3) will have this constant limit fixed: see https://sourceforge.net/tracker2/index.php?func=detail&aid=2055906&group_id=8874&atid=108874
libgphoto2-2.4.3 does not have this fix yet and libgphoto2-2.4.3 has EAPI="2", which requires =portage-2*
Increasing the constant number of images listable is the most practial way of fixing this. For an example, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425515
# Copyright 1999-2007 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-r5.ebuild,v 1.18 2007/09/01 16:59:06 rbu Exp $

inherit tetex-2 flag-o-matic

DESCRIPTION="a complete TeX distribution"
HOMEPAGE="http://tug.org/teTeX/"

KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 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 122365
	EPATCH_OPTS="-d ${WORKDIR}" epatch ${FILESDIR}/tetex-2.0.2-flex-unput.patch || die

	# bug 118264
	EPATCH_OPTS="-d ${WORKDIR} -p0" epatch \
	${FILESDIR}/${P}-dvi-draw-conflicting-types.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
}