unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72346: dbus session daemon fail to start kdeconnectd
@ 2024-07-29  3:11 宋文武 via Bug reports for GNU Guix
  2024-07-30  5:34 ` Zheng Junjie
  0 siblings, 1 reply; 3+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2024-07-29  3:11 UTC (permalink / raw)
  To: 72346; +Cc: Zheng Junjie

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?




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#72346: dbus session daemon fail to start kdeconnectd
  2024-07-29  3:11 bug#72346: dbus session daemon fail to start kdeconnectd 宋文武 via Bug reports for GNU Guix
@ 2024-07-30  5:34 ` Zheng Junjie
  2024-07-30 23:58   ` 宋文武 via Bug reports for GNU Guix
  0 siblings, 1 reply; 3+ messages in thread
From: Zheng Junjie @ 2024-07-30  5:34 UTC (permalink / raw)
  To: 72346; +Cc: iyzsong


[-- Attachment #1.1: Type: text/plain, Size: 522 bytes --]

宋文武 via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

> 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?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-kdeconnect-Fix-dbus-autostart.patch --]
[-- Type: text/x-patch, Size: 1604 bytes --]

From e8176e7919436a2ff1bf0ef764c2e08c67bc4d60 Mon Sep 17 00:00:00 2001
Message-ID: <e8176e7919436a2ff1bf0ef764c2e08c67bc4d60.1722317638.git.zhengjunjie@iscas.ac.cn>
From: Zheng Junjie <zhengjunjie@iscas.ac.cn>
Date: Tue, 30 Jul 2024 13:06:22 +0800
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
-- 
2.45.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#72346: dbus session daemon fail to start kdeconnectd
  2024-07-30  5:34 ` Zheng Junjie
@ 2024-07-30 23:58   ` 宋文武 via Bug reports for GNU Guix
  0 siblings, 0 replies; 3+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2024-07-30 23:58 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: 72346-done

Zheng Junjie <zhengjunjie@iscas.ac.cn> 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!





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-30 23:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29  3:11 bug#72346: dbus session daemon fail to start kdeconnectd 宋文武 via Bug reports for GNU Guix
2024-07-30  5:34 ` Zheng Junjie
2024-07-30 23:58   ` 宋文武 via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).