Projects
home:rottame:vhosts-ng:php71
php7-imagick
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
php7-imagick.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Sep 4 08:30:41 UTC 2024 - Angelo Grossini <angelo@intercom.it> + +- pass tests on php 7.1 - leap 15.6 + +------------------------------------------------------------------- Wed Aug 16 09:12:11 UTC 2023 - Angelo Grossini <rottame@intercom.it> - vhng versioning
View file
php7-imagick.spec
Changed
@@ -26,6 +26,7 @@ Source0: https://pecl.php.net/get/%{pkg_name}-%{version}.tgz Source1: %{pkg_name}.ini Patch0: imagick-reproducible.patch +Patch1: php71-tests.patch BuildRequires: ImageMagick-devel >= 6.5.3.10 BuildRequires: ghostscript-fonts-std BuildRequires: php7-devel >= 7.0.1 @@ -49,6 +50,11 @@ %prep %setup -q -n %{pkg_name}-%{version} %patch0 -p1 +%if "%{php_vhng_branch}" == "7.1" +%if 0%{sle_version} == 150600 && 0%{?is_opensuse} +%patch1 -p1 +%endif +%endif mkdir %{name} # Ignore know failed test on OBS with timeout rm tests/229_Tutorial_fxAnalyzeImage_case1.phpt
View file
php71-tests.patch
Added
@@ -0,0 +1,262 @@ +diff -ruN imagick-3.7.0.orig/tests/015-imagickdrawsetresolution.phpt imagick-3.7.0/tests/015-imagickdrawsetresolution.phpt +--- imagick-3.7.0.orig/tests/015-imagickdrawsetresolution.phpt 2024-09-04 07:29:46.848242559 +0000 ++++ imagick-3.7.0/tests/015-imagickdrawsetresolution.phpt 2024-09-04 08:10:57.640334256 +0000 +@@ -51,6 +51,8 @@ + + ?> + --EXPECT-- ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories + Small font _is_ smaller than big font. + Two lines are 2 times one line. + Two lines are 2 times one line. +diff -ruN imagick-3.7.0.orig/tests/016-static-methods.phpt imagick-3.7.0/tests/016-static-methods.phpt +--- imagick-3.7.0.orig/tests/016-static-methods.phpt 2024-09-04 07:29:46.855242521 +0000 ++++ imagick-3.7.0/tests/016-static-methods.phpt 2024-09-04 08:13:40.642615679 +0000 +@@ -19,6 +19,8 @@ + --EXPECT-- + array + array ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories + array + array +-success +\ No newline at end of file ++success +diff -ruN imagick-3.7.0.orig/tests/031_Imagick_affineTransformImage_basic.phpt imagick-3.7.0/tests/031_Imagick_affineTransformImage_basic.phpt +--- imagick-3.7.0.orig/tests/031_Imagick_affineTransformImage_basic.phpt 2024-09-04 07:29:46.861242488 +0000 ++++ imagick-3.7.0/tests/031_Imagick_affineTransformImage_basic.phpt 2024-09-04 08:11:10.968276716 +0000 +@@ -136,6 +136,8 @@ + if (file_exists($f)) unlink($f); + ?> + --EXPECTF-- ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories + Checking white + Stats checked + Checking black +diff -ruN imagick-3.7.0.orig/tests/034_Imagick_annotateImage_basic.phpt imagick-3.7.0/tests/034_Imagick_annotateImage_basic.phpt +--- imagick-3.7.0.orig/tests/034_Imagick_annotateImage_basic.phpt 2024-09-04 07:29:46.866242459 +0000 ++++ imagick-3.7.0/tests/034_Imagick_annotateImage_basic.phpt 2024-09-04 08:11:18.660243398 +0000 +@@ -38,4 +38,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/177_ImagickDraw_composite_basic.phpt imagick-3.7.0/tests/177_ImagickDraw_composite_basic.phpt +--- imagick-3.7.0.orig/tests/177_ImagickDraw_composite_basic.phpt 2024-09-04 07:29:46.873242421 +0000 ++++ imagick-3.7.0/tests/177_ImagickDraw_composite_basic.phpt 2024-09-04 08:11:22.905225003 +0000 +@@ -58,4 +58,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/206_ImagickDraw_setFontSize_basic.phpt imagick-3.7.0/tests/206_ImagickDraw_setFontSize_basic.phpt +--- imagick-3.7.0.orig/tests/206_ImagickDraw_setFontSize_basic.phpt 2024-09-04 07:29:46.877242399 +0000 ++++ imagick-3.7.0/tests/206_ImagickDraw_setFontSize_basic.phpt 2024-09-04 08:11:27.118206711 +0000 +@@ -45,4 +45,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/207_ImagickDraw_setFontFamily_basic.phpt imagick-3.7.0/tests/207_ImagickDraw_setFontFamily_basic.phpt +--- imagick-3.7.0.orig/tests/207_ImagickDraw_setFontFamily_basic.phpt 2024-09-04 07:29:46.880242382 +0000 ++++ imagick-3.7.0/tests/207_ImagickDraw_setFontFamily_basic.phpt 2024-09-04 08:11:31.145189204 +0000 +@@ -55,4 +55,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/208_ImagickDraw_setFontStretch_basic.phpt imagick-3.7.0/tests/208_ImagickDraw_setFontStretch_basic.phpt +--- imagick-3.7.0.orig/tests/208_ImagickDraw_setFontStretch_basic.phpt 2024-09-04 07:29:46.883242365 +0000 ++++ imagick-3.7.0/tests/208_ImagickDraw_setFontStretch_basic.phpt 2024-09-04 08:11:41.682143269 +0000 +@@ -46,4 +46,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/209_ImagickDraw_setFontWeight_basic.phpt imagick-3.7.0/tests/209_ImagickDraw_setFontWeight_basic.phpt +--- imagick-3.7.0.orig/tests/209_ImagickDraw_setFontWeight_basic.phpt 2024-09-04 07:29:46.886242350 +0000 ++++ imagick-3.7.0/tests/209_ImagickDraw_setFontWeight_basic.phpt 2024-09-04 08:11:46.130123836 +0000 +@@ -51,4 +51,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/210_ImagickDraw_setFontStyle_basic.phpt imagick-3.7.0/tests/210_ImagickDraw_setFontStyle_basic.phpt +--- imagick-3.7.0.orig/tests/210_ImagickDraw_setFontStyle_basic.phpt 2024-09-04 07:29:46.888242338 +0000 ++++ imagick-3.7.0/tests/210_ImagickDraw_setFontStyle_basic.phpt 2024-09-04 08:11:50.253105803 +0000 +@@ -44,4 +44,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/212_ImagickDraw_setGravity_basic.phpt imagick-3.7.0/tests/212_ImagickDraw_setGravity_basic.phpt +--- imagick-3.7.0.orig/tests/212_ImagickDraw_setGravity_basic.phpt 2024-09-04 07:29:46.891242321 +0000 ++++ imagick-3.7.0/tests/212_ImagickDraw_setGravity_basic.phpt 2024-09-04 08:11:54.390087687 +0000 +@@ -44,4 +44,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/222_ImagickDraw_setTextAlignment_basic.phpt imagick-3.7.0/tests/222_ImagickDraw_setTextAlignment_basic.phpt +--- imagick-3.7.0.orig/tests/222_ImagickDraw_setTextAlignment_basic.phpt 2024-09-04 07:29:46.893242311 +0000 ++++ imagick-3.7.0/tests/222_ImagickDraw_setTextAlignment_basic.phpt 2024-09-04 08:11:58.125071313 +0000 +@@ -43,4 +43,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/223_ImagickDraw_setTextAntialias_basic.phpt imagick-3.7.0/tests/223_ImagickDraw_setTextAntialias_basic.phpt +--- imagick-3.7.0.orig/tests/223_ImagickDraw_setTextAntialias_basic.phpt 2024-09-04 07:29:46.896242294 +0000 ++++ imagick-3.7.0/tests/223_ImagickDraw_setTextAntialias_basic.phpt 2024-09-04 08:12:01.544056310 +0000 +@@ -44,4 +44,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/224_ImagickDraw_setTextUnderColor_basic.phpt imagick-3.7.0/tests/224_ImagickDraw_setTextUnderColor_basic.phpt +--- imagick-3.7.0.orig/tests/224_ImagickDraw_setTextUnderColor_basic.phpt 2024-09-04 07:29:46.899242277 +0000 ++++ imagick-3.7.0/tests/224_ImagickDraw_setTextUnderColor_basic.phpt 2024-09-04 08:12:06.776033325 +0000 +@@ -41,4 +41,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/225_ImagickDraw_setTextDecoration_basic.phpt imagick-3.7.0/tests/225_ImagickDraw_setTextDecoration_basic.phpt +--- imagick-3.7.0.orig/tests/225_ImagickDraw_setTextDecoration_basic.phpt 2024-09-04 07:29:46.901242266 +0000 ++++ imagick-3.7.0/tests/225_ImagickDraw_setTextDecoration_basic.phpt 2024-09-04 08:12:10.319017740 +0000 +@@ -40,4 +40,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/241_Tutorial_psychedelicFont_basic.phpt imagick-3.7.0/tests/241_Tutorial_psychedelicFont_basic.phpt +--- imagick-3.7.0.orig/tests/241_Tutorial_psychedelicFont_basic.phpt 2024-09-04 07:29:46.904242249 +0000 ++++ imagick-3.7.0/tests/241_Tutorial_psychedelicFont_basic.phpt 2024-09-04 08:12:13.840002238 +0000 +@@ -45,4 +45,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/244_Tutorial_psychedelicFontGif_basic.phpt imagick-3.7.0/tests/244_Tutorial_psychedelicFontGif_basic.phpt +--- imagick-3.7.0.orig/tests/244_Tutorial_psychedelicFontGif_basic.phpt 2024-09-04 07:29:46.906242239 +0000 ++++ imagick-3.7.0/tests/244_Tutorial_psychedelicFontGif_basic.phpt 2024-09-04 08:12:17.954984101 +0000 +@@ -68,4 +68,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/264_ImagickDraw_getTextDirection_basic.phpt imagick-3.7.0/tests/264_ImagickDraw_getTextDirection_basic.phpt +--- imagick-3.7.0.orig/tests/264_ImagickDraw_getTextDirection_basic.phpt 2024-09-04 07:29:46.908242227 +0000 ++++ imagick-3.7.0/tests/264_ImagickDraw_getTextDirection_basic.phpt 2024-09-04 08:12:21.523968355 +0000 +@@ -68,4 +68,6 @@ + if (file_exists($f)) unlink($f); + ?> + --EXPECTF-- ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories + Ok +diff -ruN imagick-3.7.0.orig/tests/266_ImagickDraw_getFontResolution_basic.phpt imagick-3.7.0/tests/266_ImagickDraw_getFontResolution_basic.phpt +--- imagick-3.7.0.orig/tests/266_ImagickDraw_getFontResolution_basic.phpt 2024-09-04 07:29:46.910242217 +0000 ++++ imagick-3.7.0/tests/266_ImagickDraw_getFontResolution_basic.phpt 2024-09-04 08:12:24.757954075 +0000 +@@ -67,4 +67,6 @@ + ?> + + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/279_ImagickDraw_setTextInterlineSpacing.phpt imagick-3.7.0/tests/279_ImagickDraw_setTextInterlineSpacing.phpt +--- imagick-3.7.0.orig/tests/279_ImagickDraw_setTextInterlineSpacing.phpt 2024-09-04 07:29:46.912242205 +0000 ++++ imagick-3.7.0/tests/279_ImagickDraw_setTextInterlineSpacing.phpt 2024-09-04 08:12:28.243938668 +0000 +@@ -79,4 +79,6 @@ + + ?> + --EXPECTF-- ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories + Ok +diff -ruN imagick-3.7.0.orig/tests/327_Imagick_polaroidImage_basic.phpt imagick-3.7.0/tests/327_Imagick_polaroidImage_basic.phpt +--- imagick-3.7.0.orig/tests/327_Imagick_polaroidImage_basic.phpt 2024-09-04 07:29:46.914242195 +0000 ++++ imagick-3.7.0/tests/327_Imagick_polaroidImage_basic.phpt 2024-09-04 08:12:32.396920295 +0000 +@@ -30,4 +30,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok +diff -ruN imagick-3.7.0.orig/tests/328_Imagick_polaroidImageWithTextAndMethod_basic.phpt imagick-3.7.0/tests/328_Imagick_polaroidImageWithTextAndMethod_basic.phpt +--- imagick-3.7.0.orig/tests/328_Imagick_polaroidImageWithTextAndMethod_basic.phpt 2024-09-04 07:29:47.975236329 +0000 ++++ imagick-3.7.0/tests/328_Imagick_polaroidImageWithTextAndMethod_basic.phpt 2024-09-04 08:12:35.718905584 +0000 +@@ -34,4 +34,6 @@ + echo "Ok"; + ?> + --EXPECTF-- +-Ok +\ No newline at end of file ++Fontconfig error: No writable cache directories ++Fontconfig error: No writable cache directories ++Ok
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.