Subject: bug#72346: closed (Re: bug#72346: dbus session daemon fail to start kdeconnectd)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 30 Jul 2024 23:59:02 +0000

Your bug report

#72346: dbus session daemon fail to start kdeconnectd

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
72346: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72346
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#72346: dbus session daemon fail to start kdeconnectd
From: 宋文武 <[email-masked]>
To: Zheng Junjie <[email-masked]>
Cc: [email-masked]
Date: Wed, 31 Jul 2024 07:58:14 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Zheng Junjie <[email-masked]> writes:

> [...]
> Subject: [PATCH] gnu: kdeconnect: Fix dbus autostart.
>
> * gnu/packages/kde.scm (kdeconnect)[phases]: Add fix-dbus-autostart phase.
>
> Change-Id: I27ac61e41f15f9ff2de658fbd04633820f5e0966
> ---
>  gnu/packages/kde.scm | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
> index 59f3b1052b..0e51e3e230 100644
> --- a/gnu/packages/kde.scm
> +++ b/gnu/packages/kde.scm
> @@ -1326,6 +1326,12 @@ (define-public kdeconnect
>                     "-DKDE_INSTALL_LIBEXECDIR=libexec"
>                     ;; So kdeconnect.so isn't installed to lib/plugins
>                     "-DPLUGIN_INSTALL_DIR=lib/qt6/plugins")
> +           #:phases #~(modify-phases %standard-phases
> +                        (add-after 'unpack 'fix-dbus-autostart
> +                          (lambda _
> +                            (substitute* "daemon/org.kde.kdeconnect.service.in"
> +                              (("kdeconnectd")
> +                               (string-append #$output "/bin/kdeconnectd"))))))
>             #:tests? #f)) ; tests fail hard in our build environment
>      (native-inputs
>       (list extra-cmake-modules
>
> base-commit: fdc6274de5b1d617fcabb3f3af9d2c0dd2a6520d
> prerequisite-patch-id: 9429d31c7fc951f1c90d8df0d4c1d5655f38287f
> prerequisite-patch-id: 8aba1f6e2d202562de36cf70cb0cb0a4eaa76de7

Pushed to master, thank you!

Subject: dbus session daemon fail to start kdeconnectd
From: 宋文武 <[email-masked]>
To: [email-masked]
Cc: Zheng Junjie <[email-masked]>
Date: Mon, 29 Jul 2024 11:11:57 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello, kdeconnect-app fail to start 'kdeconnectd' automatically.

It reports:
2024-07-29 11:06:12 dbus-daemon[293]: [session uid=1000 pid=293 pidfd=4] Activated service 'org.kde.kdeconnect' failed: Failed to execute program org.kde.kdeconnect: No such file or directory

And we have org.kde.kdeconnect.service:
[D-BUS Service]
Name=org.kde.kdeconnect
Exec=kdeconnectd

Maybe the 'Exec=' must have an absolute path?