git: 1bccce08c926 - main - x11-wm/wayfire-plugins-extra: update to 0.10.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 29 Aug 2025 14:25:47 UTC
The branch main has been updated by jbeich:

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

commit 1bccce08c926b1b315683fd6427922f36ee63c56
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2025-08-12 04:03:47 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-08-29 14:22:35 +0000

    x11-wm/wayfire-plugins-extra: update to 0.10.0
    
    Changes:        https://github.com/WayfireWM/wayfire-plugins-extra/releases/tag/v0.10.0
    Reported by:    GitHub (watch releases)
---
 x11-wm/wayfire-plugins-extra/Makefile              | 30 ++++++++--------------
 x11-wm/wayfire-plugins-extra/distinfo              | 24 ++++++++---------
 x11-wm/wayfire-plugins-extra/files/patch-libc++    | 14 ----------
 .../wayfire-plugins-extra/files/patch-wlroots017   | 30 ----------------------
 x11-wm/wayfire-plugins-extra/pkg-plist             |  8 +++---
 5 files changed, 25 insertions(+), 81 deletions(-)

diff --git a/x11-wm/wayfire-plugins-extra/Makefile b/x11-wm/wayfire-plugins-extra/Makefile
index 991fee8acaf2..47184706d976 100644
--- a/x11-wm/wayfire-plugins-extra/Makefile
+++ b/x11-wm/wayfire-plugins-extra/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	wayfire-plugins-extra
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.9.0
-PORTREVISION=	1
+DISTVERSION=	0.10.0
 CATEGORIES=	x11-wm wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -11,27 +10,26 @@ WWW=		https://wayfire.org/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		fails to build with wayfire 0.10
-
-BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto \
+BUILD_DEPENDS=	boost-libs>0:devel/boost-libs \
+		evdev-proto>0:devel/evdev-proto \
 		wayland-scanner:graphics/wayland \
 		wayland-protocols>0:graphics/wayland-protocols \
 		wayfire>0:x11-wm/wayfire
 LIB_DEPENDS=	libevdev.so:devel/libevdev \
 		libwf-config.so:devel/wf-config \
 		libwayland-server.so:graphics/wayland \
-		libwlroots-0.17.so:x11-toolkits/wlroots017
+		libwlroots-0.19.so:x11-toolkits/wlroots019
 
-USES=		compiler:c++17-lang gnome meson pkgconfig
+USES=		compiler:c++17-lang gl gnome meson pkgconfig
 USE_GITHUB=	yes
 USE_GITLAB=	nodefault
+USE_GL=		glesv2
 USE_GNOME=	cairo glibmm
 GH_ACCOUNT=	WayfireWM
-GH_TUPLE=	timgott:wayfire-shadows:de32395:wayfire_shadows/subprojects/wayfire-shadows \
-		soreau:pixdecor:d172e84:pixdecor/subprojects/pixdecor \
-		soreau:filters:5850fee:filters/subprojects/filters
-GL_TUPLE=	wayfireplugins:focus-request:bc41d54:focus_request/subprojects/focus-request \
-		wayfireplugins:windecor:f609ac0:windecor/subprojects/windecor
+GH_TUPLE=	timgott:wayfire-shadows:v0.9.0-1-g453c217:wayfire_shadows/subprojects/wayfire-shadows \
+		soreau:pixdecor:8a0b028:pixdecor/subprojects/pixdecor \
+		soreau:filters:00024b5:filters/subprojects/filters
+GL_TUPLE=	wayfireplugins:focus-request:v0.9.0:focus_request/subprojects/focus-request
 MESON_ARGS=	-Denable_focus_request=true -Denable_wayfire_shadows=true \
 		-Denable_filters=true
 
@@ -42,12 +40,4 @@ OPTIONS_SUB=	yes
 PANGO_USE=		GNOME=pango
 PANGO_MESON_TRUE=	enable_pixdecor
 
-LIBRSVG2_USE=		GNOME=librsvg2
-LIBRSVG2_MESON_TRUE=	enable_windecor
-
-post-patch:
-# Respect PREFIX for icons
-	@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
-		${WRKSRC}/subprojects/windecor/deco-icontheme.cpp
-
 .include <bsd.port.mk>
