git: 70ab27b23761 - main - net-im/kaidan: Update to 0.12.0

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Wed, 26 Mar 2025 21:51:05 UTC
The branch main has been updated by jhale:

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

commit 70ab27b23761b2a3e11b38bd035a7990000b1445
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-03-26 20:34:36 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-03-26 21:48:52 +0000

    net-im/kaidan: Update to 0.12.0
    
    https://invent.kde.org/network/kaidan/-/blob/v0.12.0/NEWS.md?ref_type=tags
---
 net-im/kaidan/Makefile                             |  5 ++--
 net-im/kaidan/distinfo                             |  6 ++---
 .../patch-src_singleapp_singleapplication.cpp      | 28 ----------------------
 3 files changed, 6 insertions(+), 33 deletions(-)

diff --git a/net-im/kaidan/Makefile b/net-im/kaidan/Makefile
index 77bc1f6f7e9a..33d658118ff7 100644
--- a/net-im/kaidan/Makefile
+++ b/net-im/kaidan/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	kaidan
-DISTVERSION=	0.11.0
-PORTREVISION=	1
+DISTVERSION=	0.12.0
 CATEGORIES=	net-im kde
 MASTER_SITES=	KDE/unstable/${PORTNAME}/${DISTVERSION}
 
@@ -14,6 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
 BUILD_DEPENDS=	kquickimageeditor-qt6>0:graphics/kquickimageeditor
 LIB_DEPENDS=	libQXmppQt6.so:net-im/qxmpp \
 		libicuuc.so:devel/icu \
+		libkdsingleapplication-qt6.so:devel/kdsingleapplication \
 		libxkbcommon.so:x11/libxkbcommon
 RUN_DEPENDS=	kquickimageeditor-qt6>0:graphics/kquickimageeditor
 
@@ -23,6 +23,7 @@ USE_GL=		gl opengl # GLX
 USE_KDE=	completion config coreaddons crash jobwidgets kio \
 		kirigami-addons kirigami2 notifications prison \
 		qqc2-desktop-style service solid widgetsaddons \
+		windowsystem \
 		ecm:build
 USE_QT=		base declarative location multimedia positioning svg \
 		tools:build
diff --git a/net-im/kaidan/distinfo b/net-im/kaidan/distinfo
index 36aaf231bbb8..9e2981d0f629 100644
--- a/net-im/kaidan/distinfo
+++ b/net-im/kaidan/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739685884
-SHA256 (kaidan-0.11.0.tar.xz) = 3feef43d66ff5c30ae81894a7343da1856ca84b0177b8a07922f193ca33776a2
-SIZE (kaidan-0.11.0.tar.xz) = 874168
+TIMESTAMP = 1742893055
+SHA256 (kaidan-0.12.0.tar.xz) = ff9e22d1f8e61acf0dc415d1fadf01ee2749f472d1a8ea5eb0538559c5db2ebf
+SIZE (kaidan-0.12.0.tar.xz) = 866428
diff --git a/net-im/kaidan/files/patch-src_singleapp_singleapplication.cpp b/net-im/kaidan/files/patch-src_singleapp_singleapplication.cpp
deleted file mode 100644
index 9cde19b22775..000000000000
--- a/net-im/kaidan/files/patch-src_singleapp_singleapplication.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-Using the default PosixRealtime semaphores causes the application to exit
-upon start. SingleApplication is third party to kaidan. This needs more
-investigation.
-
-SingleApplication: Unable to create block.
-SingleApplication:  QSharedMemory::UnknownError "QSharedMemoryPrivate::initKey:
-unable to set key on lock (QSystemSemaphore::handle: unknown error: Invalid argument)"
-
---- src/singleapp/singleapplication.cpp.orig	2025-02-15 10:18:43 UTC
-+++ src/singleapp/singleapplication.cpp
-@@ -69,7 +69,7 @@ SingleApplication::SingleApplication(int &argc, char *
-     // By explicitly attaching it and then deleting it we make sure that the
-     // memory is deleted even after the process has crashed on Unix.
- #if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)
--    d->memory = new QSharedMemory(QNativeIpcKey(d->blockServerName));
-+    d->memory = new QSharedMemory(QNativeIpcKey(d->blockServerName, QNativeIpcKey::Type::SystemV));
- #else
-     d->memory = new QSharedMemory(d->blockServerName);
- #endif
-@@ -78,7 +78,7 @@ SingleApplication::SingleApplication(int &argc, char *
- #endif
-     // Guarantee thread safe behaviour with a shared memory block.
- #if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)
--    d->memory = new QSharedMemory(QNativeIpcKey(d->blockServerName));
-+    d->memory = new QSharedMemory(QNativeIpcKey(d->blockServerName, QNativeIpcKey::Type::SystemV));
- #else
-     d->memory = new QSharedMemory(d->blockServerName);
- #endif