<jtojnar>
mkg20001: I am afraid in the short term the only way forward is fixing wrapGAppsHook to build per-package loaders.cache if there is more than one third-party module
<mkg20001>
<jtojnar "mkg20001: I am afraid in the sho"> Ok, the loaders problem with different versions is also quite bad, so let's do it per package now
<mkg20001>
<jtojnar "and adding libavif and libheif t"> should we do that for nautilus and nemo aswell?
<jtojnar>
mkg20001: and in the long term patch gdk-pixbuf to allow multiple cache paths like the other environment variables
<jtojnar>
not sure, would probably depend on the closure size
<mkg20001>
<jtojnar "not sure, would probably depend "> most people that use nemo/nautilus prob also use eog so not too much increase I think?
<jtojnar>
but IIRC, the thumbnailers are not gdk-pixbuf loaders themselves but something else
<jtojnar>
it had something to do with gnome-desktop package IIRC
<mkg20001>
so what's the magic behind making thumbnails for avif work?
<mkg20001>
(what would have to be done)
<mkg20001>
about libavif: should I include wrapGAppsHook there or will the apps use it that require libavif?
<jtojnar>
looking at nautilus, it adds `${librsvg}/share` to `XDG_DATA_DIRS`
<jtojnar>
so that can be done from global environment
<mkg20001>
if not then I fixed build to include it in the pixbuf module dir, so that PR could be merged then
<jtojnar>
librsvg has share/thumbnailers/librsvg.thumbnailer
<jtojnar>
which then gets picked up by gnome-desktop nautilus is linking against
<jtojnar>
eog will need the loaders.cache though
<jtojnar>
but that can be done separately
<jtojnar>
building your PR, it does not look like it contains a thumbnailer
<mkg20001>
hrm... is it engough to create a similar file as the rsvg thumbnailer? will gdk pixbuf pick it up automatically and make thumbnails with the loader?
<jtojnar>
IIRC the thembnailer needs to be a program
<jtojnar>
oh, then it should work, you will only need pass it correct environment variable with the loader
<mkg20001>
not sure what to put as mime type
<jtojnar>
now I wish we had wrapdesktop, which would wrap the Exec path, store the wrapper in $out/libexec and replaced the Exec path with the path to the wrapper