Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2026 15:21:52 +0000
From:      Siva Mahadevan <siva@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1c027f94e554 - main - x11-wm/river-classic: new port
Message-ID:  <69cd3810.38303.45282d79@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by siva:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c027f94e55489b16f1950e7b8ec2677c917a0d6

commit 1c027f94e55489b16f1950e7b8ec2677c917a0d6
Author:     Siva Mahadevan <siva@FreeBSD.org>
AuthorDate: 2026-03-20 03:26:34 +0000
Commit:     Siva Mahadevan <siva@FreeBSD.org>
CommitDate: 2026-04-01 15:21:36 +0000

    x11-wm/river-classic: new port
    
    Approved by:    lwhsu (mentor, implicitly)
---
 x11-wm/Makefile                   |  1 +
 x11-wm/river-classic/Makefile     | 42 +++++++++++++++++++++++++++++++++++++++
 x11-wm/river-classic/Makefile.zig |  4 ++++
 x11-wm/river-classic/distinfo     | 11 ++++++++++
 x11-wm/river-classic/pkg-descr    |  8 ++++++++
 x11-wm/river-classic/pkg-message  | 17 ++++++++++++++++
 x11-wm/river-classic/pkg-plist    | 11 ++++++++++
 7 files changed, 94 insertions(+)

diff --git a/x11-wm/Makefile b/x11-wm/Makefile
index 8e44019cf047..986257625709 100644
--- a/x11-wm/Makefile
+++ b/x11-wm/Makefile
@@ -94,6 +94,7 @@
     SUBDIR += qtile
     SUBDIR += ratpoison
     SUBDIR += river
+    SUBDIR += river-classic
     SUBDIR += rubygem-uh-layout
     SUBDIR += rubygem-uh-wm
     SUBDIR += sawfish
