Package: php-imagick / 3.4.4+php8.0+3.4.4-2+deb11u2

Metadata

Package Version Patches format
php-imagick 3.4.4+php8.0+3.4.4-2+deb11u2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Hardcode path to usrsharefontstruetypettf dejavuDeja.patch | (download)

imagick-3.4.4+php8.0/examples/captcha.php | 2 1 + 1 - 0 !
imagick-3.4.4/examples/captcha.php | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 
 Hardcode-path-to-usrsharefontstruetypettf-dejavuDejaVuSans.ttf-in-captcha.php


0002 Skip version check by default.patch | (download)

imagick-3.4.4+php8.0/imagick.c | 4 2 + 2 - 0 !
imagick-3.4.4/imagick.c | 4 2 + 2 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 skip version check by default


0003 no openmp threads.patch | (download)

imagick-3.4.4+php8.0/imagick.c | 2 2 + 0 - 0 !
imagick-3.4.4/imagick.c | 2 2 + 0 - 0 !
2 files changed, 4 insertions(+)

 limit the number of openmp threads used to 1

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1549942

The php-imagick 3.4.0 test suite fails with various segfaults when openmp
threads are in use.  Force the openmp thread count to 1 to avoid this
problem.

This patch is a workaround only; it is currently unknown if the root bug
lies in php-imagick or in imagemagick.

0004 Disable test 014 which fails due to system resources.patch | (download)

imagick-3.4.4+php8.0/tests/014-setresourcelimit.phpt | 2 2 + 0 - 0 !
imagick-3.4.4/tests/014-setresourcelimit.phpt | 2 2 + 0 - 0 !
2 files changed, 4 insertions(+)

 [patch] disable test 014 which fails due to system resource limit
 policy

0005 Disable remaining tests failing with 7.4.patch | (download)

imagick-3.4.4+php8.0/tests/034_Imagick_annotateImage_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/206_ImagickDraw_setFontSize_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/207_ImagickDraw_setFontFamily_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/208_ImagickDraw_setFontStretch_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/209_ImagickDraw_setFontWeight_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/210_ImagickDraw_setFontStyle_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/212_ImagickDraw_setGravity_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/222_ImagickDraw_setTextAlignment_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/223_ImagickDraw_setTextAntialias_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/224_ImagickDraw_setTextUnderColor_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/225_ImagickDraw_setTextDecoration_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/241_Tutorial_psychedelicFont_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/244_Tutorial_psychedelicFontGif_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/264_ImagickDraw_getTextDirection_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/266_ImagickDraw_getFontResolution_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4+php8.0/tests/279_ImagickDraw_setTextInterlineSpacing.phpt | 1 1 + 0 - 0 !
imagick-3.4.4+php8.0/tests/bug_72226.phpt | 5 4 + 1 - 0 !
imagick-3.4.4/tests/034_Imagick_annotateImage_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/177_ImagickDraw_composite_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/206_ImagickDraw_setFontSize_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/207_ImagickDraw_setFontFamily_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/208_ImagickDraw_setFontStretch_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/209_ImagickDraw_setFontWeight_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/210_ImagickDraw_setFontStyle_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/212_ImagickDraw_setGravity_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/222_ImagickDraw_setTextAlignment_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/223_ImagickDraw_setTextAntialias_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/224_ImagickDraw_setTextUnderColor_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/225_ImagickDraw_setTextDecoration_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/241_Tutorial_psychedelicFont_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/244_Tutorial_psychedelicFontGif_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/264_ImagickDraw_getTextDirection_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/266_ImagickDraw_getFontResolution_basic.phpt | 3 2 + 1 - 0 !
imagick-3.4.4/tests/279_ImagickDraw_setTextInterlineSpacing.phpt | 1 1 + 0 - 0 !
imagick-3.4.4/tests/bug_72226.phpt | 5 4 + 1 - 0 !
35 files changed, 72 insertions(+), 33 deletions(-)

 skip some tests still failing on php 7.4 on debian'ish systems

0006 SPL is always there.patch | (download)

imagick-3.4.4+php8.0/imagick.c | 8 0 + 8 - 0 !
imagick-3.4.4/imagick.c | 8 0 + 8 - 0 !
2 files changed, 16 deletions(-)

 spl is always there


0007 thread limit per request.patch | (download)

imagick-3.4.4+php8.0/imagick.c | 31 17 + 14 - 0 !
1 file changed, 17 insertions(+), 14 deletions(-)

 thread limit per request


0008 add patches for PHP 8 from upstream.patch | (download)

