[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: sway: Update package style.
From: |
guix-commits |
Subject: |
07/13: gnu: sway: Update package style. |
Date: |
Fri, 8 Mar 2024 22:15:39 -0500 (EST) |
hako pushed a commit to branch master
in repository guix.
commit 5759e8be03486f780104a400e020992acd2982d1
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Tue Feb 27 23:51:22 2024 +0800
gnu: sway: Update package style.
* gnu/packages/wm.scm (sway)[arguments]: Use gexps.
<#:phases>: Adjust to use ‘search-input-file’.
Remove trailing #t.
Change-Id: I5bd91faf2c79566486437b37cf72964d2c6a85fc
---
gnu/packages/wm.scm | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 9c0f5e38bd..edbb3096b8 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1774,19 +1774,20 @@ modules for building a Wayland compositor.")
(base32 "1n36vgpi4bg2gkiq4fam4khly1z9bjinmjclzq5vfx0z8h7a5bzz"))))
(build-system meson-build-system)
(arguments
- `(;; elogind is propagated by wlroots -> libseat
- ;; and would otherwise shadow basu.
- #:configure-flags '("-Dsd-bus-provider=basu")
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'hardcode-paths
- (lambda* (#:key inputs #:allow-other-keys)
- ;; Hardcode path to swaybg.
- (substitute* "sway/config.c"
- (("strdup..swaybg..")
- (string-append "strdup(\"" (assoc-ref inputs "swaybg")
- "/bin/swaybg\")")))
- #t)))))
+ (list
+ ;; elogind is propagated by wlroots -> libseat
+ ;; and would otherwise shadow basu.
+ #:configure-flags
+ #~'("-Dsd-bus-provider=basu")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'configure 'hardcode-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Hardcode path to swaybg.
+ (substitute* "sway/config.c"
+ (("strdup..swaybg..")
+ (format #f "strdup(\"~a\")"
+ (search-input-file inputs "bin/swaybg")))))))))
(inputs (list basu
cairo
gdk-pixbuf
- branch master updated (c7c99aeb3c -> 52f9db6503), guix-commits, 2024/03/08
- 04/13: gnu: font-chiron-hei-hk: Update to 2.509., guix-commits, 2024/03/08
- 06/13: gnu: sway: Update to 1.9., guix-commits, 2024/03/08
- 01/13: gnu: patatt: Update to 0.6.3., guix-commits, 2024/03/08
- 12/13: gnu: qbittorrent-enhanced-nox: Rename to qbittorrent-enhanced-no-x., guix-commits, 2024/03/08
- 08/13: gnu: font-lxgw-wenkai: Update to 1.320., guix-commits, 2024/03/08
- 05/13: gnu: font-chiron-sung-hk: Split outputs., guix-commits, 2024/03/08
- 02/13: linux-initrd: Avoid looking up builtin modules., guix-commits, 2024/03/08
- 03/13: gnu: font-chiron-sung-hk: Update to 1.011., guix-commits, 2024/03/08
- 07/13: gnu: sway: Update package style.,
guix-commits <=
- 09/13: gnu: font-lxgw-wenkai-tc: Update to 1.320., guix-commits, 2024/03/08
- 11/13: gnu: qbittorrent-no-x: Actually remove qtsvg from inputs., guix-commits, 2024/03/08
- 10/13: gnu: qbittorrent-enhanced: Update to 4.6.3.10., guix-commits, 2024/03/08
- 13/13: gnu: Add sioyek., guix-commits, 2024/03/08