Bug#836049: pygobject: please use dbus-run-session to run tests

Simon McVittie smcv at debian.org
Tue Aug 30 10:15:19 UTC 2016


Source: pygobject
Version: 3.20.1-1
Severity: normal
Tags: upstream
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, explicitly invoking
dbus-launch and then explicitly cleaning up the daemon afterwards.

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

* replace the build-dependency on dbus-x11 with dbus (>= 1.8)
* patch tests/Makefile.am something like this:
  - remove "DBUS_LAUNCH=$(shell which dbus-launch)"
  - remove "export `$(DBUS_LAUNCH)` &&"
  - put "dbus-run-session --" just before "$(EXEC_NAME)" in the
    check-local target
  - remove "kill $$DBUS_SESSION_BUS_PID"

This change should ideally go upstream.

Thanks,
    S




More information about the pkg-gnome-maintainers mailing list