- added patches

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

OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=520
This commit is contained in:
Petr Gajdos 2020-08-31 17:07:04 +00:00 committed by Git OBS Bridge
parent 15b01070b4
commit de53e78044
3 changed files with 23 additions and 0 deletions

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

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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

View File

@ -50,6 +50,8 @@ Patch2: ImageMagick-library-installable-in-parallel.patch
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
@ -336,6 +338,7 @@ preserved.
%patch3 -p1
%endif
%patch4 -p1
%patch5 -p1
%build
# bsc#1088463