[arch-commits] Commit in imagemagick/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sun Mar 22 18:25:30 UTC 2020


    Date: Sunday, March 22, 2020 @ 18:25:29
  Author: arojas
Revision: 378361

Use right option with inkscape<1.0 (FS#65934)

Modified:
  imagemagick/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-22 18:13:38 UTC (rev 378360)
+++ PKGBUILD	2020-03-22 18:25:29 UTC (rev 378361)
@@ -4,7 +4,7 @@
 pkgbase=imagemagick
 pkgname=(imagemagick imagemagick-doc)
 pkgver=7.0.10.2
-pkgrel=1
+pkgrel=2
 pkgdesc="An image viewing/manipulation program"
 url="https://www.imagemagick.org/"
 arch=(x86_64)
@@ -106,6 +106,9 @@
 
 # Harden security policy https://bugs.archlinux.org/task/62785
   sed -e '/<\/policymap>/i \ \ <policy domain="delegate" rights="none" pattern="gs" \/>' -i "$pkgdir"/etc/ImageMagick-7/policy.xml
+
+# Use correct options for inkscape<1.0
+  sed -e 's|--export-file|--export-png|' -i "$pkgdir"/etc/ImageMagick-7/delegates.xml
 }
 
 package_imagemagick-doc() {



More information about the arch-commits mailing list