Skip to content

Initial snapcraft attempt.

Dirk HOFFMANN requested to merge github/fork/extraymond/master into master

Created by: extraymond

Hi! After some trial and error, this is my attempt to create a hamster snap with the least possible changes regards the code base.

A introduction to this snap:

  1. Reuse existing .desktop file.
  2. Change /usr/share path to $SNAP/usr/share to satisfy relative path under snap.
  3. Use gnome-3-28 extension to provide a stable gnome environment and reduce snap size.

Current limitation and noticeable changes:

  1. Snap confinement set to devmode instead of stict. To my understanding. This is due to gconf related issues. Since changing gconf to gsettings is underwent. I will revisit this part after so I won't break too much stuff.
  2. Manual launch script to start the two services before the GUI, so it won' crash. This is due to dbus-activation not currently possible for snap. There's upstream discussion between snap and dbus. Will update if possible.
  3. Change defs.py to defs_comp.py, and create a defs.py to proxy the defs_comp.py. Alter the path with os.environ['SNAP'] if detected to be launched by snap.

A included snap to play with. You can try with snap install hamster-snap*.snap --devmode

Merge request reports

Loading