xdg-app and gtkmm

Murray Cumming murrayc at murrayc.com
Mon Dec 7 14:04:27 UTC 2015


On Mon, 2015-11-30 at 10:11 +0100, Alexander Larsson wrote:
> 
[snip]
> > Instead, my current work is about tooling to make it easy to bundle
> > things. I just landed the xdg-app-builder tool in git, which takes
> > a
> > simple json file and builds your apps dependencies, with the goal
> > of
> > moving all the metadata used for this to the indiviual upstreams of
> > the
> > modules you depend on.
> 
> Oh, and for example, take a look at the new nightlty build recipe for
> inkscape using this, which includes gtkmm:
> 
> https://github.com/alexlarsson/nightly-build-apps/blob/master/org.ink
> scape.InkscapeDevel.json

Thanks. So I got xdg-app-builder working fairly painlessly for a little
toy gtkmm project:
https://github.com/murraycu/prefixsuffix/blob/master/manifest.json

I put it here:
http://murraycu.github.io/prefixsuffix/repo/

by doing this:

$ xdg-app-builder --require-changes app manifest.json
$ sudo mkdir -p /repos/prefixsuffix
$ sudo chown murrayc:murrayc /repos/prefixsuffix
$ xdg-app build-export /repos/prefixsuffix app
$ xdg-app repo-update /repos/prefixsuffix

Then I copied all of /repos/prefixsuffix/* into the repo/ directory
that appears on the website.

Should I be using my own GPG key to sign it, or is there some way to
create a GPG key for the project, and is that wise?


Also, my app doesn't actually run. Is it obvious what I'm doing wrong?

$ xdg-app run org.gnome.PrefixSuffix

** (prefixsuffix:2): WARNING **: Couldn't connect to accessibility bus:
Failed to connect to socket /tmp/dbus-FwMNfBewZv: Connection refused
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Failed to register:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown:
org.freedesktop.DBus.Error.ServiceUnknown




-- 
Murray Cumming
murrayc at murrayc.com
www.murrayc.com






More information about the xdg-app mailing list