- Package:
- src:lxsession
- Source:
- lxsession
- Submitter:
- Simon McVittie
- Date:
- 2026-05-10 17:09:01 UTC
- Severity:
- normal
- Tags:
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, but it looks as though
all its D-Bus bits are implemented using either GLib's GDBus (part of
libglib2.0-0) or the dbus-send(1) command-line tool. If this analysis
is correct, please remove the Build-Depends on libdbus-glib-1-dev.
You might also need a Build-Depends and/or Depends on dbus, for
dbus-send(1).
If this package has other 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
FYI: It seems that this bug is already fixed in upstream https://git.lxde.org/gitweb/?p=debian/lxsession.git;a=commit;h=612ac4cd55214a280638f1bf062e40e2d6f1ff7a
Control: tags -1 = patch upstream
It looks like that guess was correct. The attached patch
0001-d-control-d-patches-Stop-depending-on-dbus-glib.patch builds
successfully and does not change the contents of the binary package
(verified with diffoscope); I haven't tested it beyond that.
I haven't checked whether lxsession is missing a dependency on
dbus-send. It would probably be a good idea to add one, but that is
out-of-scope for this particular bug report.
dbus-glib. Please forward the attached patch
"build-Remove-a-leftover-reference-to-dbus-glib.patch" upstream.
smcv
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