imagick-3.4.4+php8.0/imagick.c | 161 149 + 12 - 0 !
imagick-3.4.4+php8.0/imagick_class.c | 31 31 + 0 - 0 !
imagick-3.4.4+php8.0/imagick_helpers.c | 11 9 + 2 - 0 !
imagick-3.4.4+php8.0/imagickkernel_class.c | 8 8 + 0 - 0 !
imagick-3.4.4+php8.0/php_imagick_defs.h | 25 25 + 0 - 0 !
imagick-3.4.4+php8.0/tests/034_Imagick_annotateImage_basic.phpt | 4 4 + 0 - 0 !
imagick-3.4.4+php8.0/tests/047_Imagick_convolveImage_6.phpt | 2 1 + 1 - 0 !
imagick-3.4.4+php8.0/tests/097_Imagick_newPseudoImage_basic.phpt | 4 2 + 2 - 0 !
imagick-3.4.4+php8.0/tests/098_Imagick_orderedPosterizeImage_basic.phpt | 2 1 + 1 - 0 !
imagick-3.4.4+php8.0/tests/102_Imagick_radialBlurImage_basic.phpt | 6 3 + 3 - 0 !
imagick-3.4.4+php8.0/tests/112_Imagick_roundCorners_basic.phpt | 2 1 + 1 - 0 !
imagick-3.4.4+php8.0/tests/121_Imagick_setImageBias_basic.phpt | 2 1 + 1 - 0 !
imagick-3.4.4+php8.0/tests/123_Imagick_setImageClipMask_basic.phpt | 2 1 + 1 - 0 !
imagick-3.4.4+php8.0/tests/151_Imagick_subImageMatch_basic.phpt | 2 1 + 1 - 0 !
imagick-3.4.4+php8.0/tests/159_Imagick_transformImage_basic.phpt | 2 1 + 1 - 0 !
imagick-3.4.4+php8.0/tests/177_ImagickDraw_composite_basic.phpt | 4 4 + 0 - 0 !
imagick-3.4.4+php8.0/tests/180_ImagickDraw_matte_basic.phpt | 2 1 + 1 - 0 !
imagick-3.4.4+php8.0/tests/206_ImagickDraw_setFontSize_basic.phpt | 4 4 + 0 - 0 !
imagick-3.4.4+php8.0/tests/207_ImagickDraw_setFontFamily_basic.phpt | 3 3 + 0 - 0 !
imagick-3.4.4+php8.0/tests/208_ImagickDraw_setFontStretch_basic.phpt | 3 3 + 0 - 0 !
imagick-3.4.4+php8.0/tests/209_ImagickDraw_setFontWeight_basic.phpt | 3 3 + 0 - 0 !
imagick-3.4.4+php8.0/tests/210_ImagickDraw_setFontStyle_basic.phpt | 4 4 + 0 - 0 !
imagick-3.4.4+php8.0/tests/212_ImagickDraw_setGravity_basic.phpt | 3 3 + 0 - 0 !
imagick-3.4.4+php8.0/tests/222_ImagickDraw_setTextAlignment_basic.phpt | 3 3 + 0 - 0 !
imagick-3.4.4+php8.0/tests/223_ImagickDraw_setTextAntialias_basic.phpt | 3 3 + 0 - 0 !
imagick-3.4.4+php8.0/tests/224_ImagickDraw_setTextUnderColor_basic.phpt | 3 3 + 0 - 0 !
imagick-3.4.4+php8.0/tests/225_ImagickDraw_setTextDecoration_basic.phpt | 3 3 + 0 - 0 !
imagick-3.4.4+php8.0/tests/241_Tutorial_psychedelicFont_basic.phpt | 2 2 + 0 - 0 !
imagick-3.4.4+php8.0/tests/244_Tutorial_psychedelicFontGif_basic.phpt | 2 2 + 0 - 0 !
imagick-3.4.4+php8.0/tests/256_Imagick_exportImagePixels_basic.phpt | 2 1 + 1 - 0 !
imagick-3.4.4+php8.0/tests/264_ImagickDraw_getTextDirection_basic.phpt | 3 3 + 0 - 0 !
imagick-3.4.4+php8.0/tests/266_ImagickDraw_getFontResolution_basic.phpt | 4 3 + 1 - 0 !
imagick-3.4.4+php8.0/tests/274_imagick_setImageAlpha.phpt | 44 38 + 6 - 0 !
imagick-3.4.4+php8.0/tests/279_ImagickDraw_setTextInterlineSpacing.phpt | 2 2 + 0 - 0 !
imagick-3.4.4+php8.0/tests/281_ini_settings_default.phpt | 29 29 + 0 - 0 !
imagick-3.4.4+php8.0/tests/282_ini_settings_set_falsy_string.phpt | 41 41 + 0 - 0 !
imagick-3.4.4+php8.0/tests/283_ini_settings_set_falsy_zero.phpt | 33 33 + 0 - 0 !
imagick-3.4.4+php8.0/tests/284_ini_settings_set_truthy_number.phpt | 33 33 + 0 - 0 !
imagick-3.4.4+php8.0/tests/285_ini_settings_set_truthy_string.phpt | 33 33 + 0 - 0 !
imagick-3.4.4+php8.0/tests/bug20636.phpt | 2 1 + 1 - 0 !
imagick-3.4.4+php8.0/tests/functions.inc | 47 47 + 0 - 0 !
41 files changed, 543 insertions(+), 36 deletions(-)

 add patches for php 8 from upstream


0009 set single thread by default.patch | (download)

imagick-3.4.4+php8.0/imagick.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 set single thread by default


0010 simpler warning to avoid DivisionByZeroError excepti.patch | (download)

imagick-3.4.4+php8.0/tests/270_imagick_restoreErrorHandler.phpt | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 simpler warning to avoid divisionbyzeroerror exception in 8