From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system Date: Fri, 30 Dec 2016 19:35:39 +0000 Message-ID: <126b17c2-7c25-4bf3-595f-7aee7d2edb35@cbaines.net> References: <20161227223312.16791-1-mail@cbaines.net> <871swqfw5q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Tgmgimh5HwiqhEQJ9xom1kAPioSWghtNF" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN2y5-0000th-Oh for guix-devel@gnu.org; Fri, 30 Dec 2016 14:35:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cN2y0-0003Bd-RQ for guix-devel@gnu.org; Fri, 30 Dec 2016 14:35:57 -0500 In-Reply-To: <871swqfw5q.fsf@gnu.org> 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: =?UTF-8?Q?Ludovic_Court=c3=a8s?= Cc: guix-devel@gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Tgmgimh5HwiqhEQJ9xom1kAPioSWghtNF Content-Type: multipart/mixed; boundary="tOWRk4XQLf0MEvlidPNsEjd6ffxfqWVQ5"; protected-headers="v1" From: Christopher Baines To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= Cc: guix-devel@gnu.org Message-ID: <126b17c2-7c25-4bf3-595f-7aee7d2edb35@cbaines.net> Subject: Re: [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system References: <20161227223312.16791-1-mail@cbaines.net> <871swqfw5q.fsf@gnu.org> In-Reply-To: <871swqfw5q.fsf@gnu.org> --tOWRk4XQLf0MEvlidPNsEjd6ffxfqWVQ5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 29/12/16 18:05, Ludovic Court=C3=A8s wrote: > Hi! >=20 > Christopher Baines skribis: >=20 >> * 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. >=20 > Using =E2=80=98glib-or-gtk-build-system=E2=80=99 sounds right here, but= with this patch, > I get: >=20 > --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-gnom= e-tweak-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= =2E20.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--- >=20 > and: >=20 > --8<---------------cut here---------------start------------->8--- > $ ./pre-inst-env guix environment --ad-hoc gnome-tweak-tool -- gnome-tw= eak-tool >=20 > [...] >=20 > ** (..gnome-tweak-tool-real-real:27638): WARNING **: Error retrieving a= ccessibility 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 =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_fil= es, 0) > File "/gnu/store/p6g06x6l1b3iw7hm447ys9sqr8bh2nbp-gnome-tweak-tool-3.= 20.1/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_shell.py", lin= e 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", lin= e 50, in __init__ > default =3D self.STATUS.keys()[self.STATUS.values().index(self.sett= ings[self.key_name])] > ValueError: None is not in list > --8<---------------cut here---------------end--------------->8--- >=20 > Is this a different error? I seem to remember this change being sufficient, but I can reproduce the behavior above when not using GuixSD. I'll send a new set of patches that attempt to further improve the package. --tOWRk4XQLf0MEvlidPNsEjd6ffxfqWVQ5-- --Tgmgimh5HwiqhEQJ9xom1kAPioSWghtNF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlhmtwtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XciaRAAoJ5lGzyt/Mz+PugGNTcAsPc1jOO+6TCy +REppimMBrlC2l9nqd5tWiUdBDxbxHJnWXzbgkB8Q48KL/bvu4sy9VfXZrSX++N+ cypkbt6AndBUtQi0b3OB7c8dMl9snNRF6AQIc/8vVMIH8HgCQKbWisRkIQCE9apD Pkmcv0lsSmttIKAWa8dVsz3r3g3SPGOmyBwKyysNAC+G8lb6rsxzvm6ta6VOjo0n +cQND5MvjUvtVCQWwy9+IcPrpuTzZVYHYL7UuP+8gxKb1z5W9O784QLgZ/BAazuX 2trQvqK8/62QHOitJBxE+1K/eHZD920TmgYZ/YrEGve7509bO5zFoR+1PdnAMZUG QOnOjcjJFNS2F2SRuJeiXv6gzC57AOl6iUlXqqqO2usP0lBskwltHTWGYZRe2MH+ vzh8Oj+VXqJvtJWt76JQqqA0YYwvTfQFYVr5yrVIJDKmmB8PHvzpeXq/LYmjE40n 0QcxsNaURecHBgeItWVh6bWx6+BBq01jObEZR0BNqaYrB4QIaImmsTbucdu89kky hb84Fwc0GNpJlANAh8N7HdUY4HBZ0/BX8y3iCfzCYfynzPzuMb6dpZdh6EjSeGC4 igquOb/Hzuy3/sSXJ04p3KqQJ2DSM5PW2cppQUoPwRkxH3P4SaBfCP1WSPXiXZy0 S8+sqBx1XZA= =Ouba -----END PGP SIGNATURE----- --Tgmgimh5HwiqhEQJ9xom1kAPioSWghtNF--