Source: magicgui
Severity: normal
Tags: forky sid
User: [email protected]
Usertags: direct-dbus-dependency

This package has a direct Depends and Build-Depends on the dbus package. 
This could be a larger dependency than it really needs, and could 
interfere with use of the dbus-broker package as a system bus.

For details of how to replace this dependency, please see:
https://salsa.debian.org/utopia-team/dbus/-/blob/debian/unstable/debian/replacing-dbus-dependency.txt?ref_type=heads

Based on a quick look at codesearch, I can't actually see why this 
package needs dbus at all. Perhaps the answer is that it doesn't?

For the Build-Depends, if it's using dbus-run-session(1) or invoking 
dbus-daemon(1) directly, then a dependency on the dbus-daemon package is 
likely to be sufficient and would not interfere with using an 
alternative implementation like dbus-broker as a system bus.

For the runtime Depends, if it needs the D-Bus session bus, to allow 
communication within a single desktop session (like dconf-service or 
MPRIS), a dependency on dbus does not actually guarantee that anyway, 
and the right dependency would be:

    default-dbus-session-bus | dbus-session-bus

Or if it needs the D-Bus system bus, to allow communication between the 
desktop session and system services (like NetworkManager or Avahi), a 
better way to ask for that is a dependency on:

    default-dbus-system-bus | dbus-system-bus

which will allow use of either the reference implementation (dbus) or a 
reimplementation (in practice dbus-broker).

    smcv

Reply via email to