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
Message #8 received at 68742 <at> debbugs.gnu.org (full text, mbox):
Hi
On 2024-01-26 18:09, Erik Eduardo wrote:
> From: Erik Eduardo <erikeah <at> protonmail.com>
>
> This patch will allow to login from login managers or display managers
> to River.
>
> Changes:
>
> - Creates a directory at share named wayland-sessions
> - Install a desktop file from repo inside share/wayland-sessions
>
> This is my first patch, please be patient and give me feedback, I will
> do my best.
>
> Change-Id: Iea8999cf97bedc8fb7ede4dd22b8f0f9529d2fa1
> ---
> 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: 2266754382bce43789976aec65181cb5085c8bc4
Looks good to me, but guix commits follow changelog format:
https://www.gnu.org/prep/standards/standards.html#Change-Logs
The rest of it looks ok. Please resend with the message fixed and I'll
take a further look.
Thanks a lot for contributing to Guix.
Ekaitz
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.