Bug#836100: java-gnome: please take screenshots using dbus-run-session, not dbus-launch

Simon McVittie smcv at debian.org
Tue Aug 30 15:31:13 UTC 2016


Source: java-gnome
Version: 4.1.3-4
Severity: normal
Tags: upstream
User: dbus at packages.debian.org
Usertags: dbus-launch dbus-launch-for-infra

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 has build-time code that depends on dbus-x11 and
explicitly runs dbus-launch as a wrapper around metacity:

    windowManager = r.exec("/usr/bin/dbus-launch /usr/bin/metacity --display=" + DISPLAY);

Instead please use dbus-run-session, which will avoid leaking a dbus-daemon process:

    windowManager = r.exec("/usr/bin/dbus-run-session -- /usr/bin/metacity --display=" + DISPLAY);

and change the build-dependency from dbus-x11 to dbus (>= 1.8).

Thanks,
    S



More information about the pkg-java-maintainers mailing list