Source: mediascanner2
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) (directly or 
via GTestDBus) 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, it looks as though it's a session bus service 
that 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 does need the D-Bus system bus as well, a better way to ask for 
that is

    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