[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/18: gnu: polkit: Update phase & snippet style.
From: |
Tobias Geerinckx-Rice |
Subject: |
10/18: gnu: polkit: Update phase & snippet style. |
Date: |
Mon, 26 Feb 2018 14:14:28 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 3c4bbb4c52418c8daf8b0e4605e3912685c9f44a
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sat Feb 24 13:33:42 2018 +0100
gnu: polkit: Update phase & snippet style.
* gnu/packages/polkit.scm (polkit)[source]: End snippet with #t.
[arguments]: Substitute INVOKE for SYSTEM* and end phases with #t.
---
gnu/packages/polkit.scm | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm
index 0e38dd6..8fe3709 100644
--- a/gnu/packages/polkit.scm
+++ b/gnu/packages/polkit.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2015 Mark H Weaver <address@hidden>
;;; Copyright © 2016 Efraim Flashner <address@hidden>
;;; Copyright © 2017 Huang Ying <address@hidden>
+;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -77,7 +78,8 @@
;; Set the setuid helper's real location.
(substitute* "src/polkitagent/polkitagentsession.c"
(("PACKAGE_PREFIX \"/lib/polkit-1/polkit-agent-helper-1\"")
- "\"/run/setuid-programs/polkit-agent-helper-1\""))))))
+ "\"/run/setuid-programs/polkit-agent-helper-1\""))
+ #t))))
(build-system gnu-build-system)
(inputs
`(("expat" ,expat)
@@ -105,7 +107,8 @@
(("@INTROSPECTION_GIRDIR@")
(string-append out "/share/gir-1.0/"))
(("@INTROSPECTION_TYPELIBDIR@")
- (string-append out "/lib/girepository-1.0/"))))))
+ (string-append out "/lib/girepository-1.0/")))
+ #t)))
(replace
'install
(lambda* (#:key outputs (make-flags '()) #:allow-other-keys)
@@ -113,12 +116,12 @@
;; to install in /etc, and to instead install the skeletons in the
;; output directory.
(let ((out (assoc-ref outputs "out")))
- (zero? (apply system*
- "make" "install"
+ (invoke "make" "install"
(string-append "sysconfdir=" out "/etc")
(string-append "polkit_actiondir="
out "/share/polkit-1/actions")
- make-flags))))))))
+ make-flags)
+ #t))))))
(home-page "http://www.freedesktop.org/wiki/Software/polkit/")
(synopsis "Authorization API for privilege management")
(description "Polkit is an application-level toolkit for defining and
- 14/18: gnu: Add nghttp2., (continued)
- 14/18: gnu: Add nghttp2., Tobias Geerinckx-Rice, 2018/02/26
- 18/18: gnu: assword: Update to 0.11., Tobias Geerinckx-Rice, 2018/02/26
- 11/18: gnu: Use HTTPS for supported freedesktop.org home pages., Tobias Geerinckx-Rice, 2018/02/26
- 02/18: gnu: youtube-dl: Update to 2018.02.22., Tobias Geerinckx-Rice, 2018/02/26
- 09/18: gnu: perl-xml-libxslt: Update to 1.96., Tobias Geerinckx-Rice, 2018/02/26
- 07/18: gnu: perl-http-server-simple: Update to 0.52., Tobias Geerinckx-Rice, 2018/02/26
- 03/18: gnu: gource: Update to 0.48., Tobias Geerinckx-Rice, 2018/02/26
- 05/18: gnu: libdvbpsi: Update to 1.3.2., Tobias Geerinckx-Rice, 2018/02/26
- 12/18: gnu: libpsl: Update to 0.20.0., Tobias Geerinckx-Rice, 2018/02/26
- 16/18: gnu: python-cffi: Update to 1.11.4., Tobias Geerinckx-Rice, 2018/02/26
- 10/18: gnu: polkit: Update phase & snippet style.,
Tobias Geerinckx-Rice <=