--- Begin Message ---
Subject: |
inkscape does not find icons, needs wrapping or such for GDK_PIXBUF_MODULE_FILE |
Date: |
Wed, 25 May 2022 16:08:25 +0200 |
User-agent: |
Evolution 3.38.3-1 |
Broken:
$ guix shell --pure inkscape -- inkscape
(crashes on start with ‘Inkscape encountered an internal error and will
close now’.)
Work-around:
$ guix shell --pure inkscape gdk-pixbuf -- inkscape
also works:
$ guix shell --pure inkscape gdk-pixbuf -- /usr/bin/env
GDK_PIXBUF_MODULE_FILE=/gnu/store/[...]-profile/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
inkscape
Looks like some wrapping is required to point GDK_PIXBUF_MODULE_FILE to an
appropriate 'loaders.cache'.
Also starts in a non-pure environment without adding extra packages, but then
the icons aren't found.
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#55634: inkscape does not find icons, needs wrapping or such for GDK_PIXBUF_MODULE_FILE |
Date: |
Tue, 12 Jul 2022 23:30:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi Maxime,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
[...]
> I guess we could have a minimal and a full-blown version of Inkscape,
> the later which would include librsvg and wrap GDK_PIXBUF_MODULE_FILE.
I've now implemented this, upgrading Inkscape to 1.2 in the process.
See commits 023259c4bd1a38225fb1c06660c0cf393210e811,
7dcba233a3745cfdcc291adf46261548eb2f3d76 and
b1523ffac597d56ab9657ab1c1b1a7fc49344d67.
It's now possible to 'guix shell --pure inkscape -- inkscape'!
Thanks for the report.
Closing.
Maxim
--- End Message ---