Sorry for the delay in my response. If you think that the second option is not doable, we will need to go with the first one.
Context:
- snap-declarations are created and maintained in the store side to define which connections/auto-connections are allowed for every snap.
- Some content snaps, such as
gtk-common-themesorgnome-46-2404, were granted global auto-connection to their slots. Any snap can auto-connect to these content slots by default. - Adding a content plug (such as
gimp-plugins) to the snap-declaration makes snapd to ignore global auto-connections (as forgtk-common-themesorgnome-46-2404).
Thus, to enable gimp to auto-connect to gimp-plugins, without breaking other required auto-connections, we will need to keep the snap-declaration (store side) in sync with gimp requirements (snapcraft.yaml). It means that when you update the snapcraft.yaml to add/update content plugs (e.g. moving from gpu-2404 to gpu-2604) you will need to ask us to update the snap-declaration accordingly.
Does it sounds feasible?
Thanks