all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: guix-devel@gnu.org
Subject: [PATCH 4/4] gnu: kauth: Fix cmake macros to be used by other packages.
Date: Mon, 28 Nov 2016 23:20:12 +0100	[thread overview]
Message-ID: <1480371612-23822-5-git-send-email-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <1480371612-23822-1-git-send-email-h.goebel@crazy-compilers.com>

* gnu/packages/kde-framework.scm (kauth)[phases]: New phase
  fix-cmake-install-paths.
---
 gnu/packages/kde-frameworks.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 415b54d..fb7d7d9 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1202,6 +1202,17 @@ uses a job-based interface to queue tasks and execute them in an efficient way."
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-cmake-install-paths
+           (lambda _
+             ;; Make packages using kauth put their policy files and helpers
+             ;; into their own prefix
+             (substitute* "KF5AuthConfig.cmake.in"
+               (("@KAUTH_POLICY_FILES_INSTALL_DIR@")
+                "${KDE_INSTALL_DATADIR}/polkit-1/actions")
+               (("@KAUTH_HELPER_INSTALL_DIR@")
+                "${KDE_INSTALL_LIBEXECDIR}")
+               (("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@")
+                "${KDE_INSTALL_LIBEXECDIR}"))))
          (replace 'check
            (lambda _
              (setenv "DBUS_FATAL_WARNINGS" "0")
-- 
2.7.4

  parent reply	other threads:[~2016-11-28 22:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-28 22:20 [PATCH 0/4] Update kde-frameworks to 5.28 and related Hartmut Goebel
2016-11-28 22:20 ` [PATCH 1/4] gnu: Update kde-frameworks to 5.28 Hartmut Goebel
2016-11-29 15:16   ` Ludovic Courtès
2016-11-28 22:20 ` [PATCH 2/4] gnu: Add ksyntaxhighlighting Hartmut Goebel
2016-11-29 15:17   ` Ludovic Courtès
2016-11-28 22:20 ` [PATCH 3/4] gnu: extra-cmake-modules: Always install into /lib and not into /lib64 Hartmut Goebel
2016-11-29 15:17   ` Ludovic Courtès
2016-11-28 22:20 ` Hartmut Goebel [this message]
2016-11-29 15:19   ` [PATCH 4/4] gnu: kauth: Fix cmake macros to be used by other packages Ludovic Courtès
2016-11-29 18:15     ` Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1480371612-23822-5-git-send-email-h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.