unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Tirifto <tirifto@posteo.cz>, 60205@debbugs.gnu.org
Subject: bug#60205: Dino lacks some icons
Date: Mon, 19 Dec 2022 22:06:42 +0100	[thread overview]
Message-ID: <71e11f6d149b85f453a04c73453a0c1e62affb1d.camel@gmail.com> (raw)
In-Reply-To: <1850983.tdWV9SEqCh@localhost.localdomain>

Am Montag, dem 19.12.2022 um 16:14 +0000 schrieb Tirifto:
>   ** (dino:17647): CRITICAL **: 17:06:11.642: file /tmp/guix-build-
> dino-0.3.1.drv-0/dino-0.3.1/main/src/ui/main_window.vala: line 68:
> uncaught 
> error: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
>   
>   (dino:17647): Gtk-WARNING **: 17:06:11.676: Found an icon but could
> not load 
> it. Most likely gdk-pixbuf does not provide SVG support.
>   
>   (dino:17647): Gtk-WARNING **: 17:06:11.680: Could not load a pixbuf
> from 
> icon theme.
>   This may indicate that pixbuf loaders or the mime database could
> not be found.
These two lines appear to mark the most likely culprit.  Now, normally
our gdk-pixbuf packages do support svg, but there's some strings
attached.  Most of our GNOME related programs are tested in a GNOME
environment rather than a pure one, which means that things that
shouldn't work happen to do.  Compare the output of

  guix shell --pure -E DISPLAY dino librsvg adwaita-icon-theme -- dino

to

  guix shell --pure -E DISPLAY dino -- dino

Note that librsvg is a regular input to dino and should thus be
available as a pixbuf loader.  I'm not sure what exactly is wrong here
(perhaps dino should swap its librsvg input for gdk-pixbuf), but
another caveat is that on non-x86_64 systems we are forced to use a
pre-Rust version of librsvg, which barfs on some particular input
files.

Hope that helps.

Cheers





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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19 16:14 bug#60205: Dino lacks some icons Tirifto
2022-12-19 21:06 ` Liliana Marie Prikler [this message]
2022-12-20 13:56   ` Joshua Branson via Bug reports for GNU Guix
2022-12-29 13:49     ` Tirifto
2022-12-20 21:31 ` bug#60205: [PATCH] gnu: dino: Fix icons when used in pure shells Liliana Marie Prikler
2022-12-21 19:37   ` jbranso--- via Bug reports for GNU Guix
2022-12-31  7:34     ` Liliana Marie Prikler

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=71e11f6d149b85f453a04c73453a0c1e62affb1d.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=60205@debbugs.gnu.org \
    --cc=tirifto@posteo.cz \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).