Public bug reported:
Packaging GTK applications with snappy is currently extremely difficult
/ impossible.
e.g. snapcraft.yaml
```
name: snappy-gedit
version: 1.0
summary: snappy-gedit
description: snappy-gedit
apps:
snappy-gedit:
command: usr/bin/gedit
plugs:
- unity7
- x11
parts:
packages:
plugin: nil
stage-packages:
- gedit
```
Output when `snappy-gedit` is called:
```
(gedit:5982): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Gtk-Message: Failed to load module "unity-gtk-module"
(gedit:5982): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No
such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders >
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
(gedit:5982): GLib-GIO-ERROR **: No GSettings schemas are installed on the
system
Trace/breakpoint trap (core dumped)
```
Ideally, all the dependencies and environment variables to run GTK
applications in a snappy container should by set by snapcraft. Maybe GTK
apps should be able to access system GTK themes, fonts, locales,
loaders, etc.
** Affects: snapcraft (Ubuntu)
Importance: Undecided
Status: New
--
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