git: 23944a5d765f - main - x11-wm/labwc: update to 0.6.1

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 07:52:51 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23944a5d765f9206dd8f9fd81f320066cdf63540

commit 23944a5d765f9206dd8f9fd81f320066cdf63540
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-01-29 16:22:09 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-01-30 07:52:39 +0000

    x11-wm/labwc: update to 0.6.1
    
    Changes:        https://github.com/labwc/labwc/releases/tag/0.6.1
    Reported by:    GitHub (watch releases)
---
 x11-wm/labwc/Makefile | 17 +++++++++--------
 x11-wm/labwc/distinfo | 10 +++-------
 2 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/x11-wm/labwc/Makefile b/x11-wm/labwc/Makefile
index 5781203536db..3892376e4d30 100644
--- a/x11-wm/labwc/Makefile
+++ b/x11-wm/labwc/Makefile
@@ -1,11 +1,7 @@
 PORTNAME=	labwc
-DISTVERSION=	0.6.0
+DISTVERSION=	0.6.1
 CATEGORIES=	x11-wm wayland
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+=	1e66ba8fd75e.patch:-p1 # https://github.com/labwc/labwc/pull/629
-PATCHFILES+=	ae17cd2c8d57.patch:-p1 # https://github.com/labwc/labwc/pull/682
-
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Wayland stacking compositor
 WWW=		https://github.com/labwc/labwc
@@ -25,9 +21,10 @@ USE_GITHUB=	yes
 USE_GNOME=	cairo libxml2 pango
 PLIST_FILES=	bin/${PORTNAME} \
 		share/wayland-sessions/${PORTNAME}.desktop
+PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	MANPAGES NLS X11
-OPTIONS_DEFAULT=MANPAGES NLS X11
+OPTIONS_DEFINE=	EXAMPLES MANPAGES NLS X11
+OPTIONS_DEFAULT=EXAMPLES MANPAGES NLS X11
 
 MANPAGES_BUILD_DEPENDS=	scdoc:textproc/scdoc
 MANPAGES_MESON_ENABLED=	man-pages
@@ -42,7 +39,8 @@ NLS_MESON_ENABLED=	nls
 NLS_PLIST_FILES=	share/locale/de/LC_MESSAGES/${PORTNAME}.mo \
 			share/locale/es/LC_MESSAGES/${PORTNAME}.mo \
 			share/locale/it/LC_MESSAGES/${PORTNAME}.mo \
-			share/locale/sv/LC_MESSAGES/${PORTNAME}.mo
+			share/locale/sv/LC_MESSAGES/${PORTNAME}.mo \
+			share/locale/tr/LC_MESSAGES/${PORTNAME}.mo
 
 X11_LIB_DEPENDS=	libxcb-icccm.so:x11/xcb-util-wm
 X11_MESON_ENABLED=	xwayland
@@ -59,6 +57,9 @@ post-patch:
 		-e 's,/usr/local,${PREFIX},' \
 		${WRKSRC}/docs/${PORTNAME}-config.5.scd \
 		${WRKSRC}/src/common/dir.c
+# Respect hier(7) for examples
+	@${REINPLACE_CMD} '/datadir/s/doc/examples/' \
+		${WRKSRC}/docs/meson.build
 # XXX Drop after FreeBSD 12.3 EOL around 2023-03-01
 # https://cgit.freebsd.org/src/commit/?id=773538247007
 	@if [ ${OPSYS} = FreeBSD -a ${OSVERSION} -lt 1203501 ]; then \
diff --git a/x11-wm/labwc/distinfo b/x11-wm/labwc/distinfo
index c7a6d2d59cb1..dd3e29a35119 100644
--- a/x11-wm/labwc/distinfo
+++ b/x11-wm/labwc/distinfo
@@ -1,7 +1,3 @@
-TIMESTAMP = 1657906446
-SHA256 (labwc-labwc-0.6.0_GH0.tar.gz) = 3a4ee960b4f764f276d581f83c95692c74c6a685e55438fb37ca6dd92e02f069
-SIZE (labwc-labwc-0.6.0_GH0.tar.gz) = 219494
-SHA256 (1e66ba8fd75e.patch) = a0ef9e259e2f0c128e7aecc019127663858ba170548365dd8e046ccbcb39a470
-SIZE (1e66ba8fd75e.patch) = 765
-SHA256 (ae17cd2c8d57.patch) = ef449e4ba0023d6f9d760843e9d22045eeed39af48613c5597b0ab5586ff8b75
-SIZE (ae17cd2c8d57.patch) = 918
+TIMESTAMP = 1675009329
+SHA256 (labwc-labwc-0.6.1_GH0.tar.gz) = c951050d4a2c2afc71d52d8138f8f4ef7ed2a2c9a337dc9de146c8b1e97cf952
+SIZE (labwc-labwc-0.6.1_GH0.tar.gz) = 234029