Accepting request 830885 from graphics

- added patches
  fix inkscape commandline [bsc#1174272]
  + ImageMagick-inkscape-commandilne.patch

- fix bsc#1106272 
- added patches
  fix 029fb3425e
  + ImageMagick-set-correct-colorspace.patch

- version update to 7.0.10.28
  * Distorted clip path after -extent (reference
    https://github.com/ImageMagick/ImageMagick/issues/2414).
  * Paths in Photoshop EPS files are corrupted on conversion (reference
    https://github.com/ImageMagick/ImageMagick/issues/2413).

OBS-URL: https://build.opensuse.org/request/show/830885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ImageMagick?expand=0&rev=212
This commit is contained in:
Dominique Leuenberger 2020-09-01 18:05:11 +00:00 committed by Git OBS Bridge
commit f74ae29d10
8 changed files with 86 additions and 21 deletions

View File

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

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAABAgAGBQJfMdvtAAoJEImrY9SCdzd6UK4P/358t800P1xwcQnG7VrcHkRf
q2qxC9qcuX6j0E168dbBKhv9DXo8s3au7zy6eyeJXu4N6HhgcWrvIaNUoIzxniWS
/+H/MR4MISL8Vd1Z5vekQJ80IX71s6JM4spcP5Zx7yCOgQPPIxl2qxgtW8cp09cN
SRSUb8QWZDcftg0ifLlI/Oiy+mZVeKi2D/OFS8dN8/uUjUk5yurFems475VUE/zu
TD/pGhaG6O5/dbyD/oQOpTNKQCq1M791lCHezPKiv9D2Oy6LJtc+Hp/RLbf6/cHD
k7Qy1H1fPNjMXr0lyOVJgtvs8T/7GkRQRUfhyLjj6kyBON6CiKcT3u/g/WjSNxYF
4fCWB53+/K73+7uGBHvVNXkMpuLsepIAr82MEuNX/5QIzlYp+rewdvSFxMjb7L5b
DreoVmsOApc1MnI0mphHEGWBAfSbRT3NOebm/6LnkdeieCW7MUunmmECxv2Aqghm
CgxdqII2g5R7uzWZNExWQKYNAjL74+Fl8Oqe/ob0qEUp3hSHyjSbFaT5u3FxwrDK
f/7y4URmv3Bg9ItOrtK/P7+U7aagVKwHV3p34+8OU8KsRBF2Uou1iEdZZ6VEoQH8
ULmrztiyeEzr+MgnToWbYqYhFiChaHP+WFta17qg4MZFwKfWtFmMuY0ddpYaChdK
SDB/9OZdhgeUAv9K4qtw
=O3hl
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAABAgAGBQJfOahfAAoJEImrY9SCdzd6RusP/25QULQxqAW+jxG9dvH/fDnt
CnmVnjS3AmA7K9+5hVGk9doi5HeNjkiOQ2EyGLgdeiYYfixRCqNAcdqaj2DvBHuY
GBX2ZsOWmx7eDaJzeMcQzGbL2fmSVlAHX8U8sN43gmYBLZnqK4+z4cdVbwIjvSEb
CrdMagyIyqSwe6HLTO0KEHD61ctR0EYWLFfVgCMU/1x0bVTqANpFe9O0BevjM+zU
G7FkPz/rBrk4iBK24Oh9+xSm2Hn0c8D9lS5p/SjjaChlP4YJDKxrNi9w9QdKy7uy
NIKBPWCVlU3oj84m1YfLKF3Q0YJGy1HIiTarngIHakRWgBSvpVod08YkOyMGdUTg
VfDv8qAYmsC+dHMIMUmnUbMo/yCcojXFbkUI4vCegxRanzMj6EziCbay+hGBgFw+
TUbm0O/FoOEwSTprpWcCWY3MPuupvZ+QkcD1+JWuTjT6DgWZE+Y5BxPWhlK2gZ2x
WHltAPZCEqecH2vBPwH1jkJGiviCTLagKvONjyjmML2dUCl6wwRo3+H06w1HEgvr
FhAvXQbuivg0Vb4f3dLkli9Nj9buIfF91LjeJf5/q4zpEJmYwA9kK3uyc6XIULZ3
RSPYRZkzgWuwMsiVm9a78P28C/PTqXHVGPml4AuhKvSt8v0lZqwbvn6sGeAIUkWb
GAfRsGzAM870bzN1XHOt
=MxzU
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,13 @@
Index: ImageMagick-7.0.10-28/config/delegates.xml.in
===================================================================
--- ImageMagick-7.0.10-28.orig/config/delegates.xml.in 2020-08-16 18:11:37.000000000 +0200
+++ ImageMagick-7.0.10-28/config/delegates.xml.in 2020-08-31 18:56:03.651420565 +0200
@@ -111,7 +111,7 @@
<delegate decode="sid" command="&quot;@MrSIDDecodeDelegate@&quot; -if sid -i &quot;%i&quot; -of tif -o &quot;%o&quot; &gt; &quot;%u&quot;"/>
<delegate decode="svg" command="&quot;@RSVGDecodeDelegate@&quot; -o &quot;%o&quot; &quot;%i&quot;"/>
<!-- Change export-file to export-png for inkscape < 1.0 -->
- <delegate decode="svg:decode" stealth="True" command="&quot;@SVGDecodeDelegate@&quot; &quot;%s&quot; --export-file=&quot;%s&quot; --export-dpi=&quot;%s&quot; --export-background=&quot;%s&quot; --export-background-opacity=&quot;%s&quot; &gt; &quot;%s&quot; 2&gt;&amp;1"/>
+ <delegate decode="svg:decode" stealth="True" command="&quot;@SVGDecodeDelegate@&quot; &quot;%s&quot; --export-filename=&quot;%s&quot; --export-dpi=&quot;%s&quot; --export-background=&quot;%s&quot; --export-background-opacity=&quot;%s&quot; &gt; &quot;%s&quot; 2&gt;&amp;1"/>
<delegate decode="tiff" encode="launch" mode="encode" command="&quot;@LaunchDelegate@&quot; &quot;%i&quot;"/>
<delegate decode="wdp" command="@MVDelegate@ &quot;%i&quot; &quot;%i.jxr&quot;; &quot;@JXRDecodeDelegate@&quot; -i &quot;%i.jxr&quot; -o &quot;%o.bmp&quot;; @MVDelegate@ &quot;%i.jxr&quot; &quot;%i&quot;; @MVDelegate@ &quot;%o.bmp&quot; &quot;%o&quot;"/>
<delegate decode="webp" command="&quot;@WebPDecodeDelegate@&quot; -pam &quot;%i&quot; -o &quot;%o&quot;"/>

View File

@ -0,0 +1,22 @@
diff --git a/coders/plasma.c b/coders/plasma.c
index 9e4ee8aa79..de62ca6dd4 100644
--- a/coders/plasma.c
+++ b/coders/plasma.c
@@ -44,6 +44,7 @@
#include "MagickCore/blob-private.h"
#include "MagickCore/cache.h"
#include "MagickCore/channel.h"
+#include "MagickCore/colorspace-private.h"
#include "MagickCore/constitute.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
@@ -154,6 +155,8 @@ static Image *ReadPlasmaImage(const ImageInfo *image_info,
if (image == (Image *) NULL)
return((Image *) NULL);
(void) SetImageStorageClass(image,DirectClass,exception);
+ if (IsGrayColorspace(image->colorspace) != MagickFalse)
+ (void) SetImageColorspace(image,sRGBColorspace,exception);
for (y=0; y < (ssize_t) image->rows; y++)
{
q=GetAuthenticPixels(image,0,y,image->columns,1,exception);

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Mon Aug 31 16:56:25 UTC 2020 - pgajdos@suse.com
- added patches
fix inkscape commandline [bsc#1174272]
+ ImageMagick-inkscape-commandilne.patch
-------------------------------------------------------------------
Mon Aug 31 13:30:24 UTC 2020 - pgajdos@suse.com
- fix bsc#1106272
- added patches
fix https://github.com/ImageMagick/ImageMagick/commit/029fb3425ecf82e8b30c060e38a135d1d3e76bb3
+ ImageMagick-set-correct-colorspace.patch
-------------------------------------------------------------------
Mon Aug 31 07:56:37 UTC 2020 - pgajdos@suse.com
- version update to 7.0.10.28
* Distorted clip path after -extent (reference
https://github.com/ImageMagick/ImageMagick/issues/2414).
* Paths in Photoshop EPS files are corrupted on conversion (reference
https://github.com/ImageMagick/ImageMagick/issues/2413).
-------------------------------------------------------------------
Tue Aug 11 10:35:44 UTC 2020 - pgajdos@suse.com

View File

@ -20,7 +20,7 @@
%define asan_build 0
%define maj 7
%define mfr_version %{maj}.0.10
%define mfr_revision 27
%define mfr_revision 28
%define quantum_depth 16
%define source_version %{mfr_version}-%{mfr_revision}
%define clibver 7
@ -48,6 +48,10 @@ Patch0: ImageMagick-configuration-SUSE.patch
Patch2: ImageMagick-library-installable-in-parallel.patch
#%%ifarch s390x s390 ppc64 ppc
Patch3: ImageMagick-s390-disable-tests.patch
# https://github.com/ImageMagick/ImageMagick/commit/029fb3425ecf82e8b30c060e38a135d1d3e76bb3
Patch4: ImageMagick-set-correct-colorspace.patch
# fix inkscape commandline [bsc#1174272]
Patch5: ImageMagick-inkscape-commandilne.patch
#%%endif
BuildRequires: chrpath
BuildRequires: fdupes
@ -333,6 +337,8 @@ preserved.
%ifarch s390x s390 ppc ppc64
%patch3 -p1
%endif
%patch4 -p1
%patch5 -p1
%build
# bsc#1088463