Comment 3 for bug 2001708

Revision history for this message
James Carroll (james-carroll) wrote :

I'd have assumed the flatpak to be in a similar position with the ideal scenario being to include it in the Gnome runtimes they use.

For the snap, Webp needs to be added to the Gnome-42-2204-sdk snap (which also deals with GTK3), then once this is upstreamed, the Gnome-42-2204 snap needs to be rebuilt against the latest SDK snap, and then distributed to users.

Pinta would then gain webp support automatically, with a caveat, the caches for which pixbufs are installed wouldn't be regenerated when the content snap updates, only when Pinta itself updates. New installs would work with Webp fine, but existing installs would have the library but wouldn't use it because they don't know it's there.

So, about a month or so after the content snap being updated, there'd then be a rebuild of the Pinta snap (Likely advertising .webp support as a valid Mime in the .desktop file, so that right clicking and "Open With" would correctly offer Pinta as a choice), and then that would bring up the majority of the existing installs and enable the webp support for them.

This way, every GTK snap on the newer Snap extensions gets Webp, not just Pinta; and there's no bad hacks involved.