aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2024-04-25 18:32:37 +0800
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-04-28 10:11:25 -0400
commitcd5afc503b8c8167ae7d839d407a1f6acded787c (patch)
treeac510dd2fee67993f571b51f0b0257eaab769979
parent1028e6a00e3319f28d13cc120773559470a6cb4d (diff)
downloadguix-cd5afc503b8c8167ae7d839d407a1f6acded787c.tar.gz
guix-cd5afc503b8c8167ae7d839d407a1f6acded787c.zip
gnu: kauth: Fix KAUTH_HELPER_INSTALL_ABSOLUTE_DIR.
KAuth helpers use KAUTH_HELPER_INSTALL_ABSOLUTE_DIR as the prefix for "Exec=" in their dbus service files, which should really be an absolute directory. Fixes <https://issues.guix.gnu.org/70529>. * gnu/packages/kde-frameworks.scm (kauth)[arguments]<#:phases>: In fix-cmake-install-directories phase, replace KAUTH_HELPER_INSTALL_DIR with '${KDE_INSTALL_LIBEXECDIR}/kauth' and KAUTH_HELPER_INSTALL_ABSOLUTE_DIR with '${KDE_INSTALL_FULL_LIBEXECDIR}/kauth'. Change-Id: I57920c59dca503fd4bc8727cb35e1b0fb6016e56 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-rw-r--r--gnu/packages/kde-frameworks.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 95c0f95e8c..8991c36f89 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1645,9 +1645,9 @@ with other frameworks.")
(("@KAUTH_POLICY_FILES_INSTALL_DIR@")
"${KDE_INSTALL_DATADIR}/polkit-1/actions")
(("@KAUTH_HELPER_INSTALL_DIR@")
- "${KDE_INSTALL_LIBEXECDIR}")
+ "${KDE_INSTALL_LIBEXECDIR}/kauth")
(("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@")
- "${KDE_INSTALL_LIBEXECDIR}"))))
+ "${KDE_INSTALL_FULL_LIBEXECDIR}/kauth"))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?