This stage snap helps you integrate Zenity dialogs into your Gtk3 application snap.
Prerequisites
- Your snap must be using the gnome-platform content sharing snap
- Your snap must use
core18
base (support for thecore
base is coming)
How to use
Merge the following part definition to your Snapcraft YAML:
parts:
# Integrate custom dialogs in your snap - doc - snapcraft.io
# https://forum.snapcraft.io/t/integrate-custom-dialogs-in-your-snap/10825
zenity-integration:
plugin: nil
stage-snaps:
- zenity-integration
The layout configuration is now no longer needed and can be dropped .
Why not simply set stage-packages: [ zenity ]
?
- The redundant Webkit related libraries bloats the snap size for about 40MiB
- Stripping the redundant files using
prime
keywords complicates the part definition - Additional layout configuration fix is required, increases the complexity of the snapcraft recipe
Snaps that use this stage snap
Implementation
Here’s the code: Git : Code : The Zenity integration stage snap
Support
Report bugs here: Bugs : The Zenity integration stage snap