summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2006-11-16 21:02:12 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2006-11-16 21:02:12 +0000
commit7c9b2145c62a18febac01bd011e8d4b5b9ab8641 (patch)
treeda820187ad8c939193a8cc7900723b78857ffea0 /media-gfx/imagemagick
parentoops, fix gal mask (diff)
downloadgentoo-2-7c9b2145c62a18febac01bd011e8d4b5b9ab8641.tar.gz
gentoo-2-7c9b2145c62a18febac01bd011e8d4b5b9ab8641.tar.bz2
gentoo-2-7c9b2145c62a18febac01bd011e8d4b5b9ab8641.zip
Version bump due security bug #152672
(Portage version: 2.1.2_pre2-r7)
Diffstat (limited to 'media-gfx/imagemagick')
-rw-r--r--media-gfx/imagemagick/ChangeLog8
-rw-r--r--media-gfx/imagemagick/files/digest-imagemagick-6.3.0.53
-rw-r--r--media-gfx/imagemagick/files/imagemagick-6.3.0.5-docs.patch16
-rw-r--r--media-gfx/imagemagick/imagemagick-6.3.0.5.ebuild103
4 files changed, 129 insertions, 1 deletions
diff --git a/media-gfx/imagemagick/ChangeLog b/media-gfx/imagemagick/ChangeLog
index a56f894c07b3..81dc578b2169 100644
--- a/media-gfx/imagemagick/ChangeLog
+++ b/media-gfx/imagemagick/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/imagemagick
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.202 2006/10/15 13:08:12 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/ChangeLog,v 1.203 2006/11/16 21:02:12 sekretarz Exp $
+
+*imagemagick-6.3.0.5 (16 Nov 2006)
+
+ 16 Nov 2006; Karol Wojtaszek <sekretarz@gentoo.org>
+ +files/imagemagick-6.3.0.5-docs.patch, +imagemagick-6.3.0.5.ebuild:
+ Version bump due security bug #152672
15 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
imagemagick-6.2.9.5.ebuild:
diff --git a/media-gfx/imagemagick/files/digest-imagemagick-6.3.0.5 b/media-gfx/imagemagick/files/digest-imagemagick-6.3.0.5
new file mode 100644
index 000000000000..5b5c1d2885d7
--- /dev/null
+++ b/media-gfx/imagemagick/files/digest-imagemagick-6.3.0.5
@@ -0,0 +1,3 @@
+MD5 1c60e1c1600da054f4f10bece3f4ffe7 ImageMagick-6.3.0-5.tar.bz2 5384739
+RMD160 1e1fb1a0d3a782c63fb2f31fe575066fa556621e ImageMagick-6.3.0-5.tar.bz2 5384739
+SHA256 04a4f6116fab2ab631f3cb42bcdcb5e39e60fa862af5da9decba3eadb5298e30 ImageMagick-6.3.0-5.tar.bz2 5384739
diff --git a/media-gfx/imagemagick/files/imagemagick-6.3.0.5-docs.patch b/media-gfx/imagemagick/files/imagemagick-6.3.0.5-docs.patch
new file mode 100644
index 000000000000..35cf26a91756
--- /dev/null
+++ b/media-gfx/imagemagick/files/imagemagick-6.3.0.5-docs.patch
@@ -0,0 +1,16 @@
+--- configure.orig 2006-11-13 20:22:26.000000000 +0100
++++ configure 2006-11-16 00:23:41.000000000 +0100
+@@ -43559,8 +43559,12 @@
+
+ #
+ # Path to ImageMagick document files
++if test "x${PF}" = "x" ; then
+ MagickDocumentSubdir="${PACKAGE_NAME}-${PACKAGE_VERSION}"
+-MagickDocumentPath="${DATA_DIR}/doc/${MagickDocumentSubdir}"
++else
++MagickDocumentSubdir="${PF}"
++fi
++MagickDocumentPath="${DATA_DIR}/doc/${MagickDocumentSubdir}/html"
+ MagickDocumentPathDefine="${MagickDocumentPath}/"
+ if test "$native_win32_build" = 'yes'
+ then
diff --git a/media-gfx/imagemagick/imagemagick-6.3.0.5.ebuild b/media-gfx/imagemagick/imagemagick-6.3.0.5.ebuild
new file mode 100644
index 000000000000..c4cce5935526
--- /dev/null
+++ b/media-gfx/imagemagick/imagemagick-6.3.0.5.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.3.0.5.ebuild,v 1.1 2006/11/16 21:02:12 sekretarz Exp $
+
+inherit eutils multilib perl-app
+
+MY_PN=ImageMagick
+MY_P=${MY_PN}-${PV%.*}
+MY_P2=${MY_PN}-${PV%.*}-${PV#*.*.*.}
+
+DESCRIPTION="A collection of tools and libraries for many image formats"
+HOMEPAGE="http://www.imagemagick.org/"
+SRC_URI="ftp://ftp.imagemagick.org/pub/${MY_PN}/${MY_P2}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="bzip2 doc fpx graphviz gs jbig jpeg jpeg2k lcms mpeg nocxx perl png tiff truetype X wmf xml zlib"
+
+RDEPEND="bzip2? ( app-arch/bzip2 )
+ zlib? ( sys-libs/zlib )
+ media-fonts/corefonts
+ X? (
+ x11-libs/libXext
+ x11-libs/libXt
+ x11-libs/libICE
+ x11-libs/libSM
+ )
+ gs? ( virtual/ghostscript )
+ lcms? ( >=media-libs/lcms-1.06 )
+ mpeg? ( >=media-video/mpeg2vidcodec-12 )
+ 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.8 )
+ jbig? ( media-libs/jbigkit )
+ jpeg? ( >=media-libs/jpeg-6b )
+ jpeg2k? ( media-libs/jasper )
+ perl? ( >=dev-lang/perl-5.8.6-r6 !=dev-lang/perl-5.8.7 )
+ !dev-perl/perlmagick
+ !sys-apps/compare
+ graphviz? ( media-gfx/graphviz )
+ fpx? ( media-libs/libfpx )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ >=sys-devel/libtool-1.5.2-r6
+ X? ( x11-proto/xextproto )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ chmod +x config.sub
+ einfo ${S}
+ epatch "${FILESDIR}"/${PN}-6.3.0.5-docs.patch
+# epatch "${FILESDIR}"/imagemagick-perl.patch
+}
+
+src_compile() {
+ econf \
+ --with-threads \
+ --with-modules \
+ $(use_with perl) \
+ --with-gs-font-dir=/usr/share/fonts/default/ghostscript \
+ --with-windows-font-dir=/usr/share/fonts/corefonts \
+ $(use_with !nocxx magick-plus-plus) \
+ $(use_with bzip2 bzlib) \
+ $(use_with fpx) \
+ $(use_with gs gslib) \
+ $(use_with graphviz gvc) \
+ $(use_with jbig) \
+ $(use_with jpeg jpeg) \
+ $(use_with jpeg2k jp2) \
+ $(use_with lcms) \
+ $(use_with mpeg mpeg2) \
+ $(use_with png) \
+ $(use_with tiff) \
+ $(use_with truetype ttf) \
+ $(use_with wmf) \
+ $(use_with xml) \
+ $(use_with zlib) \
+ $(use_with X x) \
+ || die "econf failed"
+ emake || die "compile problem"
+
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dosed "s:-I/usr/include ::" /usr/bin/Magick{,++}-config
+
+ # dont need these files with runtime plugins
+ rm -f "${D}"/usr/$(get_libdir)/*/*/*.{la,a}
+
+ ! use doc && rm -r "${D}"/usr/share/doc/${PF}/html
+ dodoc NEWS ChangeLog AUTHORS README.txt QuickStart.txt Install-unix.txt
+
+ # Fix perllocal.pod file collision
+ use perl && fixlocalpod
+
+}