Package: php-imagick / 3.8.0-3

Metadata

Package Version Patches format
php-imagick 3.8.0-3 3.0 (quilt)

Patch series

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

imagick-3.8.0/examples/captcha.php | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

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


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

imagick-3.8.0/imagick.c | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 skip version check by default


0003 no openmp threads.patch | (download)

imagick-3.8.0/imagick.c | 2 2 + 0 - 0 !
1 file changed, 2 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.8.0/tests/014-setresourcelimit.phpt | 2 2 + 0 - 0 !
1 file changed, 2 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.8.0/tests/034_Imagick_annotateImage_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/177_ImagickDraw_composite_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/206_ImagickDraw_setFontSize_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/207_ImagickDraw_setFontFamily_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/208_ImagickDraw_setFontStretch_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/209_ImagickDraw_setFontWeight_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/210_ImagickDraw_setFontStyle_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/212_ImagickDraw_setGravity_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/222_ImagickDraw_setTextAlignment_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/223_ImagickDraw_setTextAntialias_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/224_ImagickDraw_setTextUnderColor_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/225_ImagickDraw_setTextDecoration_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/241_Tutorial_psychedelicFont_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/244_Tutorial_psychedelicFontGif_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/264_ImagickDraw_getTextDirection_basic.phpt | 1 1 + 0 - 0 !
imagick-3.8.0/tests/266_ImagickDraw_getFontResolution_basic.phpt | 3 2 + 1 - 0 !
imagick-3.8.0/tests/279_ImagickDraw_setTextInterlineSpacing.phpt | 1 1 + 0 - 0 !
imagick-3.8.0/tests/bug_72226.phpt | 5 4 + 1 - 0 !
18 files changed, 36 insertions(+), 16 deletions(-)

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

0006 Disable test that fails with PHPUnit Runner Exceptio.patch | (download)

imagick-3.8.0/tests/bug81235.phpt | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 disable test that fails with phpunit\runner\exception: no phpt
 expectation


0007 Drop tests currently failing with PHPUnit 11.patch | (download)

imagick-3.8.0/tests/005_bestfit.phpt | 21 0 + 21 - 0 !
imagick-3.8.0/tests/006_cropthumbnail.phpt | 69 0 + 69 - 0 !
imagick-3.8.0/tests/008_newpseudoimage.phpt | 54 0 + 54 - 0 !
imagick-3.8.0/tests/010_importimagepixels.phpt | 48 0 + 48 - 0 !
imagick-3.8.0/tests/012-clone-separation.phpt | 25 0 + 25 - 0 !
imagick-3.8.0/tests/018-clone-length.phpt | 34 0 + 34 - 0 !
imagick-3.8.0/tests/020-pixeliterator.phpt | 103 0 + 103 - 0 !
imagick-3.8.0/tests/118_Imagick_setImageArtifact_basic.phpt | 45 0 + 45 - 0 !
imagick-3.8.0/tests/276_Imagick_artifacts.phpt | 27 0 + 27 - 0 !
imagick-3.8.0/tests/288_imagick_prevent_zero_size_images.phpt | 30 0 + 30 - 0 !
imagick-3.8.0/tests/bug21229.phpt | 41 0 + 41 - 0 !
imagick-3.8.0/tests/bug64015.phpt | 29 0 + 29 - 0 !
12 files changed, 526 deletions(-)

 drop tests currently failing with phpunit 11


0008 Void expectation is not allowed with PHPUnit 9.patch | (download)

imagick-3.8.0/tests/bug_72226.phpt | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 void expectation is not allowed with phpunit 9

Bug-Debian: https://bugs.debian.org/977824

0009 Remove ispixelssimilar test.patch | (download)

imagick-3.8.0/tests/024-ispixelsimilar.phpt | 57 0 + 57 - 0 !
1 file changed, 57 deletions(-)

 remove ispixelssimilar test

This test may fail depending of imagemagick version. Remove it