[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/20: gnu: mate-session-manager: Configure with with elogind support.
From: |
Danny Milosavljevic |
Subject: |
02/20: gnu: mate-session-manager: Configure with with elogind support. |
Date: |
Sat, 30 Dec 2017 16:55:41 -0500 (EST) |
dannym pushed a commit to branch master
in repository guix.
commit 1b332539ebfe258536ecdf1199fc82d7516fdad3
Author: ng0 <address@hidden>
Date: Sat Dec 30 22:41:46 2017 +0100
gnu: mate-session-manager: Configure with with elogind support.
* gnu/packages/mate.scm (mate-session-manager)[arguments]: Add
'--enable-elogind'
to configure-flags.
(phases): Add 'pre-configure' phase.
Signed-off-by: Danny Milosavljevic <address@hidden>
---
gnu/packages/mate.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm
index eeb5eb1..409ca57 100644
--- a/gnu/packages/mate.scm
+++ b/gnu/packages/mate.scm
@@ -235,6 +235,29 @@ configurations (profiles).")
(base32
"0i0xq6041x2qmb26x9bawx0qpfkgjn6x9w3phnm9s7rc4s0z20ll"))))
(build-system glib-or-gtk-build-system)
+ (arguments
+ `(#:configure-flags (list "--enable-elogind"
+ "--disable-schemas-compile")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'pre-configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Use elogind instead of systemd.
+ (substitute* "configure"
+ (("libsystemd-login")
+ "libelogind")
+ (("systemd") "elogind"))
+ (substitute* "mate-session/gsm-systemd.c"
+ (("#include <systemd/sd-login.h>")
+ "#include <elogind/sd-login.h>"))
+ ;; Remove uses of the systemd journal.
+ (substitute* "mate-session/main.c"
+ (("#ifdef HAVE_SYSTEMD") "#if 0"))
+ (substitute* "mate-session/gsm-manager.c"
+ (("#ifdef HAVE_SYSTEMD") "#if 0"))
+ (substitute* "mate-session/gsm-autostart-app.c"
+ (("#ifdef HAVE_SYSTEMD") "#if 0"))
+ #t)))))
(native-inputs
`(("pkg-config" ,pkg-config)
("intltool" ,intltool)
@@ -243,6 +266,7 @@ configurations (profiles).")
(inputs
`(("gtk+" ,gtk+)
("dbus-glib" ,dbus-glib)
+ ("elogind" ,elogind)
("libsm" ,libsm)
("mate-desktop" ,mate-desktop)))
(home-page "https://mate-desktop.org/")
- branch master updated (acd7bf4 -> 431703f), Danny Milosavljevic, 2017/12/30
- 01/20: gnu: Add mate-user-guide., Danny Milosavljevic, 2017/12/30
- 02/20: gnu: mate-session-manager: Configure with with elogind support.,
Danny Milosavljevic <=
- 08/20: gnu: Add mate-common., Danny Milosavljevic, 2017/12/30
- 03/20: gnu: Add caja-extensions., Danny Milosavljevic, 2017/12/30
- 09/20: gnu: Add mate-icon-theme-faenza., Danny Milosavljevic, 2017/12/30
- 14/20: gnu: Add eom., Danny Milosavljevic, 2017/12/30
- 11/20: gnu: Add mate-netbook., Danny Milosavljevic, 2017/12/30
- 07/20: gnu: Add mate-backgrounds., Danny Milosavljevic, 2017/12/30
- 10/20: gnu: Add libfakekey., Danny Milosavljevic, 2017/12/30
- 13/20: gnu: Add mate-utils., Danny Milosavljevic, 2017/12/30
- 04/20: gnu: caja: Add native-search-paths., Danny Milosavljevic, 2017/12/30
- 06/20: gnu: Add mate-calc., Danny Milosavljevic, 2017/12/30