svg2png: Adapted syntax to gimp 2.10.18
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Tue, 14 Apr 2020 15:03:34 +0000 (17:03 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Tue, 14 Apr 2020 15:03:34 +0000 (17:03 +0200)
The svg2png syntax for gimp does not work for gimp 2.10.18
on MacOS. I replaced the list command with the alternative
syntax.

build-aux/svg2png

index 5c41840c5154e1c78387457cd3ed14d42da308be..c6165a7c55095bc6951f4a12a0c3aec778d57380 100755 (executable)
@@ -3,7 +3,7 @@
 comment=`cat $2`
 gimp -i -b "\
 (let* ((image (car (gimp-file-load 1 \"$1\" \"$1\"))))
-      (gimp-image-attach-parasite image (list \"gimp-comment\" 0 \"$comment\"))
+      (gimp-image-attach-parasite image '(\"gimp-comment\" 0 \"$comment\"))
       (gimp-file-save 1 image (car (gimp-image-get-active-drawable image))
                      \"$3\" \"$3\"))
     (gimp-quit 1)"