[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/10: gnu: fprintd: Gexp arguments.
From: |
guix-commits |
Subject: |
06/10: gnu: fprintd: Gexp arguments. |
Date: |
Tue, 14 Dec 2021 13:35:27 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 5ee8589c867030bed4405b8a9724be5ca40eb29e
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Dec 14 00:56:15 2021 +0100
gnu: fprintd: Gexp arguments.
* gnu/packages/linux.scm (fprintd)[arguments]: Use Gexps.
---
gnu/packages/freedesktop.scm | 71 ++++++++++++++++++++++----------------------
1 file changed, 35 insertions(+), 36 deletions(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 1f38ea3..a14fba8 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1695,45 +1695,44 @@ software.")
(base32 "015j8ikyv48qz8vn6kfvkwwg5ydzppl1lzf7vkali9ymywywfxsw"))))
(build-system meson-build-system)
(arguments
- `(#:configure-flags
- (list "-Dsystemd_system_unit_dir=/tmp"
- (string-append "-Ddbus_service_dir=" (assoc-ref %outputs "out")
- "/share/dbus-1/system-services")
- (string-append "-Dpam_modules_dir=" (assoc-ref %outputs "out")
- "/lib/security"))
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'patch-output-directories
- ;; Install files to our output, not that of the ‘owner’ package.
- ;; These are not exposed as Meson options and must be patched.
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "meson.build"
- (("(dbus_interfaces_dir = ).*" _ set)
- (string-append set "'" out "/share/dbus-1/interfaces'\n"))
- (("(polkit_policy_directory = ).*" _ set)
- (string-append set "'" out "/share/polkit-1/actions/'\n"))
- (("(dbus_data_dir = ).*" _ set)
- (string-append set "get_option('prefix')"
- " / get_option('datadir')\n"))))))
- (add-before 'configure 'patch-systemd-dependencies
- (lambda _
- (substitute* "meson.build"
- (("(dependency\\(')(libsystemd|systemd)" _ prefix)
- (string-append prefix "libelogind")))))
- (add-before 'configure 'ignore-test-dependencies
- (lambda _
- (substitute* "meson.build"
- ((".*gi\\.repository\\..*") "")
- (("pam_wrapper_dep .*") "")
- ((".*'(cairo|dbus|dbusmock|gi|pypamtest)': .*,.*") ""))
- (substitute* "tests/pam/meson.build"
- ((".*pam_wrapper.*") "")))))
- #:tests? #f)) ; XXX depend on unpackaged packages
+ (list #:configure-flags
+ #~(list "-Dsystemd_system_unit_dir=/tmp"
+ (string-append "-Ddbus_service_dir=" #$output
+ "/share/dbus-1/system-services")
+ (string-append "-Dpam_modules_dir=" #$output
+ "/lib/security"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'patch-output-directories
+ ;; Install files to our output, not that of the ‘owner’
package.
+ ;; These are not exposed as Meson options and must be patched.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "meson.build"
+ (("(dbus_interfaces_dir = ).*" _ set)
+ (string-append set "'" out
"/share/dbus-1/interfaces'\n"))
+ (("(polkit_policy_directory = ).*" _ set)
+ (string-append set "'" out
"/share/polkit-1/actions/'\n"))
+ (("(dbus_data_dir = ).*" _ set)
+ (string-append set "get_option('prefix')"
+ " / get_option('datadir')\n"))))))
+ (add-before 'configure 'patch-systemd-dependencies
+ (lambda _
+ (substitute* "meson.build"
+ (("(dependency\\(')(libsystemd|systemd)" _ prefix)
+ (string-append prefix "libelogind")))))
+ (add-before 'configure 'ignore-test-dependencies
+ (lambda _
+ (substitute* "meson.build"
+ ((".*gi\\.repository\\.FPrint.*") "")
+ (("pam_wrapper_dep .*") "")
+ ((".*'(cairo|dbus|dbusmock|gi|pypamtest)': .*,.*") ""))
+ (substitute* "tests/pam/meson.build"
+ ((".*pam_wrapper.*") "")))))
+ #:tests? #f)) ; XXX depend on unpackaged packages
(native-inputs
`(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin") ; for glib-genmarshal
- ("libxslt" ,libxslt) ; for xsltproc
("perl" ,perl) ; for pod2man
("pkg-config" ,pkg-config)))
;; For tests.
- branch master updated (ae1ec6b -> 13f769c), guix-commits, 2021/12/14
- 01/10: gnu: corefreq: Stop using %OUTPUTS., guix-commits, 2021/12/14
- 02/10: gnu: libfprint: Update to 1.94.2., guix-commits, 2021/12/14
- 03/10: gnu: libfprint: Gexp arguments., guix-commits, 2021/12/14
- 04/10: gnu: fprintd: Remove phase return values., guix-commits, 2021/12/14
- 06/10: gnu: fprintd: Gexp arguments.,
guix-commits <=
- 07/10: gnu: i7z: Fix building with GCC >= 10., guix-commits, 2021/12/14
- 10/10: gnu: festival: Support ALSA output., guix-commits, 2021/12/14
- 08/10: gnu: igt-gpu-tools: Fix build with newer Mesons., guix-commits, 2021/12/14
- 09/10: gnu: igt-gpu-tools: Include man pages., guix-commits, 2021/12/14
- 05/10: gnu: fprintd: Update to 1.94.1., guix-commits, 2021/12/14