From: Erik Eduardo <eduarskate8@gmail.com>
To: 68742@debbugs.gnu.org
Cc: Erik Eduardo <erikeah@protonmail.com>,
Ekaitz Zarraga <ekaitz@elenq.tech>
Subject: [bug#68742] [PATCH v3] gnu: river: Add river.desktop file.
Date: Thu, 8 Feb 2024 17:32:00 +0000 [thread overview]
Message-ID: <53bd1ea6e9a06df4f89c8caf394f5cfac9fc1a75.1707413520.git.erikeah@protonmail.com> (raw)
In-Reply-To: <f2f2742f98cc9d7b54c371b5c7221d93ef0dcdf2.1706288949.git.eduarskate8@gmail.com>
* gnu/packages/zig-xyz.scm (river)[arguments]: Add
'install-wayland-session 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..8343555660 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-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
base-commit: cce7a6d2d2b18f51d1fcab67b02a38c11d6f4f2d
--
2.41.0
next prev parent reply other threads:[~2024-02-08 17:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-26 17:09 [bug#68742] [PATCH] gnu: river: add river.desktop on wayland-sessions Erik Eduardo
2024-01-29 16:41 ` Ekaitz Zarraga
2024-01-31 8:32 ` [bug#68742] [PATCH] gnu: river: Add river.desktop file Erik Eduardo
2024-02-08 17:32 ` Erik Eduardo [this message]
2024-02-08 19:08 ` [bug#68742] [PATCH v3] " Ekaitz Zarraga
2024-02-09 14:13 ` Ekaitz Zarraga
2024-02-14 12:19 ` [bug#68742] [PATCH v4] " Erik Eduardo
2024-02-14 12:31 ` [bug#68742] QA review for 68742 Ekaitz Zarraga
2024-02-14 13:33 ` Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53bd1ea6e9a06df4f89c8caf394f5cfac9fc1a75.1707413520.git.erikeah@protonmail.com \
--to=eduarskate8@gmail.com \
--cc=68742@debbugs.gnu.org \
--cc=ekaitz@elenq.tech \
--cc=erikeah@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).