git: 7c9c3e9ab546 - main - x11-wm/dwl: update to 0.4.r1

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 02 Dec 2022 16:46:34 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7c9c3e9ab5467fb7f43dc8d78844fccec4933875

commit 7c9c3e9ab5467fb7f43dc8d78844fccec4933875
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-02 16:33:09 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-02 16:46:25 +0000

    x11-wm/dwl: update to 0.4.r1
    
    Changes:        https://github.com/djpohly/dwl/releases/tag/v0.4-rc1
    Reported by:    GitHub (watch releases)
---
 x11-wm/dwl/Makefile | 16 ++++++----------
 x11-wm/dwl/distinfo | 10 +++++-----
 2 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/x11-wm/dwl/Makefile b/x11-wm/dwl/Makefile
index 2a5464365c59..cbbfe7eb633c 100644
--- a/x11-wm/dwl/Makefile
+++ b/x11-wm/dwl/Makefile
@@ -1,11 +1,10 @@
 PORTNAME=	dwl
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.3.1
-PORTREVISION=	1
+DISTVERSION=	0.4-rc1
 CATEGORIES=	x11-wm wayland
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+=	cba259e9bf4a.patch:-p1 # https://github.com/djpohly/dwl/pull/212
+PATCHFILES+=	cb53dfd1fd6e.patch:-p1 # https://github.com/djpohly/dwl/pull/342
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	dwm for Wayland
@@ -19,7 +18,7 @@ LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.dwm
 
 BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
 		wayland-protocols>0:graphics/wayland-protocols \
-		wlroots>=0.15.0:x11-toolkits/wlroots
+		wlroots>=0.16.0:x11-toolkits/wlroots
 LIB_DEPENDS=	libwayland-server.so:graphics/wayland \
 		libwlroots.so:x11-toolkits/wlroots \
 		libinput.so:x11/libinput \
@@ -37,12 +36,13 @@ OPTIONS_DEFINE=	ADDONS DOCS X11
 OPTIONS_DEFAULT=ADDONS X11
 
 ADDONS_DESC=		Install extra applications: ${ADDONS_RUN_DEPENDS:C/\:.*//}
-ADDONS_RUN_DEPENDS?=	alacritty:x11/alacritty \
+ADDONS_RUN_DEPENDS?=	foot:x11/foot \
 			bemenu-run:x11/bemenu
 
+X11_LIB_DEPENDS=	libxcb-icccm.so:x11/xcb-util-wm
 X11_USES=		xorg
 X11_USE=		XORG=xcb
-X11_CFLAGS=		-DXWAYLAND
+X11_MAKE_ARGS=		XWAYLAND="-DXWAYLAND" XLIBS="xcb xcb-icccm"
 
 pre-everything::
 	@${ECHO_MSG} "To build ${PORTNAME} with your own config.h set ${PORTNAME:tu}_CONF variable"
@@ -56,9 +56,6 @@ post-extract:
 		${LN} -fs "${${PORTNAME:tu}_CONF}" ${WRKSRC}/config.h; \
 	fi
 
-post-patch-X11-off:
-	@${REINPLACE_CMD} 's/ xcb//' ${WRKSRC}/Makefile
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
@@ -68,5 +65,4 @@ do-install:
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" \
 		${STAGEDIR}${DOCSDIR})
 
-.include "${.CURDIR:H:H}/x11-toolkits/wlroots015/override.mk"
 .include <bsd.port.mk>
diff --git a/x11-wm/dwl/distinfo b/x11-wm/dwl/distinfo
index fd1463ee1367..c7e1e9bd98e4 100644
--- a/x11-wm/dwl/distinfo
+++ b/x11-wm/dwl/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1649644728
-SHA256 (djpohly-dwl-v0.3.1_GH0.tar.gz) = 5d550b0ee6d99d0b537269b8389af4b95d1ab0b63e7bb8c2309f6c57a2d6c9c9
-SIZE (djpohly-dwl-v0.3.1_GH0.tar.gz) = 51347
-SHA256 (cba259e9bf4a.patch) = bc2aed48b3652ae2a00ebc04a40654d1b22676c6bd6a001f23dd52801bac8696
-SIZE (cba259e9bf4a.patch) = 1348
+TIMESTAMP = 1669998789
+SHA256 (djpohly-dwl-v0.4-rc1_GH0.tar.gz) = eedfc6ce112d1c28d780ff1c96b593f4c37c29d95fb9a9e5a4538777a6ab4374
+SIZE (djpohly-dwl-v0.4-rc1_GH0.tar.gz) = 53966
+SHA256 (cb53dfd1fd6e.patch) = f772cd61ad5ff2d8b0d3bd59c7282cc075edf537d2a5f219002a6261effc5c10
+SIZE (cb53dfd1fd6e.patch) = 710