Package Details: niri-git 25.11.r108.g549148d-2

Git Clone URL: https://aur.archlinux.org/niri-git.git (read-only, click to copy)
Package Base: niri-git
Description: Scrollable-tiling Wayland compositor
Upstream URL: https://github.com/niri-wm/niri
Keywords: rust smithay tiling-window-manager wayland wayland-compositor
Licenses: GPL-3.0-or-later
Conflicts: niri, niri-bin
Provides: niri
Submitter: jcaesar
Maintainer: cosmo (FreeFull)
Last Packager: FreeFull
Votes: 13
Popularity: 1.16
First Submitted: 2023-09-26 09:12 (UTC)
Last Updated: 2026-02-08 13:48 (UTC)

Dependencies (24)

Required by (50)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

FreeFull commented on 2026-02-08 13:51 (UTC)

While the old upstream URL still worked due to a redirect, I have now changed it to point at the new URL.

Note: If you get an error about your existing git checkout not pointing at the proper URL, the easiest way to fix it is to do a completely clean build.

Alternatively, you can try using git to change the "origin" remote of the niri git repo to point at the new URL, which avoids doing an extra git clone.

diegonicacio commented on 2026-02-08 10:33 (UTC)

niri has moved its upstream from https://github.com/YaLTeR/niri to https://github.com/niri-wm/niri

Just announced by the core maintainer on X: https://x.com/YaLTeRz/status/2020403372629610724

FreeFull commented on 2026-01-23 23:00 (UTC) (edited on 2026-01-24 00:36 (UTC) by FreeFull)

The PKGBUILD used to not have the LFS stuff, but it was causing an error when checking out the git repo, for people that did have git lfs installed and set up on their system for other reasons. You can see the error here: https://aur.archlinux.org/packages/niri-git?O=20#comment-964154

However, I've just done some quick testing, and it does seem like that error doesn't happen any more. I'll be removing the LFS stuff from the PKGBUILD soon.

Edit: I have now removed the dependency on LFS, please comment if you run into any issues

ninchan commented on 2026-01-10 02:06 (UTC)

I also couldn't build niri-git due to LFS, but using the patch from @dougEfresh solves this problem. Why do we need LFS to build niri?

dougEfresh commented on 2026-01-09 10:37 (UTC)

I agree with @Gumminess7654 No reason to have LFS as requirement. Here is a patch

diff --git a/PKGBUILD b/PKGBUILD
index d8c7cec..ef7c7a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@ arch=(x86_64 aarch64)
 url="https://github.com/YaLTeR/${pkgname%-git}"
 license=(GPL-3.0-or-later)
 depends=(cairo glib2 libdisplay-info libinput libpipewire libxkbcommon mesa pango pixman seatd)
