One feature of this snapcraft release is the addition of the gnome-3-34 extension. This makes it easier to snap gnome apps as well as providing them with newer libraries (commonly used in gnome apps) than are available in the core18 base snap. A list of the newer libraries can be found in the gnome-3-34 build snap, which is provided to all parts (in a yaml that use the gnome-3-34 extension) at build time.
To try out this extension:
- Remove the following plugs (note your app may need other plugs not listed here) since they are automatically provided:
plugs:
gtk-3-themes:
interface: content
target: $SNAP/data-dir/themes
default-provider: gtk-common-themes
icon-themes:
interface: content
target: $SNAP/data-dir/icons
default-provider: gtk-common-themes
sound-themes:
interface: content
target: $SNAP/data-dir/sounds
default-provider: gtk-common-themes
platform_snap:
interface: content
target: $SNAP/gnome-platform
default-provider: gnome-3-34-1804
- Remove these app plugs (automatically provided):
plugs: [ desktop, desktop-legacy, gsettings, wayland, x11 ]
- Remove any part that used the desktop helpers scripts.
- Add the extension in the app section like this example:
apps:
tali:
+ extensions: [gnome-3-34]
command: desktop-launch tali
- Change how the app is run like this example:
apps:
tali:
extensions: [gnome-3-34]
- command: desktop-launch tali
+ command: usr/bin/tali
- Remove any build-packages that are listed in the build snap.
Build and enjoy!