[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: gnu: polkit: Use elogind for seat management.
From: |
Andy Wingo |
Subject: |
01/06: gnu: polkit: Use elogind for seat management. |
Date: |
Wed, 02 Sep 2015 20:58:30 +0000 |
wingo pushed a commit to branch wip-pam-elogind
in repository guix.
commit 7b6c5c5d74fcb69b04929e7f5b2988adbeebcf2f
Author: Andy Wingo <address@hidden>
Date: Tue Aug 18 11:39:22 2015 +0200
gnu: polkit: Use elogind for seat management.
* gnu/packages/polkit.scm (polkit): Depend on elogind.
---
gnu/packages/polkit.scm | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm
index 172b0e1..06afdf1 100644
--- a/gnu/packages/polkit.scm
+++ b/gnu/packages/polkit.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Andreas Enge <address@hidden>
+;;; Copyright © 2015 Andy Wingo <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +24,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
+ #:use-module (gnu packages freedesktop)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnuzilla)
#:use-module (gnu packages linux)
@@ -44,11 +46,28 @@
(sha256
(base32
"109w86kfqrgz83g9ivggplmgc77rz8kx8646izvm2jb57h4rbh71"))
- (patches (list (search-patch "polkit-drop-test.patch")))))
+ (patches (list (search-patch "polkit-drop-test.patch")))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (use-modules (guix build utils))
+ (substitute* "configure"
+ ;; Replace libsystemd-login with libelogind.
+ (("libsystemd-login") "libelogind")
+ ;; Skip the sanity check that the current system runs
+ ;; systemd.
+ (("test ! -d /sys/fs/cgroup/systemd/") "false"))
+ (substitute* "src/polkit/polkitunixsession-systemd.c"
+ (("systemd") "elogind"))
+ (substitute*
"src/polkitbackend/polkitbackendsessionmonitor-systemd.c"
+ (("systemd") "elogind"))
+ (substitute* "src/polkitbackend/polkitbackendjsauthority.c"
+ (("systemd") "elogind"))))))
(build-system gnu-build-system)
(inputs
`(("expat" ,expat)
("glib:bin" ,glib "bin") ; for glib-mkenums
+ ("elogind" ,elogind)
("intltool" ,intltool)
("linux-pam" ,linux-pam)
("mozjs" ,mozjs)
- branch wip-pam-elogind created (now c33372a), Andy Wingo, 2015/09/02
- 01/06: gnu: polkit: Use elogind for seat management.,
Andy Wingo <=
- 03/06: gnu: Add polkit service., Andy Wingo, 2015/09/02
- 02/06: gnu: polkit: Look for rules in /run/current-system/profile., Andy Wingo, 2015/09/02
- 04/06: doc: Document polkit and elogind services., Andy Wingo, 2015/09/02
- 05/06: guix: git: Support shallow git clones if a tag is available, Andy Wingo, 2015/09/02
- 06/06: gnu: Allow OS configurations to add PAM session modules, Andy Wingo, 2015/09/02