From: trolljoe <trolljoe@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] new package: niri 0.1.9
Date: Tue, 29 Oct 2024 22:16:37 +0100 [thread overview]
Message-ID: <20241029211637.955B930B0E@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52794@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]
There is an updated pull request by trolljoe against master on the void-packages repository
https://github.com/trolljoe/void-packages niri
https://github.com/void-linux/void-packages/pull/52794
new package: niri 0.1.9
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
contains templates for the niri window manager. i added extra rustflags for musl as it will not compile without those (cannot check if the actual musl checking part works as of now, but i've tested and it only compiles by adding those flags)
closes #48456
A patch file from https://github.com/void-linux/void-packages/pull/52794.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-niri-52794.patch --]
[-- Type: text/x-diff, Size: 2204 bytes --]
From 62248b8371385662a41a5a9f198a1dced3b152cd Mon Sep 17 00:00:00 2001
From: Joetroll <joetroll@proton.me>
Date: Sat, 26 Oct 2024 22:29:42 -0300
Subject: [PATCH] new package: niri 0.1.9
---
srcpkgs/niri/patches/remove-session.patch | 12 ++++++++++++
srcpkgs/niri/template | 23 +++++++++++++++++++++++
2 files changed, 35 insertions(+)
create mode 100644 srcpkgs/niri/patches/remove-session.patch
create mode 100644 srcpkgs/niri/template
diff --git a/srcpkgs/niri/patches/remove-session.patch b/srcpkgs/niri/patches/remove-session.patch
new file mode 100644
index 00000000000000..2b22a07991f068
--- /dev/null
+++ b/srcpkgs/niri/patches/remove-session.patch
@@ -0,0 +1,12 @@
+remove the niri-session, as that's a systemd-only binary. replace with niri --session which automatically adds envs.
+--
+--- a/resources/niri.desktop
++++ b/resources/niri.desktop
+@@ -1,6 +1,6 @@
+ [Desktop Entry]
+ Name=Niri
+ Comment=A scrollable-tiling Wayland compositor
+-Exec=niri-session
++Exec=/usr/bin/niri --session
+ Type=Application
+ DesktopNames=niri
diff --git a/srcpkgs/niri/template b/srcpkgs/niri/template
new file mode 100644
index 00000000000000..1c15b027e855f0
--- /dev/null
+++ b/srcpkgs/niri/template
@@ -0,0 +1,23 @@
+# Template file for 'niri'
+pkgname=niri
+version=0.1.9
+revision=1
+build_style=cargo
+configure_args="--no-default-features --features xdp-gnome-screencast"
+hostmakedepends="pkg-config clang18-devel"
+makedepends="eudev-libudev-devel libxkbcommon-devel libinput-devel libgbm-devel
+ libdisplay-info-devel pipewire-devel pango-devel libseat-devel clang18-devel"
+short_desc="Scrollable-tiling Wayland compositor"
+maintainer="joetroll <joetroll@proton.me>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/YaLTeR/niri"
+changelog="https://github.com/YaLTeR/niri/releases"
+distfiles="https://github.com/YaLTeR/niri/archive/refs/tags/v${version}.tar.gz"
+checksum=70427efcde50a9d262c341befbd4df4e24557afd8311753bf912a4be1bf243a7
+
+post_install() {
+ vmkdir usr/share/wayland-sessions
+ vmkdir usr/share/xdg-desktop-portal
+ vcopy resources/niri.desktop usr/share/wayland-sessions
+ vcopy resources/niri-portals.conf usr/share/xdg-desktop-portal
+}
next prev parent reply other threads:[~2024-10-29 21:16 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-27 1:38 [PR PATCH] " trolljoe
2024-10-27 17:28 ` [PR PATCH] [Updated] " trolljoe
2024-10-27 21:41 ` lukeflo
2024-10-27 21:54 ` trolljoe
2024-10-27 22:08 ` trolljoe
2024-10-27 22:35 ` trolljoe
2024-10-27 22:54 ` trolljoe
2024-10-27 22:55 ` [PR PATCH] [Updated] " trolljoe
2024-10-28 8:15 ` lukeflo
2024-10-28 18:06 ` [PR REVIEW] " classabbyamp
2024-10-28 18:06 ` classabbyamp
2024-10-28 18:06 ` classabbyamp
2024-10-28 19:18 ` trolljoe
2024-10-28 19:25 ` classabbyamp
2024-10-28 19:26 ` classabbyamp
2024-10-28 20:11 ` classabbyamp
2024-10-28 20:45 ` [PR PATCH] [Updated] " trolljoe
2024-10-29 16:28 ` classabbyamp
2024-10-29 18:08 ` trolljoe
2024-10-29 21:16 ` trolljoe [this message]
2024-10-29 21:33 ` [PR REVIEW] " classabbyamp
2024-10-29 21:37 ` [PR PATCH] [Updated] " trolljoe
2024-11-08 8:16 ` lukeflo
2024-11-09 17:01 ` vikigenius
2024-11-09 18:59 ` [PR PATCH] [Updated] " trolljoe
2024-11-13 10:07 ` new package: niri 0.1.10 lukeflo
2024-11-13 21:05 ` [PR PATCH] [Updated] " trolljoe
2024-12-04 20:55 ` [PR PATCH] [Merged]: new package: niri 0.1.10.1 classabbyamp
2024-12-05 7:19 ` Eloitor
2025-01-11 18:39 ` lukeflo
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241029211637.955B930B0E@inbox.vuxu.org \
--to=trolljoe@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/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.
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 NNTP newsgroup(s).