aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-30 13:34:43 +0800
committer宋文武 <iyzsong@member.fsf.org>2024-07-31 07:54:11 +0800
commitf59c4126827af3d2041d49f1d0a8ce12b41470cf (patch)
tree56808f1beb23c1e3d056e574910ef7ff307d5f72 /gnu/packages
parentdae712644d05723999c80a518b5f15d78ae317f2 (diff)
downloadguix-f59c4126827af3d2041d49f1d0a8ce12b41470cf.tar.gz
guix-f59c4126827af3d2041d49f1d0a8ce12b41470cf.zip
gnu: kdeconnect: Fix dbus autostart for kdeconnectd.
* gnu/packages/kde.scm (kdeconnect)[arguments]: Add fix-dbus-autostart phase. Change-Id: I27ac61e41f15f9ff2de658fbd04633820f5e0966 Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/kde.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 59f3b1052b..9d1bb5c491 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1326,6 +1326,13 @@ different notification systems.")
"-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 _
+ ;; 'dbus-daemon' requires an absolute Exec path.
+ (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