Disowned by me. I don't have enough experience yet to be maintaining packages. Sorry.
Search Criteria
Package Details: river-git 0.3.10.r1.ged85b44-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/river-git.git (read-only, click to copy) |
---|---|
Package Base: | river-git |
Description: | A dynamic tiling wayland compositor |
Upstream URL: | https://codeberg.org/river/river |
Keywords: | river Tiling Wayland window-manager |
Licenses: | GPL-3.0-only |
Conflicts: | river |
Provides: | river |
Submitter: | ifreund |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 18 |
Popularity: | 0.019375 |
First Submitted: | 2020-04-21 11:52 (UTC) |
Last Updated: | 2025-06-25 03:35 (UTC) |
Dependencies (14)
- libevdev (libevdev-gitAUR)
- libinput (libinput-gitAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR, libinput-noaccumAUR)
- libxkbcommon (libxkbcommon-gitAUR)
- mesa (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, mesa-minimal-gitAUR, vulkan-terakan-gitAUR, mesa-fp8-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-fsr4-gitAUR, mesa-gitAUR, mesa-amber)
- pixman (pixman-gitAUR)
- sh (dashbinshAUR, zshbinshAUR, bash-devel-gitAUR, bash-gitAUR, bash)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- wlroots0.19 (wlroots0.19-hidpi-xpropAUR)
- xorg-xwayland (xorg-xwayland-gitAUR, xorg-xwayland-bug865-issue1578AUR, xorg-xwayland-hidpi-xpropAUR)
- git (git-gitAUR, git-glAUR) (make)
- scdoc (scdoc-gitAUR) (make)
- wayland-protocols (wayland-protocols-gitAUR) (make)
- zig (anyzig-zigAUR, zigup-zigAUR, zigup-binAUR, zig-dev-binAUR, zig-nightly-binAUR, zig-binAUR, zig-gitAUR, zig-master-binAUR) (make)
- polkit (polkit-gitAUR, polkit-consolekitAUR) (optional) – access seat through systemd-logind
Required by (4)
- lxqt-wayland-session-git (requires river) (optional)
- river-creek (requires river)
- river-creek-git (requires river)
- river-shifttags-git (requires river)
Sources (1)
dedguy21 commented on 2021-05-26 22:49 (UTC) (edited on 2021-05-26 22:50 (UTC) by dedguy21)
euclio commented on 2021-05-19 03:33 (UTC)
As written, this package should have xorg-xwayland
as a dependency. The binary is built expecting the library to be present (-Dxwayland
). If xorg-xwayland
is not installed, the binary crashes at runtime because it is unable to create an Xwayland session.
That said, ideally the Xwayland dependency would be optional. I prefer to run without it, so I've been editing the PKGBUILD to remove -Dxwayland
.
fine2006 commented on 2021-05-15 15:19 (UTC)
It finally does work and install now.
daurnimator commented on 2021-05-15 15:11 (UTC)
I pushed a fix to build the package cleanly again.
However I'm going to disown this package: the lack of nvidia support in wlroots means I can't realistically use it.
ronin commented on 2021-05-15 01:03 (UTC) (edited on 2021-05-15 01:05 (UTC) by ronin)
This package still fails to build even with the patch. Might be because of this https://github.com/ifreund/river/issues/270#issuecomment-829324655
rien333 commented on 2021-05-05 15:18 (UTC) (edited on 2021-05-05 15:28 (UTC) by rien333)
Same error as euclio, are you sure the dependencies are right? More importantly, could you fix this package? (see also: https://github.com/ifreund/river/issues/270)
euclio commented on 2021-04-26 23:44 (UTC)
I am getting build failures because the cc invoked by zig-wayland is unable to find wayland-util.h
in /usr/include
. Using --verbose-cc
it looks like the underlying C compiler is getting -nostdinc
but /usr/include
is not passed as an include directory.
LLVM Emit Output... error(compilation): clang failed with stderr: /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/xdg-shell-protocol.c:33:10: fatal error: 'wayland-util.h' file not found
error(compilation): clang failed with stderr: /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/pointer-gestures-unstable-v1-protocol.c:5:10: fatal error: 'wayland-util.h' file not found
Compile C Objects [2/9] pointer-gestures-unstable-v1-protocol.c... error(compilation): clang failed with stderr: /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/xdg-output-unstable-v1-protocol.c:28:10: fatal error: 'wayland-util.h' file not found
error(compilation): clang failed with stderr: /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/pointer-constraints-unstable-v1-protocol.c:29:10: fatal error: 'wayland-util.h' file not found
Compile C Objects [4/9] pointer-constraints-unstable-v1-protocol.c... error(compilation): clang failed with stderr: /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/river-control-unstable-v1-protocol.c:21:10: fatal error: 'wayland-util.h' file not found
error(compilation): clang failed with stderr: /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/river-status-unstable-v1-protocol.c:21:10: fatal error: 'wayland-util.h' file not found
Compile C Objects [6/9] river-status-unstable-v1-protocol.c... error(compilation): clang failed with stderr: /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/river-layout-v2-protocol.c:21:10: fatal error: 'wayland-util.h' file not found
error(compilation): clang failed with stderr: /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/wlr-layer-shell-unstable-v1-protocol.c:30:10: fatal error: 'wayland-util.h' file not found
Compile C Objects [8/9] wlr-layer-shell-unstable-v1-protocol.c... error(compilation): clang failed with stderr: /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/wlr-output-power-management-unstable-v1-protocol.c:28:10: fatal error: 'wayland-util.h' file not found
/home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/xdg-shell-protocol.c:1:1: error: unable to build C object: clang exited with code 1
/home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/pointer-gestures-unstable-v1-protocol.c:1:1: error: unable to build C object: clang exited with code 1
/home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/xdg-output-unstable-v1-protocol.c:1:1: error: unable to build C object: clang exited with code 1
/home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/pointer-constraints-unstable-v1-protocol.c:1:1: error: unable to build C object: clang exited with code 1
/home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/river-control-unstable-v1-protocol.c:1:1: error: unable to build C object: clang exited with code 1
/home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/river-status-unstable-v1-protocol.c:1:1: error: unable to build C object: clang exited with code 1
/home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/river-layout-v2-protocol.c:1:1: error: unable to build C object: clang exited with code 1
/home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/wlr-layer-shell-unstable-v1-protocol.c:1:1: error: unable to build C object: clang exited with code 1
/home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/wlr-output-power-management-unstable-v1-protocol.c:1:1: error: unable to build C object: clang exited with code 1
rivertile...The following command exited with error code 1:
/usr/bin/zig build-exe /home/euclio/.local/share/aur/river-git/src/river/rivertile/main.zig --library c --library wayland-client -cflags -std=c99 -- /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/xdg-shell-protocol.c -cflags -std=c99 -- /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/pointer-gestures-unstable-v1-protocol.c -cflags -std=c99 -- /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/xdg-output-unstable-v1-protocol.c -cflags -std=c99 -- /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/pointer-constraints-unstable-v1-protocol.c -cflags -std=c99 -- /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/river-control-unstable-v1-protocol.c -cflags -std=c99 -- /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/river-status-unstable-v1-protocol.c -cflags -std=c99 -- /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/river-layout-v2-protocol.c -cflags -std=c99 -- /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/wlr-layer-shell-unstable-v1-protocol.c -cflags -std=c99 -- /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/wlr-output-power-management-unstable-v1-protocol.c -OReleaseSafe --cache-dir /home/euclio/.local/share/aur/river-git/src/river/zig-cache --global-cache-dir /home/euclio/.cache/zig --name rivertile -target x86_64-linux-gnu --pkg-begin wayland /home/euclio/.local/share/aur/river-git/src/river/zig-cache/zig-wayland/wayland.zig --pkg-end --enable-cache
error: the following build command failed with exit code 1:
/home/euclio/.local/share/aur/river-git/src/river/zig-cache/o/dbe8cad39980afdc53d61155296a04dd/build /usr/bin/zig /home/euclio/.local/share/aur/river-git/src/river /home/euclio/.local/share/aur/river-git/src/river/zig-cache /home/euclio/.cache/zig --search-prefix /usr -Dtarget=x86_64-linux-gnu -Drelease-safe -Dxwayland -Dman-pages
FoundOne commented on 2021-04-09 09:01 (UTC) (edited on 2021-04-09 09:12 (UTC) by FoundOne)
Can you please make it work for aarch64 again? It was compiling fine before the last change and it seems it has some issue with wlroots (or maybe the wrapper) because it gives me an error, after I changed all the places with x86_64 to aarch64 in the PKGBUILD and tried to compile it:
ld.lld: error: undefined symbol: wlr_xdg_surface_for_each_popup_surface
>>> referenced by xdg_shell.zig:330 (/home/dwolf/river-git/src/river/deps/zig-wlroots/src/types/xdg_shell.zig:330)
Edit: I saw that you have updated it for wlroots 0.13 in the git repository. My bad.
dedguy21 commented on 2021-03-09 19:27 (UTC) (edited on 2021-03-09 19:32 (UTC) by dedguy21)
Ok, zig builds as of today with glib 2.32, but Arch has glib 2.33 which is causing build errors... just to clarify for anyone else though.
The work around is:
1)run the terminal command first: zig libc > libc-paths
2) using your favorite text editor (nvim for me): find ".linkLibC()" instances ( i think there are three) and underneath append the line for .setLibCFile("libc-paths") in file 'build.zig'
example:
found --> riverctl.linkLibC();
insert next line --> riverctl.setLibCFile("libc-paths");
Agian I believe there are three instances, save and then run the build per instructions
Thanks, this workaround has resolved the build failure in Arch, and I have successfully built and run River
Pinned Comments