-makedepends=(clang rust git makepkg-git-lfs-proto)
+makedepends=(clang rust git )
 [[ -n "${_sccache}" ]] && makedepends+=(sccache)
 optdepends=('fuzzel: application launcher similar to rofi drun mode'
             'waybar: highly customizable Wayland bar'
@@ -36,7 +36,7 @@ optdepends=('fuzzel: application launcher similar to rofi drun mode'
 provides=("${pkgname%-git}=${pkgver}")
 conflicts=("${pkgname%-git}-bin" "${pkgname%-git}")
 options=(!debug !lto !strip)
-source=("${pkgname%-git}::git-lfs+$url.git")
+source=("${pkgname%-git}::git+$url.git")
 b2sums=('SKIP')

 pkgver() {

Gumminess7654 commented on 2026-01-01 01:18 (UTC)

Why is Git LFS a dependency for this package? LFS is only used for images in the documentation and is not required for building niri. LFS blobs are also not part of the release tar balls.

stevessr commented on 2025-11-18 14:09 (UTC) (edited on 2025-11-19 12:38 (UTC) by stevessr)

@FreeFull @musta_ruhtinas yes, of cause, i tried to clean paru's cache for plenty of times. But still failed. If i directy build in the src , it will success.(so much crazy , even with cargo build --release --all-features ) logs witch '--verbose' options is here https://paste.centos.org/view/1e74c27d https://pastebin.com/d7nJF6E4 ( /home/$USER is replaced with ~ )

FreeFull commented on 2025-11-18 12:11 (UTC)

@stevessr I haven't been able to reproduce this either, but I'm guessing you just need to do a clean rebuild of niri-git.

musta_ruhtinas commented on 2025-11-18 12:09 (UTC)

@stevessr after i sorted out the makepkg-git-lfs-proto problem it always built fine in a clean chroot, have you tried clearing paru's cache?

stevessr commented on 2025-11-18 11:21 (UTC) (edited on 2025-11-18 11:22 (UTC) by stevessr)

@FreeFull I installed rustc 1.91.1 (ed61e7d7e 2025-11-07) & 1.93.0-nightly (0df64c578 2025-11-17 this is my default) the dots are things like

= note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: rust-lld: error: undefined symbol: spa_buffer_find_meta_data_libspa_rs
          >>> referenced by pw_utils.rs:1274 (src/pw_utils.rs:1274)
          >>>               /home/steve/.cache/paru/clone/niri-git/src/niri/target/release/deps/niri-1b41042a99d0c600.niri-cf26d15992d96fbd.niri.8412b9a2c05a281c-cgu.15.rcgu.o.rcgu.o:(niri::pw_utils::Cast::dequeue_buffer_and_clear::h6701168f97d1b96a)
          >>> referenced by pw_utils.rs:1274 (src/pw_utils.rs:1274)
          >>>               /home/steve/.cache/paru/clone/niri-git/src/niri/target/release/deps/niri-1b41042a99d0c600.niri-cf26d15992d96fbd.niri.8412b9a2c05a281c-cgu.15.rcgu.o.rcgu.o:(niri::pw_utils::Cast::dequeue_buffer_and_clear::h6701168f97d1b96a)
          >>> referenced by pw_utils.rs:1274 (src/pw_utils.rs:1274)
          >>>               /home/steve/.cache/paru/clone/niri-git/src/niri/target/release/deps/niri-1b41042a99d0c600.niri-cf26d15992d96fbd.niri.8412b9a2c05a281c-cgu.15.rcgu.o.rcgu.o:(niri::pw_utils::Cast::dequeue_buffer_and_render::he52980df06301610)
          >>> referenced 3 more times

          rust-lld: error: undefined symbol: spa_format_parse_libspa_rs
          >>> referenced by format_utils.rs:18 (/niri/.cargo/git/checkouts/pipewire-rs-df61a2021ea5a343/93138d0/libspa/src/param/format_utils.rs:18)
          >>>               /home/steve/.cache/paru/clone/niri-git/src/niri/target/release/deps/niri-1b41042a99d0c600.niri-cf26d15992d96fbd.niri.8412b9a2c05a281c-cgu.15.rcgu.o.rcgu.o:(niri::pw_utils::PipeWire::start_cast::_$u7b$$u7b$closure$u7d$$u7d$::h43c6c612be366af4)

          rust-lld: error: undefined symbol: spa_format_video_raw_parse_libspa_rs
          >>> referenced by raw.rs:382 (/niri/.cargo/git/checkouts/pipewire-rs-df61a2021ea5a343/93138d0/libspa/src/param/video/raw.rs:382)
          >>>               /home/steve/.cache/paru/clone/niri-git/src/niri/target/release/deps/niri-1b41042a99d0c600.niri-cf26d15992d96fbd.niri.8412b9a2c05a281c-cgu.15.rcgu.o.rcgu.o:(niri::pw_utils::PipeWire::start_cast::_$u7b$$u7b$closure$u7d$$u7d$::h43c6c612be366af4)

          rust-lld: error: undefined symbol: spa_pod_is_object_libspa_rs
          >>> referenced by mod.rs:410 (/niri/.cargo/git/checkouts/pipewire-rs-df61a2021ea5a343/93138d0/libspa/src/pod/mod.rs:410)
          >>>               /home/steve/.cache/paru/clone/niri-git/src/niri/target/release/deps/niri-1b41042a99d0c600.niri-cf26d15992d96fbd.niri.8412b9a2c05a281c-cgu.15.rcgu.o.rcgu.o:(niri::pw_utils::PipeWire::start_cast::_$u7b$$u7b$closure$u7d$$u7d$::h43c6c612be366af4)

          rust-lld: error: undefined symbol: spa_pod_object_find_prop_libspa_rs
          >>> referenced by mod.rs:583 (/niri/.cargo/git/checkouts/pipewire-rs-df61a2021ea5a343/93138d0/libspa/src/pod/mod.rs:583)
          >>>               /home/steve/.cache/paru/clone/niri-git/src/niri/target/release/deps/niri-1b41042a99d0c600.niri-cf26d15992d96fbd.niri.8412b9a2c05a281c-cgu.15.rcgu.o.rcgu.o:(niri::pw_utils::PipeWire::start_cast::_$u7b$$u7b$closure$u7d$$u7d$::h43c6c612be366af4)

          rust-lld: error: undefined symbol: libspa_rs_type_video_format
          >>> referenced by raw.rs:140 (src/param/video/raw.rs:140)
          >>>               /home/steve/.cache/paru/clone/niri-git/src/niri/target/release/deps/niri-1b41042a99d0c600.libspa-02d850aaa42f981a.libspa.40d15900ab6f3b6d-cgu.15.rcgu.o.rcgu.o:(_$LT$libspa..param..video..raw..VideoFormat$u20$as$u20$core..fmt..Debug$GT$::fmt::h5781fe4cf77453a7)

          rust-lld: error: undefined symbol: spa_debug_type_find_short_name_libspa_rs
          >>> referenced by raw.rs:139 (src/param/video/raw.rs:139)
          >>>               /home/steve/.cache/paru/clone/niri-git/src/niri/target/release/deps/niri-1b41042a99d0c600.libspa-02d850aaa42f981a.libspa.40d15900ab6f3b6d-cgu.15.rcgu.o.rcgu.o:(_$LT$libspa..param..video..raw..VideoFormat$u20$as$u20$core..fmt..Debug$GT$::fmt::h5781fe4cf77453a7)
          collect2: error: ld returned 1 exit status