From 34ed2a8884869547dce18ec69021620b5c2c13e1 Mon Sep 17 00:00:00 2001 From: sthen Date: Thu, 5 Sep 2013 12:04:44 +0000 Subject: [PATCH] update to pecl-imagick 3.1.0rc2 (release candidate used because no released version support php 5.4 yet) --- graphics/pecl-imagick/Makefile | 6 +++--- graphics/pecl-imagick/distinfo | 7 ++----- .../pecl-imagick/patches/patch-imagick_helpers_c | 15 --------------- graphics/pecl-imagick/pkg/PLIST | 6 +++++- 4 files changed, 10 insertions(+), 24 deletions(-) delete mode 100644 graphics/pecl-imagick/patches/patch-imagick_helpers_c diff --git a/graphics/pecl-imagick/Makefile b/graphics/pecl-imagick/Makefile index 5b927b79704..e3041d8f057 100644 --- a/graphics/pecl-imagick/Makefile +++ b/graphics/pecl-imagick/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.18 2013/08/12 04:11:20 robert Exp $ +# $OpenBSD: Makefile,v 1.19 2013/09/05 12:04:44 sthen Exp $ COMMENT= PHP support for the ImageMagick library -DISTNAME= imagick-2.3.0 -REVISION= 13 +DISTNAME= imagick-3.1.0rc2 +WRKDIST= ${WRKDIR}/imagick-3.1.0RC2 CATEGORIES= graphics # PHP diff --git a/graphics/pecl-imagick/distinfo b/graphics/pecl-imagick/distinfo index f68533636d0..7d5c45870ea 100644 --- a/graphics/pecl-imagick/distinfo +++ b/graphics/pecl-imagick/distinfo @@ -1,5 +1,2 @@ -MD5 (imagick-2.3.0.tgz) = FJOiGzfiCcxZdkrByioa+Q== -RMD160 (imagick-2.3.0.tgz) = hHUMn4P9wjQbHrQQ3ku8hw6cWWE= -SHA1 (imagick-2.3.0.tgz) = cI27bMUjnDJ7OyFUy43s9sAVCm0= -SHA256 (imagick-2.3.0.tgz) = 9lnyvAbniJ/FOmHtF+iIDbuLY0gvzb5Yww9JsBWMtQI= -SIZE (imagick-2.3.0.tgz) = 86976 +SHA256 (imagick-3.1.0rc2.tgz) = Dbt+XfYYRfjqtoUFcRue/NyYz6/5bcuYLH+JMd2eijE= +SIZE (imagick-3.1.0rc2.tgz) = 93264 diff --git a/graphics/pecl-imagick/patches/patch-imagick_helpers_c b/graphics/pecl-imagick/patches/patch-imagick_helpers_c deleted file mode 100644 index 4932163fb4c..00000000000 --- a/graphics/pecl-imagick/patches/patch-imagick_helpers_c +++ /dev/null @@ -1,15 +0,0 @@ -$OpenBSD: patch-imagick_helpers_c,v 1.1.1.1 2009/08/16 05:50:30 jolan Exp $ ---- imagick_helpers.c.orig Thu Jan 1 03:13:08 1970 -+++ imagick_helpers.c Sat Aug 15 18:24:09 2009 -@@ -907,9 +907,9 @@ void initialize_imagick_constants() - IMAGICK_REGISTER_CONST_LONG("EVALUATE_MULTIPLICATIVENOISE", MultiplicativeNoiseEvaluateOperator); - IMAGICK_REGISTER_CONST_LONG("EVALUATE_POISSONNOISE", PoissonNoiseEvaluateOperator); - IMAGICK_REGISTER_CONST_LONG("EVALUATE_UNIFORMNOISE", UniformNoiseEvaluateOperator); -- IMAGICK_REGISTER_CONST_LONG("EVALUATE_COSINE", CosineEvaluateOperator); -+ /* IMAGICK_REGISTER_CONST_LONG("EVALUATE_COSINE", CosineEvaluateOperator); - IMAGICK_REGISTER_CONST_LONG("EVALUATE_SINE", SineEvaluateOperator); -- IMAGICK_REGISTER_CONST_LONG("EVALUATE_ADDMODULUS", AddModulusEvaluateOperator); -+ IMAGICK_REGISTER_CONST_LONG("EVALUATE_ADDMODULUS", AddModulusEvaluateOperator);*/ - #endif - IMAGICK_REGISTER_CONST_LONG("COLORSPACE_UNDEFINED", UndefinedColorspace); - IMAGICK_REGISTER_CONST_LONG("COLORSPACE_RGB", RGBColorspace); diff --git a/graphics/pecl-imagick/pkg/PLIST b/graphics/pecl-imagick/pkg/PLIST index 2e3ddf4742c..a8691ca2413 100644 --- a/graphics/pecl-imagick/pkg/PLIST +++ b/graphics/pecl-imagick/pkg/PLIST @@ -1,4 +1,8 @@ -@comment $OpenBSD: PLIST,v 1.4 2012/08/24 08:29:27 ajacoutot Exp $ +@comment $OpenBSD: PLIST,v 1.5 2013/09/05 12:04:45 sthen Exp $ lib/php-${MODPHP_VERSION}/modules/${MODULE_NAME}.so share/examples/php-${MODPHP_VERSION}/${MODULE_NAME}.ini @sample ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/${MODULE_NAME}.ini +share/php-${MODPHP_VERSION}/include/ext/${MODULE_NAME}/ +share/php-${MODPHP_VERSION}/include/ext/${MODULE_NAME}/php_${MODULE_NAME}.h +share/php-${MODPHP_VERSION}/include/ext/${MODULE_NAME}/php_${MODULE_NAME}_defs.h +share/php-${MODPHP_VERSION}/include/ext/${MODULE_NAME}/php_${MODULE_NAME}_shared.h