I’ve been looking but unable to find documentation around what needs to be done to package a wayland compositor, in this case Sway.
First question would be simply is it possible and does it make sense to do?
I thought it seemed like the simplest way to package sway since it depends on some packages that don’t exist in Ubuntu 18.10 even, like json-c 0.13.
Building a snap for it works just fine but running it is where I’m unclear how to move forward. Even in devmode I get an error that the DRM device can not be found. I thought I’d at least be able to run it in devmode and then move forward with figuring out how to define the required privileges to run something like a wayland compositor from a snap.
I know there is a snap wayland interface, so the sway snap should provide that interface? I’m unclear on how that is supposed to be done.