Re: evince: Is this a bug?

2023-05-08 Thread jgart
guix install gdk-pixbuf
The following package will be installed:
   gdk-pixbuf 2.42.8

guix install: error: profile contains conflicting entries for glib
guix install: error:   first entry: glib@2.72.3 
/gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3
guix install: error:... propagated from gdk-pixbuf@2.42.8
guix install: error:   second entry: glib@2.70.2 
/gnu/store/z6c305j8xvhvizvnyp5961gssmw3zjr2-glib-2.70.2
guix install: error:... propagated from dconf@0.40.0
guix install: error:... propagated from gajim@1.4.7
hint: Try upgrading both `gdk-pixbuf' and `gajim', or remove one of
them from the profile.

The only issue with upgrading gajim is that it is currently broken at the 
latest one...

Any suggestions here?



Re: evince: Is this a bug?

2023-05-08 Thread Josselin Poiret
Hi Lars,

Lars-Dominik Braun  writes:

> I’ve noticed this too with several GTK+ programs. The
> problem seems to be that GDK_PIXBUF_MODULE_FILE is set to
> /home//.config/guix/current/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache.
> When I change it to refer to ~/.guix-profile instead it works. Not sure
> how ~/.config/guix got in there though…

You might need to explicitely add gdk-pixbuf to your profile, otherwise
this environment variable is not set as you experienced.  It should be
propagated by enough packages to appear by itself, but that might not be
true for everyone's choice of packages.

Best,
-- 
Josselin Poiret


signature.asc
Description: PGP signature


Re: evince: Is this a bug?

2023-05-08 Thread Development of GNU Guix and the GNU System distribution.
Hi jgart,

On Mon, May 8, 2023 at 8:10 AM jgart  wrote:
>
> can you share the s-expression form(s) that generated those paths in your 
> guix home config?

I got the value from 'env' in Bash. It probably got there via the
mechanics of my Guix Home configuration, which you can find here. [1]
The relevant Bash parts are nearby. [2][3][4]

Sorry I cannot be more helpful.

Kind regards
Felix

[1] https://codeberg.org/lechner/home-config/src/branch/history/desk.scm
[2] https://codeberg.org/lechner/home-config/src/branch/history/service/bash.scm
[3] https://codeberg.org/lechner/home-config/src/branch/history/bash/.bashrc
[4] 
https://codeberg.org/lechner/home-config/src/branch/history/bash/.bash_profile



Re: evince: Is this a bug?

2023-05-08 Thread jgart
Hi Felix, can you share the s-expression form(s) that generated those paths in 
your guix home config?

all best,

jgart



Re: evince: Is this a bug?

2023-05-08 Thread Lars-Dominik Braun
Hi,

> Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed 
> (error == NULL): Failed to load 
> /gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png:
>  Unrecognized image file format (gdk-pixbuf-error-quark, 3)
> Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion 
> failed (error == NULL): Failed to load 
> /gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png:
>  Unrecognized image file format (gdk-pixbuf-error-quark, 3)

I’ve noticed this too with several GTK+ programs. The
problem seems to be that GDK_PIXBUF_MODULE_FILE is set to
/home//.config/guix/current/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache.
When I change it to refer to ~/.guix-profile instead it works. Not sure
how ~/.config/guix got in there though…

Cheers,
Lars




Re: evince: Is this a bug?

2023-05-06 Thread Development of GNU Guix and the GNU System distribution.
Hi jgart,

On Sat, May 6, 2023 at 10:23 PM jgart  wrote:
>
> It's not set. What should I set it to?

As a user of Guix Home, I have this. Please note the reference to
shared-mime-info (even though it appears twice).

