me
/
guix
Archived
1
0
Fork 0

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>
master
宋文武 2024-04-25 18:32:37 +08:00 committed by Maxim Cournoyer
parent 1028e6a00e
commit cd5afc503b
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 2 additions and 2 deletions

View File

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