2021-02-18 23:58:45 +01:00
|
|
|
#
|
2022-12-12 14:27:40 +01:00
|
|
|
# spec file for package php-imagick
|
2021-02-18 23:58:45 +01:00
|
|
|
#
|
2022-01-12 21:26:09 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2021-02-18 23:58:45 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define pkg_name imagick
|
2021-02-19 00:11:30 +01:00
|
|
|
|
|
|
|
%define flavor @BUILD_FLAVOR@%{nil}
|
2022-12-12 14:27:40 +01:00
|
|
|
%if "%{flavor}" == "" || (0%{?suse_version} >= 1550 && "%{flavor}" == "php7")
|
2021-02-19 00:11:30 +01:00
|
|
|
%define php_name php
|
|
|
|
ExclusiveArch: do-not-build
|
|
|
|
%else
|
|
|
|
%define php_name %{flavor}
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} <= 1500
|
|
|
|
%define php_extdir %(%{__php_config} --extension-dir)
|
|
|
|
%define php_cfgdir %{_sysconfdir}/%{php_name}/conf.d
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Name: %{php_name}-%{pkg_name}
|
2022-01-12 21:26:09 +01:00
|
|
|
Version: 3.7.0
|
2021-02-18 23:58:45 +01:00
|
|
|
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
|
Accepting request 901056 from home:munix9:branches:server:php:extensions
- 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
OBS-URL: https://build.opensuse.org/request/show/901056
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=6
2021-06-21 07:29:58 +02:00
|
|
|
Source1: php-%{pkg_name}-rpmlintrc
|
2021-11-10 12:47:57 +01:00
|
|
|
# SUSE: Make build reproduceable
|
2021-02-18 23:58:45 +01:00
|
|
|
Patch0: imagick-reproducible.patch
|
2024-01-27 22:02:09 +01:00
|
|
|
# PATCH-FIX-OPENSUSE - test expected to fail because of resource limits in policy.xml
|
|
|
|
Patch10: imagick-xfail-test014.patch
|
|
|
|
# PATCH-FIX-OPENSUSE - calculation of kurtosis and skewness was fixed in Imagick-7.1.1.24
|
|
|
|
Patch11: imagick-fix-test316.patch
|
2021-11-10 12:47:57 +01:00
|
|
|
BuildRequires: %{php_name}-devel >= 7.0.1
|
2021-02-18 23:58:45 +01:00
|
|
|
BuildRequires: ImageMagick-devel >= 6.5.3.10
|
|
|
|
BuildRequires: ghostscript-fonts-std
|
|
|
|
BuildRequires: re2c
|
|
|
|
Requires: php(api) = %{php_core_api}
|
|
|
|
Requires: php(zend-abi) = %{php_zend_api}
|
Accepting request 901056 from home:munix9:branches:server:php:extensions
- 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
OBS-URL: https://build.opensuse.org/request/show/901056
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=6
2021-06-21 07:29:58 +02:00
|
|
|
Conflicts: %{php_name}-gmagick
|
|
|
|
Provides: php-%{pkg_name} = %{version}
|
|
|
|
Obsoletes: php-%{pkg_name} < %{version}
|
2021-02-18 23:58:45 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
PHP extension to create, modify and obtain meta information of images using
|
Accepting request 901056 from home:munix9:branches:server:php:extensions
- 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
OBS-URL: https://build.opensuse.org/request/show/901056
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=6
2021-06-21 07:29:58 +02:00
|
|
|
the ImageMagick API.
|
2021-02-18 23:58:45 +01:00
|
|
|
|
|
|
|
%prep
|
2021-02-19 11:07:23 +01:00
|
|
|
%autosetup -n %{pkg_name}-%{version} -p1
|
Accepting request 901056 from home:munix9:branches:server:php:extensions
- 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
OBS-URL: https://build.opensuse.org/request/show/901056
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=6
2021-06-21 07:29:58 +02:00
|
|
|
|
|
|
|
# fix script-without-shebang/spurious-executable-perm
|
|
|
|
chmod 0644 ChangeLog LICENSE
|
2021-02-18 23:58:45 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags} -fvisibility=hidden"
|
2021-02-19 00:11:30 +01:00
|
|
|
%{__phpize}
|
Accepting request 901056 from home:munix9:branches:server:php:extensions
- 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
OBS-URL: https://build.opensuse.org/request/show/901056
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=6
2021-06-21 07:29:58 +02:00
|
|
|
%configure
|
2021-02-19 00:11:30 +01:00
|
|
|
%make_build
|
2021-02-18 23:58:45 +01:00
|
|
|
|
|
|
|
%check
|
Accepting request 901056 from home:munix9:branches:server:php:extensions
- 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
OBS-URL: https://build.opensuse.org/request/show/901056
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=6
2021-06-21 07:29:58 +02:00
|
|
|
%make_build PHP_EXECUTABLE=%{__php} NO_INTERACTION=1 test
|
2021-02-18 23:58:45 +01:00
|
|
|
|
|
|
|
%install
|
2021-02-19 00:11:30 +01:00
|
|
|
make install-modules INSTALL_ROOT=%{buildroot}
|
|
|
|
mkdir -p %{buildroot}%{php_cfgdir}
|
Accepting request 901056 from home:munix9:branches:server:php:extensions
- 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
OBS-URL: https://build.opensuse.org/request/show/901056
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=6
2021-06-21 07:29:58 +02:00
|
|
|
cat > %{buildroot}%{php_cfgdir}/%{pkg_name}.ini <<EOF
|
|
|
|
; comment out next line to disable %{pkg_name} extension in php
|
|
|
|
extension = %{pkg_name}.so
|
|
|
|
EOF
|
2021-02-18 23:58:45 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
Accepting request 901056 from home:munix9:branches:server:php:extensions
- 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
OBS-URL: https://build.opensuse.org/request/show/901056
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=6
2021-06-21 07:29:58 +02:00
|
|
|
%doc ChangeLog
|
2021-02-19 11:07:23 +01:00
|
|
|
%config(noreplace) %{php_cfgdir}/%{pkg_name}.ini
|
2021-02-19 00:11:30 +01:00
|
|
|
%{php_extdir}/%{pkg_name}.so
|
2021-02-18 23:58:45 +01:00
|
|
|
|
|
|
|
%changelog
|