git: 838c429900d2 - main - x11/wcm: Update 0.10.0 => 0.11.0

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 25 Aug 2026 16:42:07 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=838c429900d2e7eb0478d1dfc7090cd4bf32112b

commit 838c429900d2e7eb0478d1dfc7090cd4bf32112b
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-08-25 16:38:53 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-08-25 16:41:59 +0000

    x11/wcm: Update 0.10.0 => 0.11.0
    
    Changelog:
    https://github.com/WayfireWM/wcm/releases/tag/v0.11.0
    
    PR:             297716
    Sponsored by:   UNIS Labs
---
 x11/wcm/Makefile                    |  30 ++++-----
 x11/wcm/distinfo                    |   6 +-
 x11/wcm/files/patch-src_meson.build |  19 ++++++
 x11/wcm/pkg-plist                   | 118 ++++++++++++++++++------------------
 4 files changed, 98 insertions(+), 75 deletions(-)

diff --git a/x11/wcm/Makefile b/x11/wcm/Makefile
index c3d81a31bd04..5b973197f8bc 100644
--- a/x11/wcm/Makefile
+++ b/x11/wcm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wcm
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.10.0
+DISTVERSION=	0.11.0
 CATEGORIES=	x11 wayland
 
 MAINTAINER=	ports@FreeBSD.org
@@ -15,25 +15,27 @@ BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
 		wayfire>0:x11-wm/wayfire
 LIB_DEPENDS=	libevdev.so:devel/libevdev \
 		libwf-config.so:devel/wf-config \
-		libwayland-client.so:graphics/wayland
+		libwayland-client.so:graphics/wayland \
+		libfmt.so:devel/libfmt \
+		libxkbregistry.so:x11/libxkbcommon
 RUN_DEPENDS=	wayfire>0:x11-wm/wayfire
 
-CONFLICTS_INSTALL=	wcmcommander # bin/wcm
-
-USES=		compiler:c++17-lang gnome meson pkgconfig
+USES=		compiler:c++17-lang gettext gnome meson pkgconfig
 USE_GITHUB=	yes
-USE_GNOME=	gdkpixbuf gtk30 libxml2
 GH_ACCOUNT=	WayfireWM
+USE_GNOME=	gtk30 gtkmm30 libxml2
+
+CONFLICTS_INSTALL=	wcmcommander # bin/wcm
 
-OPTIONS_DEFINE=	WDISPLAYS WFSHELL
-OPTIONS_DEFAULT=WDISPLAYS WFSHELL
-OPTIONS_SUB=	yes
+OPTIONS_DEFINE=		WDISPLAYS WFSHELL
+OPTIONS_DEFAULT=	WDISPLAYS WFSHELL
+OPTIONS_SUB=		yes
 
-WDISPLAYS_DESC=			Configure outputs via wdisplays
-WDISPLAYS_RUN_DEPENDS=		wdisplays>0:x11/wdisplays
+WDISPLAYS_DESC=		Configure outputs via wdisplays
+WFSHELL_DESC=		Build with wf-shell support
 
-WFSHELL_DESC=			Build with wf-shell support
-WFSHELL_BUILD_DEPENDS=		wf-shell>0:x11/wf-shell
-WFSHELL_MESON_ENABLED=		wf_shell
+WDISPLAYS_RUN_DEPENDS=	wdisplays>0:x11/wdisplays
+WFSHELL_BUILD_DEPENDS=	wf-shell>0:x11/wf-shell
+WFSHELL_MESON_ENABLED=	wf_shell
 
 .include <bsd.port.mk>
