Package Details: river-git 0.3.5.r31.g1b5dd21-3

Git Clone URL: https://aur.archlinux.org/river-git.git (read-only, click to copy)
Package Base: river-git
Description: 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.99
First Submitted: 2020-04-21 11:52 (UTC)
Last Updated: 2024-10-25 21:41 (UTC)

Pinned Comments

xiota commented on 2024-03-25 21:06 (UTC)

I have intentionally continued using the github mirrors for the sources because github has better bandwidth and uptime than codeberg.

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

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

dedguy21 commented on 2021-03-04 02:47 (UTC)

I tried to build from wlroots today (2021-03-3) from the official Arch repo, got a similar build error that was being reported from before when it was a git master issue.

ifreund commented on 2021-01-13 11:24 (UTC)

As explained here on my issue tracker, river requires wlroots 0.12.0. wlroots master will not work.