GNU bug report logs -
#68742
[PATCH] gnu: river: add river.desktop on wayland-sessions
Previous Next
Reported by: Erik Eduardo <eduarskate8 <at> gmail.com>
Date: Fri, 26 Jan 2024 17:24:02 UTC
Severity: normal
Tags: patch
Done: Christopher Baines <mail <at> cbaines.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
From: Erik Eduardo <erikeah <at> protonmail.com>
* gnu/packages/zig-xyz.scm (river)[arguments]: Add 'install-extra-files
phase after 'install phase to install the river.desktop file inside
share/wayland-sessions directory.
Change-Id: I19fbcfa09a6b06ed602ec4be1b06cc6e2cd2a9a1
---
gnu/packages/zig-xyz.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index 200b5c9940..ca73c6bad8 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -52,7 +52,16 @@ (define-public river
(build-system zig-build-system)
(arguments
(list
- #:zig-build-flags #~(list "-Dxwayland") ;experimental xwayland support
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'install 'install-extra-files
+ (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
base-commit: 66dd088d3c3404f5cbe2d4d4c5e8f93d184703b0
--
2.41.0
Thanks a lot for the welcoming! Here it's the patch with commit message fixed.
This bug report was last modified 1 year and 157 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.