diff --git a/x11-wm/wayfire-plugins-extra/distinfo b/x11-wm/wayfire-plugins-extra/distinfo
index 91f2faf8ccc6..b0ce7721887d 100644
--- a/x11-wm/wayfire-plugins-extra/distinfo
+++ b/x11-wm/wayfire-plugins-extra/distinfo
@@ -1,13 +1,11 @@
-TIMESTAMP = 1724488925
-SHA256 (WayfireWM-wayfire-plugins-extra-v0.9.0_GH0.tar.gz) = 5fd08387fb02ce541b7f9dfbeefbbef9cd19b2c88347517f40afab4da54b83bf
-SIZE (WayfireWM-wayfire-plugins-extra-v0.9.0_GH0.tar.gz) = 48580
-SHA256 (timgott-wayfire-shadows-de32395_GH0.tar.gz) = 2d6f0c4fc8524d2b4a926955d3f6856c090d08d37b8908979039e6e1291779c8
-SIZE (timgott-wayfire-shadows-de32395_GH0.tar.gz) = 11260
-SHA256 (soreau-pixdecor-d172e84_GH0.tar.gz) = ba938deac035e5f21e92d9f838b80b0539d6b8dc004f09f25cd400125376759c
-SIZE (soreau-pixdecor-d172e84_GH0.tar.gz) = 41145
-SHA256 (soreau-filters-5850fee_GH0.tar.gz) = 4a97738f07de6e3def04656226960090ebc2046ceb62c860a5cee94406da4188
-SIZE (soreau-filters-5850fee_GH0.tar.gz) = 6515
-SHA256 (focus-request-bc41d54.tar.bz2) = da114547ed0b3ccca593d44e4a01f6d86a45ff284e15610e8e465696e9446da9
-SIZE (focus-request-bc41d54.tar.bz2) = 1740
-SHA256 (windecor-f609ac0.tar.bz2) = 2b10209bb6e787af69b6115291330c37dfc8f1c39fb9f91a650cf3ad1c586c10
-SIZE (windecor-f609ac0.tar.bz2) = 32244
+TIMESTAMP = 1754971427
+SHA256 (WayfireWM-wayfire-plugins-extra-v0.10.0_GH0.tar.gz) = b986c7df5b25c9dfaad0ee17aadc21166042faa7c278bba98759fd5505d247ea
+SIZE (WayfireWM-wayfire-plugins-extra-v0.10.0_GH0.tar.gz) = 60234
+SHA256 (timgott-wayfire-shadows-v0.9.0-1-g453c217_GH0.tar.gz) = d4ad8fd9cbb27f743c9a79893699fe34e8ed99197174c2ee28bef0b399d15217
+SIZE (timgott-wayfire-shadows-v0.9.0-1-g453c217_GH0.tar.gz) = 12522
+SHA256 (soreau-pixdecor-8a0b028_GH0.tar.gz) = 5138125cf18f4281565fdfb8d9f59c922de629a1ae52718dcc74429f8bfe5c0e
+SIZE (soreau-pixdecor-8a0b028_GH0.tar.gz) = 47313
+SHA256 (soreau-filters-00024b5_GH0.tar.gz) = b3716287703b9b1c98bf769d8dbb2577d95b1f2891ea1cf863fab1fda7d24124
+SIZE (soreau-filters-00024b5_GH0.tar.gz) = 8923
+SHA256 (focus-request-v0.9.0.tar.bz2) = 07914e465db240d1153410a08a54c35086e10f3654e2e177830e24bbf4e56c81
+SIZE (focus-request-v0.9.0.tar.bz2) = 4344
diff --git a/x11-wm/wayfire-plugins-extra/files/patch-libc++ b/x11-wm/wayfire-plugins-extra/files/patch-libc++
deleted file mode 100644
index 0f971afea036..000000000000
--- a/x11-wm/wayfire-plugins-extra/files/patch-libc++
+++ /dev/null
@@ -1,14 +0,0 @@
-../subprojects/windecor/deco-theme.cpp:14:10: fatal error: 'bits/stdc++.h' file not found
-#include <bits/stdc++.h>
-         ^~~~~~~~~~~~~~~
-
---- subprojects/windecor/deco-theme.cpp.orig	2023-09-30 05:08:04 UTC
-+++ subprojects/windecor/deco-theme.cpp
-@@ -11,7 +11,6 @@
- #include <sys/stat.h>
- #include <unistd.h>
- #include <fstream>
--#include <bits/stdc++.h>
- 
- typedef struct {
-     double x;
diff --git a/x11-wm/wayfire-plugins-extra/files/patch-wlroots017 b/x11-wm/wayfire-plugins-extra/files/patch-wlroots017
deleted file mode 100644
index 43194a59e84f..000000000000
--- a/x11-wm/wayfire-plugins-extra/files/patch-wlroots017
+++ /dev/null
@@ -1,30 +0,0 @@
-wayfire-shadows| Run-time dependency wlroots found: NO (tried pkgconfig and cmake)
-
-subprojects/wayfire-shadows/meson.build:17:11: ERROR: Dependency "wlroots" not found, tried pkgconfig and cmake
-
-windecor| Run-time dependency wlroots found: NO (tried pkgconfig and cmake)
-
-subprojects/windecor/meson.build:18:11: ERROR: Dependency "wlroots" not found, tried pkgconfig and cmake
-
---- subprojects/wayfire-shadows/meson.build.orig	2023-09-08 22:38:12 UTC
-+++ subprojects/wayfire-shadows/meson.build
-@@ -14,7 +14,7 @@ wayfire  = dependency('wayfire')
- )
- 
- wayfire  = dependency('wayfire')
--wlroots  = dependency('wlroots')
-+wlroots  = dependency('wlroots-0.17')
- wfconfig = dependency('wf-config')
- 
- add_project_arguments(['-DWLR_USE_UNSTABLE'], language: ['cpp', 'c'])
---- subprojects/windecor/meson.build.orig	2023-09-30 05:08:04 UTC
-+++ subprojects/windecor/meson.build
-@@ -15,7 +15,7 @@ pixman   = dependency('pixman-1')
- 
- wayfire  = dependency('wayfire')
- pixman   = dependency('pixman-1')
--wlroots  = dependency('wlroots')
-+wlroots  = dependency('wlroots-0.17')
- wfconfig = dependency('wf-config')
- cairo    = dependency('cairo')
- rsvg     = dependency( 'librsvg-2.0' )
diff --git a/x11-wm/wayfire-plugins-extra/pkg-plist b/x11-wm/wayfire-plugins-extra/pkg-plist
index 151a668557de..64314a5ac6dd 100644
--- a/x11-wm/wayfire-plugins-extra/pkg-plist
+++ b/x11-wm/wayfire-plugins-extra/pkg-plist
@@ -2,6 +2,7 @@ lib/wayfire/libannotate.so
 lib/wayfire/libautorotate-iio.so
 lib/wayfire/libbench.so
 lib/wayfire/libcrosshair.so
