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
Avoid dbus dependency #506
Comments
@michaelolbrich In jluebbe@d1e0914, I tried to implement this. Is seems to work (no |
…ectory The dbus-1 pkgfile is only used if at least one of the three parameters --with-dbuspolicydir --with-dbussystemservicedir --with-dbusinterfacesdir isn't specified. So only check for dbus-1 in this case which allows to weaken build dependencies in some circumstances. Closes: rauc#506 Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
PKG_CHECK_VAR is clever enough to not require PKG_CHECK_MODULES beforehand. Also it allows overwriting using variables, so the previous options --with-dbus-policydir etc. can be dropped, use ./configure DBUS_POLICYDIR=... instead. (This also better matches the usual autoconf semantics where --with-$something is to configure with an external software package, not to configure a path.) Another change is that failures to query a variable from pkg-config now aborts configure. Closes: rauc#506 Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
@jluebbe time is probably better invested in meson support as long as this does not cause any real-world pain (which it does not seem to). I'll just close this as this was idle for quite a long time already, anyway. |
Since 7698cad we have a strict dependency on the dbus-1 pkg-config module. @michaelolbrich suggested to only search for it if
--with-dbussystemservicedir=DIR
is not given on the configure command-line and we actually need to do the auto-configuration. When this is fixed, the workaround in meta-rauc should be removed (see rauc/meta-rauc#92).The text was updated successfully, but these errors were encountered: