Package Details: river-git 0.1.0.r75.gded490d-1

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://github.com/riverwm/river
Keywords: river Tiling Wayland window-manager
Licenses: GPL3
Conflicts: river, river-bin, river-noxwayland-git
Provides: river, riverctl, rivertile
Submitter: ifreund
Maintainer: andreafeletto (dedguy21, ifreund)
Last Packager: andreafeletto
Votes: 11
Popularity: 1.33
First Submitted: 2020-04-21 11:52 (UTC)
Last Updated: 2022-05-21 18:42 (UTC)

Pinned Comments

Latest Comments

polyzen commented on 2022-01-18 01:59 (UTC)

Please do not suggest people use the staging repos, see the warning here: https://wiki.archlinux.org/title/Official_repositories#Staging_repositories

This was brought up in the #archlinux-aur channel and I'm responding on behalf of them.

infiniter commented on 2022-01-17 17:11 (UTC)

At moment I cant update this package because it crashes during build on "require wlroots 0.15" but choices we have currently are and both wont work

wlroots-0.14.1-3 wlroots-git-0.16.0.r5328.5091118b-1

DN-debug commented on 2021-12-10 13:38 (UTC) (edited on 2021-12-10 13:41 (UTC) by DN-debug)

Hi There,

I understand that you guys don't ship the session file with river, however, wouldn't it be a 'good choice' to atleast ship river-git pkg with it, if not the river pkg itself?

If at some point you agree, then below changes should suffice:

add river.desktop file in the PKGBUILD directory