diff --git a/x11/wcm/distinfo b/x11/wcm/distinfo
index 2db2654231bc..fbc2d641825b 100644
--- a/x11/wcm/distinfo
+++ b/x11/wcm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1756308383
-SHA256 (WayfireWM-wcm-v0.10.0_GH0.tar.gz) = 9d42754243d3eed44426b0e9efab92a40277df691e592ae990b4733f2243a841
-SIZE (WayfireWM-wcm-v0.10.0_GH0.tar.gz) = 333987
+TIMESTAMP = 1787444444
+SHA256 (WayfireWM-wcm-v0.11.0_GH0.tar.gz) = 239aaa77d53b0105cf26cfcd669db46ffacd0df822ba0b6a5c79e624ac526f86
+SIZE (WayfireWM-wcm-v0.11.0_GH0.tar.gz) = 338261
diff --git a/x11/wcm/files/patch-src_meson.build b/x11/wcm/files/patch-src_meson.build
new file mode 100644
index 000000000000..eb9970f8f906
--- /dev/null
+++ b/x11/wcm/files/patch-src_meson.build
@@ -0,0 +1,19 @@
+--- src/meson.build.orig	2026-07-28 05:20:28 UTC
++++ src/meson.build
+@@ -2,10 +2,15 @@ xkbregistry = dependency('xkbregistry', required: true
+ gtkmm     = dependency('gtkmm-3.0', required: true)
+ wf_config = dependency('wf-config', version: '>=0.6.0', required: true)
+ xkbregistry = dependency('xkbregistry', required: true)
++if build_machine.system() != 'freebsd'
+ libintl = dependency('intl', required: true)
++endif
+ libfmt = dependency('fmt', required: true)
+ 
+-dep_list = [xml, gtkmm, wf_config, wf_protos, evdev, xkbregistry, libintl, libfmt]
++dep_list = [xml, gtkmm, wf_config, wf_protos, evdev, xkbregistry, libfmt]
++if build_machine.system() != 'freebsd'
++  dep_list += [libintl]
++endif
+ 
+ sources = files('main.cpp', 'metadata.cpp', 'wcm.cpp', 'utils.cpp')
+ 
diff --git a/x11/wcm/pkg-plist b/x11/wcm/pkg-plist
index dc8520e57748..3ce9f62dc41c 100644
--- a/x11/wcm/pkg-plist
+++ b/x11/wcm/pkg-plist
@@ -1,60 +1,62 @@
 bin/wcm
 share/applications/wcm.desktop
-share/icons/wcm.svg
-%%DATADIR%%/icons/plugin-alpha.svg
-%%DATADIR%%/icons/plugin-animate.svg
-%%DATADIR%%/icons/plugin-annotate.svg
-%%DATADIR%%/icons/plugin-autorotate-iio.svg
-%%DATADIR%%/icons/plugin-autostart.svg
-%%DATADIR%%/icons/plugin-background-view.svg
-%%WFSHELL%%%%DATADIR%%/icons/plugin-background.svg
-%%DATADIR%%/icons/plugin-bench.svg
-%%DATADIR%%/icons/plugin-blur.svg
-%%DATADIR%%/icons/plugin-command.svg
-%%DATADIR%%/icons/plugin-core.svg
-%%DATADIR%%/icons/plugin-crosshair.svg
-%%DATADIR%%/icons/plugin-cube.svg
-%%DATADIR%%/icons/plugin-dbus_interface.svg
-%%DATADIR%%/icons/plugin-decoration.svg
-%%WFSHELL%%%%DATADIR%%/icons/plugin-dock.svg
-%%DATADIR%%/icons/plugin-expo.svg
-%%DATADIR%%/icons/plugin-extra-gestures.svg
-%%DATADIR%%/icons/plugin-extra-protos.svg
-%%DATADIR%%/icons/plugin-fast-switcher.svg
-%%DATADIR%%/icons/plugin-fisheye.svg
-%%DATADIR%%/icons/plugin-follow-focus.svg
-%%DATADIR%%/icons/plugin-force-fullscreen.svg
-%%DATADIR%%/icons/plugin-grid.svg
-%%DATADIR%%/icons/plugin-hinge.svg
-%%DATADIR%%/icons/plugin-idle.svg
-%%DATADIR%%/icons/plugin-input.svg
-%%DATADIR%%/icons/plugin-invert.svg
-%%DATADIR%%/icons/plugin-join-views.svg
-%%DATADIR%%/icons/plugin-keycolor.svg
-%%DATADIR%%/icons/plugin-lxqt-shell.svg
-%%DATADIR%%/icons/plugin-mag.svg
-%%DATADIR%%/icons/plugin-move.svg
-%%DATADIR%%/icons/plugin-obs.svg
-%%DATADIR%%/icons/plugin-oswitch.svg
-%%WFSHELL%%%%DATADIR%%/icons/plugin-panel.svg
-%%DATADIR%%/icons/plugin-place.svg
-%%DATADIR%%/icons/plugin-preserve-output.svg
-%%DATADIR%%/icons/plugin-resize.svg
-%%DATADIR%%/icons/plugin-scale-title-filter.svg
-%%DATADIR%%/icons/plugin-scale.svg
-%%DATADIR%%/icons/plugin-showrepaint.svg
-%%DATADIR%%/icons/plugin-simple-tile.svg
-%%DATADIR%%/icons/plugin-switcher.svg
-%%DATADIR%%/icons/plugin-view-shot.svg
-%%DATADIR%%/icons/plugin-vswipe.svg
-%%DATADIR%%/icons/plugin-vswitch.svg
-%%DATADIR%%/icons/plugin-water.svg
-%%DATADIR%%/icons/plugin-window-rules.svg
-%%DATADIR%%/icons/plugin-winzoom.svg
-%%DATADIR%%/icons/plugin-wm-actions.svg
-%%DATADIR%%/icons/plugin-wobbly.svg
-%%DATADIR%%/icons/plugin-workarounds.svg
-%%DATADIR%%/icons/plugin-workspace-names.svg
-%%DATADIR%%/icons/plugin-wrot.svg
-%%DATADIR%%/icons/plugin-zoom.svg
-%%DATADIR%%/icons/wcm.svg
+share/icons/hicolor/scalable/apps/plugin-alpha.svg
+share/icons/hicolor/scalable/apps/plugin-animate.svg
+share/icons/hicolor/scalable/apps/plugin-annotate.svg
+share/icons/hicolor/scalable/apps/plugin-autorotate-iio.svg
+share/icons/hicolor/scalable/apps/plugin-autostart.svg
+share/icons/hicolor/scalable/apps/plugin-background-view.svg
+%%WFSHELL%%share/icons/hicolor/scalable/apps/plugin-background.svg
+share/icons/hicolor/scalable/apps/plugin-bench.svg
+share/icons/hicolor/scalable/apps/plugin-blur.svg
+share/icons/hicolor/scalable/apps/plugin-command.svg
+share/icons/hicolor/scalable/apps/plugin-core.svg
+share/icons/hicolor/scalable/apps/plugin-crosshair.svg
+share/icons/hicolor/scalable/apps/plugin-cube.svg
+share/icons/hicolor/scalable/apps/plugin-dbus_interface.svg
+share/icons/hicolor/scalable/apps/plugin-decoration.svg
+%%WFSHELL%%share/icons/hicolor/scalable/apps/plugin-dock.svg
+share/icons/hicolor/scalable/apps/plugin-expo.svg
+share/icons/hicolor/scalable/apps/plugin-extra-gestures.svg
+share/icons/hicolor/scalable/apps/plugin-extra-protos.svg
+share/icons/hicolor/scalable/apps/plugin-fast-switcher.svg
+share/icons/hicolor/scalable/apps/plugin-fisheye.svg
+share/icons/hicolor/scalable/apps/plugin-follow-focus.svg
+share/icons/hicolor/scalable/apps/plugin-force-fullscreen.svg
+share/icons/hicolor/scalable/apps/plugin-grid.svg
+share/icons/hicolor/scalable/apps/plugin-hinge.svg
+share/icons/hicolor/scalable/apps/plugin-idle.svg
+share/icons/hicolor/scalable/apps/plugin-input.svg
+share/icons/hicolor/scalable/apps/plugin-invert.svg
+share/icons/hicolor/scalable/apps/plugin-join-views.svg
+share/icons/hicolor/scalable/apps/plugin-keycolor.svg
+share/icons/hicolor/scalable/apps/plugin-lxqt-shell.svg
+share/icons/hicolor/scalable/apps/plugin-mag.svg
+share/icons/hicolor/scalable/apps/plugin-move.svg
+share/icons/hicolor/scalable/apps/plugin-obs.svg
+share/icons/hicolor/scalable/apps/plugin-oswitch.svg
+%%WFSHELL%%share/icons/hicolor/scalable/apps/plugin-panel.svg
+share/icons/hicolor/scalable/apps/plugin-place.svg
+share/icons/hicolor/scalable/apps/plugin-preserve-output.svg
+share/icons/hicolor/scalable/apps/plugin-resize.svg
+share/icons/hicolor/scalable/apps/plugin-scale-title-filter.svg
+share/icons/hicolor/scalable/apps/plugin-scale.svg
+share/icons/hicolor/scalable/apps/plugin-showrepaint.svg
+share/icons/hicolor/scalable/apps/plugin-simple-tile.svg
+share/icons/hicolor/scalable/apps/plugin-switcher.svg
+share/icons/hicolor/scalable/apps/plugin-view-shot.svg
+share/icons/hicolor/scalable/apps/plugin-vswipe.svg
+share/icons/hicolor/scalable/apps/plugin-vswitch.svg
+share/icons/hicolor/scalable/apps/plugin-water.svg
+share/icons/hicolor/scalable/apps/plugin-window-rules.svg
+share/icons/hicolor/scalable/apps/plugin-winzoom.svg
+share/icons/hicolor/scalable/apps/plugin-wm-actions.svg
+share/icons/hicolor/scalable/apps/plugin-wobbly.svg
+share/icons/hicolor/scalable/apps/plugin-workarounds.svg
+share/icons/hicolor/scalable/apps/plugin-workspace-names.svg
+share/icons/hicolor/scalable/apps/plugin-wrot.svg
+share/icons/hicolor/scalable/apps/plugin-zoom.svg
+share/icons/hicolor/scalable/apps/wcm.svg
+share/locale/es_ES/LC_MESSAGES/wcm.mo
+share/locale/ro/LC_MESSAGES/wcm.mo
+share/locale/zh_CN/LC_MESSAGES/wcm.mo