Bug#836050: pygobject: please use dbus-run-session to run tests
Simon McVittie
smcv at debian.org
Tue Aug 30 10:16:59 UTC 2016
Source: pygobject-2
Version: 2.28.6-13
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 leaking a dbus-daemon process.
This is very similar to the bug I just opened against pygobject,
which does have a fix for the leaked process.
It should be possible to replace dbus-x11 (while fixing the leak) 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
This change should ideally go upstream, if upstream still take patches
for pygobject-2.
Thanks,
S
More information about the pkg-gnome-maintainers
mailing list