PKGBUILD modifications [ denoted by + ] --
source=( + "river.desktop" )
sha256sums=( //recalculate or skip )
package() { + install -Dm644 "$srcdir/river.desktop" "$pkgdir/usr/share/wayland-sessions/river.desktop" }

Thanks!

andreafeletto commented on 2021-11-22 09:33 (UTC)

/usr/lib/libLLVM-13.so is provided by llvm-libs which is a dependency of zig. Please check that llvm-libs is not listed in /etc/pacman.conf under IgnorePkg (which would prevent the package to be upgraded) and update the system with sudo pacman -Syu.

Whiskeyjack0 commented on 2021-11-22 03:18 (UTC)

LLVM13 isn't a listed dependency, but river-git fails to build without it. Not sure if this a me problem, or an actual problem.

zig: error while loading shared libraries: libLLVM-13.so: cannot open shared object file: No such file or directory

andreafeletto commented on 2021-11-17 20:35 (UTC) (edited on 2021-11-17 20:36 (UTC) by andreafeletto)

The version of upstream wlroots is currently 0.15.0. Still, the version of wlroots-git is based on the last tag (0.14), so there is no way that I know of to prevent this during installation.

Installing wlroots from the community repository will solve the issue.

ErikR commented on 2021-11-17 20:13 (UTC)

Won't compile due to this:

./deps/zig-wlroots/src/wlroots.zig:165:9: error: zig-wlroots requires wlroots version 0.14
        @compileError("zig-wlroots requires wlroots version 0.14");
        ^

I'm running wlroots-git ver 0.14.0.r347.g8274c85d-1

andreafeletto commented on 2021-10-01 08:34 (UTC)

https://aur.archlinux.org/packages/river-noxwayland-git/

dedguy21 commented on 2021-09-30 23:57 (UTC)

It possible to modify the PKGBUILD to remove the dependency. Why don't you do that?

For most use cases Xwayland is essential for Steam and other software.

I hope he doesn't make it optional, it'd be like asking for French fries without salt. Only the outliers like it that way

yreew commented on 2021-09-30 23:44 (UTC)

is it possible to make xwayland optional?

null commented on 2021-06-29 08:33 (UTC)

Please add 'git' to makedepends. It's not in base-devel.

dedguy21 commented on 2021-05-26 22:49 (UTC) (edited on 2021-05-26 22:50 (UTC) by dedguy21)

Disowned by me. I don't have enough experience yet to be maintaining packages. Sorry.

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.

ekollof commented on 2021-01-12 20:32 (UTC)

Currently gives a build error:

ld.lld: error: undefined symbol: wlr_xdg_surface_for_each_popup

referenced by xdg_shell.zig:325 (/home/ekollof/.cache/yay/river-git/src/river/deps/zig-wlroots/src/types/xdg_shell.zig:325) /home/ekollof/.cache/yay/river-git/src/river/zig-cache/o/06747dfd811f122a68c1434333179a20/river.o:(.wayland.wayland_server_core.struct:461:17.wrapper.93) referenced by xdg_shell.zig:325 (/home/ekollof/.cache/yay/river-git/src/river/deps/zig-wlroots/src/types/xdg_shell.zig:325) /home/ekollof/.cache/yay/river-git/src/river/zig-cache/o/06747dfd811f122a68c1434333179a20/river.o:(.wayland.wayland_server_core.struct:461:17.wrapper.93)

ld.lld: error: undefined symbol: wlr_layer_surface_v1_for_each_popup

referenced by layer_shell_v1.zig:123 (/home/ekollof/.cache/yay/river-git/src/river/deps/zig-wlroots/src/types/layer_shell_v1.zig:123) /home/ekollof/.cache/yay/river-git/src/river/zig-cache/o/06747dfd811f122a68c1434333179a20/river.o:(.wayland.wayland_server_core.struct:461:17.wrapper.93) referenced by layer_shell_v1.zig:123 (/home/ekollof/.cache/yay/river-git/src/river/deps/zig-wlroots/src/types/layer_shell_v1.zig:123) /home/ekollof/.cache/yay/river-git/src/river/zig-cache/o/06747dfd811f122a68c1434333179a20/river.o:(.wayland.wayland_server_core.struct:461:17.wrapper.93) referenced by layer_shell_v1.zig:123 (/home/ekollof/.cache/yay/river-git/src/river/deps/zig-wlroots/src/types/layer_shell_v1.zig:123) /home/ekollof/.cache/yay/river-git/src/river/zig-cache/o/06747dfd811f122a68c1434333179a20/river.o:(.wayland.wayland_server_core.struct:461:17.wrapper.93) referenced 1 more times error: LLDReportedFailure river...The following command exited with error code 1: /usr/bin/zig build-exe /home/ekollof/.cache/yay/river-git/src/river/river/main.zig --library c --library evdev --library wayland-server --library xkbcommon --library pixman-1 --library wlroots -cflags -std=c99 -- /home/ekollof/.cache/yay/river-git/src/river/zig-cache/zig-wayland/xdg-shell-protocol.c -cflags -std=c99 -- /home/ekollof/.cache/yay/river-git/src/river/zig-cache/zig-wayland/river-control-unstable-v1-protocol.c -cflags -std=c99 -- /home/ekollof/.cache/yay/river-git/src/river/zig-cache/zig-wayland/river-status-unstable-v1-protocol.c -cflags -std=c99 -- /home/ekollof/.cache/yay/river-git/src/river/zig-cache/zig-wayland/wlr-layer-shell-unstable-v1-protocol.c -cflags -std=c99 -- /home/ekollof/.cache/yay/river-git/src/river/zig-cache/zig-wayland/wlr-output-power-management-unstable-v1-protocol.c --pkg-begin build_options /home/ekollof/.cache/yay/river-git/src/river/zig-cache/river_build_options.zig --pkg-end -OReleaseSafe --cache-dir /home/ekollof/.cache/yay/river-git/src/river/zig-cache --global-cache-dir /home/ekollof/.cache/zig --name river --pkg-begin wayland /home/ekollof/.cache/yay/river-git/src/river/zig-cache/zig-wayland/wayland.zig --pkg-end --pkg-begin xkbcommon /home/ekollof/.cache/yay/river-git/src/river/deps/zig-xkbcommon/src/xkbcommon.zig --pkg-end --pkg-begin pixman /home/ekollof/.cache/yay/river-git/src/river/deps/zig-pixman/pixman.zig --pkg-end --pkg-begin wlroots /home/ekollof/.cache/yay/river-git/src/river/deps/zig-wlroots/src/wlroots.zig --pkg-begin wayland /home/ekollof/.cache/yay/river-git/src/river/zig-cache/zig-wayland/wayland.zig --pkg-end --pkg-begin xkbcommon /home/ekollof/.cache/yay/river-git/src/river/deps/zig-xkbcommon/src/xkbcommon.zig --pkg-end --pkg-begin pixman /home/ekollof/.cache/yay/river-git/src/river/deps/zig-pixman/pixman.zig --pkg-end --pkg-end -I /usr/include/libevdev-1.0 -I /usr/include/pixman-1 -I /usr/include/libdrm -I /usr/include/pixman-1 -I /usr/include/uuid --enable-cache error: the following build command failed with exit code 1: /home/ekollof/.cache/yay/river-git/src/river/zig-cache/o/5ea24304caa68294e730363f491c2640/build /usr/bin/zig /home/ekollof/.cache/yay/river-git/src/river /home/ekollof/.cache/yay/river-git/src/river/zig-cache /home/ekollof/.cache/zig -Drelease-safe -Dxwayland -Dman-pages

daurnimator commented on 2020-12-07 11:34 (UTC)

So is this package still orphaned?

no.

dedguy21 commented on 2020-12-06 23:16 (UTC)

So is this package still orphaned?

Noticed it was updated on 11-04-2020 after the 11-01-2020 announcement.

ifreund commented on 2020-11-01 13:59 (UTC)

I'm orphaning this as I don't use arch anymore. If someone has questions about packaging this feel free to ask in #river on freenode or my issue tracker.

Youe.Graillot commented on 2020-09-15 19:54 (UTC)

For people wondering why build is currently failing : https://github.com/ifreund/river/issues/95

Will be fixed at 0.7 apparently

ifreund commented on 2020-06-05 10:41 (UTC)

@Ordoviz thanks for the reminder. I updated the license and fixed a couple other things.

Ordoviz commented on 2020-06-04 19:19 (UTC)

The license needs to be changed.

ifreund commented on 2020-04-28 07:27 (UTC) (edited on 2020-10-14 19:41 (UTC) by ifreund)

Note, this package requires the stable version of wlroots and an master branch build of zig. This means it likely won't work if you have wlroots-git. installed or are using zig 0.6.0. When zig 0.7.0 releases on the 26th river will stick with zig 0.7.0 and no longer depend on master.