[Bug 94209] Session-info source: incompatibility with recent systemd

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 29 17:42:40 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94209

Christophe Fergeau <teuf at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |teuf at gnome.org

--- Comment #1 from Christophe Fergeau <teuf at gnome.org> ---
It seems the libraries have been removed, but the headers we need are still
there. So a patch like
diff --git a/configure.ac b/configure.ac
index ca9a15b..04917fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,7 +84,7 @@ PKG_CHECK_MODULES(ALSA, [alsa >= 1.0.22])

 if test "$with_session_info" = "auto" || test "$with_session_info" =
"systemd"; then
     PKG_CHECK_MODULES([LIBSYSTEMD_LOGIN],
-                      [libsystemd-login >= 42],
+                      [libsystemd >= 122],
                       [have_libsystemd_login="yes"],
                       [have_libsystemd_login="no"])
     if test x"$have_libsystemd_login" = "xno" && test "$with_session_info" =
"systemd"; then


will probably be enough.I don't know when exactly libsystemd-login was
considered deprecated and sd-login.h 'associated' with libsystemd.so rather
than libsystemd-login.so , so the 122 version in the check is entirely
arbitrary.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-bugs/attachments/20160229/b6ed060c/attachment.html>


More information about the spice-bugs mailing list