Hi Simon,

On  Mi 27 Aug 2025 18:15:54 CEST, Simon McVittie wrote:

Source: tone-generator
Severity: normal
Tags: forky sid upstream
Control: block 895291 by -1
User: [email protected]
Usertags: dbus-glib-deprecation

tone-generator Depends on libdbus-glib-1-2 and Build-Depends on
libdbus-glib-1-dev. Please (ask upstream to) avoid these dependencies.

From a quick look at codesearch.debian.net, it looks as though it is
actually only using libdbus APIs such as DBusConnection and DBusMessage.
If that is true, then the dependency on the deprecated dbus-glib library
could easily be dropped by removing dbus-glib-1 from the
PKG_CHECK_MODULES call, removing #include <dbus/dbus-glib.h> and
#include <dbus/dbus-glib-lowlevel.h>, and removing libdbus-glib-1-dev
from the Build-Depends in the packaging.

Thanks,
    smcv

tone-generator uses dbus_connection_setup_with_g_main() from dbus-glib-lowlevel.h. How can that be replaced?
https://sources.debian.org/src/tone-generator/1.6.1-5/src/dbusif.c?hl=94#L94

Mike
--

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [email protected], http://sunweavers.net

Attachment: pgpluXnMsPs3I.pgp
Description: Digitale PGP-Signatur

Reply via email to