[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system |
Date: |
Thu, 29 Dec 2016 19:05:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hi!
Christopher Baines <address@hidden> 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
address@hidden ~/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’.