From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system Date: Thu, 29 Dec 2016 19:05:37 +0100 Message-ID: <871swqfw5q.fsf@gnu.org> References: <20161227223312.16791-1-mail@cbaines.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMf5D-00043A-LJ for guix-devel@gnu.org; Thu, 29 Dec 2016 13:05:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMf5A-00031D-89 for guix-devel@gnu.org; Thu, 29 Dec 2016 13:05:43 -0500 In-Reply-To: <20161227223312.16791-1-mail@cbaines.net> (Christopher Baines's message of "Tue, 27 Dec 2016 22:33:12 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Christopher Baines Cc: guix-devel@gnu.org Hi! Christopher Baines 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 =E2=80=98glib-or-gtk-build-system=E2=80=99 sounds right here, but wit= h this patch, I get: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build gnome-tweak-tool=20 /gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.20.1 ludo@pluto ~/src/guix$ /gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tw= eak-tool-3.20.1/bin/gnome-tweak-tool=20 Traceback (most recent call last): File "/gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.20.1= /bin/..gnome-tweak-tool-real-real", line 24, in 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 acces= sibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name o= rg.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 =3D 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 =3D __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 sw =3D StaticWorkspaceTweak(size_group=3Dsg, loaded=3D_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 =3D 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=E2=80=99.