gnu: gnome-initial-setup: Update to 42.2.

* gnu/packages/gnome.scm (gnome-initial-setup): Update to 42.2.
[configure-flags]: Remove "-Dcheese=auto".
[phases]: Use search-input-file.
[native-inputs]: Remove labels.  Remove gtk+:bin.
[inputs]: Remove labels.  Sort lexicographically.  Add cheese.  Replace
libgweather with libgweather4-with-libsoup2.
Replace gnome-online-accounts with gnome-online-accounts-3.44.
This commit is contained in:
Maxim Cournoyer 2022-09-05 01:47:24 -04:00
parent 16e0e0ed2b
commit 021e9d8102
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -1481,7 +1481,7 @@ extraction, and lookup for applications on the desktop.")
(define-public gnome-initial-setup (define-public gnome-initial-setup
(package (package
(name "gnome-initial-setup") (name "gnome-initial-setup")
(version "40.4") (version "42.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/gnome-initial-setup/" (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
@ -1489,52 +1489,52 @@ extraction, and lookup for applications on the desktop.")
"/gnome-initial-setup-" version ".tar.xz")) "/gnome-initial-setup-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"06q3p4f8g9zr7a4mw3qr556mi0dg9qzrj8n46ybdz93fxs26aaj1")))) "0yxy39a7d2whphd0jskvra5q8zy4v7m7lziy5fxibgls4j5xk0sd"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:configure-flags '(;; Enable camera support for user selfie. (list
"-Dcheese=auto" #:configure-flags #~(list "-Dsystemd=false")
"-Dsystemd=false") #:glib-or-gtk? #t
#:phases (modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'set-gkbd-file-name (add-after 'unpack 'set-gkbd-file-name
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
;; Allow the "Preview" button in the keyboard layout ;; Allow the "Preview" button in the keyboard layout
;; selection dialog to display the layout. ;; selection dialog to display the layout.
(let ((libgnomekbd (assoc-ref inputs "libgnomekbd")))
(substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c" (substitute* "gnome-initial-setup/pages/keyboard/cc-input-chooser.c"
(("\"gkbd-keyboard-display") (("\"gkbd-keyboard-display")
(string-append "\"" libgnomekbd (string-append "\"" (search-input-file
"/bin/gkbd-keyboard-display"))) inputs
#t)))))) "bin/gkbd-keyboard-display")))))))))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) (list gettext-minimal
("glib:bin" ,glib "bin") `(,glib "bin")
("gobject-introspection" ,gobject-introspection) gobject-introspection
("gtk+:bin" ,gtk+ "bin") pkg-config))
("pkg-config" ,pkg-config)))
(inputs (inputs
`(("accountsservice" ,accountsservice) (list accountsservice
;("adwaita-icon-theme" ,adwaita-icon-theme) cheese
("elogind" ,elogind) elogind
("gdm" ,gdm) gdm
("geoclue" ,geoclue) geoclue
("gnome-desktop" ,gnome-desktop) gnome-desktop
("gnome-online-accounts" ,gnome-online-accounts) gnome-online-accounts-3.44
("gstreamer" ,gstreamer) gstreamer
("ibus" ,ibus) ibus
("json-glib" ,json-glib) json-glib
("krb5" ,mit-krb5) mit-krb5
("libgweather" ,libgweather) libgnomekbd
("libnma" ,libnma) libgweather4-with-libsoup2
("libsecret" ,libsecret) libhandy
("network-manager" ,network-manager) libnma
("packagekit" ,packagekit) libpwquality
("polkit" ,polkit) libsecret
("pwquality" ,libpwquality) network-manager
("rest" ,rest) packagekit
("upower" ,upower) polkit
("webkitgtk" ,webkitgtk-with-libsoup2) rest
("libgnomekbd" ,libgnomekbd))) upower
webkitgtk-with-libsoup2))
(synopsis "Initial setup wizard for GNOME desktop") (synopsis "Initial setup wizard for GNOME desktop")
(description "This package provides a set-up wizard when a (description "This package provides a set-up wizard when a
user logs into GNOME for the first time. It typically provides a user logs into GNOME for the first time. It typically provides a