XDG_DATA_DIRS=/gnu/store/7z9cgiq7dkajqfk991lniv77s1kbag28-shared-mime-info-1.15/share:/gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3/share:/gnu/store/3cl87br64f94fr6w45cpwzyn1kv9ma2p-gtk+-3.24.37/share:/gnu/store/0hw1nb3himdjzj5mvn9a7n3kgvqi1j96-emacs-28.2/share:/gnu/store/7z9cgiq7dkajqfk991lniv77s1kbag28-shared-mime-info-1.15/share:/gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3/share:/gnu/store/3cl87br64f94fr6w45cpwzyn1kv9ma2p-gtk+-3.24.37/share:/gnu/store/0hw1nb3himdjzj5mvn9a7n3kgvqi1j96-emacs-28.2/share:/home/lechner/.guix-home/profile/share:/home/lechner/.guix-home/profile/share:/home/lechner/.guix-profile/share:/run/current-system/profile/share:/home/lechner/.guix-profile/share:/run/current-system/profile/share

Kind regards
Felix



Re: evince: Is this a bug?

2023-05-06 Thread jgart
Hi Felix,

It's not set. What should I set it to?

I tried the following:

export XDG_DATA_DIRS="/home/jgart/.config/gajim"

but didn't work when I tried to launch gajim



Re: evince: Is this a bug?

2023-05-06 Thread Development of GNU Guix and the GNU System distribution.
Hi jgart,

On Sat, May 6, 2023 at 7:31 PM jgart  wrote:
>
> Yep ;(

Is your XDG_DATA_DIR set (and does it point to a folder that exists)? [1]

Kind regards
Felix

[1] https://askubuntu.com/a/1388056



Re: evince: Is this a bug?

2023-05-06 Thread jgart
Yep ;(



Re: evince: Is this a bug?

2023-05-06 Thread Leo Famulari
On Tue, May 02, 2023 at 01:43:35AM +, jgart wrote:
> Is this a bug?
> 
> $ evince
> 
> (evince:8881): Gtk-WARNING **: 20:41:52.851: Could not load a pixbuf from 
> icon theme.
> This may indicate that pixbuf loaders or the mime database could not be found.
> **
> Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed 
> (error == NULL): Failed to load 
> /gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png:
>  Unrecognized image file format (gdk-pixbuf-error-quark, 3)
> Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion 
> failed (error == NULL): Failed to load 
> /gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png:
>  Unrecognized image file format (gdk-pixbuf-error-quark, 3)
> 
> I have gnome-desktop-service running fine that brought with it evince

Did this start happening after the recent merge of core-updates?



Re: evince: Is this a bug?

2023-05-01 Thread Development of GNU Guix and the GNU System distribution.
Hi,

On Mon, May 1, 2023 at 6:44 PM jgart  wrote:
>
> (evince:8881): Gtk-WARNING **: 20:41:52.851: Could not load a pixbuf from 
> icon theme.
> This may indicate that pixbuf loaders or the mime database could not be found.

I do not see any messages with Evince under EXWM (i.e. no GNOME). I
would make sure gdk-pixbuf is installed, as well as
adwaita-icon-theme, gnome-theme-extras and gnome-themes-standard.

Also, this message [1] seems to indicate that your Gtk is not
installed, or not being found.

Kind regards
Felix

[1] 
https://stackoverflow.com/questions/67745085/gtk-how-can-i-fix-this-problem-could-not-load-a-pixbuf-from-org-gtk-libgtk-ic



evince: Is this a bug?

2023-05-01 Thread jgart
Is this a bug?

$ evince

(evince:8881): Gtk-WARNING **: 20:41:52.851: Could not load a pixbuf from icon 
theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error 
== NULL): Failed to load 
/gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png:
 Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion 
failed (error == NULL): Failed to load 
/gnu/store/vkcl29s7qcfgqz1cs6lab98fyxsxyczx-adwaita-icon-theme-43/share/icons/Adwaita/48x48/status/image-missing.png:
 Unrecognized image file format (gdk-pixbuf-error-quark, 3)

I have gnome-desktop-service running fine that brought with it evince