Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package php-imagick for openSUSE:Factory checked in at 2021-06-21 20:35:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php-imagick (Old) and /work/SRC/openSUSE:Factory/.php-imagick.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php-imagick" Mon Jun 21 20:35:41 2021 rev:2 rq:901060 version:3.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/php-imagick/php-imagick.changes 2021-02-19 23:49:00.379583452 +0100 +++ /work/SRC/openSUSE:Factory/.php-imagick.new.2625/php-imagick.changes 2021-06-21 20:36:05.110654357 +0200 @@ -1,0 +2,59 @@ +Sun Jun 20 11:27:28 UTC 2021 - [email protected] + +- Upgrade to version 3.5.0 + - Fixed multiple parameter information issues found in 3.5.0RC1. + - ImageMagick 7 is still not widely available on systems. + So contrary to previous plans, ImageMagick 6 support will + continue for now. + But users are recommeded to use ImageMagick 7 if possible. + - Method names have been changed to not be all lower case. Both + method names and parameter information is built from the + Imagick*.stub.php files. + - Prevent accidental creation of zero dimension images. + ImageMagick doesn't prevent creation of zero dimension images, + but will give an error when that image is used. I don't think + this will affect any correctly program, but if it does, and + you need to re-enable zero dimension images, please open an + issue at https://phpimagick.com/issues + - Various pieces of work have been done to make GOMP not + segfault including: + * Call omp_pause_resource_all when available during shutdown. + * Added the 'imagick.shutdown_sleep_count' (default 10) and + 'imagick.set_single_thread' (default On). Both of these + exist to mitigate the segaults on shutdown. + + - Fixes: + * Correct version check to make RemoveAlphaChannel and + FlattenAlphaChannel be available when using Imagick with + ImageMagick version 6.7.8-x + * Imagick::morphology now no longer ignores channel parameter + + - Added: + * PHP 8.0 support. + * Location check for ImageMagick 7 for NixOS and Brew. + * Imagick::houghLineImage(int $width, int $height, float $threshold): bool {} + * Imagick::setImagePixelColor(int $x, int $y, ImagickPixel|string $color) + * Imagick::setImageMask(Imagick $clip_mask, int $pixelmask_type) + * Imagick::getImageMask(int $pixelmask_type) + * Imagick::VIRTUALPIXELMETHOD_DITHER + * Imagick::VIRTUALPIXELMETHOD_RANDOM + * Imagick::COMPOSITE_FREEZE + * Imagick::COMPOSITE_INTERPOLATE + * Imagick::COMPOSITE_NEGATE + * Imagick::COMPOSITE_REFLECT + * Imagick::COMPOSITE_SOFTBURN + * Imagick::COMPOSITE_SOFTDODGE + * Imagick::COMPOSITE_STAMP + * Imagick::COMPOSITE_RMSE + * Imagick::COMPRESSION_DWAA + * Imagick::COMPRESSION_DWAB + * Imagick::EVALUATE_INVERSE_LOG + * Imagick::COLORSPACE_DISPLAYP3 + * Imagick::COLORSPACE_ADOBE98 + * Imagick::COLORSPACE_PROPHOTO + * Imagick::COLORSPACE_JZAZBZ + * Imagick::DISTORTION_RIGID_AFFINE + * Imagick::DISTORTION_BARRELINVERSE + * Imagick::STATISTIC_ROOT_MEAN_SQUARE + +------------------------------------------------------------------- Old: ---- imagick-3.4.4.tgz imagick.ini New: ---- imagick-3.5.0.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php-imagick.spec ++++++ --- /var/tmp/diff_new_pack.4W6gQn/_old 2021-06-21 20:36:07.626657548 +0200 +++ /var/tmp/diff_new_pack.4W6gQn/_new 2021-06-21 20:36:07.630657552 +0200 @@ -31,57 +31,55 @@ %endif Name: %{php_name}-%{pkg_name} -Version: 3.4.4 +Version: 3.5.0 Release: 0 Summary: Wrapper to the ImageMagick library License: PHP-3.01 Group: Productivity/Networking/Web/Servers URL: https://pecl.php.net/package/imagick Source0: https://pecl.php.net/get/%{pkg_name}-%{version}.tgz -Source1: %{pkg_name}.ini -Source2: php-%{pkg_name}-rpmlintrc +Source1: php-%{pkg_name}-rpmlintrc Patch0: imagick-reproducible.patch BuildRequires: ImageMagick-devel >= 6.5.3.10 BuildRequires: ghostscript-fonts-std BuildRequires: %{php_name}-devel >= 7.0.1 BuildRequires: re2c -Conflicts: php7-gmagick -Provides: php-%{pkg_name} = %{version} -Obsoletes: php-%{pkg_name} < %{version} Requires: php(api) = %{php_core_api} Requires: php(zend-abi) = %{php_zend_api} +Conflicts: %{php_name}-gmagick +Provides: php-%{pkg_name} = %{version} +Obsoletes: php-%{pkg_name} < %{version} %description PHP extension to create, modify and obtain meta information of images using -the ImageMagick API +the ImageMagick API. %prep %autosetup -n %{pkg_name}-%{version} -p1 -# Ignore know failed test on OBS with timeout -rm tests/229_Tutorial_fxAnalyzeImage_case1.phpt + +# fix script-without-shebang/spurious-executable-perm +chmod 0644 ChangeLog LICENSE %build export CFLAGS="%{optflags} -fvisibility=hidden" %{__phpize} -%configure --with-%{pkg_name}=%{_usr} +%configure %make_build %check -%if 0%{?qemu_user_space_build} -export TEST_TIMEOUT=600 -%endif -%make_build PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test \ - || { for f in tests/*.out; do cat $f; echo '------'; done; exit 1; } +%make_build PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test %install make install-modules INSTALL_ROOT=%{buildroot} mkdir -p %{buildroot}%{php_cfgdir} -install --mode=0644 %{SOURCE1} %{buildroot}%{php_cfgdir}/%{pkg_name}.ini +cat > %{buildroot}%{php_cfgdir}/%{pkg_name}.ini <<EOF +; comment out next line to disable %{pkg_name} extension in php +extension = %{pkg_name}.so +EOF %files -%defattr(-,root,root,-) %license LICENSE -%doc ChangeLog CREDITS +%doc ChangeLog %config(noreplace) %{php_cfgdir}/%{pkg_name}.ini %{php_extdir}/%{pkg_name}.so ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.4W6gQn/_old 2021-06-21 20:36:07.662657593 +0200 +++ /var/tmp/diff_new_pack.4W6gQn/_new 2021-06-21 20:36:07.666657598 +0200 @@ -1,4 +1,4 @@ <multibuild> <package>php7</package> - <!--<package>php8</package>--> + <package>php8</package> </multibuild> ++++++ imagick-3.4.4.tgz -> imagick-3.5.0.tgz ++++++ ++++ 97082 lines of diff (skipped) ++++++ imagick-reproducible.patch ++++++ --- /var/tmp/diff_new_pack.4W6gQn/_old 2021-06-21 20:36:07.854657836 +0200 +++ /var/tmp/diff_new_pack.4W6gQn/_new 2021-06-21 20:36:07.854657836 +0200 @@ -2,7 +2,7 @@ =================================================================== --- imagick-3.4.3.orig/imagick.c +++ imagick-3.4.3/imagick.c -@@ -3698,10 +3698,11 @@ PHP_MINIT_FUNCTION(imagick) +@@ -3897,10 +3897,11 @@ PHP_MINIT_FUNCTION(imagick) #endif REGISTER_INI_ENTRIES(); @@ -15,7 +15,7 @@ return SUCCESS; } -@@ -3734,7 +3735,7 @@ PHP_MINFO_FUNCTION(imagick) +@@ -3933,7 +3934,7 @@ PHP_MINFO_FUNCTION(imagick) #else php_info_print_table_row(2, "imagick classes", "Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator"); #endif
