Bug 90519

Summary: Add support for libsystemd
Product: realmd Reporter: Michael Biebl <mbiebl>
Component: GeneralAssignee: Stef Walter <stefw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: stefw
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: [PATCH] Add support for libsystemd

Description Michael Biebl 2015-05-19 13:03:09 UTC
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779774

Hi!

In systemd v209, released over a year ago, the various libsystemd-* libraries
(libsystemd-journal.so, libsystemd-login.so, libsystem-daemon.so,
libsystemd-id128.so) were merged into a single libsystemd.so library to reduce
code duplication and avoid cyclic dependencies [1].

The attached patch tries to keep the changes minimal, and simply checks for libsystemd first and then falls back to the old libsystemd-journal name.
This way, realmd can be still be built with systemd < 209.


I intentionally did not rename the name of the configure switch.
If you prefer that and/or only want to check for the new libsystemd.pc, please let me know and I'll update the patch accordingly.


[1] http://lists.freedesktop.org/archives/systemd-devel/2014-February/017146.html
Comment 1 Michael Biebl 2015-05-19 13:05:05 UTC
Created attachment 115899 [details] [review]
[PATCH] Add support for libsystemd
Comment 2 Stef Walter 2015-07-09 15:45:22 UTC
Thanks! Merged.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.