From: ludo@gnu.org (Ludovic Courtès)
To: Christopher Baines <mail@cbaines.net>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system
Date: Thu, 29 Dec 2016 19:05:37 +0100 [thread overview]
Message-ID: <871swqfw5q.fsf@gnu.org> (raw)
In-Reply-To: <20161227223312.16791-1-mail@cbaines.net> (Christopher Baines's message of "Tue, 27 Dec 2016 22:33:12 +0000")
Hi!
Christopher Baines <mail@cbaines.net> skribis:
> * gnu/packages/gnome.scm (gnome-tweak-tool): Switch from the gnu build
> system to the glib-or-gtk build system, to fix missing gobject
> introspection namespaces.
Using ‘glib-or-gtk-build-system’ sounds right here, but with this patch,
I get:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build gnome-tweak-tool
/gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.20.1
ludo@pluto ~/src/guix$ /gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.20.1/bin/gnome-tweak-tool
Traceback (most recent call last):
File "/gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.20.1/bin/..gnome-tweak-tool-real-real", line 24, in <module>
gi.require_version("Gtk", "3.0")
File "/gnu/store/dhcvv1qczvqwsj7fdi1qpny8myrqydb8-python2-pygobject-3.20.0/lib/python2.7/site-packages/gi/__init__.py", line 102, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available
--8<---------------cut here---------------end--------------->8---
and:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix environment --ad-hoc gnome-tweak-tool -- gnome-tweak-tool
[...]
** (..gnome-tweak-tool-real-real:27638): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
WARNING : Shell not installed or running
Traceback (most recent call last):
File "/gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.20.1/lib/python2.7/site-packages/gtweak/app.py", line 39, in do_activate
self.win = Window(self, model)
File "/gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.20.1/lib/python2.7/site-packages/gtweak/tweakview.py", line 58, in __init__
self._model.load_tweaks(self)
File "/gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.20.1/lib/python2.7/site-packages/gtweak/tweakmodel.py", line 125, in load_tweaks
mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
File "/gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.20.1/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_shell.py", line 98, in <module>
sw = StaticWorkspaceTweak(size_group=sg, loaded=_shell_loaded)
File "/gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.20.1/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_shell.py", line 50, in __init__
default = self.STATUS.keys()[self.STATUS.values().index(self.settings[self.key_name])]
ValueError: None is not in list
--8<---------------cut here---------------end--------------->8---
Is this a different error?
Thanks!
Ludo’.
next prev parent reply other threads:[~2016-12-29 18:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-27 22:33 [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system Christopher Baines
2016-12-29 18:05 ` Ludovic Courtès [this message]
2016-12-30 19:35 ` Christopher Baines
2016-12-30 19:36 ` [PATCH 1/4] " Christopher Baines
2016-12-30 19:36 ` [PATCH 2/4] gnu: gnome-tweak-tool: Include GI_TYPELIB_PATH Christopher Baines
2016-12-30 19:36 ` [PATCH 3/4] gnu: gnome-tweak-tool: Make propagated-inputs just inputs Christopher Baines
2016-12-30 19:36 ` [PATCH 4/4] gnu: gnome-tweak-tool: Add missing inputs Christopher Baines
2017-01-06 9:24 ` [PATCH 1/4] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system Ludovic Courtès
2016-12-30 23:45 ` [PATCH] " Chris Marusich
2017-01-09 9:15 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871swqfw5q.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=mail@cbaines.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).