[Pkg-ime-devel] Bug#836092: fcitx: please invoke dbus-daemon directly, not dbus-launch

Simon McVittie smcv at debian.org
Tue Aug 30 14:56:56 UTC 2016


Source: fcitx
Version: 4.2.9.1-2
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 code that explicitly runs dbus-launch, without
a dependency on the dbus-x11 package that contains it. I would prefer this
to invoke dbus-daemon directly, similar to this Flatpak commit:
https://github.com/flatpak/flatpak/commit/6cc8062cfb3f9410d54a27e7ccca77c103e441e8
or this C code in D-Bus itself (search for --print-address):
https://cgit.freedesktop.org/dbus/dbus/tree/test/test-utils-glib.c

If it would be more convenient, dbus-daemon can be asked to send both the
address and pid to stdout (--print-address=1 --print-pid=1). Their order
is undocumented but predictable, and I don't intend to break it in future
D-Bus releases.

Thanks,
    S



More information about the Pkg-ime-devel mailing list