#1112224 claws-mail: Depends on deprecated dbus-glib

#1112224#5
Date:
2025-08-27 16:03:46 UTC
From:
To:
dbus-glib is a deprecated D-Bus library with some significant design
flaws, and is essentially unmaintained. I would like to minimize its
use, and eventually remove it from Debian. There will not be a version
that fixes its design flaws, because that would be a major compatibility
break, and any user of dbus-glib who is willing to port their
application to a newer, incompatible version should instead be porting
their application to a better D-Bus implementation such as GDBus.

If I'm reading correctly, claws-mail uses dbus-glib to communicate with
NetworkManager to monitor whether the network is connected ("online").
Please (ask upstream to) consider using GLib's GNetworkMonitor object
instead: this has been available in <gio/gio.h> since GLib 2.32 (circa
2012) and is a cross-platform abstraction that can work with
any or no network connection service.

claws-mail also uses dbus-glib in addressbook-dbus.c to communicate with
org.clawsmail.Contacts, a D-Bus service that does not appear to be
packaged in Debian. Please consider porting this part to GLib's GDBus
(also available in <gio/gio.h> for many years), or disabling that
optional feature. A porting guide is available in the GLib
documentation: <https://docs.gtk.org/gio/migrating-gdbus.html>.

Thanks,
    smcv

#1112224#14
Date:
2026-04-24 10:36:29 UTC
From:
To:
Control: severity -1 important

I'm raising the bug reports for remaining uses of dbus-glib to important
severity. It's now been 11 years since dbus-glib was documented as
deprecated in its own NEWS file, and it hasn't got any better-quality or
more-maintained since then.

It might be useful to note that since the initial MBF in 2018, the
migration guide from dbus-glib to GDBus has moved to
<https://docs.gtk.org/gio/migrating-gdbus.html>.

     smcv