På onsdag 1. juli 2026 kl. 19:12, skrev Volker Schlecht <[email protected]>:
> Here's an update to wayland/niri that I have been running happily for a couple > of weeks now: > > * Update to latest upstream release > > * enable dbus feature, and add RUN_DEPENDS on x11/dbus > > * replace startniri.sh by niri-session to match the upstream script of the > same name. That brings us closer to how niri works on Linux > > * use dbus-run-session to start the niri session, which takes care of the > necessary environment variables > > * install the default xdg-desktop-portal configuration > > * enable pipewire support and screencast support > > * add a RUN_DEPENDS on wayland/swaylock, since it's used by the default config > > * remove the patch to use wofi in the default config, since we have fuzzel now > (upstream default); change RUN_DEPENDS accordingly > > * remove the render node from the default configuration (it's not needed since > the last port update) > > * @sample the default configuration > > * Fix License (It's GPLv3 or later) > > Most of the patches needed can now be handled in the port itself, but > unfortunately Smithay still needs to be patched upstream - the diff pulls it > from my github repo for testing purposes. > > Testing and feedback welcome :) > > Tested on current/amd64 with privsep. This is what I got: $ cd /usr/ports/wayland/niri/ && make build package test ; make port-lib-depends-check check-shlib-syms ===> Generating configure for niri-26.04 ===> Configuring for niri-26.04 ===> Building for niri-26.04 error: failed to get `smithay` as a dependency of package `niri-config v26.4.0 (/usr/ports/pobj/niri-26.04/niri-26.04/niri-config)` Caused by: failed to load source for dependency `smithay` Caused by: unable to update https://github.com/Smithay/smithay.git?rev=ff5fa7df392cecfba049ffed55cdaa4e98a8e7ef#ff5fa7df Caused by: can't checkout from 'https://github.com/Smithay/smithay.git': you are in the offline mode (--offline) *** Error 101 in . (/usr/ports/devel/cargo/cargo.port.mk:370 'do-build': @cd /usr/ports/pobj/niri-26.04/niri-26.04 && /usr/bin/env -i PORTSD...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3075 '/usr/ports/pobj/niri-26.04/.build_done': @cd /usr/ports/wayland/niri && PKG...) *** Error 2 in /usr/ports/wayland/niri (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=niri-26.04; export _LOCKS_HELD=" niri-...) ===> Building for niri-26.04 error: failed to get `smithay` as a dependency of package `niri-config v26.4.0 (/usr/ports/pobj/niri-26.04/niri-26.04/niri-config)` Caused by: failed to load source for dependency `smithay` Caused by: unable to update https://github.com/Smithay/smithay.git?rev=ff5fa7df392cecfba049ffed55cdaa4e98a8e7ef#ff5fa7df Caused by: can't checkout from 'https://github.com/Smithay/smithay.git': you are in the offline mode (--offline) *** Error 101 in . (/usr/ports/devel/cargo/cargo.port.mk:370 'do-build': @cd /usr/ports/pobj/niri-26.04/niri-26.04 && /usr/bin/env -i PORTSD...) *** Error 2 in /usr/ports/wayland/niri (/usr/ports/infrastructure/mk/bsd.port.mk:3075 '/usr/ports/pobj/niri-26.04/.build_done': @cd /usr/por...) -- // Tried doing this three different times. Am I doing something incorrect perhaps? Hope this helps. May you be successful hacking. -- yaydn
