Hi!
I've tried updating the pkgsrc package from 1.0.2 (working fine) to 1.1. It builds and installs fine, but during startup complains about svg files and exits, without display a window.
(org.inkscape.Inkscape:66): Gtk-WARNING **: 10:54:36.278: Could not load image 'resources/template_about.svg': Couldn’t recognize the image file format for file “/usr/pkg/share/inkscape/ui/resources/template_about.svg”
(and many more like these, then ending with)
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/pkg/share/inkscape/icons/hicolor/scalable/actions/image-missing.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3) Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/pkg/share/inkscape/icons/hicolor/scalable/actions/image-missing.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
gdk-pixbuf has SVG support, I tested this with:
gdk-pixbuf-thumbnailer /usr/pkg/share/inkscape/icons/hicolor/scalable/actions/image-missing.svg image-missing.png
which successfully creates a png file. Now I'm not quite sure where else to look for the root of the problem. The pkgsrc files for 1.0.2 are here:
https://github.com/NetBSD/pkgsrc/blob/trunk/graphics/inkscape/Makefile
The files for 1.1 are here:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=blob;f=inkscape...
Please let me know if you have any ideas what might be missing or wrong. Thank you!
(I've filed https://gitlab.com/inkscape/inbox/-/issues/5111 about this and Nathan Lee suggested I should ask on the mailing list about this.)
Cheers, Thomas