-
Notifications
You must be signed in to change notification settings - Fork 94
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
meson: Fix operation of D-Bus path macros #1182
Conversation
meson_options.txt
Outdated
value: '/bin/dbus-daemon', | ||
value: '', | ||
description: 'Set path to D-Bus daemon', | ||
) | ||
option( | ||
'with-dbus-sysconf-path', | ||
type: 'string', | ||
value: '/etc/dbus-1/system.d', | ||
value: '', |
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.
It's a bit unfortunate that the default value isn't defined here anymore, since we lose the transparency to users. I assume you did this because you want a fallback for macOS?
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.
The value: argument in meson_options.txt may only be a string, int, bool, or array of those. The default dbus sysconf path is a concatenation of the prefix
variable and 'etc/dbus-1/system.d'
so we have to leave it as an empty string. We can keep the default bus-daemon path though as it is just a pure string.
Quality Gate passedIssues Measures |
This commit fixes errors in setting the correct dbus-daemon and dbus-sysconf path variables. The variables now match those set by autotools.