gnu: gnome-session: Update to 3.20.1, fix build.

* gnu/packages/gnome.scm (gnome-session): Update to 3.20.1.
[arguments]: Remove use of systemd in 'gsm-autostart-app.c.'.
This commit is contained in:
宋文武 2016-04-28 10:04:52 +08:00
parent 74cf8f6cf9
commit 803ab4164d
1 changed files with 4 additions and 2 deletions

View File

@ -3819,7 +3819,7 @@ such as gzip tarballs.")
(define-public gnome-session (define-public gnome-session
(package (package
(name "gnome-session") (name "gnome-session")
(version "3.20.0") (version "3.20.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 "/"
@ -3827,7 +3827,7 @@ such as gzip tarballs.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0d0v60lmvr8wbrswfpc4f4jg2dhxj6nkgv7wnwdf2zifk8vp5zv6")))) "04w90gyl0kdx5vwmdcgfdk3qr9xhip00vgpgzci151agqwyzbs9a"))))
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -3846,6 +3846,8 @@ such as gzip tarballs.")
(("#ifdef HAVE_SYSTEMD") "#if 0")) (("#ifdef HAVE_SYSTEMD") "#if 0"))
(substitute* "gnome-session/gsm-manager.c" (substitute* "gnome-session/gsm-manager.c"
(("#ifdef HAVE_SYSTEMD") "#if 0")) (("#ifdef HAVE_SYSTEMD") "#if 0"))
(substitute* "gnome-session/gsm-autostart-app.c"
(("#ifdef HAVE_SYSTEMD") "#if 0"))
#t)) #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)