-
Notifications
You must be signed in to change notification settings - Fork 17
Replace libheif and its dependencies with extension on GNOME 49 #414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Instructions about using the extension can be found here: https://docs.flatpak.org/en/latest/extension.html#loading-existing-extensions |
Looking better at the docs, seems that I need to point to the extension "version". This would be even harder to maintain than the Clang sdk-extension, which we dropped (0499290) because it was a absolute hell to match GNOME Runtime with Freedesktop SDK, specially on the Nightly repo |
No, it should be easy. Version should match Freedesktop SDK version that gnome uses. For gnome 48 version will always be 24.08. For gnome 49 and beyond the extension will be handled automatically by runtime and it could be entirely removed from app manifest. So as long as you use gnome 48 use 24.08 extension and on next runtime update you remove it completely. Below should work right now:
|
The only obstacle I see is that gimp is currently doing some multi-stage build for x265. This is something runtime is lacking. Perhaps it could be replicated there if someone sends MR. |
Don't take me wrong, I would do love to not have to build x265 anymore (it's a problematic dep) and libheif too. But whoever implements this needs to do the gnome<>freedesktop matching in both stable and beta branches and in nightly repo too every release and take possible regressions (e.g.: #384) on shoulders. |
Since 24.08 will be the last version controlled by apps the matching in this context would mean removing extension entirely from the manifest on next gnome runtime update (48->49) which will be released on september. After that this will be de facto part of the runtime like mesa is thus always available for every app and there will be no matching involved. If you want to minimize effort then you may wait with it until gnome 49. |
Thanks. I will wait to GNOME Runtime 49, then. |
Since gnome 47 and later the
org.freedesktop.Platform.ffmpeg-full
extension includes HEIC support. It can replace internalorg.gimp.GIMP.HEIC
extension and bundling libheif and its dependencies in gimp.https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/1704
#262
The text was updated successfully, but these errors were encountered: