I hit this same problem as well, to simplify this issue, there should be
an exposed cloud "part" defined in the parts wiki right here
https://wiki.ubuntu.com/snapcraft/parts

These parts allow you to "load" all the gtk dependencies in your snap
with something like

 parts:
  yourpartname:
    source: ...
    after:
      - desktop/gtk2

This allows you to avoid dealing with documenting all the gtk
dependencies as the part is already well-defined.

Unfortunately it seems the forward slash in the part sub-naming is not
supported per lp:1607015. So, the "/" might be dropped for that gtk2
module.


I was able to workaround this issue by cut-n-paste of the desktop/gtk2  
dependencies into my own "mygtk" part

http://paste.ubuntu.com/23047650/

This at least got me building the snap with the right gtk dependencies
configured


This also looks like it might be a duplicate of lp:1611505

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1584357

Title:
  Snappy GTK applications

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1584357/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to