git: d386375b326b - main - x11-wm/theseus-ship: update to 6.2.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 10 Oct 2024 07:56:41 UTC
The branch main has been updated by jbeich:

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

commit d386375b326b6cad0d85205893feaa7d69f6d48e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-10-09 20:27:02 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-10-10 07:55:52 +0000

    x11-wm/theseus-ship: update to 6.2.0
    
    Changes:        https://github.com/winft/theseus-ship/releases/tag/v6.2.0
    Reported by:    GitHub (watch releases)
---
 x11-wm/theseus-ship/Makefile               |  7 ++----
 x11-wm/theseus-ship/distinfo               |  6 ++---
 x11-wm/theseus-ship/files/patch-plasma-6.1 | 39 ++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+), 8 deletions(-)

diff --git a/x11-wm/theseus-ship/Makefile b/x11-wm/theseus-ship/Makefile
index 620f6734e5eb..158bbba16665 100644
--- a/x11-wm/theseus-ship/Makefile
+++ b/x11-wm/theseus-ship/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	theseus-ship
 DISTVERSIONPREFIX=	v
-DISTVERSION=	6.1.0
-PORTREVISION=	1
+DISTVERSION=	6.2.0
 CATEGORIES=	x11-wm # wayland: https://github.com/winft/theseus-ship/issues/9
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -11,13 +10,11 @@ WWW=		https://github.com/winft/theseus-ship
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		fails to build with como-0.3.0
-
 LIB_DEPENDS=	libepoxy.so:graphics/libepoxy \
 		libwayland-server.so:graphics/wayland \
 		libWraplandServer.so:graphics/wrapland \
 		libcomo-script.so.0:x11-toolkits/como \
-		libwlroots.so:x11-toolkits/wlroots017 \
+		libwlroots-0.18.so:x11-toolkits/wlroots \
 		libxkbcommon.so:x11/libxkbcommon \
 		libxcb-cursor.so:x11/xcb-util-cursor \
 		libxcb-keysyms.so:x11/xcb-util-keysyms \
diff --git a/x11-wm/theseus-ship/distinfo b/x11-wm/theseus-ship/distinfo
index f04af2210798..d03b229652b4 100644
--- a/x11-wm/theseus-ship/distinfo
+++ b/x11-wm/theseus-ship/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718822874
-SHA256 (winft-theseus-ship-v6.1.0_GH0.tar.gz) = dd3bb31644636e4d3e855df36b4467b20312184ac2b5462594c211107f36824c
-SIZE (winft-theseus-ship-v6.1.0_GH0.tar.gz) = 2693171
+TIMESTAMP = 1728505622
+SHA256 (winft-theseus-ship-v6.2.0_GH0.tar.gz) = 1f3567a4b1dd1a69046fe8669d624f4245733a72354025f127e732f4600fde18
+SIZE (winft-theseus-ship-v6.2.0_GH0.tar.gz) = 2693734
diff --git a/x11-wm/theseus-ship/files/patch-plasma-6.1 b/x11-wm/theseus-ship/files/patch-plasma-6.1
new file mode 100644
index 000000000000..bb6349fdc8a5
--- /dev/null
+++ b/x11-wm/theseus-ship/files/patch-plasma-6.1
@@ -0,0 +1,39 @@
+Drop after x11/plasma6-libplasma >= 6.2.0 update
+Drop after x11-wm/plasma6-kdecoration >= 6.2.0
+
+CMake Warning at CMakeLists.txt:59 (find_package):
+  Could not find a configuration file for package "Plasma" that is compatible
+  with requested version "6.1".
+
+  The following configuration files were considered but not accepted:
+
+    /usr/local/lib/cmake/Plasma/PlasmaConfig.cmake, version: 6.1.2
+
+CMake Error at CMakeLists.txt:69 (find_package):
+  Could not find a configuration file for package "KDecoration2" that is
+  compatible with requested version "6.2".
+
+  The following configuration files were considered but not accepted:
+
+    /usr/local/lib/cmake/KDecoration2/KDecoration2Config.cmake, version: 6.1.2
+
+--- CMakeLists.txt.orig	2024-10-09 20:27:02 UTC
++++ CMakeLists.txt
+@@ -57,7 +57,7 @@ set_package_properties(KF6Kirigami PROPERTIES
+     TYPE RUNTIME
+ )
+ 
+-find_package(Plasma ${CMAKE_PROJECT_VERSION_MAJOR}.${CMAKE_PROJECT_VERSION_MINOR}
++find_package(Plasma ${CMAKE_PROJECT_VERSION_MAJOR}
+   CONFIG
+ )
+ set_package_properties(Plasma PROPERTIES
+@@ -66,7 +66,7 @@ set_package_properties(Plasma PROPERTIES
+     TYPE RUNTIME
+ )
+ 
+-find_package(KDecoration2 ${CMAKE_PROJECT_VERSION_MAJOR}.${CMAKE_PROJECT_VERSION_MINOR}
++find_package(KDecoration2 ${CMAKE_PROJECT_VERSION_MAJOR}
+   CONFIG REQUIRED
+ )
+