Autolaunch brings too much magic to spawn a dbus-daemon(1) process and we
want predictable buses; we can't use --without-x because this would break
bus activated clients (since we don't use systemd)
This would prevent applications from using execve() dbus-daemon and help
pledge(1)d programs (e.g. firefox).
idea from semarie
in the checks.
Someone clearly did not read the autoconf documentation because
using the following functions with a function declaration inside
the body will end up declaring a function inside a function.
- AC_TRY_COMPILE( [], [ int main() { return 0; } ],
- AC_LANG_PROGRAM([[]], [[int main (void) { return 0; }]])],
- AC_TRY_LINK([], [int main (void) { return 0; }],
Result:
int
main ()
{
int main (void) { return 0; }
;
return 0;
}
nested functions is a gcc extension which is not supported by
clang.
test.c:4:17: error: function definition is not allowed here
int main (void) { return 0; }
^
1 error generated.
This causes tests to fail in the configure scripts resulting in
missing compile and link time flags from the builds.
This resulted in weird behaviour of several software, like gnome
hanging completely due to gtk+3 not being built properly.
This change intrudces the following fixes:
- remove int main() declaration from AC_TRY_COMPILE, AC_LANG_PROGRAM, AC_TRY_LINK
as it comes with a declaration already, and people misused them
- change to use AC_LANG_SOURCE when needed in case a complete source block is specified
Most of the changes are in configure.(ac|in), however there were some cases
where autoconf is either broken or the build failed because of an autoconf
generated configure script. Everytihng else is switched to autoconf, so
the maintainers can go ahead and upstream these diffs.
There are more to come, we are continously checking the tree for these issues
and in the future the infrastructure will error if such a case is found.
dbus-daemon-launch-helper setuid helper binary).
Applications installing files under /usr/local/share/dbus-1/system-services/
*must* now RUN_DEPENDS on x11/dbus,-suid.
This was requested by reyk@ some time ago.
While here, rename the rc scrip to "messagebus" which is what upstream
recommends.
discussed with landry@ and jasper@
Bump and dependency changes coming in a few...