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: Chris Marusich
Subject: Re: [PATCH] gnu: gnome-tweak-tool: Use glib-or-gtk-build-system
Date: Fri, 30 Dec 2016 15:45:48 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Christopher Baines <address@hidden> writes:

> * 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.
> ---
>  gnu/packages/gnome.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 91da7783a..5f13cdd0e 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -5288,12 +5288,12 @@ existing databases over the internet.")
>                (sha256
>                 (base32
>                  "1fj6wjvnjygzm9br3sw9gya6d18yly1rm69yaiar9spfbkvv4wai"))))
> -    (build-system gnu-build-system)
> +    (build-system glib-or-gtk-build-system)
>      (arguments
>       `(#:configure-flags '("--localstatedir=/tmp"
>                             "--sysconfdir=/tmp")
>         #:imported-modules ((guix build python-build-system)
> -                           ,@%gnu-build-system-modules)
> +                           ,@%glib-or-gtk-build-system-modules)
>         #:phases (modify-phases %standard-phases
>                    (add-after 'install 'wrap
>                      (@@ (guix build python-build-system) wrap)))))

When I build this with --rounds=2, I get the following error:

  output ‘/gnu/store/2469sq8ny3f7dffx3v30y27d882hy5k4-module-import-compiled’ 
of ‘/gnu/store/8frm3y92vlkxjb2x0ljcrzx4qy357wv9-module-import-compiled.drv’ 
differs from previous round

I don't get that error when building the previous version of
gnome-tweak-tool, but I'm not sure if it indicates a problem with
gnome-tweak-tool or some other component.

I've also noticed that the tool doesn't work in a pure environment -
this occurs both before and after applying your patch:

--8<---------------cut here---------------start------------->8---
$ guix environment --pure --ad-hoc gnome-tweak-tool
substitute: updating list of substitutes from 
'https://hydra-mirror.marusich.info'... 100.0%
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 
100.0%
substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0%
The following derivations will be built:
   /gnu/store/ww98gqfb4mpfybm667d64jcgkqggadx9-profile.drv
   /gnu/store/sjfdj137hjqiig79hf3y8rz2i4p4s378-gtk-icon-themes.drv
   /gnu/store/pcj6yb9i03dffqqa8qgwhv9fbbgswvdq-fonts-dir.drv
   /gnu/store/jhiq2626lp4k6d2apn7hvb6zfjpn7v3w-xdg-mime-database.drv
   /gnu/store/bq2vhg7lpygfixi473yy1x4n3p3kpxjw-info-dir.drv
   /gnu/store/29kb6zrcy3avc70k08ph39fgmm74fv5h-gtk-im-modules.drv
   /gnu/store/1lb9d7qcrsfwmjkpk55i0yj935hvzwy1-ca-certificate-bundle.drv
warning: collision encountered: 
/gnu/store/a9w50gcm642akrdd7905jp4f3sw5rs1i-gtk-icon-themes/share/icons/hicolor/icon-theme.cache
 
/gnu/store/2s45v3s71hcnxxgsj2b42kmfqygn0rca-gtk+-3.20.9/share/icons/hicolor/icon-theme.cache
 
warning: arbitrarily choosing 
/gnu/store/a9w50gcm642akrdd7905jp4f3sw5rs1i-gtk-icon-themes/share/icons/hicolor/icon-theme.cache
warning: collision encountered: 
/gnu/store/vdzbg5rv8glrg7lx1sb62c00r8ll6rkw-gsettings-desktop-schemas-3.20.0/share/glib-2.0/schemas/gschemas.compiled
 
/gnu/store/2s45v3s71hcnxxgsj2b42kmfqygn0rca-gtk+-3.20.9/share/glib-2.0/schemas/gschemas.compiled
 
warning: arbitrarily choosing 
/gnu/store/vdzbg5rv8glrg7lx1sb62c00r8ll6rkw-gsettings-desktop-schemas-3.20.0/share/glib-2.0/schemas/gschemas.compiled
[0] [env] address@hidden:~/guix
$ type gnome-tweak-tool 
gnome-tweak-tool is 
/gnu/store/xmfcs5p27cyfrm7xqvk5dvmglrglqw13-profile/bin/gnome-tweak-tool
[0] [env] address@hidden:~/guix
$ gnome-tweak-tool 
WARNING : Shell not installed or running

(.gnome-tweak-tool-real:32567): Gtk-WARNING **: Could not find the icon 
'gnome-tweak-tool'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not 
be saved or shared with other applications.

(.gnome-tweak-tool-real:32567): GLib-GIO-ERROR **: Settings schema 
'org.gnome.settings-daemon.plugins.xsettings' is not installed

Trace/breakpoint trap
[133] [env] address@hidden:~/guix
$ 
--8<---------------cut here---------------end--------------->8---

Do you know anything about these issues?

-- 
Chris

Attachment: signature.asc
Description: PGP signature


reply via email to

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