[systemd-devel] Standalone libsystemd

Ryan Gonzalez rymg19 at gmail.com
Fri Mar 22 01:19:12 UTC 2019


Hello!

I've come to really love using the sd-bus and sd-event APIs for lightweight
D-Bus access and event loops, and I'm sure I'm not the only one. The amount
of bindings to other languages for stuff like sd-bus. However, this
unfortunately doesn't work in a Flatpak environment, and building the
entirety of systemd for some libsystemd stuff just...isn't that great.

My idea was to add a Meson config option that would just build the systemd
libraries, e.g. -Donly-public-libraries.

That being said, I know that not all the libraries would be buildable this
way. At minimum, udev requires the library version to match the host:
https://lists.freedesktop.org/archives/systemd-devel/2014-October/024539.html

So I guess this comes down to:

- Would libsystemd work standalone? What features *wouldn't* work? (I'm
guessing the device and journal APIs.)
- Would a flag like this be considered for addition to the build scripts?

-- 
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20190321/cca7f3c4/attachment.html>


More information about the systemd-devel mailing list