diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-01-31 17:58:09 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-01-31 17:58:09 +0100 |
commit | f935327960fa7eb19d8c4805a8a1b3f1c96f6b21 (patch) | |
tree | d173a2311c7f43a218df28dc6b54707783f41d62 | |
parent | 02f644aa362f8e3ebb975ba20ccfa738c8bbb3c9 (diff) |
php-pecl-gmagick: 2.0.1RC2 (php 7, beta)
-rw-r--r-- | REFLECTION-PHP7 | 773 | ||||
-rw-r--r-- | hald_8.png | bin | 0 -> 10646 bytes | |||
-rw-r--r-- | php-pecl-gmagick-php7.spec | 26 |
3 files changed, 787 insertions, 12 deletions
diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7 index 5465616..9435e07 100644 --- a/REFLECTION-PHP7 +++ b/REFLECTION-PHP7 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #56 gmagick version 2.0.1RC1 ] { +Extension [ <persistent> extension #59 gmagick version 2.0.1RC2 ] { - Classes [5] { Class [ <internal:gmagick> final class GmagickException extends Exception implements Throwable ] { @@ -117,7 +117,7 @@ Extension [ <persistent> extension #56 gmagick version 2.0.1RC1 ] { Class [ <internal:gmagick> class Gmagick ] { - - Constants [247] { + - Constants [249] { Constant [ integer COLOR_BLACK ] { 11 } Constant [ integer COLOR_BLUE ] { 12 } Constant [ integer COLOR_CYAN ] { 13 } @@ -214,6 +214,10 @@ Extension [ <persistent> extension #56 gmagick version 2.0.1RC1 ] { Constant [ integer COMPRESSION_LZW ] { 7 } Constant [ integer COMPRESSION_RLE ] { 8 } Constant [ integer COMPRESSION_ZIP ] { 9 } + Constant [ integer INTERLACE_NONE ] { 1 } + Constant [ integer INTERLACE_LINE ] { 2 } + Constant [ integer INTERLACE_PLANE ] { 3 } + Constant [ integer INTERLACE_PARTITION ] { 4 } Constant [ integer PAINT_POINT ] { 0 } Constant [ integer PAINT_REPLACE ] { 1 } Constant [ integer PAINT_FLOODFILL ] { 2 } @@ -334,9 +338,6 @@ Extension [ <persistent> extension #56 gmagick version 2.0.1RC1 ] { Constant [ integer RENDERINGINTENT_RELATIVE ] { 4 } Constant [ integer INTERLACE_UNDEFINED ] { 0 } Constant [ integer INTERLACE_NO ] { 1 } - Constant [ integer INTERLACE_LINE ] { 2 } - Constant [ integer INTERLACE_PLANE ] { 3 } - Constant [ integer INTERLACE_PARTITION ] { 4 } Constant [ integer FILLRULE_UNDEFINED ] { 0 } Constant [ integer FILLRULE_EVENODD ] { 1 } Constant [ integer FILLRULE_NONZERO ] { 2 } @@ -362,6 +363,7 @@ Extension [ <persistent> extension #56 gmagick version 2.0.1RC1 ] { Constant [ integer DISPOSE_BACKGROUND ] { 2 } Constant [ integer DISPOSE_PREVIOUS ] { 3 } Constant [ integer QUANTUM_DEPTH ] { 16 } + Constant [ integer QUANTUM ] { 131071 } Constant [ string VERSION_TXT ] { 1.3.23 } Constant [ integer VERSION_LIB ] { 1512449 } Constant [ integer VERSION_NUM ] { 1003023 } @@ -376,7 +378,7 @@ Extension [ <persistent> extension #56 gmagick version 2.0.1RC1 ] { - Properties [0] { } - - Methods [164] { + - Methods [209] { Method [ <internal:gmagick, ctor> public method __construct ] { - Parameters [1] { @@ -553,9 +555,11 @@ Extension [ <persistent> extension #56 gmagick version 2.0.1RC1 ] { Method [ <internal:gmagick> public method cropthumbnailimage ] { - - Parameters [2] { + - Parameters [4] { Parameter #0 [ <required> $width ] Parameter #1 [ <required> $height ] + Parameter #2 [ <optional> $fit ] + Parameter #3 [ <optional> $legacy ] } } @@ -1539,6 +1543,345 @@ Extension [ <persistent> extension #56 gmagick version 2.0.1RC1 ] { Parameter #0 [ <required> $filename ] } } + + Method [ <internal:gmagick> public method adaptivethresholdimage ] { + + - Parameters [3] { + Parameter #0 [ <required> $width ] + Parameter #1 [ <required> $height ] + Parameter #2 [ <required> $offset ] + } + } + + Method [ <internal:gmagick> public method affinetransformimage ] { + + - Parameters [1] { + Parameter #0 [ <required> GmagickDraw $GmagickDraw ] + } + } + + Method [ <internal:gmagick> public method averageimages ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method blackthresholdimage ] { + + - Parameters [1] { + Parameter #0 [ <required> $color ] + } + } + + Method [ <internal:gmagick> public method colordecisionlist ] { + + - Parameters [1] { + Parameter #0 [ <required> $antialias ] + } + } + + Method [ <internal:gmagick> public method clipimage ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method clippathimage ] { + + - Parameters [2] { + Parameter #0 [ <required> $pathname ] + Parameter #1 [ <required> $inside ] + } + } + + Method [ <internal:gmagick> public method colorfloodfillimage ] { + + - Parameters [5] { + Parameter #0 [ <required> $fill_color ] + Parameter #1 [ <required> $fuzz ] + Parameter #2 [ <required> $border_color ] + Parameter #3 [ <required> $y ] + Parameter #4 [ <required> $x ] + } + } + + Method [ <internal:gmagick> public method colorizeimage ] { + + - Parameters [2] { + Parameter #0 [ <required> $colorize_color ] + Parameter #1 [ <required> $opacity ] + } + } + + Method [ <internal:gmagick> public method compareimagechannels ] { + + - Parameters [3] { + Parameter #0 [ <required> Gmagick $Gmagick ] + Parameter #1 [ <required> $channel ] + Parameter #2 [ <required> $metric ] + } + } + + Method [ <internal:gmagick> public method compareimages ] { + + - Parameters [2] { + Parameter #0 [ <required> Gmagick $Gmagick ] + Parameter #1 [ <required> $metric ] + } + } + + Method [ <internal:gmagick> public method contrastimage ] { + + - Parameters [1] { + Parameter #0 [ <required> $sharpen ] + } + } + + Method [ <internal:gmagick> public method convolveimage ] { + + - Parameters [1] { + Parameter #0 [ <required> $kernel ] + } + } + + Method [ <internal:gmagick> public method extentimage ] { + + - Parameters [4] { + Parameter #0 [ <required> $width ] + Parameter #1 [ <required> $height ] + Parameter #2 [ <required> $x ] + Parameter #3 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method getimageattribute ] { + + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + + Method [ <internal:gmagick> public method getimagechannelextrema ] { + + - Parameters [1] { + Parameter #0 [ <required> $channel ] + } + } + + Method [ <internal:gmagick> public method getimagechannelmean ] { + + - Parameters [1] { + Parameter #0 [ <required> $channel ] + } + } + + Method [ <internal:gmagick> public method getimagecolormapcolor ] { + + - Parameters [1] { + Parameter #0 [ <required> $index ] + } + } + + Method [ <internal:gmagick> public method getimagegravity ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method getimagevirtualpixelmethod ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method haldclutimage ] { + + - Parameters [1] { + Parameter #0 [ <required> Gmagick $Gmagick ] + } + } + + Method [ <internal:gmagick> public method mattefloodfillimage ] { + + - Parameters [5] { + Parameter #0 [ <required> $alpha ] + Parameter #1 [ <required> $fuzz ] + Parameter #2 [ <required> $color ] + Parameter #3 [ <required> $x ] + Parameter #4 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method montageimage ] { + + - Parameters [5] { + Parameter #0 [ <required> GmagickDraw $GmagickDraw ] + Parameter #1 [ <required> $tile_geometry ] + Parameter #2 [ <required> $thumbnail_geometry ] + Parameter #3 [ <required> $montageMode ] + Parameter #4 [ <required> $frame ] + } + } + + Method [ <internal:gmagick> public method morphimages ] { + + - Parameters [1] { + Parameter #0 [ <required> $frames ] + } + } + + Method [ <internal:gmagick> public method mosaicimages ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method setimageattribute ] { + + - Parameters [2] { + Parameter #0 [ <required> $key ] + Parameter #1 [ <required> $value ] + } + } + + Method [ <internal:gmagick> public method setimagecolormapcolor ] { + + - Parameters [2] { + Parameter #0 [ <required> $index ] + Parameter #1 [ <required> $color ] + } + } + + Method [ <internal:gmagick> public method setimagegravity ] { + + - Parameters [1] { + Parameter #0 [ <required> $gravity ] + } + } + + Method [ <internal:gmagick> public method setimagemattecolor ] { + + - Parameters [1] { + Parameter #0 [ <required> $color ] + } + } + + Method [ <internal:gmagick> public method setimagevirtualpixelmethod ] { + + - Parameters [1] { + Parameter #0 [ <required> $virtual_pixel_method ] + } + } + + Method [ <internal:gmagick> public method shaveimage ] { + + - Parameters [2] { + Parameter #0 [ <required> $columns ] + Parameter #1 [ <required> $rows ] + } + } + + Method [ <internal:gmagick> public method steganoimage ] { + + - Parameters [2] { + Parameter #0 [ <required> Gmagick $Gmagick ] + Parameter #1 [ <required> $offset ] + } + } + + Method [ <internal:gmagick> public method stereoimage ] { + + - Parameters [1] { + Parameter #0 [ <required> Gmagick $Gmagick ] + } + } + + Method [ <internal:gmagick> public method waveimage ] { + + - Parameters [2] { + Parameter #0 [ <required> $amplitude ] + Parameter #1 [ <required> $waveLength ] + } + } + + Method [ <internal:gmagick> public method whitethresholdimage ] { + + - Parameters [1] { + Parameter #0 [ <required> $color ] + } + } + + Method [ <internal:gmagick> public method getimageboundingbox ] { + + - Parameters [1] { + Parameter #0 [ <required> $fuzz ] + } + } + + Method [ <internal:gmagick> public method getimagefuzz ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method getimagesavedtype ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method setdepth ] { + + - Parameters [1] { + Parameter #0 [ <required> $depth ] + } + } + + Method [ <internal:gmagick> public method setformat ] { + + - Parameters [1] { + Parameter #0 [ <required> $format ] + } + } + + Method [ <internal:gmagick> public method setimagefuzz ] { + + - Parameters [1] { + Parameter #0 [ <required> $fuzz ] + } + } + + Method [ <internal:gmagick> public method setimageoption ] { + + - Parameters [3] { + Parameter #0 [ <required> $format ] + Parameter #1 [ <required> $key ] + Parameter #2 [ <required> $value ] + } + } + + Method [ <internal:gmagick> public method setimagesavedtype ] { + + - Parameters [1] { + Parameter #0 [ <required> $type ] + } + } + + Method [ <internal:gmagick> public method setresolutionunits ] { + + - Parameters [2] { + Parameter #0 [ <required> $x_resolution ] + Parameter #1 [ <required> $y_resolution ] + } + } + + Method [ <internal:gmagick> public method writeimagefile ] { + + - Parameters [2] { + Parameter #0 [ <required> $handle ] + Parameter #1 [ <optional> $format ] + } + } } } @@ -1556,7 +1899,7 @@ Extension [ <persistent> extension #56 gmagick version 2.0.1RC1 ] { - Properties [0] { } - - Methods [49] { + - Methods [103] { Method [ <internal:gmagick> public method setstrokecolor ] { - Parameters [1] { @@ -1906,6 +2249,420 @@ Extension [ <persistent> extension #56 gmagick version 2.0.1RC1 ] { Parameter #0 [ <required> $dashArray ] } } + + Method [ <internal:gmagick> public method circle ] { + + - Parameters [4] { + Parameter #0 [ <required> $ox ] + Parameter #1 [ <required> $oy ] + Parameter #2 [ <required> $px ] + Parameter #3 [ <required> $py ] + } + } + + Method [ <internal:gmagick> public method getclippath ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method setclippath ] { + + - Parameters [1] { + Parameter #0 [ <required> $clipMask ] + } + } + + Method [ <internal:gmagick> public method getcliprule ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method setcliprule ] { + + - Parameters [1] { + Parameter #0 [ <required> $FILLRULE ] + } + } + + Method [ <internal:gmagick> public method getclipunits ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method setclipunits ] { + + - Parameters [1] { + Parameter #0 [ <required> $PATHUNITS ] + } + } + + Method [ <internal:gmagick> public method color ] { + + - Parameters [3] { + Parameter #0 [ <required> $x ] + Parameter #1 [ <required> $y ] + Parameter #2 [ <required> $PAINTMETHOD ] + } + } + + Method [ <internal:gmagick> public method comment ] { + + - Parameters [1] { + Parameter #0 [ <required> $comment ] + } + } + + Method [ <internal:gmagick> public method setfillpatternurl ] { + + - Parameters [1] { + Parameter #0 [ <required> $url ] + } + } + + Method [ <internal:gmagick> public method getfillrule ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method setfillrule ] { + + - Parameters [1] { + Parameter #0 [ <required> $FILLRULE ] + } + } + + Method [ <internal:gmagick> public method getfontfamily ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method setfontfamily ] { + + - Parameters [1] { + Parameter #0 [ <required> $fontfamily ] + } + } + + Method [ <internal:gmagick> public method getfontstretch ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method setfontstretch ] { + + - Parameters [1] { + Parameter #0 [ <required> $STRETCH ] + } + } + + Method [ <internal:gmagick> public method pathclose ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method pathcurvetoabsolute ] { + + - Parameters [6] { + Parameter #0 [ <required> $x1 ] + Parameter #1 [ <required> $y1 ] + Parameter #2 [ <required> $x2 ] + Parameter #3 [ <required> $y2 ] + Parameter #4 [ <required> $x ] + Parameter #5 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathcurvetorelative ] { + + - Parameters [6] { + Parameter #0 [ <required> $x1 ] + Parameter #1 [ <required> $y1 ] + Parameter #2 [ <required> $x2 ] + Parameter #3 [ <required> $y2 ] + Parameter #4 [ <required> $x ] + Parameter #5 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathcurvetoquadraticbezierabsolute ] { + + - Parameters [4] { + Parameter #0 [ <required> $x1 ] + Parameter #1 [ <required> $y1 ] + Parameter #2 [ <required> $x ] + Parameter #3 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathcurvetoquadraticbezierrelative ] { + + - Parameters [4] { + Parameter #0 [ <required> $x1 ] + Parameter #1 [ <required> $y1 ] + Parameter #2 [ <required> $x ] + Parameter #3 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathcurvetoquadraticbeziersmoothabsolute ] { + + - Parameters [2] { + Parameter #0 [ <required> $x ] + Parameter #1 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathcurvetoquadraticbeziersmoothrelative ] { + + - Parameters [2] { + Parameter #0 [ <required> $x ] + Parameter #1 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathcurvetosmoothabsolute ] { + + - Parameters [4] { + Parameter #0 [ <required> $x1 ] + Parameter #1 [ <required> $y1 ] + Parameter #2 [ <required> $x ] + Parameter #3 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathcurvetosmoothrelative ] { + + - Parameters [4] { + Parameter #0 [ <required> $x1 ] + Parameter #1 [ <required> $y1 ] + Parameter #2 [ <required> $x ] + Parameter #3 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathellipticarcabsolute ] { + + - Parameters [7] { + Parameter #0 [ <required> $rx ] + Parameter #1 [ <required> $ry ] + Parameter #2 [ <required> $xAxisRotation ] + Parameter #3 [ <required> $largeArc ] + Parameter #4 [ <required> $sweep ] + Parameter #5 [ <required> $x ] + Parameter #6 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathellipticarcrelative ] { + + - Parameters [7] { + Parameter #0 [ <required> $rx ] + Parameter #1 [ <required> $ry ] + Parameter #2 [ <required> $xAxisRotation ] + Parameter #3 [ <required> $largeArc ] + Parameter #4 [ <required> $sweep ] + Parameter #5 [ <required> $x ] + Parameter #6 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathfinish ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method pathlinetoabsolute ] { + + - Parameters [2] { + Parameter #0 [ <required> $x ] + Parameter #1 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathlinetorelative ] { + + - Parameters [2] { + Parameter #0 [ <required> $x ] + Parameter #1 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathlinetohorizontalabsolute ] { + + - Parameters [1] { + Parameter #0 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathlinetohorizontalrelative ] { + + - Parameters [1] { + Parameter #0 [ <required> $x ] + } + } + + Method [ <internal:gmagick> public method pathlinetoverticalabsolute ] { + + - Parameters [1] { + Parameter #0 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathlinetoverticalrelative ] { + + - Parameters [1] { + Parameter #0 [ <required> $x ] + } + } + + Method [ <internal:gmagick> public method pathmovetoabsolute ] { + + - Parameters [2] { + Parameter #0 [ <required> $x ] + Parameter #1 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathmovetorelative ] { + + - Parameters [2] { + Parameter #0 [ <required> $x ] + Parameter #1 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method pathstart ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method popclippath ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method popdefs ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method poppattern ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method pushclippath ] { + + - Parameters [1] { + Parameter #0 [ <required> $clipMask ] + } + } + + Method [ <internal:gmagick> public method pushdefs ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method pushpattern ] { + + - Parameters [5] { + Parameter #0 [ <required> $pattern_id ] + Parameter #1 [ <required> $x ] + Parameter #2 [ <required> $y ] + Parameter #3 [ <required> $width ] + Parameter #4 [ <required> $height ] + } + } + + Method [ <internal:gmagick> public method skewx ] { + + - Parameters [1] { + Parameter #0 [ <required> $degrees ] + } + } + + Method [ <internal:gmagick> public method skewy ] { + + - Parameters [1] { + Parameter #0 [ <required> $degrees ] + } + } + + Method [ <internal:gmagick> public method setstrokepatternurl ] { + + - Parameters [1] { + Parameter #0 [ <required> $url ] + } + } + + Method [ <internal:gmagick> public method gettextantialias ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method settextantialias ] { + + - Parameters [1] { + Parameter #0 [ <required> $antialias ] + } + } + + Method [ <internal:gmagick> public method gettextundercolor ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method settextundercolor ] { + + - Parameters [1] { + Parameter #0 [ <required> $color ] + } + } + + Method [ <internal:gmagick> public method translate ] { + + - Parameters [2] { + Parameter #0 [ <required> $x ] + Parameter #1 [ <required> $y ] + } + } + + Method [ <internal:gmagick> public method setviewbox ] { + + - Parameters [4] { + Parameter #0 [ <required> $sx ] + Parameter #1 [ <required> $sy ] + Parameter #2 [ <required> $ex ] + Parameter #3 [ <required> $ey ] + } + } + + Method [ <internal:gmagick> public method popGraphicContext ] { + + - Parameters [0] { + } + } + + Method [ <internal:gmagick> public method pushGraphicContext ] { + + - Parameters [0] { + } + } } } diff --git a/hald_8.png b/hald_8.png Binary files differnew file mode 100644 index 0000000..55d518e --- /dev/null +++ b/hald_8.png diff --git a/php-pecl-gmagick-php7.spec b/php-pecl-gmagick-php7.spec index 7e0c30a..a42e2e8 100644 --- a/php-pecl-gmagick-php7.spec +++ b/php-pecl-gmagick-php7.spec @@ -13,23 +13,26 @@ %{!?__php: %global __php %{_bindir}/php} %global pecl_name gmagick -%global prever RC1 +%global prever RC2 %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini Summary: Provides a wrapper to the GraphicsMagick library Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 2.0.1 -Release: 0.1.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.2.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Libraries URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +# https://github.com/vitoc/gmagick/issues/25 +Source1: https://raw.githubusercontent.com/vitoc/gmagick/master/tests/hald_8.png + BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-devel >= 7.0.1 -BuildRequires: GraphicsMagick-devel >= 1.3.20 +BuildRequires: GraphicsMagick-devel >= 1.3.17 Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -75,11 +78,20 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %setup -qc # Don't install/register tests -sed -e 's/role="test"/role="src"/' -i package.xml +sed -e 's/role="test"/role="src"/' \ + %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ + -i package.xml mv %{pecl_name}-%{version}%{?prever} NTS cd NTS +# https://github.com/vitoc/gmagick/issues/25 +cp %{SOURCE1} tests/hald_8.png + +# https://github.com/vitoc/gmagick/issues/26 +sed -e 's/ifdef GMAGICK_HAVE_SET_IMAGE_PAGE/if 1/' \ + -i php_gmagick.h gmagick_methods.c gmagick.c + extver=$(sed -n '/#define PHP_GMAGICK_VERSION/{s/.* "//;s/".*$//;p}' php_gmagick.h) if test "x${extver}" != "x%{version}%{?prever}"; then : Error: Upstream version is ${extver}, expecting %{version}%{?prever}. @@ -201,6 +213,12 @@ export TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" %changelog +* Sun Jan 31 2016 Remi Collet <remi@fedoraproject.org> - 2.0.1-0.2.RC2 +- Update to 2.0.1RC2 (php 7, beta) +- lower dependency on GraphicsMagick >= 1.3.17 +- open https://github.com/vitoc/gmagick/issues/25 +- open https://github.com/vitoc/gmagick/issues/26 + * Tue Dec 29 2015 Remi Collet <remi@fedoraproject.org> - 2.0.1-0.1.RC1 - Update to 2.0.1RC1 (php 7, beta) - lower dependency on GraphicsMagick >= 1.3.20 |