From 2c3973f566a889e291555a208813f45a371134b7 Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Wed, 14 Dec 2016 00:44:54 -0800 Subject: [PATCH] gnome: Enable session tracking in network-manager. * gnu/packages/gnome.scm (network-manager): Add configuration options "--with-systemd-logind=yes" (so we can use elogind to track login sessions) and "--with-consolekit=no" (so we don't use consolekit to track sessions, since it isn't packaged yet). Add elogind as an input. --- gnu/packages/gnome.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 1762381cf..c2b4f0ce4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4409,7 +4409,9 @@ users.") (doc (assoc-ref %outputs "doc")) (dhclient (string-append (assoc-ref %build-inputs "isc-dhcp") "/sbin/dhclient"))) - (list "--with-crypto=gnutls" + (list "--with-systemd-logind=yes" ; In Guix, this is provided via elogind. + "--with-consolekit=no" ; We haven't packaged consolekit yet. + "--with-crypto=gnutls" "--disable-config-plugin-ibft" "--sysconfdir=/etc" "--localstatedir=/var" @@ -4474,7 +4476,8 @@ users.") ("polkit" ,polkit) ("ppp" ,ppp) ("readline" ,readline) - ("util-linux" ,util-linux))) + ("util-linux" ,util-linux) + ("elogind" ,elogind))) (synopsis "Network connection manager") (home-page "http://www.gnome.org/projects/NetworkManager/") (description -- 2.11.0