> Le 11 janv. 2022 à 05:35, john <jra...@ceridwen.us> a écrit : > >> On Jan 10, 2022, at 1:06 PM, Pascal <p....@orange.fr> wrote: >> >> I ran gdk-pixbuf-query-loaders --update-cache and even set >> GDK_PIXBUF_MODULEDIR: >> >> % LANG=en GDK_PIXBUF_MODULEDIR=$xnadainst/lib/gdk-pixbuf-2.0/2.10.0/loaders >> XDG_DATA_DIRS=$xnadainst/share ./testgtk >> >> (testgtk:29352): Gtk-WARNING **: 21:49:39.220: Could not load a pixbuf from >> icon theme. >> This may indicate that pixbuf loaders or the mime database could not be >> found. >> ** >> Gtk:ERROR:../../../../gtk+-3.24.30/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: >> assertion failed (error == NULL): Failed to load >> /usr/local/xnadalib-2021/share/icons/Adwaita/24x24/status/image-missing.png: >> Unrecognized image file format (gdk-pixbuf-error-quark, 3) >> Bail out! >> Gtk:ERROR:../../../../gtk+-3.24.30/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: >> assertion failed (error == NULL): Failed to load >> /usr/local/xnadalib-2021/share/icons/Adwaita/24x24/status/image-missing.png: >> Unrecognized image file format (gdk-pixbuf-error-quark, 3) >> >> What is the "mime database" present in the GTK warning message? >> May the error coming from this file? > > Pascal, > > The mime database maps file extensions to types, among a bunch of other > things. It lives in $PREFIX/share/mime and is built by the shared-mime-info > package. > > Maybe there's something messed up with the png loader? You can `grep png > $PREFIX/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache` to make sure it's > catalogued. Check also that > $PREFIX/lib/gdk-pixbuff-2.0/2.10.0/loaders/libpixbufloader-png.so is present > and that its dependencies are all sane.
Hello John, I have no mime file or folder: % ls /usr/local/xnadalib-2021/share/m* /usr/local/xnadalib-2021/share/man: man1/ man3/ man5/ man8/ /usr/local/xnadalib-2021/share/metainfo: org.gnome.Glade.appdata.xml Neither shared-mime-info file. I found this issue in Gnome: https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/159 And this one too: https://source.puri.sm/Librem5/OS-issues/-/issues/17 But I didn't find update-mime-database. Is it needed to install it? With jhbuild? Here are my status of png install: % grep png /usr/local/xnadalib-2021/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache "lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so" "png" 5 "gdk-pixbuf" "PNG" "LGPL" "image/png" "" "png" "" % ls /usr/local/xnadalib-2021/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png* /usr/local/xnadalib-2021/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so* It seems to be good. How to check "that its dependencies are all sane"? Thanks for your help, Pascal. https://blady.pagesperso-orange.fr _______________________________________________ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list