all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 55634@debbugs.gnu.org
Subject: bug#55634: inkscape does not find icons, needs wrapping or such for GDK_PIXBUF_MODULE_FILE
Date: Tue, 12 Jul 2022 15:32:48 -0400	[thread overview]
Message-ID: <874jzm6s9r.fsf@gmail.com> (raw)
In-Reply-To: <0db9db95c05d2785d0b2e6b7b32a2b6a3770df1c.camel@telenet.be> (Maxime Devos's message of "Wed, 25 May 2022 16:08:25 +0200")

Hi,

Maxime Devos <maximedevos@telenet.be> writes:

> 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

I'm surprised gdk-pixbuf is enough; I would have expected you need to
add adwaita-icon-theme and librsvg (for the SVG pixbuf loader).  I guess
it has all the icons already but doesn't have even a non-svg loader.

The annoying part with GDK_PIXBUF_MODULE_FILE is that if we wrap it, it
can't be extended by the user given the variable takes a single value;
so suppose we wrap it without librsvg, then Inkscape will loose the
ability to load the SVG version of its icon, which probably look better
on high resolution displays.

Currently, I think we also cannot add librsvg to inkscape inputs, as it
would introduce a cycle; we'd have to come up with a new minimal variant
used by dblatex.

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.

Thanks,

Maxim





  reply	other threads:[~2022-07-12 19:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 14:08 bug#55634: inkscape does not find icons, needs wrapping or such for GDK_PIXBUF_MODULE_FILE Maxime Devos
2022-07-12 19:32 ` Maxim Cournoyer [this message]
2022-07-13  3:30   ` Maxim Cournoyer
2022-07-23 10:41     ` Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jzm6s9r.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=55634@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.