[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/14: gnu: tracker: Use G-Expressions in arguments.
From: |
guix-commits |
Subject: |
04/14: gnu: tracker: Use G-Expressions in arguments. |
Date: |
Sun, 5 Mar 2023 03:44:40 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit daa681a38b7a296fdc58bf81a8385e8dd66f7b66
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Feb 25 07:51:45 2023 +0100
gnu: tracker: Use G-Expressions in arguments.
* gnu/packages/gnome.scm (tracker)[arguments]: Change to list of
G-Expressions. Re-indent.
---
gnu/packages/gnome.scm | 93 +++++++++++++++++++++++++-------------------------
1 file changed, 47 insertions(+), 46 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c057a66070..1615f8eea6 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9676,52 +9676,53 @@ easy, safe, and automatic.")
"0r144kdqxdzs51qn495vablzf1zxkhkk6imrlrzj9wiqwc2gg520"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- #:test-options (list ,@(if (target-riscv64?)
- `("--timeout-multiplier" "5")
- '()))
- #:configure-flags
- ;; Otherwise, the RUNPATH will lack the final path component.
- (list (string-append "-Dc_link_args=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib:"
- (assoc-ref %outputs "out") "/lib/tracker-3.0")
- "-Ddocs=false"
- "-Dsystemd_user_services=false")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "utils/trackertestutils/__main__.py"
- (("/bin/bash")
- (search-input-file inputs "bin/bash")))))
- (add-before 'configure 'set-shell
- (lambda _
- (setenv "SHELL" (which "bash"))))
- (add-before 'configure 'fix-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
- (file (search-input-file inputs manpage)))
- (substitute* "docs/manpages/meson.build"
- (("/etc/asciidoc[^']+")
- file)))))
- (replace 'check
- (lambda* (#:key tests? test-options #:allow-other-keys)
- (when tests?
- ;; Some tests expect to write to $HOME.
- (setenv "HOME" "/tmp")
- (apply invoke "dbus-run-session" "--" "meson" "test"
- "--print-errorlogs" test-options))))
- (add-after 'glib-or-gtk-wrap 'unwrap-libexec
- (lambda* (#:key outputs #:allow-other-keys)
- (with-directory-excursion (string-append (assoc-ref outputs "out")
- "/libexec/tracker3")
- (for-each
- (lambda (f)
- (let ((real (string-append "." (basename f) "-real")))
- (when (file-exists? real)
- (delete-file f)
- (rename-file real f))))
- (find-files "."))))))))
+ (list
+ #:glib-or-gtk? #t
+ #:test-options `(list ,@(if (target-riscv64?)
+ `("--timeout-multiplier" "5")
+ '()))
+ #:configure-flags
+ ;; Otherwise, the RUNPATH will lack the final path component.
+ #~(list (string-append "-Dc_link_args=-Wl,-rpath="
+ #$output "/lib:"
+ #$output "/lib/tracker-3.0")
+ "-Ddocs=false"
+ "-Dsystemd_user_services=false")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "utils/trackertestutils/__main__.py"
+ (("/bin/bash")
+ (search-input-file inputs "bin/bash")))))
+ (add-before 'configure 'set-shell
+ (lambda _
+ (setenv "SHELL" (which "bash"))))
+ (add-before 'configure 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
+ (file (search-input-file inputs manpage)))
+ (substitute* "docs/manpages/meson.build"
+ (("/etc/asciidoc[^']+")
+ file)))))
+ (replace 'check
+ (lambda* (#:key tests? test-options #:allow-other-keys)
+ (when tests?
+ ;; Some tests expect to write to $HOME.
+ (setenv "HOME" "/tmp")
+ (apply invoke "dbus-run-session" "--" "meson" "test"
+ "--print-errorlogs" test-options))))
+ (add-after 'glib-or-gtk-wrap 'unwrap-libexec
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion (string-append (assoc-ref outputs
"out")
+ "/libexec/tracker3")
+ (for-each
+ (lambda (f)
+ (let ((real (string-append "." (basename f) "-real")))
+ (when (file-exists? real)
+ (delete-file f)
+ (rename-file real f))))
+ (find-files "."))))))))
(native-inputs
(list gettext-minimal
`(,glib "bin")
- branch master updated (a4fca7884c -> d92ec2f281), guix-commits, 2023/03/05
- 02/14: gnu: meld: Use new package style., guix-commits, 2023/03/05
- 04/14: gnu: tracker: Use G-Expressions in arguments.,
guix-commits <=
- 05/14: gnu: tracker: Update to 3.4.2., guix-commits, 2023/03/05
- 08/14: gnu: Add yices., guix-commits, 2023/03/05
- 10/14: gnu: Add boolector., guix-commits, 2023/03/05
- 14/14: etc: Default to variables in tempel's git-reference... et al., guix-commits, 2023/03/05
- 03/14: gnu: tracker: Don't wrap binaries in libexec/tracker3 directory., guix-commits, 2023/03/05
- 01/14: gnu: meld: Update to 3.22.0, guix-commits, 2023/03/05
- 06/14: gnu: Add cudd., guix-commits, 2023/03/05
- 09/14: gnu: Add btor2tools., guix-commits, 2023/03/05
- 12/14: gnu: komikku: Update to 1.12.1., guix-commits, 2023/03/05
- 13/14: gnu: Add tenacity., guix-commits, 2023/03/05