Subject: bug#55634: closed (Re: bug#55634: inkscape does not find icons, needs wrapping or such for GDK_PIXBUF_MODULE_FILE)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 13 Jul 2022 03:31:02 +0000

Your bug report

#55634: inkscape does not find icons, needs wrapping or such for GDK_PIXBUF_MODULE_FILE

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
55634: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55634
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#55634: inkscape does not find icons, needs wrapping or such for GDK_PIXBUF_MODULE_FILE
From: Maxim Cournoyer <[email-masked]>
To: Maxime Devos <[email-masked]>
Cc: [email-masked]
Date: Tue, 12 Jul 2022 23:30:44 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Maxime,

Maxim Cournoyer <[email-masked]> 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

Subject: inkscape does not find icons, needs wrapping or such for GDK_PIXBUF_MODULE_FILE
From: Maxime Devos <[email-masked]>
To: [email-masked]
Date: Wed, 25 May 2022 16:08:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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.