diff options
author | Ned Ludd <solar@gentoo.org> | 2004-10-13 14:04:04 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-10-13 14:04:04 +0000 |
commit | 831948b66a5eaf08c1315dd416d7e9f8d332bf68 (patch) | |
tree | be411184c4991229c5770aa12220ffef8e69b40e /media-gfx/xv/xv-3.10a-r7.ebuild | |
parent | security bump. - libtiff has memory allocation problems and numerous integer ... (diff) | |
download | historical-831948b66a5eaf08c1315dd416d7e9f8d332bf68.tar.gz historical-831948b66a5eaf08c1315dd416d7e9f8d332bf68.tar.bz2 historical-831948b66a5eaf08c1315dd416d7e9f8d332bf68.zip |
security bump. -r7 -> -r8 no changes except for depending on a newer version of libtiff
Diffstat (limited to 'media-gfx/xv/xv-3.10a-r7.ebuild')
-rw-r--r-- | media-gfx/xv/xv-3.10a-r7.ebuild | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/media-gfx/xv/xv-3.10a-r7.ebuild b/media-gfx/xv/xv-3.10a-r7.ebuild deleted file mode 100644 index d96b1f6346d3..000000000000 --- a/media-gfx/xv/xv-3.10a-r7.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/xv-3.10a-r7.ebuild,v 1.4 2004/09/07 16:20:08 blubb Exp $ - -inherit ccc flag-o-matic eutils - -DESCRIPTION="An interactive image manipulation program for X which can deal with a wide variety of image formats" -HOMEPAGE="http://www.trilon.com/xv/index.html" -SRC_URI="ftp://ftp.cis.upenn.edu/pub/xv/${P}.tar.gz - mirror://gentoo/${P}-gentoo.tar.gz" - -LICENSE="xv" -SLOT="0" -KEYWORDS="x86 ppc sparc alpha mips hppa ia64 ~amd64" -IUSE="jpeg tiff png" - -DEPEND="virtual/x11 - jpeg? ( >=media-libs/jpeg-6b ) - tiff? ( >=media-libs/tiff-3.5 ) - png? ( >=media-libs/libpng-1.2 >=sys-libs/zlib-1.1.4 )" - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ../${P}-enhanced-Nu.patch || die - epatch ../${P}-gentoo-Nu.patch || die - use ppc && epatch ${FILESDIR}/${P}-ppc.patch - # This patch is needed to get xv to stop segfaulting on amd64 - use amd64 && epatch ${FILESDIR}/xv-use-getcwd.patch - - # fix security issues #61619 - epatch ${FILESDIR}/${P}-security.diff || die -} - -src_compile() { - if use jpeg; then - append-flags -DDOJPEG - else - sed -i -e "s:JPEGLIB = -ljpeg:JPEGLIB =:" Makefile || die "sed jpeg failed" - fi - if use png; then - append-flags -DDOPNG - else - sed -i -e "s:PNGLIB = -lpng:PNGLIB =:" Makefile || die "sed png failed" - sed -i -e "s:ZLIBLIB = -lz:ZLIBLIB =:" Makefile || die "sed zlib failed" - fi - if use tiff; then - append-flags -DDOTIFF - else - sed -i -e "s:TIFFLIB = -ltiff:TIFFLIB =:" Makefile || die "sed tiff failed" - fi - sed -i 's:CCOPTS = -O:CCOPTS = $(E_CFLAGS):' Makefile || die "sed Makefile failed" - sed -i 's:COPTS=\t-O:COPTS= $(E_CFLAGS):' tiff/Makefile || die "sed tiff/Makefile failed" - is-ccc && replace-cc-hardcode - make E_CFLAGS="${CFLAGS}" || die -} - -src_install() { - dodir /usr/bin - dodir /usr/share/man/man1 - - # LIBDIR is where xv installs xvdocs.ps and we dodoc it below - make \ - DESTDIR=${D} \ - BINDIR=${D}/usr/bin \ - MANDIR=${D}/usr/share/man/man1 \ - LIBDIR=/dev/null \ - install || die - - dodoc README INSTALL CHANGELOG BUGS IDEAS docs/*.ps docs/*.doc -} |