+lib/wayfire/libextra-animations.so
 lib/wayfire/libfilters.so
 lib/wayfire/libfocus-change.so
 lib/wayfire/libfocus-request.so
@@ -18,17 +19,17 @@ lib/wayfire/libobs.so
 lib/wayfire/libpin-view.so
 %%PANGO%%lib/wayfire/libpixdecor.so
 lib/wayfire/libshowrepaint.so
+lib/wayfire/libshowtouch.so
 lib/wayfire/libview-shot.so
 lib/wayfire/libwater.so
-%%LIBRSVG2%%lib/wayfire/libwindecor.so
 lib/wayfire/libwinshadows.so
 lib/wayfire/libwinzoom.so
 lib/wayfire/libworkspace-names.so
-%%LIBRSVG2%%share/wayfire/icons/plugin-windecor.svg
 share/wayfire/metadata/annotate.xml
 share/wayfire/metadata/autorotate-iio.xml
 share/wayfire/metadata/bench.xml
 share/wayfire/metadata/crosshair.xml
+share/wayfire/metadata/extra-animations.xml
 share/wayfire/metadata/filters.xml
 share/wayfire/metadata/focus-change.xml
 share/wayfire/metadata/focus-request.xml
@@ -44,10 +45,9 @@ share/wayfire/metadata/obs.xml
 share/wayfire/metadata/pin-view.xml
 %%PANGO%%share/wayfire/metadata/pixdecor.xml
 share/wayfire/metadata/showrepaint.xml
+share/wayfire/metadata/showtouch.xml
 share/wayfire/metadata/view-shot.xml
 share/wayfire/metadata/water.xml
-%%LIBRSVG2%%share/wayfire/metadata/windecor.xml
 share/wayfire/metadata/window-zoom.xml
 share/wayfire/metadata/winshadows.xml
 share/wayfire/metadata/workspace-names.xml
-%%LIBRSVG2%%share/wayfire/windecor/executable.svg