me
/
guix
Archived
1
0
Fork 0

gnu: gnome-session: Update to 40.1.

* gnu/packages/gnome.scm (gnome-session): Update to 40.1.
[source]: Fix the URI.
[arguments]: Remove the trailing #t.
<#:configure-flags>: Disable systemd and systemd_session.
master
Mathieu Othacehe 2021-09-24 18:59:19 +00:00
parent 969eb180b8
commit fdb1c4ea8c
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 7 additions and 7 deletions

View File

@ -7126,15 +7126,15 @@ such as gzip tarballs.")
(define-public gnome-session (define-public gnome-session
(package (package
(name "gnome-session") (name "gnome-session")
(version "3.34.2") (version "40.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/" (uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/" (version-major version) "/"
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb")))) "02z0xr6sv9ibl7awbw9j4y05hf4jk1zgvsbbmh7n27hhjvsvc8pl"))))
(arguments (arguments
'(#:glib-or-gtk? #t '(#:glib-or-gtk? #t
#:phases #:phases
@ -7150,20 +7150,20 @@ such as gzip tarballs.")
"#include <elogind/sd-login.h>")) "#include <elogind/sd-login.h>"))
;; Remove uses of the systemd daemon. ;; Remove uses of the systemd daemon.
(substitute* "gnome-session/gsm-autostart-app.c" (substitute* "gnome-session/gsm-autostart-app.c"
(("#ifdef HAVE_SYSTEMD") "#if 0")) (("#ifdef HAVE_SYSTEMD") "#if 0"))))
#t))
(add-after 'install 'wrap-gnome-session (add-after 'install 'wrap-gnome-session
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
;; Make sure 'gnome-session' finds the 'gsettings' program. ;; Make sure 'gnome-session' finds the 'gsettings' program.
(let ((glib (assoc-ref inputs "glib:bin")) (let ((glib (assoc-ref inputs "glib:bin"))
(out (assoc-ref outputs "out"))) (out (assoc-ref outputs "out")))
(wrap-program (string-append out "/bin/gnome-session") (wrap-program (string-append out "/bin/gnome-session")
`("PATH" ":" prefix (,(string-append glib "/bin")))) `("PATH" ":" prefix (,(string-append glib "/bin"))))))))
#t))))
#:configure-flags #:configure-flags
'("-Ddocbook=false" ; FIXME: disabled because of docbook validation error '("-Ddocbook=false" ; FIXME: disabled because of docbook validation error
"-Dman=false" ; FIXME: disabled because of docbook validation error "-Dman=false" ; FIXME: disabled because of docbook validation error
"-Dsystemd=false"
"-Dsystemd_session=disable"
"-Dsystemd_journal=false"))) "-Dsystemd_journal=false")))
(build-system meson-build-system) (build-system meson-build-system)
(native-inputs (native-inputs