chiark / gitweb /
Switch to using convert for the icon.
authorSimon Tatham <anakin@pobox.com>
Mon, 18 Jan 2021 22:04:55 +0000 (22:04 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 18 Jan 2021 22:06:31 +0000 (22:06 +0000)
Inkscape's export to PNG has variable command line syntax between
versions, and also wanted an X server while running.

debian/make-debian-icons.py

index 935424be51e8fa73a615019b60ea45f08deb3636..780064db200bdd6f7091617c97896794f1e02c83 100755 (executable)
@@ -16,4 +16,4 @@ for elt in list(root):
 
 tree.write('icon.svg')
 
-subprocess.check_call(["inkscape","-e","icon.png","icon.svg"])
+subprocess.check_call(["convert","-background","transparent","icon.svg","icon.png"])