summaryrefslogtreecommitdiffstats
path: root/upstream.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-06-25 17:36:38 +0200
committerRemi Collet <remi@remirepo.net>2021-06-25 17:36:38 +0200
commit325bde333f3afa9549ac6634cfac67e848c340dd (patch)
tree9e59b0be16b71a0ace77aef719a96c25c543ef99 /upstream.patch
parentc0b72563e8cb00baaff3721fb23b100c52fe1245 (diff)
test build with upstream patches for zip and imagick
Diffstat (limited to 'upstream.patch')
-rw-r--r--upstream.patch1274
1 files changed, 1274 insertions, 0 deletions
diff --git a/upstream.patch b/upstream.patch
new file mode 100644
index 0000000..57ff3e6
--- /dev/null
+++ b/upstream.patch
@@ -0,0 +1,1274 @@
+From 0d5f8f57faedcef683ab8246fb210cf9edba14ab Mon Sep 17 00:00:00 2001
+From: Laurent Laville <laurent.laville@gmail.com>
+Date: Thu, 24 Jun 2021 15:32:07 +0000
+Subject: [PATCH] partial fix for issue #78 about Zip extension
+
+---
+ data/reference/extension/zip/1/const.json | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/data/reference/extension/zip/1/const.json b/data/reference/extension/zip/1/const.json
+index 3496bb98..fe786b60 100644
+--- a/data/reference/extension/zip/1/const.json
++++ b/data/reference/extension/zip/1/const.json
+@@ -497,6 +497,18 @@
+ }
+ ]
+ },
++ {
++ "class_name": "ZipArchive",
++ "name": "CM_ZSTD",
++ "ext_min": "1.19.1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "libzip",
++ "constraint": ">=1.8.0"
++ }
++ ]
++ },
+ {
+ "class_name": "ZipArchive",
+ "name": "CM_XZ",
+From b318ed3da7265ed1ce33119a417268e773bb19cf Mon Sep 17 00:00:00 2001
+From: Laurent Laville <laurent.laville@gmail.com>
+Date: Fri, 25 Jun 2021 05:33:23 +0000
+Subject: [PATCH] fixing issue #79 about Imagick extension and support both API
+ ImageMagick 6 and 7
+
+---
+ .../extension/imagick/2/methods.json | 2 +-
+ data/reference/extension/imagick/3/const.json | 496 +++++++++++++++++-
+ .../extension/imagick/3/methods.json | 220 +++++++-
+ 3 files changed, 689 insertions(+), 29 deletions(-)
+
+diff --git a/data/reference/extension/imagick/2/methods.json b/data/reference/extension/imagick/2/methods.json
+index aa0f7309..f77dfb57 100644
+--- a/data/reference/extension/imagick/2/methods.json
++++ b/data/reference/extension/imagick/2/methods.json
+@@ -910,7 +910,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": "<=7.0.0"
++ "constraint": "<7.0.0"
+ }
+ ]
+ }
+diff --git a/data/reference/extension/imagick/3/const.json b/data/reference/extension/imagick/3/const.json
+index 0e0cd6f8..22fc9b49 100644
+--- a/data/reference/extension/imagick/3/const.json
++++ b/data/reference/extension/imagick/3/const.json
+@@ -4599,12 +4599,504 @@
+ "class_name": "Imagick",
+ "name": "VIRTUALPIXELMETHOD_DITHER",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+ "name": "VIRTUALPIXELMETHOD_RANDOM",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPOSITE_FREEZE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPOSITE_INTERPOLATE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPOSITE_NEGATE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPOSITE_REFLECT",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPOSITE_SOFTBURN",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPOSITE_SOFTDODGE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPOSITE_STAMP",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPOSITE_RMSE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPRESSION_DWAA",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPRESSION_DWAB",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "EVALUATE_INVERSE_LOG",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COLORSPACE_DISPLAYP3",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COLORSPACE_ADOBE98",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COLORSPACE_PROPHOTO",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COLORSPACE_JZAZBZ",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "DISTORTION_RIGID_AFFINE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "DISTORTION_BARRELINVERSE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "STATISTIC_ROOT_MEAN_SQUARE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "FILTER_HANN",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "FILTER_WELCH",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "FILTER_CUBIC_SPLINE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "IMGTYPE_GRAYSCALEALPHA",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "IMGTYPE_PALETTEALPHA",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "IMGTYPE_TRUECOLORALPHA",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "IMGTYPE_COLORSEPARATIONALPHA",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "IMGTYPE_PALETTEBILEVELALPHA",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPRESSION_ZSTD",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPRESSION_WEBP",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPRESSION_DWAA",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "COMPRESSION_DWAB",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "CHANNEL_READ_MASK",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "CHANNEL_WRITE_MASK",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "CHANNEL_META",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "CHANNEL_COMPOSITE_MASK",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "METRIC_STRUCTURAL_SIMILARITY_ERROR",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "METRIC_STRUCTURAL_DISSIMILARITY_ERROR",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "STATISTIC_CONTRAST",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "PIXELMASK_READ",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "PIXELMASK_WRITE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "PIXELMASK_COMPOSITE",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
+ }
+ ]
+diff --git a/data/reference/extension/imagick/3/methods.json b/data/reference/extension/imagick/3/methods.json
+index 4cfc760a..0b6e3333 100644
+--- a/data/reference/extension/imagick/3/methods.json
++++ b/data/reference/extension/imagick/3/methods.json
+@@ -45,7 +45,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">6.3.4"
++ "constraint": ">6.3.4 <7.0.0"
+ }
+ ]
+ },
+@@ -140,6 +140,18 @@
+ }
+ ]
+ },
++ {
++ "class_name": "Imagick",
++ "name": "setImageAlpha",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
+ {
+ "class_name": "Imagick",
+ "name": "setImageAlphaChannel",
+@@ -687,7 +699,13 @@
+ "class_name": "Imagick",
+ "name": "roundCorners",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -746,7 +764,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">6.2.8"
++ "constraint": ">6.2.8 <7.0.0"
+ }
+ ]
+ },
+@@ -796,7 +814,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">6.3.0"
++ "constraint": ">6.3.0 <7.0.0"
+ }
+ ]
+ },
+@@ -1908,7 +1926,13 @@
+ "class_name": "Imagick",
+ "name": "getImageSize",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -2049,13 +2073,25 @@
+ "class_name": "Imagick",
+ "name": "setImageIndex",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+ "name": "getImageIndex",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -2488,7 +2524,13 @@
+ "class_name": "Imagick",
+ "name": "setImageAttribute",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -2579,7 +2621,13 @@
+ "class_name": "Imagick",
+ "name": "setImageMatteColor",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -3053,7 +3101,13 @@
+ "class_name": "Imagick",
+ "name": "colorFloodfillImage",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -3446,7 +3500,13 @@
+ "class_name": "Imagick",
+ "name": "getImageChannelExtrema",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -3556,7 +3616,13 @@
+ "class_name": "Imagick",
+ "name": "getImageExtrema",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -3660,13 +3726,25 @@
+ "class_name": "Imagick",
+ "name": "getImageMatteColor",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+ "name": "getImageMatte",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -3957,13 +4035,25 @@
+ "class_name": "Imagick",
+ "name": "mapImage",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+ "name": "matteFloodfillImage",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -3994,13 +4084,25 @@
+ "class_name": "Imagick",
+ "name": "paintOpaqueImage",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+ "name": "paintTransparentImage",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -4135,13 +4237,7 @@
+ "name": "setimagebiasquantum",
+ "ext_min": "3.3.0RC1",
+ "ext_max": "3.4.4",
+- "php_min": "5.1.3",
+- "dependencies": [
+- {
+- "name": "imagick",
+- "constraint": "<7.0.0"
+- }
+- ]
++ "php_min": "5.1.3"
+ },
+ {
+ "class_name": "Imagick",
+@@ -5151,7 +5247,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">6.8.0"
++ "constraint": ">6.8.0 <7.0.0"
+ }
+ ]
+ },
+@@ -7603,5 +7699,77 @@
+ "constraint": ">6.8.6"
+ }
+ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "houghLineImage",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "setImagePixelColor",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "setImageMask",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "getImageMask",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "identifyImageType",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "alpha",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
+ }
+ ]
+From 9e6fb71d99778f4c7f5c45c256f19a2633484301 Mon Sep 17 00:00:00 2001
+From: Laurent Laville <laurent.laville@gmail.com>
+Date: Fri, 25 Jun 2021 07:31:43 +0000
+Subject: [PATCH] should fix the latest 3 failures in issue #79 with commit
+ b318ed3
+
+---
+ data/reference/extension/imagick/3/const.json | 12 ++++++++++++
+ data/reference/extension/imagick/3/methods.json | 6 +++---
+ 2 files changed, 15 insertions(+), 3 deletions(-)
+
+diff --git a/data/reference/extension/imagick/3/const.json b/data/reference/extension/imagick/3/const.json
+index 22fc9b49..9c42fdf7 100644
+--- a/data/reference/extension/imagick/3/const.json
++++ b/data/reference/extension/imagick/3/const.json
+@@ -5098,5 +5098,17 @@
+ "constraint": ">=7.0.0"
+ }
+ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "INTERPOLATE_NEAREST_PIXEL",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
+ }
+ ]
+diff --git a/data/reference/extension/imagick/3/methods.json b/data/reference/extension/imagick/3/methods.json
+index 0b6e3333..8233f3b7 100644
+--- a/data/reference/extension/imagick/3/methods.json
++++ b/data/reference/extension/imagick/3/methods.json
+@@ -7447,8 +7447,8 @@
+ },
+ {
+ "class_name": "Imagick",
+- "name": "setimagechannelmask",
+- "ext_min": "3.4.0RC1",
++ "name": "setImageChannelMask",
++ "ext_min": "3.5.0RC1",
+ "php_min": "5.4.0",
+ "dependencies": [
+ {
+@@ -7761,7 +7761,7 @@
+ ]
+ },
+ {
+- "class_name": "Imagick",
++ "class_name": "ImagickDraw",
+ "name": "alpha",
+ "ext_min": "3.5.0RC1",
+ "php_min": "5.4.0",
+From 62643e3e2e8ee50b5e5d5bb551c015a48c7cb4fd Mon Sep 17 00:00:00 2001
+From: Laurent Laville <laurent.laville@gmail.com>
+Date: Fri, 25 Jun 2021 15:16:51 +0000
+Subject: [PATCH] still failures about constants on IM7 API in issue #79
+
+---
+ data/reference/extension/imagick/3/const.json | 128 ++++++++----------
+ 1 file changed, 55 insertions(+), 73 deletions(-)
+
+diff --git a/data/reference/extension/imagick/3/const.json b/data/reference/extension/imagick/3/const.json
+index 9c42fdf7..e3ef6ac0 100644
+--- a/data/reference/extension/imagick/3/const.json
++++ b/data/reference/extension/imagick/3/const.json
+@@ -225,13 +225,7 @@
+ "class_name": "Imagick",
+ "name": "COMPOSITE_COPYOPACITY",
+ "ext_min": "3.4.0",
+- "php_min": "5.4.0",
+- "dependencies": [
+- {
+- "name": "imagick",
+- "constraint": "<7.0.0"
+- }
+- ]
++ "php_min": "5.4.0"
+ },
+ {
+ "class_name": "Imagick",
+@@ -1041,13 +1035,7 @@
+ "class_name": "Imagick",
+ "name": "IMGTYPE_GRAYSCALEMATTE",
+ "ext_min": "3.4.0",
+- "php_min": "5.4.0",
+- "dependencies": [
+- {
+- "name": "imagick",
+- "constraint": "<7.0.0"
+- }
+- ]
++ "php_min": "5.4.0"
+ },
+ {
+ "class_name": "Imagick",
+@@ -1059,13 +1047,7 @@
+ "class_name": "Imagick",
+ "name": "IMGTYPE_PALETTEMATTE",
+ "ext_min": "3.4.0",
+- "php_min": "5.4.0",
+- "dependencies": [
+- {
+- "name": "imagick",
+- "constraint": "<7.0.0"
+- }
+- ]
++ "php_min": "5.4.0"
+ },
+ {
+ "class_name": "Imagick",
+@@ -1077,13 +1059,7 @@
+ "class_name": "Imagick",
+ "name": "IMGTYPE_TRUECOLORMATTE",
+ "ext_min": "3.4.0",
+- "php_min": "5.4.0",
+- "dependencies": [
+- {
+- "name": "imagick",
+- "constraint": "<7.0.0"
+- }
+- ]
++ "php_min": "5.4.0"
+ },
+ {
+ "class_name": "Imagick",
+@@ -1095,13 +1071,7 @@
+ "class_name": "Imagick",
+ "name": "IMGTYPE_COLORSEPARATIONMATTE",
+ "ext_min": "3.4.0",
+- "php_min": "5.4.0",
+- "dependencies": [
+- {
+- "name": "imagick",
+- "constraint": "<7.0.0"
+- }
+- ]
++ "php_min": "5.4.0"
+ },
+ {
+ "class_name": "Imagick",
+@@ -1113,13 +1083,7 @@
+ "class_name": "Imagick",
+ "name": "IMGTYPE_PALETTEBILEVELMATTE",
+ "ext_min": "3.4.0",
+- "php_min": "5.4.0",
+- "dependencies": [
+- {
+- "name": "imagick",
+- "constraint": "<7.0.0"
+- }
+- ]
++ "php_min": "5.4.0"
+ },
+ {
+ "class_name": "Imagick",
+@@ -1815,13 +1779,7 @@
+ "class_name": "Imagick",
+ "name": "METRIC_MEANERRORPERPIXELMETRIC",
+ "ext_min": "3.4.0",
+- "php_min": "5.4.0",
+- "dependencies": [
+- {
+- "name": "imagick",
+- "constraint": "<7.0.0"
+- }
+- ]
++ "php_min": "5.4.0"
+ },
+ {
+ "class_name": "Imagick",
+@@ -1839,13 +1797,7 @@
+ "class_name": "Imagick",
+ "name": "METRIC_PEAKSIGNALTONOISERATIO",
+ "ext_min": "3.4.0",
+- "php_min": "5.4.0",
+- "dependencies": [
+- {
+- "name": "imagick",
+- "constraint": "<7.0.0"
+- }
+- ]
++ "php_min": "5.4.0"
+ },
+ {
+ "class_name": "Imagick",
+@@ -2355,13 +2307,7 @@
+ "class_name": "Imagick",
+ "name": "COLORSPACE_REC601LUMA",
+ "ext_min": "3.4.0",
+- "php_min": "5.4.0",
+- "dependencies": [
+- {
+- "name": "imagick",
+- "constraint": "<7.0.0"
+- }
+- ]
++ "php_min": "5.4.0"
+ },
+ {
+ "class_name": "Imagick",
+@@ -3667,7 +3613,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">6.3.6"
++ "constraint": ">6.3.6 <7.0.0"
+ }
+ ]
+ },
+@@ -3679,7 +3625,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">6.3.6"
++ "constraint": ">6.3.6 <7.0.0"
+ }
+ ]
+ },
+@@ -3691,7 +3637,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">6.3.6"
++ "constraint": ">6.3.6 <7.0.0"
+ }
+ ]
+ },
+@@ -3745,7 +3691,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">6.4.5"
++ "constraint": ">6.4.5 <7.0.0"
+ }
+ ]
+ },
+@@ -3781,7 +3727,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">6.4.5"
++ "constraint": ">6.4.5 <7.0.0"
+ }
+ ]
+ },
+@@ -3949,7 +3895,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">=6.5.3"
++ "constraint": ">=6.5.3 <7.0.0"
+ }
+ ]
+ },
+@@ -3961,7 +3907,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">=6.5.3"
++ "constraint": ">=6.5.3 <7.0.0"
+ }
+ ]
+ },
+@@ -3973,7 +3919,7 @@
+ "dependencies": [
+ {
+ "name": "imagick",
+- "constraint": ">=6.5.3"
++ "constraint": ">=6.5.3 <7.0.0"
+ }
+ ]
+ },
+@@ -3993,7 +3939,13 @@
+ "class_name": "Imagick",
+ "name": "ALPHACHANNEL_REMOVE",
+ "ext_min": "3.2.0b2",
+- "php_min": "5.1.3"
++ "php_min": "5.1.3",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -4575,7 +4527,13 @@
+ "class_name": "Imagick",
+ "name": "PIXELSTORAGE_INTEGER",
+ "ext_min": "3.5.0RC1",
+- "php_min": "5.4.0"
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": "<7.0.0"
++ }
++ ]
+ },
+ {
+ "class_name": "Imagick",
+@@ -5110,5 +5068,29 @@
+ "constraint": ">=7.0.0"
+ }
+ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "ALPHACHANNEL_ON",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
++ },
++ {
++ "class_name": "Imagick",
++ "name": "ALPHACHANNEL_OFF",
++ "ext_min": "3.5.0RC1",
++ "php_min": "5.4.0",
++ "dependencies": [
++ {
++ "name": "imagick",
++ "constraint": ">=7.0.0"
++ }
++ ]
+ }
+ ]