git: bdab59a3f43b - main - x11-wm/wideriver: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Jul 2025 07:20:18 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bdab59a3f43b46f8b50b450e24799df867b12d26
commit bdab59a3f43b46f8b50b450e24799df867b12d26
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2025-07-29 07:15:43 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2025-07-29 07:20:04 +0000
x11-wm/wideriver: Add new port
Tiling window manager for the river wayland compositor, inspired by dwm
and xmonad.
Features:
- per-tag state
- master/stack(s) left, right and wide layouts
- monocle with alternate borders
- layout toggling
- dwindling, diminishing and even stacks
- inner, outer and smart gaps
https://github.com/alex-courtis/wideriver
---
x11-wm/Makefile | 1 +
x11-wm/wideriver/Makefile | 28 ++++++++++++++++++++++++++++
x11-wm/wideriver/distinfo | 3 +++
x11-wm/wideriver/files/patch-config.mk | 22 ++++++++++++++++++++++
x11-wm/wideriver/pkg-descr | 11 +++++++++++
5 files changed, 65 insertions(+)
diff --git a/x11-wm/Makefile b/x11-wm/Makefile
index 7bb5f843919c..1ef776b4dfe5 100644
--- a/x11-wm/Makefile
+++ b/x11-wm/Makefile
@@ -112,6 +112,7 @@
SUBDIR += vtwm
SUBDIR += wayfire
SUBDIR += wayfire-plugins-extra
+ SUBDIR += wideriver
SUBDIR += windowmaker
SUBDIR += wlmaker
SUBDIR += wm2
diff --git a/x11-wm/wideriver/Makefile b/x11-wm/wideriver/Makefile
new file mode 100644
index 000000000000..edf7f28439b0
--- /dev/null
+++ b/x11-wm/wideriver/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= wideriver
+DISTVERSION= 1.3.0
+CATEGORIES= x11-wm
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= Tiling window manager for the river wayland compositor
+WWW= https://github.com/alex-courtis/wideriver
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
+ libwayland-client.so:graphics/wayland
+
+USES= gmake pkgconfig
+
+USE_GITHUB= yes
+GH_ACCOUNT= alex-courtis
+
+MAKEFILE= GNUmakefile
+
+PLIST_FILES= bin/wideriver \
+ share/man/man1/wideriver.1.gz
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/x11-wm/wideriver/distinfo b/x11-wm/wideriver/distinfo
new file mode 100644
index 000000000000..692291cb42e2
--- /dev/null
+++ b/x11-wm/wideriver/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1753771718
+SHA256 (alex-courtis-wideriver-1.3.0_GH0.tar.gz) = 77ef35b978483f245ac8d6fd14942b99c5d6e6e5437eedba43a96c994febc61b
+SIZE (alex-courtis-wideriver-1.3.0_GH0.tar.gz) = 64914
diff --git a/x11-wm/wideriver/files/patch-config.mk b/x11-wm/wideriver/files/patch-config.mk
new file mode 100644
index 000000000000..224402613648
--- /dev/null
+++ b/x11-wm/wideriver/files/patch-config.mk
@@ -0,0 +1,22 @@
+--- config.mk.orig 2025-07-29 04:27:40 UTC
++++ config.mk
+@@ -4,11 +4,11 @@ PREFIX ?= /usr/local
+
+ PREFIX ?= /usr/local
+
+-INCS = -Iinc -Ipro -Ilib/col/inc
++INCS ?= -Iinc -Ipro -Ilib/col/inc
+
+ CPPFLAGS += $(INCS) -D_GNU_SOURCE -DVERSION=\"$(VERSION)\" -DRIVER_LAYOUT_V3_VERSION=$(RIVER_LAYOUT_V3_VERSION)
+
+-OFLAGS = -O3
++#OFLAGS = -O3
+ WFLAGS = -pedantic -Wall -Wextra -Werror -Wimplicit-fallthrough -Wno-unused-parameter -Wno-format-zero-length
+ DFLAGS = -g
+ COMPFLAGS = $(WFLAGS) $(OFLAGS) $(DFLAGS)
+@@ -26,4 +26,4 @@ LDLIBS += $(foreach p,$(PKGS),$(shell $(PKG_CONFIG) --
+ CFLAGS += $(foreach p,$(PKGS),$(shell $(PKG_CONFIG) --cflags $(p)))
+ LDLIBS += $(foreach p,$(PKGS),$(shell $(PKG_CONFIG) --libs $(p)))
+
+-CC = gcc
++CC ?= gcc
diff --git a/x11-wm/wideriver/pkg-descr b/x11-wm/wideriver/pkg-descr
new file mode 100644
index 000000000000..7d3f04b8a4e8
--- /dev/null
+++ b/x11-wm/wideriver/pkg-descr
@@ -0,0 +1,11 @@
+Tiling window manager for the river wayland compositor, inspired by dwm and
+xmonad.
+
+Features:
+
+ - per-tag state
+ - master/stack(s) left, right and wide layouts
+ - monocle with alternate borders
+ - layout toggling
+ - dwindling, diminishing and even stacks
+ - inner, outer and smart gaps