From: Tirifto <tirifto@posteo.cz>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>,
Joshua Branson <jbranso@dismail.de>
Cc: 60205@debbugs.gnu.org
Subject: bug#60205: Dino lacks some icons
Date: Thu, 29 Dec 2022 13:49:10 +0000 [thread overview]
Message-ID: <13182965.uLZWGnKmhe@localhost.localdomain> (raw)
In-Reply-To: <87k02mw53s.fsf@dismail.de>
On úterý 20. prosince 2022 14:56:55 CET you wrote:
> Liliana Marie Prikler <liliana.prikler@gmail.com> writes:
> > 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.
>
> Just quoting bug 48636:
>
> I have adwaita-icon-theme and hicolor-icon-theme in my system profile,
> which I think makes some gtk stuff play nicer. I would suggest
> installing them if you don't have them. I also have
> gnome-themes-standard and gnome-themes-extra, so those may also be worth
> installing if the other things don't do the trick.
>
> Perhaps the hicolor icons should be made a dependency so users don't
> have to figure this out on their own. I recall another package getting
> that treatment a while back.
>
> End quote
>
> Perhaps dino should have hicolor-icon-theme as a dependency.
Thank you both for your help! I have done some experimenting with the provided
information. When I run the following command:
guix shell --pure -E DISPLAY dino librsvg adwaita-icon-theme -- dino
Dino displays perfectly well, only with the Adwaita theme. I use KDE, so I
thought installing a matching theme might allow it to match the host system.
And indeed, after adding the packages ‘breeze’, ‘breeze-gtk’, and ‘breeze-
icons’ into my profile, Dino runs with the correct theme and icons. I assume
it’s always a good idea to install the theme you’re using in Guix also.
The window control buttons still wouldn‘t show up until I installed ‘librsvg’
and incorporated it into my profile. As for ‘hicolor-icon-theme’, I don’t
think it has had an effect on Dino; icons were still missing with only
hicolor-icon-theme provided.
> > Hope that helps.
> >
> > Cheers
Thank you both for your help, my issue has now been solved; although perhaps
this ticket should remain open until it’s solved in Guix by default?
Best of wishes
// Tirifto
next prev parent reply other threads:[~2022-12-29 13:50 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
2022-12-20 13:56 ` Joshua Branson via Bug reports for GNU Guix
2022-12-29 13:49 ` Tirifto [this message]
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=13182965.uLZWGnKmhe@localhost.localdomain \
--to=tirifto@posteo.cz \
--cc=60205@debbugs.gnu.org \
--cc=jbranso@dismail.de \
--cc=liliana.prikler@gmail.com \
/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).