Call for testing: Snapcraft 9.2

Snapcraft 9.2 is in the latest/candidate and 9.x/candidate channels. The tentative release data to stable is 2026-10-19T05:00:00Z.

Highlights include:

  • GNOME extension support for core26
  • Unified version selection with at signs (@)
  • Init Git repositories
  • A new stage-slices key
  • Support for confdb schema parameters and filters
  • And a record number of bug fixes (18) in a minor release, likely due to the uptick in AI-assisted contributions

For more information, see the release notes.

If you have any feedback or issues, please report them here or create an issue.


Subscribed stakeholders

This section contains users who wish to be automatically notified for future releases. Reply here to be added or removed from the list.

Some initial thoughts, since I’m keen on the Gnome Core26 extension

1) The Gnome extension now contains its own ā€œcleanupā€ script, e.g., historically people may have included e.g., EDIT: This is in the Release Notes :upside_down_face:

  cleanup:
    plugin: nil
    build-snaps:
      - core24
      - gnome-46-2404
      - mesa-2404
    override-prime: |
      set -eux
      for snap in "core24" "gnome-46-2404" "mesa-2404"; do
          cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" \;
      done
    after: [pinta]

when building I’d noticed I hadn’t swapped the core24 names to core26 - but then I also noticed the Gnome snap (and GPU snap) have started to do that themselves, which is neat, since now we don’t have to encourage people to do it separately and can remove it going forward.

Priming gnome/cleanup
:: + set -eux
:: + for snap in "gnome-core26-sdk" "gtk-common-themes"
:: + cd /snap/gnome-core26-sdk/current
:: + find . -type f,l '(' -name '*.so.*' -o -name '*.so' ')' -exec rm -f '/root/prime/{}' ';'`

(and so on)

2) I’d really like to shout out Glycin in the Gnome extension. With it, Pinta can now e.g., open/save a greater variety of image codecs (and even GTK3 apps would benefit too, since it’s actually part of the pixbuf-loader libraries).

Curiously, in Flatpak, Pinta/Glycin can open HEIC files, but not save them. However in Core26 with Gnome, attempting to open them gives the following:

Lib.GException: Remote error: org.gnome.glycin.Error.LoadingError: glycin-loaders/glycin-heif/src/main.rs:319:24: DecoderPluginError(Unspecified) Decoder plugin generated an error: Unspecified
   at GdkPixbuf.Pixbuf.NewFromStream(InputStream stream, Cancellable cancellable)
   at Pinta.Core.GdkPixbufFormat.ReadPixbuf(File file)
   at Pinta.Core.GdkPixbufFormat.Import(File file)
   at Pinta.Core.WorkspaceManager.OpenFile(File file, Window parent)

Is there anything we can do to boost Glycin to it’s full potential?

Similarly, AVIF is also broken, but .JXL does work fine

3) It’s worth pointing out I think, that since Python was removed from Core26 itself, the Gnome extension does include Python 3.14 in its content interface.

4) WSL2 Filepickers :eyes:

Although this is fairly out of scope, Pinta on Core 24, on WSL2, can open the GTK file picker. Interestingly, it actually fails to open the XDG Desktop Portals` implementations even if present, and falls back to the internal in-process picker.

On Core26, it doesn’t fall back at all. No file picker opens, portals or built in.

This might be an upstream change at the GTK level, but it’s worth contrasting Pinta to e.g., Joplin, which on WSL2, can open the XDG Portal Filepickers just fine if they’re there even on Core26. Although I believe it handles the DBus side itself rather than relying on GTK to do so.

Most people might not notice :upside_down_face: but I am not not people, so thought it was worth mentioning.

Outside WSL2, it implies there might be some niche environments where users haven’t installed the portals that would need them installing properly to get file pickers back. (Generally, these packages should be installed anyway, but I’ve seen people keen to remove ā€œbloatā€ and some package managers historically not including the portals with e.g., Snap/Flatpak by default)

Evidence

Core26 powered Pinta is available with sudo snap install pinta --candidate if anyone wants to check the image stuff above :wink:

Separately there’s a Core26 powered joplin-desktop on the Electron framework with sudo snap install joplin-desktop --candidate, but, smooth sailing so far on that one ( there was one single letter changed in the git commit updating it, and it’s simply ā€œcore24ā€ to ā€œcore26ā€ :wink: )

2 Likes

Hi @James-Carroll,

Thanks for the early testing! I’m going to ping @aleasto, who is likely interested in your feedback on the Gnome extension.

2 Likes

Thank you. While most decoders in glycin are built-in, the HEIC/AVIF decoders use libheif.so.1 which itself supports pluggable modules for different implementations of those two codecs. Looks like we might just be missing some of those plugins; I will be taking a look!

1 Like

Hi @James-Carroll and @mr_cal,

Thank you for highlighting the new automatic GNOME extension cleanup script in Snapcraft 9.2.

My main application, Simple-Video-Converter (currently running on core24 with strict confinement), relies heavily on custom hardware acceleration across NVIDIA, Intel (iHD), and AMD. To achieve this, I do some surgical injection of specific libraries (like libva 2.22) and heavily manipulate the LD_LIBRARY_PATH.

I wanted to see how the new cleanup behaves with my libva-fixed custom folder and my strict prime filtering, so I spun up an isolated container and built my app using the Snapcraft 9.2 --candidate channel.

Test Environment:

  • OS: Ubuntu 24.04.5 LTS (Kernel 6.11)

  • Hardware: Hybrid Graphics - Intel Core (Raptor Lake) + NVIDIA RTX 4080 Laptop GPU

The results are perfect:

  1. The build completed flawlessly, and the final .snap archive size remained exactly the same (240MB). This proves the new automatic cleanup script correctly respects custom prime: directives and doesn’t aggressively strip out manual library injections.

  2. Execution: I installed and ran the resulting snap on my host machine. The application launched perfectly, and all hardware encoders (NVENC, VAAPI via /dev/dri/renderD128) initialized and worked without any missing dependency errors.

From a security and optimization standpoint, reducing the attack surface by stripping unused base libraries automatically is a fantastic step forward for developers who don’t manually filter their prime stages. Great work on ensuring backwards compatibility for complex hardware-bound apps!

2 Likes

Hi all,

Thanks for the feedback on the GNOME extension.

Snapcraft 9.2.0 has been released to the stable channels, except for riscv64. Riscv64 will be updated later this week, when the builds complete.

3 Likes