diff --git a/x11-wm/river-classic/Makefile b/x11-wm/river-classic/Makefile
new file mode 100644
index 000000000000..e9d94f9feb54
--- /dev/null
+++ b/x11-wm/river-classic/Makefile
@@ -0,0 +1,42 @@
+PORTNAME=	river-classic
+DISTVERSION=	0.3.15
+CATEGORIES=	x11-wm wayland
+MASTER_SITES=	https://codeberg.org/river/river-classic/releases/download/v${DISTVERSIONFULL}/
+DISTFILES=	river-classic-${DISTVERSIONFULL}${EXTRACT_SUFX}
+
+MAINTAINER=	siva@FreeBSD.org
+COMMENT=	Dynamic tiling Wayland compositor
+WWW=		https://isaacfreund.com/software/river/
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
+		wayland-protocols>0:graphics/wayland-protocols \
+		zig>=0.15.1:lang/zig
+LIB_DEPENDS=	libevdev.so:devel/libevdev \
+		libwayland-server.so:graphics/wayland \
+		libwlroots-0.20.so:x11-toolkits/wlroots020 \
+		libinput.so:x11/libinput \
+		libxkbcommon.so:x11/libxkbcommon
+
+USES=		pkgconfig xorg zig
+USE_XORG=	pixman
+
+OPTIONS_DEFINE=	MANPAGES X11
+OPTIONS_DEFAULT=MANPAGES X11
+OPTIONS_SUB=	yes
+
+MANPAGES_BUILD_DEPENDS=	scdoc:textproc/scdoc
+MANPAGES_CONFIGURE_ON=	-Dman-pages=true
+MANPAGES_CONFIGURE_OFF=	-Dman-pages=false
+
+X11_CONFIGURE_ON=	-Dxwayland=true
+X11_CONFIGURE_OFF=	-Dxwayland=false
+
+ZIG_ARGS+=	-Dstrip
+
+do-test:
+	@(cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS})
+
+.include <bsd.port.mk>
diff --git a/x11-wm/river-classic/Makefile.zig b/x11-wm/river-classic/Makefile.zig
new file mode 100644
index 000000000000..138f0e368506
--- /dev/null
+++ b/x11-wm/river-classic/Makefile.zig
@@ -0,0 +1,4 @@
+ZIG_TUPLE=	pixman:codeberg.org/ifreund/zig-pixman/archive/v0.3.0.tar.gz?dummy=/pixman-0.3.0.tar.gz:pixman-0.3.0-LClMnz2VAAAs7QSCGwLimV5VUYx0JFnX5xWU6HwtMuDX \
+		wayland:codeberg.org/ifreund/zig-wayland/archive/v0.4.0.tar.gz?dummy=/wayland-0.4.0.tar.gz:wayland-0.4.0-lQa1khbMAQAsLS2eBR7M5lofyEGPIbu2iFDmoz8lPC27 \
+		wlroots:codeberg.org/ifreund/zig-wlroots/archive/v0.20.0.tar.gz?dummy=/wlroots-0.20.0.tar.gz:wlroots-0.20.0-jmOlcmtCBADS6eoJ6mkeiSNZkibrhD-c5Qwn-LiM86r1 \
+		xkbcommon:codeberg.org/ifreund/zig-xkbcommon/archive/v0.3.0.tar.gz?dummy=/xkbcommon-0.3.0.tar.gz:xkbcommon-0.3.0-VDqIe3K9AQB2fG5ZeRcMC9i7kfrp5m2rWgLrmdNn9azr
diff --git a/x11-wm/river-classic/distinfo b/x11-wm/river-classic/distinfo
new file mode 100644
index 000000000000..a9a71cd4aee8
--- /dev/null
+++ b/x11-wm/river-classic/distinfo
@@ -0,0 +1,11 @@
+TIMESTAMP = 1775054366
+SHA256 (zig/river-classic-0.3.15.tar.gz) = bda4fffb70aed0a3d35e0b27fa248aacdc03bd208abfa3e0464cb37896b2128d
+SIZE (zig/river-classic-0.3.15.tar.gz) = 178643
+SHA256 (zig/pixman-0.3.0.tar.gz) = cd7fe3415d4d58685a94fdedd308e9994a37f012828940cfb603461de7f2c6ad
+SIZE (zig/pixman-0.3.0.tar.gz) = 7966
+SHA256 (zig/wayland-0.4.0.tar.gz) = 907fdd18c7ede1ab1f249c618ba5dce3b8a72c26e50090b4ae7010033a419ba9
+SIZE (zig/wayland-0.4.0.tar.gz) = 111219
+SHA256 (zig/wlroots-0.20.0.tar.gz) = 75af3510386c639582693d01788579abde4dca9ce1ae6703c1e877ec8123d106
+SIZE (zig/wlroots-0.20.0.tar.gz) = 63670
+SHA256 (zig/xkbcommon-0.3.0.tar.gz) = 1e185423e6b23ed9729614e66751ab7522db4487df4e0dcc7a2b06375aacda23
+SIZE (zig/xkbcommon-0.3.0.tar.gz) = 22730
diff --git a/x11-wm/river-classic/pkg-descr b/x11-wm/river-classic/pkg-descr
new file mode 100644
index 000000000000..e1218548de47
--- /dev/null
+++ b/x11-wm/river-classic/pkg-descr
@@ -0,0 +1,8 @@
+River is a non-monolithic Wayland compositor. Unlike other Wayland compositors,
+river does not combine the compositor and window manager into one program.
+Instead, users can choose any window manager implementing the
+river-window-management-v1 protocol.
+
+Note: river is currently early in development. Expect breaking changes
+and missing features. Bugs should however be rare at this point, if
+you run into one don't hesitate to open an issue upstream.
diff --git a/x11-wm/river-classic/pkg-message b/x11-wm/river-classic/pkg-message
new file mode 100644
index 000000000000..0a6973c773cc
--- /dev/null
+++ b/x11-wm/river-classic/pkg-message
@@ -0,0 +1,17 @@
+[
+{
+  type: install
+  message: <<EOM
+x11-wm/river-classic is a maintained fork of river 0.3 intended for users
+that are happy with how river 0.3 works and do not wish to deal with the
+breaking changes planned for the river 0.4.0+.
+
+Please use x11-wm/river if you want to stay up-to-date with the latest
+improvements, as it tracks stable upstream releases for river 0.4.0+.
+
+For more info, see https://isaacfreund.com/blog/river-window-management/
+
+EOM
+}
+]
+
diff --git a/x11-wm/river-classic/pkg-plist b/x11-wm/river-classic/pkg-plist
new file mode 100644
index 000000000000..a279c9d7f48c
--- /dev/null
+++ b/x11-wm/river-classic/pkg-plist
@@ -0,0 +1,11 @@
+bin/river
+bin/riverctl
+bin/rivertile
+%%MANPAGES%%share/man/man1/river.1.gz
+%%MANPAGES%%share/man/man1/riverctl.1.gz
+%%MANPAGES%%share/man/man1/rivertile.1.gz
+share/pkgconfig/river-protocols.pc
+share/bash-completion/completions/riverctl
+share/fish/vendor_completions.d/riverctl.fish
+share/river-protocols/river-layout-v3.xml
+share/zsh/site-functions/_riverctl


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cd3810.38303.45282d79>