summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2011-04-10 17:37:55 +0000
committerOle Markus With <olemarkus@gentoo.org>2011-04-10 17:37:55 +0000
commit495a18ba2ad7333599b6269377dcf0e07d5c65c4 (patch)
treec71335d20a825c98d5c3846345f50ce925d486fa /dev-php
parentx86 stable per bug 357573 (diff)
downloadgentoo-2-495a18ba2ad7333599b6269377dcf0e07d5c65c4.tar.gz
gentoo-2-495a18ba2ad7333599b6269377dcf0e07d5c65c4.tar.bz2
gentoo-2-495a18ba2ad7333599b6269377dcf0e07d5c65c4.zip
Moved from dev-php5/magickwand
(Portage version: 2.1.9.45/cvs/Linux x86_64)
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/magickwand/ChangeLog65
-rw-r--r--dev-php/magickwand/files/imagemagick-pre-6.3.8-compat.patch72
-rw-r--r--dev-php/magickwand/magickwand-1.0.8-r1.ebuild28
-rw-r--r--dev-php/magickwand/metadata.xml9
4 files changed, 174 insertions, 0 deletions
diff --git a/dev-php/magickwand/ChangeLog b/dev-php/magickwand/ChangeLog
new file mode 100644
index 000000000000..768f6552ed9b
--- /dev/null
+++ b/dev-php/magickwand/ChangeLog
@@ -0,0 +1,65 @@
+# ChangeLog for dev-php5/magickwand
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/magickwand/ChangeLog,v 1.1 2011/04/10 17:37:54 olemarkus Exp $
+
+*magickwand-1.0.8-r1 (03 Nov 2010)
+
+ 03 Nov 2010; Matti Bickel <mabi@gentoo.org> +magickwand-1.0.8-r1.ebuild:
+ create minor slotting compatible version
+
+*magickwand-1.0.8 (12 Apr 2010)
+
+ 12 Apr 2010; <mabi@gentoo.org> -magickwand-1.0.6.ebuild,
+ -magickwand-1.0.7.ebuild, +magickwand-1.0.8.ebuild:
+ version bump (bug #279836), older versions do not work with newer
+ imagemagick
+
+ 20 Mar 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ metadata.xml:
+ Removing anant as a maintainer since he was retired.
+
+ 12 Jun 2008; Christian Hoffmann <hoffie@gentoo.org>
+ files/imagemagick-pre-6.3.8-compat.patch:
+ updated patch by Martin von Gagern <Martin.vGagern@gmx.net> (bug 215671),
+ previous version missed some MagickWand-config calls. magickwand-1.0.7
+ should now really build with <imagemagick-6.3.8
+
+ 09 Jun 2008; Christian Hoffmann <hoffie@gentoo.org>
+ +files/imagemagick-pre-6.3.8-compat.patch, magickwand-1.0.7.ebuild:
+ adding patch by Martin von Gagern <Martin.vGagern@gmx.net> (bug 215671) to
+ allow for building against <imagemagick-6.3.8 again and adjust *DEPEND
+ accordingly
+
+ 08 Jun 2008; Christian Hoffmann <hoffie@gentoo.org>
+ magickwand-1.0.7.ebuild:
+ bump imagemagick dependency to 6.3.9.7, bug 215671
+
+*magickwand-1.0.7 (03 Jun 2008)
+
+ 03 Jun 2008; Luca Longinotti <chtekk@gentoo.org> -magickwand-1.0.4.ebuild,
+ -magickwand-1.0.5.ebuild, +magickwand-1.0.7.ebuild:
+ Version bump.
+
+*magickwand-1.0.6 (11 Feb 2008)
+
+ 11 Feb 2008; Raúl Porcel <armin76@gentoo.org> +magickwand-1.0.6.ebuild:
+ Version bump, from the php overlay
+
+*magickwand-1.0.5 (06 Oct 2007)
+
+ 06 Oct 2007; Anant Narayanan <anant@gentoo.org> +magickwand-1.0.5.ebuild:
+ Bump to 1.0.5
+
+ 27 Apr 2007; Steve Dibb <beandog@gentoo.org> magickwand-1.0.4.ebuild:
+ Add ~amd64, bug 175092
+
+ 17 Apr 2007; Anant Narayanan <anant@gentoo.org> magickwand-1.0.4.ebuild:
+ Fix typo in PHP_EXT_INI and add explicit RDEPEND.
+
+*magickwand-1.0.4 (17 Apr 2007)
+
+ 17 Apr 2007; Anant Narayanan <anant@gentoo.org> +metadata.xml,
+ +magickwand-1.0.4.ebuild:
+ New ebuild for the MagickWand PHP extension; thanks to Matthew Schultz, bug
+ #125593
+
diff --git a/dev-php/magickwand/files/imagemagick-pre-6.3.8-compat.patch b/dev-php/magickwand/files/imagemagick-pre-6.3.8-compat.patch
new file mode 100644
index 000000000000..b8634304ed15
--- /dev/null
+++ b/dev-php/magickwand/files/imagemagick-pre-6.3.8-compat.patch
@@ -0,0 +1,72 @@
+# allow usage of <imagemagick-6.3.8, bug 215671
+# patch by Martin von Gagern <Martin.vGagern@gmx.net>
+
+--- MagickWandForPHP-1.0.7-1/config.m4 2008-04-13 19:30:55.000000000 +0200
++++ MagickWandForPHP-1.0.7/config.m4 2008-06-10 11:34:24.000000000 +0200
+@@ -3,30 +3,30 @@
+
+ if test $PHP_MAGICKWAND != "no"; then
+
+- if test -r $PHP_MAGICKWAND/bin/MagickWand-config; then
++ if test -r $PHP_MAGICKWAND/bin/Wand-config; then
+ WAND_CONFIG_PATH=$PHP_MAGICKWAND/bin
+ else
+- AC_MSG_CHECKING(MagickWand-config in default path)
++ AC_MSG_CHECKING(Wand-config in default path)
+
+ for i in /usr/local /usr;
+ do
+- test -r $i/bin/MagickWand-config && WAND_CONFIG_PATH=$i/bin && break
++ test -r $i/bin/Wand-config && WAND_CONFIG_PATH=$i/bin && break
+ done
+
+ if test -z "$WAND_CONFIG_PATH"; then
+ for i in $PHP_MAGICKWAND /usr/local /usr;
+ do
+- test -r $i/MagickWand-config && WAND_CONFIG_PATH=$i && break
++ test -r $i/Wand-config && WAND_CONFIG_PATH=$i && break
+ done
+ fi
+ if test -z "$WAND_CONFIG_PATH"; then
+- AC_MSG_ERROR(Cannot locate configuration program MagickWand-config)
++ AC_MSG_ERROR(Cannot locate configuration program Wand-config)
+ else
+ AC_MSG_RESULT(found in $WAND_CONFIG_PATH)
+ fi
+ fi
+
+- IMAGEMAGICK_VERSION_ORIG=`$WAND_CONFIG_PATH/MagickWand-config --version`
++ IMAGEMAGICK_VERSION_ORIG=`$WAND_CONFIG_PATH/Wand-config --version`
+ IMAGEMAGICK_VERSION_MASK=`echo ${IMAGEMAGICK_VERSION_ORIG} | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
+
+
+@@ -34,7 +34,7 @@
+ if test "$IMAGEMAGICK_VERSION_MASK" -ge 6003005; then
+ AC_MSG_RESULT(found version $IMAGEMAGICK_VERSION_ORIG)
+ else
+- AC_MSG_ERROR(no. You need at least ImageMagick version 6.3.8 to use MagickWand for PHP.)
++ AC_MSG_ERROR(no. You need at least ImageMagick version 6.3.5 to use MagickWand for PHP.)
+ fi
+
+ AC_MSG_CHECKING(if PHP version is at least 4.1.3)
+@@ -63,16 +63,13 @@
+
+ AC_DEFINE(HAVE_MAGICKWAND,1,[ ])
+
+- PHP_ADD_LIBRARY_WITH_PATH(MagickCore, $WAND_DIR/lib, MAGICKWAND_SHARED_LIBADD)
+- PHP_ADD_LIBRARY_WITH_PATH(MagickWand, $WAND_DIR/lib, MAGICKWAND_SHARED_LIBADD)
+- PHP_ADD_INCLUDE($WAND_DIR/include/ImageMagick)
+- AC_MSG_CHECKING(MagickWand-config --cppflags)
+- WAND_CPPFLAGS="`$WAND_CONFIG_PATH/MagickWand-config --cppflags`"
++ AC_MSG_CHECKING(Wand-config --cppflags)
++ WAND_CPPFLAGS="`$WAND_CONFIG_PATH/Wand-config --cppflags`"
+ AC_MSG_RESULT($WAND_CPPFLAGS)
+ PHP_EVAL_INCLINE($WAND_CPPFLAGS)
+
+- AC_MSG_CHECKING(MagickWand-config --libs)
+- WAND_LIBS="`$WAND_CONFIG_PATH/MagickWand-config --libs`"
++ AC_MSG_CHECKING(Wand-config --libs)
++ WAND_LIBS="`$WAND_CONFIG_PATH/Wand-config --libs`"
+ AC_MSG_RESULT($WAND_LIBS)
+ PHP_EVAL_LIBLINE($WAND_LIBS, MAGICKWAND_SHARED_LIBADD)
+
diff --git a/dev-php/magickwand/magickwand-1.0.8-r1.ebuild b/dev-php/magickwand/magickwand-1.0.8-r1.ebuild
new file mode 100644
index 000000000000..4e18073f6cbb
--- /dev/null
+++ b/dev-php/magickwand/magickwand-1.0.8-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/magickwand/magickwand-1.0.8-r1.ebuild,v 1.1 2011/04/10 17:37:54 olemarkus Exp $
+
+EAPI="2"
+
+PHP_EXT_NAME="magickwand"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_INI="yes"
+DOCS="AUTHOR ChangeLog CREDITS README TODO"
+
+MY_PN="MagickWandForPHP"
+IUSE=""
+
+inherit php-ext-source-r2
+
+DESCRIPTION="A native PHP-extension to the ImageMagick MagickWand API."
+HOMEPAGE="http://www.magickwand.org/"
+SRC_URI="http://www.magickwand.org/download/php/${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="MagickWand"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=media-gfx/imagemagick-6.5.2.9"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
diff --git a/dev-php/magickwand/metadata.xml b/dev-php/magickwand/metadata.xml
new file mode 100644
index 000000000000..5c3dc463d770
--- /dev/null
+++ b/dev-php/magickwand/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>php</herd>
+ <longdescription>
+ This PHP5 extension provides
+ access to the ImageMagick MagickWand API.
+ </longdescription>
+</pkgmetadata>