guix-devel
[Top][All Lists]
Advanced

[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: Christopher Baines
Subject: Re: [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system
Date: Fri, 30 Dec 2016 19:35:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1

On 29/12/16 18:05, Ludovic Courtès wrote:
> 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?

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.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]