mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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 <dannym@scratchpost.org>
This commit is contained in:
parent
75282ec168
commit
1b332539eb
1 changed files with 24 additions and 0 deletions
|
@ -235,6 +235,29 @@ (define-public mate-session-manager
|
||||||
(base32
|
(base32
|
||||||
"0i0xq6041x2qmb26x9bawx0qpfkgjn6x9w3phnm9s7rc4s0z20ll"))))
|
"0i0xq6041x2qmb26x9bawx0qpfkgjn6x9w3phnm9s7rc4s0z20ll"))))
|
||||||
(build-system glib-or-gtk-build-system)
|
(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
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("intltool" ,intltool)
|
("intltool" ,intltool)
|
||||||
|
@ -243,6 +266,7 @@ (define-public mate-session-manager
|
||||||
(inputs
|
(inputs
|
||||||
`(("gtk+" ,gtk+)
|
`(("gtk+" ,gtk+)
|
||||||
("dbus-glib" ,dbus-glib)
|
("dbus-glib" ,dbus-glib)
|
||||||
|
("elogind" ,elogind)
|
||||||
("libsm" ,libsm)
|
("libsm" ,libsm)
|
||||||
("mate-desktop" ,mate-desktop)))
|
("mate-desktop" ,mate-desktop)))
|
||||||
(home-page "https://mate-desktop.org/")
|
(home-page "https://mate-desktop.org/")
|
||||||
|
|
Loading…
Reference in a new issue