[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/181: gnu: gnome-control-center: Update to 42.3.
From: |
guix-commits |
Subject: |
59/181: gnu: gnome-control-center: Update to 42.3. |
Date: |
Tue, 13 Sep 2022 02:25:32 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 02b4c6f3abc2b00534d4c1f7c0bc2c39cc669b44
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Sep 5 00:53:56 2022 -0400
gnu: gnome-control-center: Update to 42.3.
* gnu/packages/gnome.scm (gnome-control-center): Update to 42.3.
[configure-flags]: Delete argument.
[phases]: Use gexps.
{patch-paths}: Use search-input-file.
{no-polkit-magic}: Delete phase.
[inputs]: Delete clutter-gtk, libcanberra and libsoup-minimal-2. Add gnutls
and libadwaita. Move docbook-xsl to...
[native-inputs]: ... here. Replace intltool with gettext-minimal. Remove
hicolor-icon-theme. Sort.
---
gnu/packages/gnome.scm | 102 ++++++++++++++++++++-----------------------------
1 file changed, 42 insertions(+), 60 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 11bdaf36ac..68828a86ea 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8739,7 +8739,7 @@ devices using the GNOME desktop.")
(define-public gnome-control-center
(package
(name "gnome-control-center")
- (version "41.2")
+ (version "42.3")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
@@ -8747,85 +8747,68 @@ devices using the GNOME desktop.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0j72ixhli621psbrma86qxy0spv6gpjx6k9hg2jih97c6dmzqwc2"))
- (patches (search-patches
- "gnome-control-center-libexecdir.patch"))))
+ "0zhw6hcrrcpq1zjkyzr5ipznxnzd2aczrqd7n2y7xbz21mjy62nf"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- #:configure-flags
- (list "-Dcheese=false"
- (string-append "-Dgnome_session_libexecdir="
- (assoc-ref %build-inputs "gnome-session")
- "/libexec"))
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'patch-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((libc (assoc-ref inputs "libc"))
- (tzdata (assoc-ref inputs "tzdata"))
- (libgnomekbd (assoc-ref inputs "libgnomekbd"))
- (nm-applet (assoc-ref inputs "network-manager-applet"))
- (gnome-desktop (assoc-ref inputs "gnome-desktop")))
- (substitute* "panels/datetime/tz.h"
- (("/usr/share/zoneinfo/zone.tab")
- (string-append tzdata "/share/zoneinfo/zone.tab")))
- (substitute* "tests/datetime/test-endianess.c"
- (("/usr/share/locale")
- (string-append libc "/share/locale")))
- (substitute* "panels/region/cc-region-panel.c"
- (("\"gkbd-keyboard-display")
- (string-append "\"" libgnomekbd
- "/bin/gkbd-keyboard-display")))
- (substitute* '("panels/network/net-device-bluetooth.c"
- "panels/network/net-device-mobile.c"
-
"panels/network/connection-editor/net-connection-editor.c")
- (("\"nm-connection-editor")
- (string-append "\"" nm-applet
- "/bin/nm-connection-editor")))
- (substitute* '("panels/user-accounts/run-passwd.c")
- (("/usr/bin/passwd")
- "/run/setuid-programs/passwd"))
- (substitute* "panels/info-overview/cc-info-overview-panel.c"
- (("DATADIR \"/gnome/gnome-version.xml\"")
- (string-append "\"" gnome-desktop
- "/share/gnome/gnome-version.xml\""))))))
- (add-after 'unpack 'skip-gtk-update-icon-cache
- ;; Don't create 'icon-theme.cache'.
- (lambda _
- (substitute* "build-aux/meson/meson_post_install.py"
- (("gtk-update-icon-cache") (which "true")))))
- (add-before 'install 'no-polkit-magic
- ;; Meson ‘magically’ invokes pkexec, which fails (not setuid).
- (lambda _
- (setenv "PKEXEC_UID" "something"))))))
+ (list
+ #:glib-or-gtk? #t
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'patch-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "panels/datetime/tz.h"
+ (("/usr/share/zoneinfo/zone.tab")
+ (search-input-file inputs "share/zoneinfo/zone.tab")))
+ (substitute* "tests/datetime/test-endianess.c"
+ (("/usr/share/locale")
+ (search-input-directory inputs "share/locale")))
+ (substitute* "panels/region/cc-region-panel.c"
+ (("\"gkbd-keyboard-display")
+ (string-append "\"" (search-input-file
+ inputs "bin/gkbd-keyboard-display"))))
+ (substitute* '("panels/network/net-device-bluetooth.c"
+ "panels/network/net-device-mobile.c"
+
"panels/network/connection-editor/net-connection-editor.c")
+ (("\"nm-connection-editor")
+ (string-append "\"" (search-input-file
+ inputs "bin/nm-connection-editor"))))
+ (substitute* "panels/user-accounts/run-passwd.c"
+ (("/usr/bin/passwd")
+ "/run/setuid-programs/passwd"))
+ (substitute* "panels/info-overview/cc-info-overview-panel.c"
+ (("DATADIR \"/gnome/gnome-version.xml\"")
+ (format #f "~s" (search-input-file
+ inputs "share/gnome/gnome-version.xml"))))))
+ (add-after 'unpack 'skip-gtk-update-icon-cache
+ ;; Don't create 'icon-theme.cache'.
+ (lambda _
+ (substitute* "build-aux/meson/meson_post_install.py"
+ (("gtk-update-icon-cache") (which "true"))))))))
(native-inputs
- (list `(,glib "bin") ;for glib-mkenums, etc.
- intltool
+ (list docbook-xsl
+ gettext-minimal
+ `(,glib "bin") ;for glib-mkenums, etc.
+ libxslt
pkg-config
python
- libxslt
- ;; For tests
- hicolor-icon-theme
python-dbusmock
xorg-server-for-tests))
(inputs
(list accountsservice
- clutter-gtk
colord-gtk
cups
dconf
- docbook-xsl
gcr
gnome-bluetooth
gnome-desktop
gnome-online-accounts
gnome-session
gnome-settings-daemon
+ gnutls
grilo
gsound
ibus
- libcanberra
+ libadwaita
libgnomekbd
libgudev
libgtop
@@ -8833,7 +8816,6 @@ devices using the GNOME desktop.")
libpwquality
librsvg ;for loading SVG files
libsecret
- libsoup-minimal-2
libxml2
libwacom
mesa
- 29/181: gnu: sdl2: Update to 2.24.0, use gexps and remove input labels., (continued)
- 29/181: gnu: sdl2: Update to 2.24.0, use gexps and remove input labels., guix-commits, 2022/09/13
- 34/181: gnu: gnome-online-accounts: Update to 3.44.0 and delete input labels., guix-commits, 2022/09/13
- 41/181: gnu: gdm: Patch dbus-run-session path., guix-commits, 2022/09/13
- 45/181: gnu: gjs: Remove input labels., guix-commits, 2022/09/13
- 47/181: gnu: mozjs: Update home-page., guix-commits, 2022/09/13
- 50/181: gnu: gtk: Replace librsvg with librsvg-bootstrap., guix-commits, 2022/09/13
- 53/181: gnu: Add rest-next., guix-commits, 2022/09/13
- 51/181: gnu: Add gobject-introspection-next., guix-commits, 2022/09/13
- 56/181: gnu: gnome-shell: Update to 42.4., guix-commits, 2022/09/13
- 57/181: gnu: colord-gtk: Update to 0.3.0., guix-commits, 2022/09/13
- 59/181: gnu: gnome-control-center: Update to 42.3.,
guix-commits <=
- 62/181: gnu: gnome-calendar: Update to 42.2., guix-commits, 2022/09/13
- 63/181: gnu: gnome-initial-setup: Update to 42.2., guix-commits, 2022/09/13
- 71/181: gnu: gnome-contacts: Update to 42.0., guix-commits, 2022/09/13
- 81/181: gnu: tepl: Update to 6.1.2 and enable tests., guix-commits, 2022/09/13
- 82/181: gnu: gedit: Update to 42.2., guix-commits, 2022/09/13
- 78/181: gnu: gnome-terminal: Update to 3.44.1., guix-commits, 2022/09/13
- 89/181: gnu: libgda: Update to 6.0.0., guix-commits, 2022/09/13
- 87/181: gnu: gnome-latex: Update to 3.41.2., guix-commits, 2022/09/13
- 92/181: gnu: gnome-shell-extensions: Update to 42.3., guix-commits, 2022/09/13
- 99/181: gnu: cambalache: Update to 0.10.3., guix-commits, 2022/09/13