-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add basu/0.2.1 #22950
add basu/0.2.1 #22950
Conversation
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 2 (
Conan v2 pipeline ✔️
All green in build 2 (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for your contribution! My first question here is, given that this comes from systemd, is the current recipe providing this already? Would it make sense to have a conflict if both are present as requirements?
The rest of the recipe looks good :D
Well, yes. Kind of. basu is a subset of libsystemd. basu exports the same symbols, and it's probably binary compatible with libsystemd (but there are no guarantees). The major difference is that basu supports FreeBSD, and libsystemd doesn't. I think that the main usage of basu recipe will be something like this: if self.settings.os == 'Linux':
self.requires('libsystemd')
elif self.settings.os == 'FreeBSD':
self.requires('basu')
Good question. Imagine the following situation. You have a package with two binaries (let's call them 'client' and 'server'). The server links with libsystemd (by historical reasons). And the client links with basu (maybe because basu is already it's indirect dependency). And the client communicates with the server using dbus. In this situation I don't see why it should be prohibited on the recipe level. |
Specify library name and version: basu/0.2.1
basu is the sd-bus library, extracted from systemd.
Some projects rely on the sd-bus library for DBus support. However not all systems have systemd or elogind installed. This library provides just sd-bus (and the busctl utility).