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,31 +1,32 @@ PORTNAME= kaidan -DISTVERSION= 0.11.0 -PORTREVISION= 1 +DISTVERSION= 0.12.0 CATEGORIES= net-im kde MASTER_SITES= KDE/unstable/${PORTNAME}/${DISTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= User-friendly XMPP client for every device WWW= https://apps.kde.org/kaidan/ LICENSE= GPLv3+ 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 USES= cmake compiler:c++23-lang desktop-file-utils gl kde:6 \ pkgconfig qt:6 tar:xz xorg 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 USE_XORG= x11 .include 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