From ff9330a65362f17adb631008cf5a2244a45f7bbb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bryan=20=C3=98stergaard?= Date: Fri, 2 Feb 2007 22:54:34 +0000 Subject: [PATCH] Remove vulnerable versions, bug 164180. Package-Manager: portage-2.1.2-r6 --- media-gfx/graphicsmagick/ChangeLog | 9 +- media-gfx/graphicsmagick/Manifest | 41 ++----- .../files/digest-graphicsmagick-1.1.7 | 3 - .../files/digest-graphicsmagick-1.1.7-r1 | 3 - .../files/digest-graphicsmagick-1.1.7-r2 | 3 - media-gfx/graphicsmagick/files/xwd-dos.patch | 32 ------ .../graphicsmagick-1.1.7-r1.ebuild | 103 ----------------- .../graphicsmagick-1.1.7-r2.ebuild | 107 ------------------ .../graphicsmagick-1.1.7.ebuild | 102 ----------------- 9 files changed, 15 insertions(+), 388 deletions(-) delete mode 100644 media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7 delete mode 100644 media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r1 delete mode 100644 media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r2 delete mode 100644 media-gfx/graphicsmagick/files/xwd-dos.patch delete mode 100644 media-gfx/graphicsmagick/graphicsmagick-1.1.7-r1.ebuild delete mode 100644 media-gfx/graphicsmagick/graphicsmagick-1.1.7-r2.ebuild delete mode 100644 media-gfx/graphicsmagick/graphicsmagick-1.1.7.ebuild diff --git a/media-gfx/graphicsmagick/ChangeLog b/media-gfx/graphicsmagick/ChangeLog index 7e5e2d5373fc..74fc72c6b3a9 100644 --- a/media-gfx/graphicsmagick/ChangeLog +++ b/media-gfx/graphicsmagick/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/graphicsmagick -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v 1.45 2006/12/26 05:01:48 vapier Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/ChangeLog,v 1.46 2007/02/02 22:54:33 kloeri Exp $ + + 02 Feb 2007; Bryan Østergaard -files/xwd-dos.patch, + -graphicsmagick-1.1.7.ebuild, -graphicsmagick-1.1.7-r1.ebuild, + -graphicsmagick-1.1.7-r2.ebuild: + Remove vulnerable versions, bug 164180. 26 Dec 2006; Mike Frysinger graphicsmagick-1.1.7-r3.ebuild: diff --git a/media-gfx/graphicsmagick/Manifest b/media-gfx/graphicsmagick/Manifest index 92296cf3dbec..b8e302e80cbb 100644 --- a/media-gfx/graphicsmagick/Manifest +++ b/media-gfx/graphicsmagick/Manifest @@ -17,51 +17,26 @@ AUX graphicsmagick-libpng.patch 1004 RMD160 8b3e46ed2e4bafd28726fbe3e7e61c77b8dc MD5 460b1415a0a309a1815f641c917dbdcb files/graphicsmagick-libpng.patch 1004 RMD160 8b3e46ed2e4bafd28726fbe3e7e61c77b8dc8653 files/graphicsmagick-libpng.patch 1004 SHA256 8227b47ec06d48248ec0023dfe4ccb26b4d8a02777f50dac956d4e3da38a2020 files/graphicsmagick-libpng.patch 1004 -AUX xwd-dos.patch 1103 RMD160 991cc1701e753ba6848dff77b3cae95398f41732 SHA1 442bd672830324d671da2b183e74cf92cf26986f SHA256 fa3a08ad0ffab2a1ff721e040c8eb78d2326ff25c6ed7d13bafc971a64fe52f9 -MD5 0d86c7176f6338aed5b5f86af8f76d63 files/xwd-dos.patch 1103 -RMD160 991cc1701e753ba6848dff77b3cae95398f41732 files/xwd-dos.patch 1103 -SHA256 fa3a08ad0ffab2a1ff721e040c8eb78d2326ff25c6ed7d13bafc971a64fe52f9 files/xwd-dos.patch 1103 DIST GraphicsMagick-1.1.7.tar.bz2 4957394 RMD160 9193ab3b109df6ce4b80cb2c1602c86ca36e3043 SHA1 b2d3878be34e6d0a8a19e991b7f99da30b02df7e SHA256 95f85e8bb84cc7ad05e84988f4cd93432ab2d4b300827fef34d1ada5e69196cc -EBUILD graphicsmagick-1.1.7-r1.ebuild 2562 RMD160 d0170ec40f77cdd6cc8e73b3cb8131b35dcc76ee SHA1 78f515865817ba9701fef672c155f237a6ff5146 SHA256 12c656797d24979ff581c7df5332320b282949e6a0659c61d0f6bc1f5225eb9e -MD5 c13c0ec42121391fded1db14b29ee6eb graphicsmagick-1.1.7-r1.ebuild 2562 -RMD160 d0170ec40f77cdd6cc8e73b3cb8131b35dcc76ee graphicsmagick-1.1.7-r1.ebuild 2562 -SHA256 12c656797d24979ff581c7df5332320b282949e6a0659c61d0f6bc1f5225eb9e graphicsmagick-1.1.7-r1.ebuild 2562 -EBUILD graphicsmagick-1.1.7-r2.ebuild 2667 RMD160 266be98d3631da1fdbe5db3127d973a930d2f480 SHA1 f7b54f2e22645ca9a9651c6e13f745e122680a86 SHA256 48220691f4ed36fb4a27cf1d7e6baeeb4b37a9e553a7274f46a89eb9fbb11ef2 -MD5 1988b3b704deee06f19b3bb28b36a1bd graphicsmagick-1.1.7-r2.ebuild 2667 -RMD160 266be98d3631da1fdbe5db3127d973a930d2f480 graphicsmagick-1.1.7-r2.ebuild 2667 -SHA256 48220691f4ed36fb4a27cf1d7e6baeeb4b37a9e553a7274f46a89eb9fbb11ef2 graphicsmagick-1.1.7-r2.ebuild 2667 EBUILD graphicsmagick-1.1.7-r3.ebuild 2748 RMD160 5693d6de6f86bcf6e0e291835d8f39f540831578 SHA1 8067ab21611d0e1f6750eb99274a3e7f8c18d63b SHA256 2a94c73b8d6414e9e28cfef9a9c735e8071f719259ee83da91444354b539dec9 MD5 50134e03a7922f8c4a3aab2cfd345117 graphicsmagick-1.1.7-r3.ebuild 2748 RMD160 5693d6de6f86bcf6e0e291835d8f39f540831578 graphicsmagick-1.1.7-r3.ebuild 2748 SHA256 2a94c73b8d6414e9e28cfef9a9c735e8071f719259ee83da91444354b539dec9 graphicsmagick-1.1.7-r3.ebuild 2748 -EBUILD graphicsmagick-1.1.7.ebuild 2520 RMD160 4a0c0699d44cdd407c58d4b2dc4683a1095e6a90 SHA1 e62dc9c9a63ac0a79ad91f3ca6f9f1024a82790a SHA256 e02a1a115e127af22941ba2081fbbb6aa20d38c766399f9fd170b74c11cd079a -MD5 4147eb1bad543a0b36d59c03fd1fc8a2 graphicsmagick-1.1.7.ebuild 2520 -RMD160 4a0c0699d44cdd407c58d4b2dc4683a1095e6a90 graphicsmagick-1.1.7.ebuild 2520 -SHA256 e02a1a115e127af22941ba2081fbbb6aa20d38c766399f9fd170b74c11cd079a graphicsmagick-1.1.7.ebuild 2520 -MISC ChangeLog 6934 RMD160 e3de6884b8de7542cb9f5dbecb45d021efb5379c SHA1 7e3df2b39253fb1e653360bda6b85d504b9ef3f6 SHA256 4b09d1577aabedd3d85d74ab47907e0d95c2c47fada6463e18ef1d634dafb059 -MD5 6740e5e1a437e240dcf9190c94dc1e36 ChangeLog 6934 -RMD160 e3de6884b8de7542cb9f5dbecb45d021efb5379c ChangeLog 6934 -SHA256 4b09d1577aabedd3d85d74ab47907e0d95c2c47fada6463e18ef1d634dafb059 ChangeLog 6934 +MISC ChangeLog 7152 RMD160 b51a804603472f4665c5a863b78692a9633a2f82 SHA1 0066cf1cd58134e32e9569ef85a39ea1d0b901fe SHA256 cec368b4881007d6ccd7cc4f8af699aedad85fe4a672cbcf180a3608506477b1 +MD5 fb74e4e3f06a8e1e316c6f4bfc53d92f ChangeLog 7152 +RMD160 b51a804603472f4665c5a863b78692a9633a2f82 ChangeLog 7152 +SHA256 cec368b4881007d6ccd7cc4f8af699aedad85fe4a672cbcf180a3608506477b1 ChangeLog 7152 MISC metadata.xml 197 RMD160 45fece5f76f3776dd119fe5b124d815caced375f SHA1 bd1ad5337092280854cc444f6444402bfe9f38ed SHA256 a42685246e78553ec390823695d12279e70c7d4ebdd9d9af36cc5932374c95e9 MD5 eae2172901a7cc6b7a6e37fc9267a2b9 metadata.xml 197 RMD160 45fece5f76f3776dd119fe5b124d815caced375f metadata.xml 197 SHA256 a42685246e78553ec390823695d12279e70c7d4ebdd9d9af36cc5932374c95e9 metadata.xml 197 -MD5 21b9a3101ccf785dfe7c6703f62adc3f files/digest-graphicsmagick-1.1.7 268 -RMD160 79582430aaa177324cbafb5eaae828cd12d07b74 files/digest-graphicsmagick-1.1.7 268 -SHA256 6065e62de7dbdee3f8edc0812d75cd47131ae835ea21c9680c9a05b306b9c8a2 files/digest-graphicsmagick-1.1.7 268 -MD5 21b9a3101ccf785dfe7c6703f62adc3f files/digest-graphicsmagick-1.1.7-r1 268 -RMD160 79582430aaa177324cbafb5eaae828cd12d07b74 files/digest-graphicsmagick-1.1.7-r1 268 -SHA256 6065e62de7dbdee3f8edc0812d75cd47131ae835ea21c9680c9a05b306b9c8a2 files/digest-graphicsmagick-1.1.7-r1 268 -MD5 21b9a3101ccf785dfe7c6703f62adc3f files/digest-graphicsmagick-1.1.7-r2 268 -RMD160 79582430aaa177324cbafb5eaae828cd12d07b74 files/digest-graphicsmagick-1.1.7-r2 268 -SHA256 6065e62de7dbdee3f8edc0812d75cd47131ae835ea21c9680c9a05b306b9c8a2 files/digest-graphicsmagick-1.1.7-r2 268 MD5 21b9a3101ccf785dfe7c6703f62adc3f files/digest-graphicsmagick-1.1.7-r3 268 RMD160 79582430aaa177324cbafb5eaae828cd12d07b74 files/digest-graphicsmagick-1.1.7-r3 268 SHA256 6065e62de7dbdee3f8edc0812d75cd47131ae835ea21c9680c9a05b306b9c8a2 files/digest-graphicsmagick-1.1.7-r3 268 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) +Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFFkKzq8bi6rjpTunYRAkzLAJ4gmtZIXoM8FHBQ61ShJaNxODhLhwCdFV8r -uKLWjpGLvAouiSUNlbPLKac= -=7R99 +iD8DBQFFw8DougEuf3OQ0akRAtwbAJ9k6gLf44O7iQWmpqd6VogYLocTXgCfRpZh +nz/KrMt4tFuK5Ox/D955IQw= +=KP71 -----END PGP SIGNATURE----- diff --git a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7 b/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7 deleted file mode 100644 index 9a72057947c2..000000000000 --- a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f75d830ca623bf10385b3ad62c48437a GraphicsMagick-1.1.7.tar.bz2 4957394 -RMD160 9193ab3b109df6ce4b80cb2c1602c86ca36e3043 GraphicsMagick-1.1.7.tar.bz2 4957394 -SHA256 95f85e8bb84cc7ad05e84988f4cd93432ab2d4b300827fef34d1ada5e69196cc GraphicsMagick-1.1.7.tar.bz2 4957394 diff --git a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r1 b/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r1 deleted file mode 100644 index 9a72057947c2..000000000000 --- a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f75d830ca623bf10385b3ad62c48437a GraphicsMagick-1.1.7.tar.bz2 4957394 -RMD160 9193ab3b109df6ce4b80cb2c1602c86ca36e3043 GraphicsMagick-1.1.7.tar.bz2 4957394 -SHA256 95f85e8bb84cc7ad05e84988f4cd93432ab2d4b300827fef34d1ada5e69196cc GraphicsMagick-1.1.7.tar.bz2 4957394 diff --git a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r2 b/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r2 deleted file mode 100644 index 9a72057947c2..000000000000 --- a/media-gfx/graphicsmagick/files/digest-graphicsmagick-1.1.7-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f75d830ca623bf10385b3ad62c48437a GraphicsMagick-1.1.7.tar.bz2 4957394 -RMD160 9193ab3b109df6ce4b80cb2c1602c86ca36e3043 GraphicsMagick-1.1.7.tar.bz2 4957394 -SHA256 95f85e8bb84cc7ad05e84988f4cd93432ab2d4b300827fef34d1ada5e69196cc GraphicsMagick-1.1.7.tar.bz2 4957394 diff --git a/media-gfx/graphicsmagick/files/xwd-dos.patch b/media-gfx/graphicsmagick/files/xwd-dos.patch deleted file mode 100644 index 4fc1fd2bfa9f..000000000000 --- a/media-gfx/graphicsmagick/files/xwd-dos.patch +++ /dev/null @@ -1,32 +0,0 @@ -=================================================================== -RCS file: /GraphicsMagick/GraphicsMagick/coders/xwd.c,v -retrieving revision 1.88 -retrieving revision 1.88.2.1 -diff -u -p -r1.88 -r1.88.2.1 ---- GraphicsMagick/coders/xwd.c 2004/02/17 03:41:53 1.88 -+++ GraphicsMagick/coders/xwd.c 2005/05/16 18:51:04 1.88.2.1 -@@ -325,21 +325,21 @@ static Image *ReadXWDImage(const ImageIn - */ - red_mask=ximage->red_mask; - red_shift=0; -- while ((red_mask & 0x01) == 0) -+ while ((red_mask != 0) && ((red_mask & 0x01) == 0)) - { - red_mask>>=1; - red_shift++; - } - green_mask=ximage->green_mask; - green_shift=0; -- while ((green_mask & 0x01) == 0) -+ while ((green_mask != 0) && ((green_mask & 0x01) == 0)) - { - green_mask>>=1; - green_shift++; - } - blue_mask=ximage->blue_mask; - blue_shift=0; -- while ((blue_mask & 0x01) == 0) -+ while ((blue_mask != 0) && ((blue_mask & 0x01) == 0)) - { - blue_mask>>=1; - blue_shift++; diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r1.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r1.ebuild deleted file mode 100644 index 08e5ad1167cd..000000000000 --- a/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r1.ebuild,v 1.5 2006/09/24 00:36:37 josejx Exp $ - -inherit libtool flag-o-matic perl-app - -MY_PN=GraphicsMagick -MY_P=${MY_PN}-${PV} - -DESCRIPTION="A collection of tools and libraries for many image formats" -HOMEPAGE="http://www.graphicsmagick.org/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ia64 ppc ppc64 ~sparc x86" -IUSE="X gs jbig jpeg2k jpeg lcms lzw perl png tiff truetype wmf xml doc" - -RDEPEND="app-arch/bzip2 - sys-libs/zlib - X? ( || ( - ( x11-libs/libXext x11-libs/libXt x11-libs/libX11 x11-libs/libICE x11-libs/libSM ) - virtual/x11 - ) ) - gs? ( virtual/ghostscript ) - jbig? ( media-libs/jbigkit ) - jpeg2k? ( media-libs/jasper ) - jpeg? ( >=media-libs/jpeg-6b ) - lcms? ( >=media-libs/lcms-1.06 ) - perl? ( dev-lang/perl ) - png? ( media-libs/libpng ) - tiff? ( >=media-libs/tiff-3.5.5 ) - xml? ( >=dev-libs/libxml2-2.4.10 ) - truetype? ( =media-libs/freetype-2* ) - wmf? ( >=media-libs/libwmf-0.2.5 )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xextproto x11-proto/xproto ) virtual/x11 ) )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-overflow.patch - epatch "${FILESDIR}"/${PN}-libpng.patch - - # Netscape is still used ? More people should have Mozilla - sed -i 's:netscape:mozilla:g' configure -} - -src_compile() { - econf \ - --with-gs-font-dir=/usr/share/fonts/default/ghostscript \ - --enable-shared \ - --with-quantum-depth=16 \ - --with-threads \ - --with-bzlib \ - --without-perl \ - $(use_with X x) \ - $(use_with jbig) \ - $(use_with jpeg2k) \ - $(use_with jpeg) \ - $(use_with lcms) \ - $(use_enable lzw) \ - $(use_with png) \ - $(use_with tiff) \ - $(use_with truetype ttf) \ - $(use_with wmf) \ - $(use_with xml xml) \ - || die - - # make PerlMagick using portage tools instead of Makefile to avoid sandbox issues - if use perl ; then - cd PerlMagick - perl-app_src_prep - perl-app_src_compile - cd .. - fi - - emake || die "compile problem" -} - -src_install() { - make DESTDIR="${D}" install || die - - if use perl ; then - cd PerlMagick - perl-module_src_install - cd .. - fi - - dosym /usr/lib/${MY_P}/ /usr/lib/GraphicsMagick - - rm -f "${D}"/usr/share/GraphicsMagick/*.txt - rm -rf "${D}"/usr/share/${MY_P}/www - - if use doc ; then - dohtml -r www/* - fi - - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick-config - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick++-config -} diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r2.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r2.ebuild deleted file mode 100644 index aa4c0c7da9fa..000000000000 --- a/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r2.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.1.7-r2.ebuild,v 1.2 2006/10/08 00:02:20 kloeri Exp $ - -inherit libtool flag-o-matic perl-app - -MY_PN="GraphicsMagick" -MY_P=${MY_PN}-${PV} - -DESCRIPTION="A collection of tools and libraries for many image formats" -HOMEPAGE="http://www.graphicsmagick.org/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="X gs jbig jpeg2k jpeg lcms lzw perl png tiff truetype wmf xml doc depth16 depth32" - -RDEPEND="app-arch/bzip2 - sys-libs/zlib - X? ( || ( - ( x11-libs/libXext x11-libs/libXt x11-libs/libX11 x11-libs/libICE x11-libs/libSM ) - virtual/x11 - ) ) - gs? ( virtual/ghostscript ) - jbig? ( media-libs/jbigkit ) - jpeg2k? ( media-libs/jasper ) - jpeg? ( >=media-libs/jpeg-6b ) - lcms? ( >=media-libs/lcms-1.06 ) - perl? ( dev-lang/perl ) - png? ( media-libs/libpng ) - tiff? ( >=media-libs/tiff-3.5.5 ) - xml? ( >=dev-libs/libxml2-2.4.10 ) - truetype? ( =media-libs/freetype-2* ) - wmf? ( >=media-libs/libwmf-0.2.5 )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xextproto x11-proto/xproto ) virtual/x11 ) )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-overflow.patch - epatch "${FILESDIR}"/${PN}-libpng.patch - - # Netscape is still used ? More people should have Mozilla - sed -i 's:netscape:mozilla:g' configure -} - -src_compile() { - DEPTH=8 - use depth16 && DEPTH=16 - use depth32 && DEPTH=32 - econf \ - --with-gs-font-dir=/usr/share/fonts/default/ghostscript \ - --enable-shared \ - --with-threads \ - --with-bzlib \ - --without-perl \ - --without-fpx \ - $(use_with X x) \ - $(use_with jbig) \ - $(use_with jpeg2k) \ - $(use_with jpeg) \ - $(use_with lcms) \ - $(use_enable lzw) \ - $(use_with png) \ - $(use_with tiff) \ - $(use_with truetype ttf) \ - $(use_with wmf) \ - $(use_with xml xml) \ - --with-quantum-depth=${DEPTH} \ - || die - - # make PerlMagick using portage tools instead of Makefile to avoid sandbox issues - if use perl ; then - cd PerlMagick - perl-app_src_prep - perl-app_src_compile - cd .. - fi - - emake || die "compile problem" -} - -src_install() { - make DESTDIR="${D}" install || die - - if use perl ; then - cd PerlMagick - perl-module_src_install - cd .. - fi - - dosym /usr/lib/${MY_P}/ /usr/lib/GraphicsMagick - - rm -f "${D}"/usr/share/GraphicsMagick/*.txt - rm -rf "${D}"/usr/share/${MY_P}/www - - if use doc ; then - dohtml -r www/* - fi - - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick-config - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick++-config -} diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.1.7.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.1.7.ebuild deleted file mode 100644 index ff193f9347b2..000000000000 --- a/media-gfx/graphicsmagick/graphicsmagick-1.1.7.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.1.7.ebuild,v 1.8 2006/07/13 12:41:20 agriffis Exp $ - -inherit libtool flag-o-matic perl-app - -MY_PN=GraphicsMagick -MY_P=${MY_PN}-${PV} - -DESCRIPTION="A collection of tools and libraries for many image formats" -HOMEPAGE="http://www.graphicsmagick.org/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ia64 ppc ppc64 ~sparc x86" -IUSE="X gs jbig jpeg2k jpeg lcms lzw perl png tiff truetype wmf xml doc" - -RDEPEND="app-arch/bzip2 - sys-libs/zlib - X? ( || ( - ( x11-libs/libXext x11-libs/libXt x11-libs/libX11 x11-libs/libICE x11-libs/libSM ) - virtual/x11 - ) ) - gs? ( virtual/ghostscript ) - jbig? ( media-libs/jbigkit ) - jpeg2k? ( media-libs/jasper ) - jpeg? ( >=media-libs/jpeg-6b ) - lcms? ( >=media-libs/lcms-1.06 ) - perl? ( dev-lang/perl ) - png? ( media-libs/libpng ) - tiff? ( >=media-libs/tiff-3.5.5 ) - xml? ( >=dev-libs/libxml2-2.4.10 ) - truetype? ( =media-libs/freetype-2* ) - wmf? ( >=media-libs/libwmf-0.2.5 )" -DEPEND="${RDEPEND} - X? ( || ( ( x11-proto/xextproto x11-proto/xproto ) virtual/x11 ) )" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-overflow.patch - - # Netscape is still used ? More people should have Mozilla - sed -i 's:netscape:mozilla:g' configure -} - -src_compile() { - econf \ - --with-gs-font-dir=/usr/share/fonts/default/ghostscript \ - --enable-shared \ - --with-quantum-depth=16 \ - --with-threads \ - --with-bzlib \ - --without-perl \ - $(use_with X x) \ - $(use_with jbig) \ - $(use_with jpeg2k) \ - $(use_with jpeg) \ - $(use_with lcms) \ - $(use_enable lzw) \ - $(use_with png) \ - $(use_with tiff) \ - $(use_with truetype ttf) \ - $(use_with wmf) \ - $(use_with xml xml) \ - || die - - # make PerlMagick using portage tools instead of Makefile to avoid sandbox issues - if use perl ; then - cd PerlMagick - perl-app_src_prep - perl-app_src_compile - cd .. - fi - - emake || die "compile problem" -} - -src_install() { - make DESTDIR="${D}" install || die - - if use perl ; then - cd PerlMagick - perl-module_src_install - cd .. - fi - - dosym /usr/lib/${MY_P}/ /usr/lib/GraphicsMagick - - rm -f "${D}"/usr/share/GraphicsMagick/*.txt - rm -rf "${D}"/usr/share/${MY_P}/www - - if use doc ; then - dohtml -r www/* - fi - - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick-config - dosed "s:-I/usr/include ::" /usr/bin/GraphicsMagick++-config -} -- 2.26.2