GNOME Boxes is a GUI software similar to VirtualBox.
It is an important package because it supersedes
virt-manager and does a task similar to VirtualBox.
Could probably be a GUI manager for multipass?
Anyway, I managed to pull together the following configuration, resulting into a 116MB snap package.
- There are some libraries in subdirectories, and I use environment.LD_LIBRARY_PATH to give access to the app. Is that the proper way?
- In the snapcraft.yaml I try to use DBus to launch the application but it gives the following error:
$ ./bin/desktop-launch usr/local/bin/gnome-boxes Gtk-Message: 21:19:42.039: Failed to load module "canberra-gtk-module" Gtk-Message: 21:19:42.052: Failed to load module "canberra-gtk-module" (gnome-boxes:24923): Gtk-WARNING **: 21:19:42.419: GtkFlowBox with a model will ignore sort and filter functions (gnome-boxes:24923): Gtk-WARNING **: 21:19:42.420: GtkListBox with a model will ignore sort and filter functions (gnome-boxes:24923): GLib-GIO-ERROR **: 21:19:42.439: Settings schema 'org.gnome.boxes' is not installed Trace/breakpoint trap (core dumped)