[Pkg-utopia-maintainers] Bug#878878: default-dbus-session-bus: Not installable on non-Linux
Simon McVittie
smcv at debian.org
Tue Oct 17 14:55:35 UTC 2017
On Tue, 17 Oct 2017 at 15:12:11 +0100, Simon McVittie wrote:
> On Tue, 17 Oct 2017 at 13:41:31 +0100, James Clarke wrote:
> > Please modify dbus, either with more complicated Provides
>
> This requires dbus-user-session to become Architecture: linux-any
> instead of all
Seems to work, so I've pushed it to git. In the next upload, we'll
have:
dbus-user-session (Architecture: linux-any) Provides: d-d-s-b
dbus-x11 (Architecture: any) Provides: d-d-s-b [!linux-any]
so every architecture will have exactly one d-d-s-b implementation.
Build-time tests are still responsible for starting a dbus-daemon
if they need one: the API guarantee of the dbus-session-bus virtual
package is only for "normal" GUI logins (deliberately left a bit vague
so that dbus-x11 can be an implementation of it), and buildds are not
one of those. The preferred interfaces for this are to use the
dbus-run-session "adverb":
dbus-run-session -- make check
or invoke dbus-daemon directly if more control is needed:
https://sources.debian.net/src/flatpak/0.8.5-2%2Bdeb9u1/tests/libtest.sh/#L259
Regards,
smcv
More information about the Pkg-utopia-maintainers
mailing list