Comment # 4 on bug 92164 from
Comment on attachment 118590 [details] [review]
When starting from the .desktop file, use D-Bus activation

Review of attachment 118590 [details] [review]:

Indeed, a hard dependency on having dbus-send installed is a bit problematic.
I'm going to use this instead:

if which dbus-send >/dev/null 2>&1; then
    # Use D-Bus activation to start it, to take advantage of
    # systemd service management.
    dbus-send \
        --session \
        --type=method_call \
        --print-reply \
        --dest=org.freedesktop.DBus \
        /org/freedesktop/DBus \
        org.freedesktop.DBus.StartServiceByName \
        string:org.syncevolution \
    # Fall back to direct invocation.
    exec @libexecdir@/syncevo-dbus-server @SYNCEVO_DBUS_SERVER_ARGS@
2>/dev/null 1>&1

You are receiving this mail because: