[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
67/85: gnu: river: Update to 0.3.5.
From: |
guix-commits |
Subject: |
67/85: gnu: river: Update to 0.3.5. |
Date: |
Sat, 21 Dec 2024 12:30:53 -0500 (EST) |
hako pushed a commit to branch wip-zig-bootstrap
in repository guix.
commit 64106846a1b9e886dae6979d03c00353701a9f38
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Wed Nov 20 08:36:32 2024 +0800
gnu: river: Update to 0.3.5.
* gnu/packages/zig-xyz.scm (river): Update to 0.3.5.
[arguments]<#:zig>: Remove argument.
<#:zig-build-flags>: Add "-Dpie".
<#:phases>: Fix /bin/sh path in build.zig.
[native-inputs]: Remove libxkbcommon, pixman, wayland, wayland-protocols,
wlroots-0.16.
Move libevdev to...
[inputs]: ...here.
Add zig-pixman, zig-wayland, zig-wlroots, zig-xkbcommon.
Change-Id: Ibdda51236a855380534b88aff61c17d2e6235f28
---
gnu/packages/zig-xyz.scm | 59 ++++++++++++++++++++++++------------------------
1 file changed, 30 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index b5258588b3..b35498e8e6 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -39,43 +39,44 @@
(define-public river
(package
(name "river")
- (version "0.2.4")
+ (version "0.3.5")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/riverwm/river")
- (commit (string-append "v" version))
- (recursive? #t)))
+ (url "https://codeberg.org/river/river")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1nvhqs6wwisf8ama7y1y3q3nf2jm9sh5bn46z8kyds8cikm0x1vh"))))
+ (base32 "023c3kqqmnd1vs5q7p1xgspkqzc59v61rpp615c06lpswi0a6him"))))
(build-system zig-build-system)
(arguments
- (list
- #:zig zig-0.10
- #:install-source? #f
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'install 'install-wayland-session
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (wayland-sessions
- (string-append out "/share/wayland-sessions")))
- (mkdir-p wayland-sessions)
- (install-file "contrib/river.desktop"
- wayland-sessions)))))
- #:zig-build-flags #~(list "-Dxwayland") ;experimental xwayland support
- #:zig-release-type "safe"))
- (native-inputs (list libevdev
- libxkbcommon
- pkg-config
- pixman
- scdoc
- wayland
- wayland-protocols
- wlroots-0.16))
- (home-page "https://github.com/riverwm/river")
+ (list #:install-source? #f
+ #:zig-release-type "safe"
+ #:zig-build-flags
+ #~(list "-Dpie" "-Dxwayland")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-path
+ (lambda _
+ (substitute* "build.zig"
+ (("/bin/sh") (which "sh")))))
+ (add-after 'install 'install-wayland-session
+ (lambda _
+ (let ((wayland-sessions
+ (string-append #$output "/share/wayland-sessions")))
+ (mkdir-p wayland-sessions)
+ (install-file "contrib/river.desktop"
+ wayland-sessions)))))))
+ (inputs
+ (list libevdev
+ zig-wayland
+ zig-wlroots
+ zig-xkbcommon))
+ (native-inputs
+ (list pkg-config
+ scdoc))
+ (home-page "https://isaacfreund.com/software/river/")
(synopsis "Dynamic tiling Wayland compositor")
(description
"River is a dynamic tiling Wayland compositor with flexible
- 03/85: gnu: zig-0.10: Fix RUNPATH issue., (continued)
- 03/85: gnu: zig-0.10: Fix RUNPATH issue., guix-commits, 2024/12/21
- 30/85: gnu: Add zig-0.10.0-3660., guix-commits, 2024/12/21
- 44/85: gnu: Add zig-0.11.0-702., guix-commits, 2024/12/21
- 12/85: gnu: Add zig-0.10.0-961., guix-commits, 2024/12/21
- 42/85: gnu: Add zig-0.11.0-631., guix-commits, 2024/12/21
- 58/85: build/zig: Adjust the build triplets for some systems., guix-commits, 2024/12/21
- 47/85: gnu: Add zig-0.11.0-3245., guix-commits, 2024/12/21
- 39/85: gnu: Add zig-0.11.0-384., guix-commits, 2024/12/21
- 31/85: gnu: Add zig-0.10.0-3726., guix-commits, 2024/12/21
- 57/85: build-system: zig: Support cross compilation., guix-commits, 2024/12/21
- 67/85: gnu: river: Update to 0.3.5.,
guix-commits <=
- 22/85: gnu: Add zig-0.10.0-1713., guix-commits, 2024/12/21
- 29/85: gnu: Add zig-0.10.0-2838., guix-commits, 2024/12/21
- 50/85: gnu: Add zig-0.11.0-3503., guix-commits, 2024/12/21
- 66/85: gnu: Add zig-xkbcommon., guix-commits, 2024/12/21
- 72/85: gnu: Add zig-zls-0.13., guix-commits, 2024/12/21
- 84/85: gnu: Remove zig-zls-0.10., guix-commits, 2024/12/21
- 02/85: gnu: zig-0.9: Update patches., guix-commits, 2024/12/21
- 10/85: gnu: Add zig-0.10.0-851., guix-commits, 2024/12/21
- 33/85: gnu: Add zig-0.10.0-3807., guix-commits, 2024/12/21
- 23/85: gnu: Add zig-0.10.0-1888., guix-commits, 2024/12/21