Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Remove dbus-launch usage #2022

Closed
lazka opened this issue Aug 30, 2016 · 1 comment
Closed

tests: Remove dbus-launch usage #2022

lazka opened this issue Aug 30, 2016 · 1 comment

Comments

@lazka
Copy link
Member

@lazka lazka commented Aug 30, 2016

https://lists.debian.org/debian-devel/2016/08/msg00554.html

@smcv
Copy link

@smcv smcv commented Aug 30, 2016

There's more information for quodlibet's specific situation in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836054:

This Flatpak commit illustrates how eval dbus-launch can be replaced
by invoking dbus-daemon directly, avoiding the X11-specific dbus-launch:
flatpak/flatpak@6cc8062.
It is possible to send both the address and the pid to stdout
("--print-address=1 --print-pid=1") if that would be easier to do from
Python; their order is undocumented but predictable, and I don't intend
to break it in future D-Bus releases.

Alternatively, the test executable could be run through
dbus-run-session(1), which is available since dbus 1.8, the upstream
"old stable" branch available in Debian stable:

dbus-run-session -- some-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants