* [PR PATCH] new package: niri 0.1.9
@ 2024-10-27 1:38 trolljoe
2024-10-27 17:28 ` [PR PATCH] [Updated] " trolljoe
` (25 more replies)
0 siblings, 26 replies; 27+ messages in thread
From: trolljoe @ 2024-10-27 1:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
There is a new 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)
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: 1434 bytes --]
From f9ccb1ce47165c8a70b051fc1e9b037bb45cd5b2 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/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/niri/template
diff --git a/srcpkgs/niri/template b/srcpkgs/niri/template
new file mode 100644
index 00000000000000..71d2229e4a65a6
--- /dev/null
+++ b/srcpkgs/niri/template
@@ -0,0 +1,20 @@
+# 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"
+makedepends="eudev-libudev-devel libxkbcommon-devel libinput-devel libdisplay-info-devel pipewire-devel pango-devel libseat-devel clang libgbm-devel"
+depends="eudev-libudev libxkbcommon libinput libpipewire pango libseat libgbm libdisplay-info"
+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
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ configure_args="RUSTFLAGS='-C target-feature=+crt-static' $configure_args"
+fi
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
@ 2024-10-27 17:28 ` trolljoe
2024-10-27 21:41 ` lukeflo
` (24 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-27 17:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 990 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)
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: 1405 bytes --]
From 5aa1b1db73e2c3855cff19bc8cdb24edc4f9a831 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/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/niri/template
diff --git a/srcpkgs/niri/template b/srcpkgs/niri/template
new file mode 100644
index 00000000000000..abca83e4a77af4
--- /dev/null
+++ b/srcpkgs/niri/template
@@ -0,0 +1,20 @@
+# 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"
+makedepends="eudev-libudev-devel libxkbcommon-devel libinput-devel libdisplay-info-devel pipewire-devel pango-devel libseat-devel clang libgbm-devel"
+depends="eudev-libudev libxkbcommon libinput libpipewire pango libseat libgbm libdisplay-info"
+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
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ export RUSTFLAGS='-C target-feature=+crt-static'
+fi
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
2024-10-27 17:28 ` [PR PATCH] [Updated] " trolljoe
@ 2024-10-27 21:41 ` lukeflo
2024-10-27 21:54 ` trolljoe
` (23 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: lukeflo @ 2024-10-27 21:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]
New comment by lukeflo on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2440184760
Comment:
Hey, merged your PR in my personal Void-Packages fork. Build the package and successfully installed it. So far, everything works just fine. But you might add some post-install hooks:
- Move the `niri.desktop` file to `/usr/share/wayland-sessions`. Otherwise, most display managers can't find `niri` as possible WM (at least in my case using `emptty`).
- Change the `Exec` command inside the `desktop` file from `niri-session` to `niri --session` since the former isn't installed (and also not needed) through your workflow.
- Move the `niri.portals` file to `/usr/share/xdg-desktop-portal`. Might be neccessary for working correct within the xdg system
- Copy the default `config.kdl` either to `/etc/niri/` or `$XDG_CONFIG_HOME/niri/config.kdl` so there are some default values as well as a template for editing the config file
Beside these few additions great work! `niri` looks really nice and has the potential to replace `sway` as my main tiling WM.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 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
` (22 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-27 21:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 440 bytes --]
New comment by trolljoe on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2440188097
Comment:
for the portals and desktop, i sadly could not get building with those being moved. i could add a vmkdir to make /usr/share/wayland-sessions and others but i don't know if that's allowed. for the default config, that shouldn't be needed, it automatically fetches config.kdl and adds it to .config.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (2 preceding siblings ...)
2024-10-27 21:54 ` trolljoe
@ 2024-10-27 22:08 ` trolljoe
2024-10-27 22:35 ` trolljoe
` (21 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-27 22:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
New comment by trolljoe on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2440188097
Comment:
for the portals and desktop, i sadly could not get building with those being moved. i could add a vmkdir to make /usr/share/wayland-sessions and others but i don't know if that's allowed. for the default config, that shouldn't be needed, it automatically fetches config.kdl and adds it to .config.
edit: i have added some vmkdir to make the usr directories and i'm gonna try and build it again.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (3 preceding siblings ...)
2024-10-27 22:08 ` trolljoe
@ 2024-10-27 22:35 ` trolljoe
2024-10-27 22:54 ` trolljoe
` (20 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-27 22:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
New comment by trolljoe on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2440200105
Comment:
still failed. don't know how i'll make it so the desktop and portals file get copied over. if i don't find anything, maybe i'll just make `etc/niri` and add portals, desktop, and config there.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (4 preceding siblings ...)
2024-10-27 22:35 ` trolljoe
@ 2024-10-27 22:54 ` trolljoe
2024-10-27 22:55 ` [PR PATCH] [Updated] " trolljoe
` (19 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-27 22:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
New comment by trolljoe on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2440200105
Comment:
still failed. don't know how i'll make it so the desktop and portals file get copied over. if i don't find anything, maybe i'll just make `etc/niri` and add portals, desktop, and config there.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (5 preceding siblings ...)
2024-10-27 22:54 ` trolljoe
@ 2024-10-27 22:55 ` trolljoe
2024-10-28 8:15 ` lukeflo
` (18 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-27 22:55 UTC (permalink / raw)
To: ml
[-- 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: 2374 bytes --]
From af2ff017bde0d49f97123de127a15448de9e533f 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 | 27 +++++++++++++++++++++++
2 files changed, 39 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..9af1ff19698838
--- /dev/null
+++ b/srcpkgs/niri/template
@@ -0,0 +1,27 @@
+# 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"
+makedepends="eudev-libudev-devel libxkbcommon-devel libinput-devel libdisplay-info-devel pipewire-devel pango-devel libseat-devel clang libgbm-devel"
+depends="eudev-libudev libxkbcommon libinput libpipewire pango libseat libgbm libdisplay-info"
+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
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ export RUSTFLAGS='-C target-feature=+crt-static'
+fi
+
+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
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (6 preceding siblings ...)
2024-10-27 22:55 ` [PR PATCH] [Updated] " trolljoe
@ 2024-10-28 8:15 ` lukeflo
2024-10-28 18:06 ` [PR REVIEW] " classabbyamp
` (17 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: lukeflo @ 2024-10-28 8:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
New comment by lukeflo on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2440831756
Comment:
Looks very good. Exactly the settings I also applied. Works flawlessly so far. Hopefully it will get merged soon, so it can be regularly used through `xbps`!
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR REVIEW] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (9 preceding siblings ...)
2024-10-28 18:06 ` classabbyamp
@ 2024-10-28 18:06 ` classabbyamp
2024-10-28 19:18 ` trolljoe
` (14 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: classabbyamp @ 2024-10-28 18:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#discussion_r1819519871
Comment:
```suggestion
makedepends="eudev-libudev-devel libxkbcommon-devel libinput-devel libdisplay-info-devel pipewire-devel pango-devel libseat-devel libclang18-devel libgbm-devel"
```
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR REVIEW] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (7 preceding siblings ...)
2024-10-28 8:15 ` lukeflo
@ 2024-10-28 18:06 ` classabbyamp
2024-10-28 18:06 ` classabbyamp
` (16 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: classabbyamp @ 2024-10-28 18:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#discussion_r1819518719
Comment:
```suggestion
```
autodetected
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR REVIEW] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (8 preceding siblings ...)
2024-10-28 18:06 ` [PR REVIEW] " classabbyamp
@ 2024-10-28 18:06 ` classabbyamp
2024-10-28 18:06 ` classabbyamp
` (15 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: classabbyamp @ 2024-10-28 18:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#discussion_r1819520239
Comment:
why?
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR REVIEW] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (10 preceding siblings ...)
2024-10-28 18:06 ` classabbyamp
@ 2024-10-28 19:18 ` trolljoe
2024-10-28 19:25 ` classabbyamp
` (13 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-28 19:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 218 bytes --]
New review comment by trolljoe on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#discussion_r1819621237
Comment:
i've opened an issue about this, it just fails to find the libraries.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR REVIEW] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (11 preceding siblings ...)
2024-10-28 19:18 ` trolljoe
@ 2024-10-28 19:25 ` classabbyamp
2024-10-28 19:26 ` classabbyamp
` (12 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: classabbyamp @ 2024-10-28 19:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 174 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#discussion_r1819631743
Comment:
also wrap at 80 chars
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR REVIEW] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (12 preceding siblings ...)
2024-10-28 19:25 ` classabbyamp
@ 2024-10-28 19:26 ` classabbyamp
2024-10-28 20:11 ` classabbyamp
` (11 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: classabbyamp @ 2024-10-28 19:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#discussion_r1819519871
Comment:
```suggestion
makedepends="eudev-libudev-devel libxkbcommon-devel libinput-devel libdisplay-info-devel pipewire-devel pango-devel libseat-devel clang18-devel libgbm-devel"
```
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR REVIEW] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (13 preceding siblings ...)
2024-10-28 19:26 ` classabbyamp
@ 2024-10-28 20:11 ` classabbyamp
2024-10-28 20:45 ` [PR PATCH] [Updated] " trolljoe
` (10 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: classabbyamp @ 2024-10-28 20:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#discussion_r1819689558
Comment:
works fine with these changes (basically just applying what i said above):
```diff
diff --git a/srcpkgs/niri/template b/srcpkgs/niri/template
index 9af1ff19698..1c15b027e85 100644
--- a/srcpkgs/niri/template
+++ b/srcpkgs/niri/template
@@ -4,9 +4,9 @@ version=0.1.9
revision=1
build_style=cargo
configure_args="--no-default-features --features xdp-gnome-screencast"
-hostmakedepends="pkg-config"
-makedepends="eudev-libudev-devel libxkbcommon-devel libinput-devel libdisplay-info-devel pipewire-devel pango-devel libseat-devel clang libgbm-devel"
-depends="eudev-libudev libxkbcommon libinput libpipewire pango libseat libgbm libdisplay-info"
+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"
@@ -15,10 +15,6 @@ changelog="https://github.com/YaLTeR/niri/releases"
distfiles="https://github.com/YaLTeR/niri/archive/refs/tags/v${version}.tar.gz"
checksum=70427efcde50a9d262c341befbd4df4e24557afd8311753bf912a4be1bf243a7
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
- export RUSTFLAGS='-C target-feature=+crt-static'
-fi
-
post_install() {
vmkdir usr/share/wayland-sessions
vmkdir usr/share/xdg-desktop-portal
```
this also fixes cross.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (14 preceding siblings ...)
2024-10-28 20:11 ` classabbyamp
@ 2024-10-28 20:45 ` trolljoe
2024-10-29 16:28 ` classabbyamp
` (9 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-28 20:45 UTC (permalink / raw)
To: ml
[-- 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: 2374 bytes --]
From 9664d6cbc59270c7c53aa81365e9488871c65c64 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 | 27 +++++++++++++++++++++++
2 files changed, 39 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..9af1ff19698838
--- /dev/null
+++ b/srcpkgs/niri/template
@@ -0,0 +1,27 @@
+# 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"
+makedepends="eudev-libudev-devel libxkbcommon-devel libinput-devel libdisplay-info-devel pipewire-devel pango-devel libseat-devel clang libgbm-devel"
+depends="eudev-libudev libxkbcommon libinput libpipewire pango libseat libgbm libdisplay-info"
+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
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ export RUSTFLAGS='-C target-feature=+crt-static'
+fi
+
+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
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (15 preceding siblings ...)
2024-10-28 20:45 ` [PR PATCH] [Updated] " trolljoe
@ 2024-10-29 16:28 ` classabbyamp
2024-10-29 18:08 ` trolljoe
` (8 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: classabbyamp @ 2024-10-29 16:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 179 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2444777480
Comment:
you didn't push any of the fixes
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (16 preceding siblings ...)
2024-10-29 16:28 ` classabbyamp
@ 2024-10-29 18:08 ` trolljoe
2024-10-29 21:16 ` [PR PATCH] [Updated] " trolljoe
` (7 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-29 18:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
New comment by trolljoe on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2445000505
Comment:
> you didn't push any of the fixes
huh, don't know what happened, i'll try pushing them again later
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (17 preceding siblings ...)
2024-10-29 18:08 ` trolljoe
@ 2024-10-29 21:16 ` trolljoe
2024-10-29 21:33 ` [PR REVIEW] " classabbyamp
` (6 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-29 21:16 UTC (permalink / raw)
To: ml
[-- 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
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR REVIEW] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (18 preceding siblings ...)
2024-10-29 21:16 ` [PR PATCH] [Updated] " trolljoe
@ 2024-10-29 21:33 ` classabbyamp
2024-10-29 21:37 ` [PR PATCH] [Updated] " trolljoe
` (5 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: classabbyamp @ 2024-10-29 21:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#discussion_r1821559242
Comment:
```suggestion
vinstall resources/niri.desktop 644 usr/share/wayland-sessions
vinstall resources/niri-portals.conf 644 usr/share/xdg-desktop-portal
```
a bit more concise
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (19 preceding siblings ...)
2024-10-29 21:33 ` [PR REVIEW] " classabbyamp
@ 2024-10-29 21:37 ` trolljoe
2024-11-08 8:16 ` lukeflo
` (4 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-10-29 21:37 UTC (permalink / raw)
To: ml
[-- 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: 2142 bytes --]
From 1f55e21d87eba7158dc487f86dcabec82d573a60 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 | 21 +++++++++++++++++++++
2 files changed, 33 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..e8d574fc75f6f6
--- /dev/null
+++ b/srcpkgs/niri/template
@@ -0,0 +1,21 @@
+# 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() {
+ vinstall resources/niri.desktop 644 usr/share/wayland-sessions
+ vinstall resources/niri-portals.conf 644 usr/share/xdg-desktop-portal
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (20 preceding siblings ...)
2024-10-29 21:37 ` [PR PATCH] [Updated] " trolljoe
@ 2024-11-08 8:16 ` lukeflo
2024-11-09 17:01 ` vikigenius
` (3 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: lukeflo @ 2024-11-08 8:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
New comment by lukeflo on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2464069845
Comment:
Just built the `niri` package again with the added `vinstall` commands. Worked fine! All necessary files are placed in the correct dir.
Hope this PR gets merged soon since all checks have passed and its reviewed. If I can help test out anything which is holding it back from getting merged, just tell me.
Great work!
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (21 preceding siblings ...)
2024-11-08 8:16 ` lukeflo
@ 2024-11-09 17:01 ` vikigenius
2024-11-09 18:59 ` [PR PATCH] [Updated] " trolljoe
` (2 subsequent siblings)
25 siblings, 0 replies; 27+ messages in thread
From: vikigenius @ 2024-11-09 17:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 265 bytes --]
New comment by vikigenius on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2466298481
Comment:
Lol, there was just a new release today for 0.1.10. MIght as well update it, since this hasn't gotten merged yet anyways
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] new package: niri 0.1.9
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (22 preceding siblings ...)
2024-11-09 17:01 ` vikigenius
@ 2024-11-09 18:59 ` trolljoe
2024-11-13 10:07 ` new package: niri 0.1.10 lukeflo
2024-11-13 21:05 ` [PR PATCH] [Updated] " trolljoe
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-11-09 18:59 UTC (permalink / raw)
To: ml
[-- 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: 2144 bytes --]
From 222291dd1d635c6641f82662c9aa85739ed6d2e0 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.10
---
srcpkgs/niri/patches/remove-session.patch | 12 ++++++++++++
srcpkgs/niri/template | 21 +++++++++++++++++++++
2 files changed, 33 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..63b1b3f953931e
--- /dev/null
+++ b/srcpkgs/niri/template
@@ -0,0 +1,21 @@
+# Template file for 'niri'
+pkgname=niri
+version=0.1.10
+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=2a6e6c21b05c14498eb84e58853c0a4c9d96d4215b8aec53388e89266fccca1b
+
+post_install() {
+ vinstall resources/niri.desktop 644 usr/share/wayland-sessions
+ vinstall resources/niri-portals.conf 644 usr/share/xdg-desktop-portal
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: new package: niri 0.1.10
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (23 preceding siblings ...)
2024-11-09 18:59 ` [PR PATCH] [Updated] " trolljoe
@ 2024-11-13 10:07 ` lukeflo
2024-11-13 21:05 ` [PR PATCH] [Updated] " trolljoe
25 siblings, 0 replies; 27+ messages in thread
From: lukeflo @ 2024-11-13 10:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 270 bytes --]
New comment by lukeflo on void-packages repository
https://github.com/void-linux/void-packages/pull/52794#issuecomment-2473064925
Comment:
There is a bugfix for the current release: https://github.com/YaLTeR/niri/releases/tag/v0.1.10.1
Maybe worth adding to the PR
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PR PATCH] [Updated] new package: niri 0.1.10
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 trolljoe
` (24 preceding siblings ...)
2024-11-13 10:07 ` new package: niri 0.1.10 lukeflo
@ 2024-11-13 21:05 ` trolljoe
25 siblings, 0 replies; 27+ messages in thread
From: trolljoe @ 2024-11-13 21:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1009 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.10
<!-- 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: 2148 bytes --]
From 245e13a91151e9882ec0b7fa14087581872dc6b4 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.10.1
---
srcpkgs/niri/patches/remove-session.patch | 12 ++++++++++++
srcpkgs/niri/template | 21 +++++++++++++++++++++
2 files changed, 33 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..0fb83c6b62dbec
--- /dev/null
+++ b/srcpkgs/niri/template
@@ -0,0 +1,21 @@
+# Template file for 'niri'
+pkgname=niri
+version=0.1.10.1
+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=d8854830436a87215b0bc6a60b6d43f350d927a03a2798c75f0fbda228bac8d3
+
+post_install() {
+ vinstall resources/niri.desktop 644 usr/share/wayland-sessions
+ vinstall resources/niri-portals.conf 644 usr/share/xdg-desktop-portal
+}
^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~2024-11-13 21:05 UTC | newest]
Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-27 1:38 [PR PATCH] new package: niri 0.1.9 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 ` [PR PATCH] [Updated] " trolljoe
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
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).