Source: usbguard Version: 0.7.6+ds-1 Severity: normal Tags: upstream User: pkg-utopia-maintain...@lists.alioth.debian.org Usertags: dbus-glib-deprecation Control: block 895291 by -1
dbus-glib is a deprecated D-Bus library with some significant design flaws, and is essentially unmaintained. As announced in [0], I would like to minimize its use, and eventually remove it from Debian. This package Build-Depends on libdbus-glib-1-dev, and checks for dbus-glib-1 in its upstream build system, but I couldn't find any sign of it actually *using* dbus-glib - perhaps it used to use dbus-glib but does not any more? If this analysis is correct, please patch out the check for dbus-glib-1 (this change could usefully be sent upstream) and remove the Build-Depends on libdbus-glib-1-dev. Similarly, it Build-Depends on libdbus-1-dev (which is not deprecated), and checks for dbus-1 in its upstream build system, but it doesn't appear to actually use that dependency. To use GLib's "GDBus" family of APIs (GDBusConnection, etc.) you only need to check for the gio-2.0 pkg-config module: it is not necessary to have dbus-1 or dbus-glib-1 development files installed. Removing this dependency would make the overall dependency graph of Debian a bit less tightly-coupled. If this package has uses of dbus-glib that I have missed, please see [0] for how to proceed. Thanks, smcv [0] https://lists.debian.org/debian-devel/2020/03/msg00272.html