diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-11-07 12:08:52 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-11-07 12:08:52 +0000 |
commit | 96732959b4cd1ab10a75e43dec9ecefe3e6be0d4 (patch) | |
tree | 56a6bca0ee45fe721360c1101f707ca007f2cda6 /media-gfx | |
parent | Initial import. Ebuild submitted by jochen <jochen.eisinger@gmx.de>; bug #690... (diff) | |
download | gentoo-2-96732959b4cd1ab10a75e43dec9ecefe3e6be0d4.tar.gz gentoo-2-96732959b4cd1ab10a75e43dec9ecefe3e6be0d4.tar.bz2 gentoo-2-96732959b4cd1ab10a75e43dec9ecefe3e6be0d4.zip |
Now autotrace can be compiled with imagemagick-6* support, bug #69969
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/autotrace/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/autotrace/autotrace-0.31.1-r1.ebuild | 12 | ||||
-rw-r--r-- | media-gfx/autotrace/files/autotrace-imagemagick.patch | 17 |
3 files changed, 33 insertions, 2 deletions
diff --git a/media-gfx/autotrace/ChangeLog b/media-gfx/autotrace/ChangeLog index 48ec41b7f224..d97bc1f28033 100644 --- a/media-gfx/autotrace/ChangeLog +++ b/media-gfx/autotrace/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/autotrace # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/autotrace/ChangeLog,v 1.14 2004/08/28 15:16:46 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/autotrace/ChangeLog,v 1.15 2004/11/07 12:08:52 sekretarz Exp $ + + 07 Nov 2004; Karol Wojtaszek <sekretarz@gentoo.org> + +files/autotrace-imagemagick.patch, autotrace-0.31.1-r1.ebuild: + Now autotrace can be compiled with imagemagick-6* support, bug #69969 29 Aug 2004; Mamoru KOMACHI <usata@gentoo.org> autotrace-0.31.1-r1.ebuild: Stable on ppc to support fontforge. diff --git a/media-gfx/autotrace/autotrace-0.31.1-r1.ebuild b/media-gfx/autotrace/autotrace-0.31.1-r1.ebuild index 2a7567968c1b..94091c3cdcad 100644 --- a/media-gfx/autotrace/autotrace-0.31.1-r1.ebuild +++ b/media-gfx/autotrace/autotrace-0.31.1-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/autotrace/autotrace-0.31.1-r1.ebuild,v 1.11 2004/08/28 15:16:46 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/autotrace/autotrace-0.31.1-r1.ebuild,v 1.12 2004/11/07 12:08:52 sekretarz Exp $ + +inherit eutils IUSE="png flash imagemagick" @@ -20,6 +22,14 @@ DEPEND=">=x11-libs/gtkDPS-0.3.3 flash? ( >=media-libs/ming-0.2a ) imagemagick? ( >=media-gfx/imagemagick-5.5.6-r1 )" +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${PN}-imagemagick.patch + autoreconf +} + src_compile() { local myconf="" use imagemagick || myconf="--without-magick" diff --git a/media-gfx/autotrace/files/autotrace-imagemagick.patch b/media-gfx/autotrace/files/autotrace-imagemagick.patch new file mode 100644 index 000000000000..bd33f2644f33 --- /dev/null +++ b/media-gfx/autotrace/files/autotrace-imagemagick.patch @@ -0,0 +1,17 @@ +diff -Naur autotrace-0.31.1.orig/configure.in autotrace-0.31.1/configure.in +--- autotrace-0.31.1.orig/configure.in 2002-11-08 18:49:23.000000000 +0100 ++++ autotrace-0.31.1/configure.in 2004-11-07 12:59:31.750331496 +0100 +@@ -79,11 +79,11 @@ + | sed -e 's/^[0-9]*.[0-9]*.\([0-9]*\)$/\1/'` + changequote([,])dnl + MAGICK_MAJOR_VERSION_CHECK=`expr $MAGICK_MAJOR_VERSION \>= 5` +- MAGICK_MINOR_VERSION_CHECK=`expr $MAGICK_MINOR_VERSION \>= 2` ++ MAGICK_MINOR_VERSION_CHECK=`expr $MAGICK_MINOR_VERSION \<= 2` + dnl I don't consider ImageMagick 6.x. + if test "$MAGICK_VERSION" = "5.2.0" \ + || test "$MAGICK_MAJOR_VERSION_CHECK" = 0 \ +- || test "$MAGICK_MINOR_VERSION_CHECK" = 0 ; then ++ && test "$MAGICK_MINOR_VERSION_CHECK" = 0 ; then + AC_MSG_RESULT(no($MAGICK_VERSION)) + AC_MSG_WARN([*** Version 5.2.1 or higher is required. ***]) + AC_MSG_WARN([*** ImageMagick input handler is disabled. ***]) |