[Pkg-privacy-maintainers] Bug#836121: onioncircuits: please use dbus-run-session to run tests

Simon McVittie smcv at debian.org
Tue Aug 30 17:04:16 UTC 2016


Source: onioncircuits
Version: 0.4-2
Severity: normal
User: dbus at packages.debian.org
Usertags: dbus-launch dbus-launch-for-tests

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 currently uses dbus-x11 for tests, invoking it
explicitly.

It should be possible to replace dbus-x11 as follows:

* replace the test dependency on dbus-x11 with dbus (>= 1.8)
* remove "eval `dbus-launch`", "export DBUS_SESSION_BUS_ADDRESS",
  "kill $DBUS_SESSION_BUS_PID" from debian/tests/gui-tor-test
* replace "Tests: gui-test" with
  "Test-Command: dbus-run-session -- debian/tests/gui-test"

Alternatively, you could invoke dbus-daemon directly, similar to
<https://github.com/flatpak/flatpak/commit/6cc8062cfb3f9410d54a27e7ccca77c103e441e8>.

Thanks,
    S



More information about the Pkg-privacy-maintainers mailing list