Subject: [PATCH gnome-team v2 04/13] gnu: gnome-control-center: Update to 46.3.

From: Liliana Marie Prikler <[email-masked]>
Date: Fri, 13 Sep 2024 09:37:01 +0200

* gnu/packages/gnome.scm (gnome-control-center): Update to 46.3.
[source]: Drop “gnome-control-center-firmware-security.patch”.
[arguments]: Adjust ‘patch-paths’ phase accordingly.
[inputs]: Replace gcr-3 with gcr.
Replace libgnomekbd with tecla.
Add json-glib and libsoup.
---
 gnu/packages/gnome.scm | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 62e53c7789..6bebd03c06 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9296,7 +9296,7 @@ (define-public tecla
 (define-public gnome-control-center
   (package
     (name "gnome-control-center")
-    (version "44.4")
+    (version "46.3")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/" name "/"
@@ -9304,10 +9304,7 @@ (define-public gnome-control-center
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0mz134argczbkfnxzqsfa1vydx3v44wrldcczyzjanvrq7ia7hli"))
-              (patches
-               (search-patches
-                "gnome-control-center-firmware-security.patch"))))
+                "1fbcwkm1av0026sbx4yqh0a63dv4h6v4bj6byca5j6gf3mynrp4p"))))
     (build-system meson-build-system)
     (arguments
      (list
@@ -9316,13 +9313,13 @@ (define-public gnome-control-center
       #~(modify-phases %standard-phases
           (add-before 'configure 'patch-paths
             (lambda* (#:key inputs #:allow-other-keys)
-              (substitute* "panels/datetime/tz.h"
+              (substitute* "panels/system/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"
+              (substitute* "panels/system/region/cc-region-page.c"
                 (("\"gkbd-keyboard-display")
                  (string-append "\"" (search-input-file
                                       inputs "bin/gkbd-keyboard-display"))))
@@ -9372,7 +9369,7 @@ (define-public gnome-control-center
            colord-gtk
            cups
            dconf
-           gcr-3
+           gcr
            gnome-bluetooth
            gnome-desktop
            gnome-online-accounts
@@ -9382,14 +9379,15 @@ (define-public gnome-control-center
            grilo
            gsound
            ibus
+           json-glib
            libadwaita
-           libgnomekbd
            libgudev
            libgtop
            libnma
            libpwquality
            (librsvg-for-system)             ;for loading SVG files
            libsecret
+           libsoup
            libxml2
            libwacom
            mesa
@@ -9399,6 +9397,7 @@ (define-public gnome-control-center
            polkit
            pulseaudio
            samba
+           tecla
            tzdata
            udisks
            upower))
-- 
2.45.2