[DRE-maint] Bug#836296: ruby-dbus: could use dbus-run-session instead of reinventing it

Simon McVittie smcv at debian.org
Thu Sep 1 12:02:54 UTC 2016


Source: ruby-dbus
Version: 0.11.0-1
Severity: wishlist
Tags: upstream

As described in <https://lists.debian.org/debian-devel/2016/08/msg00554.html>
I'm trying to reduce how much dbus-launch is used in Debian.
This package showed up in my search for mentions of dbus-launch, but
does not actually use dbus-launch, instead implementing its own script
resembling dbus-run-session.

This is really a minor upstream bug rather than anything in Debian,
but it's one of up to 300 in this mass bug filing, so I'm not going to
go looking for every upstream bug tracker - sorry!

Unlike dbus-launch, dbus-run-session is better-designed for the use
case of wrapping a regression test, and does not have an X11 dependency;
distributions are expected to ship it in the same package as dbus-daemon.
Now that dbus has had dbus-run-session for quite a long time (it
was new in 1.8.0, in January 2014) it should be safe to remove
test/tools/dbus-launch-simple, and replace

    ./test_server \
         ../service_newapi.rb \
         -- \
         ./dbus-launch-simple \
         "$@"

with

    ./test_server \
         ../service_newapi.rb \
         -- \
         dbus-run-session \
         -- \
         "$@"

in test/tools/test_env.

Thanks,
    S



More information about the Pkg-ruby-extras-maintainers mailing list