SHA256
1
0
forked from pool/php-imagick

4 Commits

Author SHA256 Message Date
a26cbfbd71 Accepting request 1273154 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1273154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-imagick?expand=0&rev=9
2025-04-28 14:18:05 +00:00
Johannes Weberhofer
805424be39 - Upgrade to version 3.8.0
* Fix signedness formatting mistakes
- Upgrade to version 3.8.0RC2
  * Corrected PHP_IMAGICK_EXTNUM
- Upgrade to 3.8.0RC1
  * Imagick::clutImage(...) now respects the images interpolate method.
  * You can now pass null to ImagickDraw::setStrokeDashArray() to reset
    the dash array.
  * Fixed memory leak in ImageKernel
  * Fixed compiling against PHP 8.4.
  * Fixed various reflection issues related to incorrect arginfo
  * function Imagick::clutImageWithInterpolate(Imagick $lookup_table,
    int $pixel_interpolate_method): bool {}
  * Constants Imagick::COMPRESSION_BC5, Imagick::COMPRESSION_BC7,
    Imagick::COMPRESSION_LERC, Imagick::DIRECTION_TOP_TO_BOTTOM,
    Imagick::ALPHACHANNEL_OFF_IF_OPAQUE
- Remove upstreamed patches
  - imagick-fix-test316.patch
  - imagick-php_strtolower-php84.patch

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=18
2025-04-28 12:58:07 +00:00
c176b26860 Accepting request 1225802 from server:php:extensions
OBS-URL: https://build.opensuse.org/request/show/1225802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-imagick?expand=0&rev=8
2024-11-22 22:53:03 +00:00
Johannes Weberhofer
3d8cc2dc11 - Fix removed "php_strtolower" for PHP 8.4 (https://github.com/Imagick/imagick/pull/690)
+ imagick-php_strtolower-php84.patch

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=16
2024-11-22 11:35:58 +00:00
5 changed files with 37 additions and 26 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e
size 360138

3
imagick-3.8.0.tgz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bda67461c854f20d6105782b769c524fc37388b75d4481d951644d2167ffeec6
size 363874

View File

@@ -1,19 +0,0 @@
diff -purN a/tests/316_Imagick_getImageKurtosis.phpt b/tests/316_Imagick_getImageKurtosis.phpt
--- a/tests/316_Imagick_getImageKurtosis.phpt 2022-01-11 16:23:47.000000000 +0100
+++ b/tests/316_Imagick_getImageKurtosis.phpt 2024-01-22 20:29:18.738097214 +0100
@@ -14,8 +14,13 @@ function getImageKurtosis() {
$imagick = new \Imagick(__DIR__ . '/Biter_500.jpg');
$values = $imagick->getImageKurtosis();
- check_value($values, "kurtosis", -0.9379261035010518);
- check_value($values, "skewness", 0.4562517200972045);
+ if (isVersionGreaterEqual('6.9.13-2', '7.1.1-24')) {
+ check_value($values, "kurtosis", -0.7092599567492);
+ check_value($values, "skewness", 0.56839010636614);
+ } else {
+ check_value($values, "kurtosis", -0.9379261035010518);
+ check_value($values, "skewness", 0.4562517200972045);
+ }
}
getImageKurtosis() ;

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Sun Apr 27 18:47:24 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
- Upgrade to version 3.8.0
* Fix signedness formatting mistakes
- Upgrade to version 3.8.0RC2
* Corrected PHP_IMAGICK_EXTNUM
- Upgrade to 3.8.0RC1
* Imagick::clutImage(...) now respects the images interpolate method.
* You can now pass null to ImagickDraw::setStrokeDashArray() to reset
the dash array.
* Fixed memory leak in ImageKernel
* Fixed compiling against PHP 8.4.
* Fixed various reflection issues related to incorrect arginfo
* function Imagick::clutImageWithInterpolate(Imagick $lookup_table,
int $pixel_interpolate_method): bool {}
* Constants Imagick::COMPRESSION_BC5, Imagick::COMPRESSION_BC7,
Imagick::COMPRESSION_LERC, Imagick::DIRECTION_TOP_TO_BOTTOM,
Imagick::ALPHACHANNEL_OFF_IF_OPAQUE
- Remove upstreamed patches
- imagick-fix-test316.patch
- imagick-php_strtolower-php84.patch
-------------------------------------------------------------------
Fri Nov 22 10:28:40 UTC 2024 - Manu Maier <mmanu84@outlook.de>
- Fix removed "php_strtolower" for PHP 8.4
+ imagick-php_strtolower-php84.patch
-------------------------------------------------------------------
Sun Jan 21 20:38:00 UTC 2024 - Arjen de Korte <suse+build@de-korte.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package php-imagick
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -31,7 +31,7 @@ ExclusiveArch: do-not-build
%endif
Name: %{php_name}-%{pkg_name}
Version: 3.7.0
Version: 3.8.0
Release: 0
Summary: Wrapper to the ImageMagick library
License: PHP-3.01
@@ -43,8 +43,6 @@ Source1: php-%{pkg_name}-rpmlintrc
Patch0: imagick-reproducible.patch
# 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
BuildRequires: %{php_name}-devel >= 7.0.1
BuildRequires: ImageMagick-devel >= 6.5.3.10
BuildRequires: ghostscript-fonts-std