xnox / x4d

x4d icon set
MIT License
0 stars 0 forks source link

Fail to build with imagemagick #2

Open fabiomt opened 3 years ago

fabiomt commented 3 years ago

ImageMagick PostScript conversion is no longer permitted so the generation of the .eps icons fails. See: https://bugs.debian.org/991067 And: https://bugs.debian.org/987504 And: https://bugs.launchpad.net/ubuntu/+source/kannel/+bug/1838425

So the workaround for this, in Debian, should disable the .eps converts to allow the package to be built. Don't know if there's a better solutions for this.

Index: x4d-icons/generate.sh
===================================================================
--- x4d-icons.orig/generate.sh
+++ x4d-icons/generate.sh
@@ -35,4 +35,4 @@ generate XML '1.1' xml11

 /bin/ls Icons/*.svg | sed 's/-v\.svg//' | xargs -I{} convert -background none {}-v.svg {}.png
 /bin/ls Icons/*.svg | sed 's/-v\.svg//' | xargs -I{} convert -background none {}-v.svg {}.gif
-/bin/ls Icons/*.svg | sed 's/-v\.svg//' | xargs -I{} convert -background none {}-v.svg {}-v.eps
+#/bin/ls Icons/*.svg | sed 's/-v\.svg//' | xargs -I{} convert -background none {}-v.svg {}-v.eps
xnox commented 3 years ago

Note that eps icons are used by some stylesheets to generate PDFs. I wonder if I can still generate eps via making a pdf first maybe?