From nobody Sun Sep 01 14:38:45 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WxZJP60Gnz5VJX9; Sun, 01 Sep 2024 14:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WxZJP58TGz4WM0; Sun, 1 Sep 2024 14:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725201525; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mj8BHAp8UxGOcJUCkY9KWgeQJWybGvgewO0G6OCYj3Q=; b=JNhscvzXaPWM3KK8uq0nDf8Wf2srYH/QDbxZOth13MLlwb+Je2wf7HFNHFBhTHuHQH9BI/ pLSDqjOJRMXODjQ3KMhKQy/PnEAc9tBLoF5zFQLFz3Xw2Oyj5niz57Ng+nJz+gHtCxRXd/ i7N9pypsZf7+1p6Br0U802HSKD0MkJ8sStacpAFSAX0+b5TFsYZ1FdYvEswL7X2o+Itc0Y V6HG2IXCZQutnpqfe0FenOhb3i/jwGW01SGM5z82VJcMgC4VMuWVY/Zfc9YxyruAZn0dCt e+4zeChSwzky/96e8GqsvgDNGSiHJWphkqNtoaQmeb8ON+e83aS64L9DgXP4rw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725201525; a=rsa-sha256; cv=none; b=H4VwUHtOq/V6igcUszSB4Mmc8jqycXubQuAahQyDU6FObWkA19v1nvsB2V2MTRgQd9fqdL o02fEjo/Z1JAsKieDlaes/mfGTj1Tkoa8sXRiHsMrT46VqNUs2tcu46OnZU9B5GiTRKRtZ KN38tdfeiOphumsLIDbQwUlV92eVEwTLsLGfAQezhA8F6KP1UAWpBRfXr7yHFB+0f++6tz wUMR34k0or2Voek/aUZ3JsNKyQUd9gqzjLucsM0rpjppbBeYJ0ENNwfkNBDLhqCQCbrEUl mhKJ+0hAVKG0FIP1rnoPRuFO34z3gXZACUvgu5Q2Mlm8cTFg/QAc+f8YTN5e4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725201525; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mj8BHAp8UxGOcJUCkY9KWgeQJWybGvgewO0G6OCYj3Q=; b=mSYLVx7mv693tXlepci2Wi1gT3dM/Cynvr7/4sk/Yy9pibw1jG4XJLvgpEfVbL8jVjbJx1 eeEn0O106koEfVyKXhrkrIO+S+3Potc1NNl1ctTb6gABg9gbBJh+8Ms07h9PCcB+FUaCp5 G3oCoDQLhNqqDbrbtMsAU4Bw06GsSNHy/wUEbWYb0IkaXhwZEpDipfbsIOwBjjxaBpyIJR 72kJlWuEyWHNmKK2k8hNX6jpWVeiD7Ff19Tfx7GAK031wI5oU+udDvdsk5M6HBnd8F4KKy b8gyzCt9+diH9dIX50Tv6UdKXUShv1GkeeJqT44IzsKYj6FGhkRiBOTtqE2Ueg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WxZJP4mLKzXj5; Sun, 1 Sep 2024 14:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 481EcjaQ051628; Sun, 1 Sep 2024 14:38:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 481EcjfJ051625; Sun, 1 Sep 2024 14:38:45 GMT (envelope-from git) Date: Sun, 1 Sep 2024 14:38:45 GMT Message-Id: <202409011438.481EcjfJ051625@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 3d482f736ed5 - main - devel/kdsingleapplication: New port: Class that helps implement applications that follow the single-instance policy List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3d482f736ed5db7ef897fdb3c35b2e0315065841 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d482f736ed5db7ef897fdb3c35b2e0315065841 commit 3d482f736ed5db7ef897fdb3c35b2e0315065841 Author: Daniel Engberg AuthorDate: 2024-09-01 14:30:35 +0000 Commit: Daniel Engberg CommitDate: 2024-09-01 14:38:05 +0000 devel/kdsingleapplication: New port: Class that helps implement applications that follow the single-instance policy Class that helps implement applications that follow the single-instance policy referring to those applications that want to spawn a unique instance for a given user session. Even when launched multiple times, such applications will not spawn a number of separate instances. WWW: https://github.com/KDAB/KDSingleApplication/ --- devel/Makefile | 1 + devel/kdsingleapplication/Makefile | 21 +++++++++++++++++++++ devel/kdsingleapplication/distinfo | 3 +++ .../kdsingleapplication/files/patch-CMakeLists.txt | 13 +++++++++++++ devel/kdsingleapplication/pkg-descr | 4 ++++ devel/kdsingleapplication/pkg-plist | 14 ++++++++++++++ 6 files changed, 56 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index c260517dcbf8..ad36909388b9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1085,6 +1085,7 @@ SUBDIR += kdev-python SUBDIR += kdevelop SUBDIR += kdevelop-pg-qt + SUBDIR += kdsingleapplication SUBDIR += kerl SUBDIR += kf5-extra-cmake-modules SUBDIR += kf5-kapidox diff --git a/devel/kdsingleapplication/Makefile b/devel/kdsingleapplication/Makefile new file mode 100644 index 000000000000..e34b215c4dad --- /dev/null +++ b/devel/kdsingleapplication/Makefile @@ -0,0 +1,21 @@ +PORTNAME= kdsingleapplication +DISTVERSION= 1.1.0 +CATEGORIES= devel +MASTER_SITES= https://github.com/KDAB/KDSingleApplication/releases/download/v${DISTVERSION}/ + +MAINTAINER= diizzy@FreeBSD.org +COMMENT= KDAB's helper class for single-instance policy applications +WWW= https://github.com/KDAB/KDSingleApplication + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= cmake compiler:c++17-lang qt:6 +USE_QT= base +USE_LDCONFIG= yes + +CMAKE_OFF= CMAKE_CXX_EXTENSIONS \ + KDSingleApplication_EXAMPLES +CMAKE_ON= KDSingleApplication_QT6 + +.include diff --git a/devel/kdsingleapplication/distinfo b/devel/kdsingleapplication/distinfo new file mode 100644 index 000000000000..041183dcb3a8 --- /dev/null +++ b/devel/kdsingleapplication/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1718948356 +SHA256 (kdsingleapplication-1.1.0.tar.gz) = 31029fffa4873e2769c555668e8edaa6bd5721edbc445bff5e66cc6af3b9ed78 +SIZE (kdsingleapplication-1.1.0.tar.gz) = 73558 diff --git a/devel/kdsingleapplication/files/patch-CMakeLists.txt b/devel/kdsingleapplication/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..721b958b5163 --- /dev/null +++ b/devel/kdsingleapplication/files/patch-CMakeLists.txt @@ -0,0 +1,13 @@ +--- CMakeLists.txt.orig 2024-06-21 05:46:22 UTC ++++ CMakeLists.txt +@@ -166,8 +166,8 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR) + set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/lib") + set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/lib") + +- install(FILES LICENSE.txt README.md DESTINATION ${INSTALL_DOC_DIR}) +- install(DIRECTORY LICENSES DESTINATION ${INSTALL_DOC_DIR}) ++# install(FILES LICENSE.txt README.md DESTINATION ${INSTALL_DOC_DIR}) ++# install(DIRECTORY LICENSES DESTINATION ${INSTALL_DOC_DIR}) + + # Generate .pri file for qmake users (except when using the VS generator) + if(NOT CMAKE_CONFIGURATION_TYPES) diff --git a/devel/kdsingleapplication/pkg-descr b/devel/kdsingleapplication/pkg-descr new file mode 100644 index 000000000000..1697930f9b68 --- /dev/null +++ b/devel/kdsingleapplication/pkg-descr @@ -0,0 +1,4 @@ +Class that helps implement applications that follow the single-instance policy +referring to those applications that want to spawn a unique instance for a +given user session. Even when launched multiple times, such applications will +not spawn a number of separate instances. diff --git a/devel/kdsingleapplication/pkg-plist b/devel/kdsingleapplication/pkg-plist new file mode 100644 index 000000000000..9a68ee557370 --- /dev/null +++ b/devel/kdsingleapplication/pkg-plist @@ -0,0 +1,14 @@ +include/kdsingleapplication-qt6/KDSingleApplication +include/kdsingleapplication-qt6/kdsingleapplication.h +include/kdsingleapplication-qt6/kdsingleapplication_lib.h +include/kdsingleapplication-qt6/kdsingleapplication_version.h +lib/cmake/KDSingleApplication-qt6/KDSingleApplication-qt6Config.cmake +lib/cmake/KDSingleApplication-qt6/KDSingleApplication-qt6ConfigVersion.cmake +lib/cmake/KDSingleApplication-qt6/KDSingleApplication-qt6Targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/KDSingleApplication-qt6/KDSingleApplication-qt6Targets.cmake +lib/cmake/KDSingleApplication-qt6/KDSingleApplicationTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/KDSingleApplication-qt6/KDSingleApplicationTargets.cmake +lib/libkdsingleapplication-qt6.so +lib/libkdsingleapplication-qt6.so.1.1 +lib/libkdsingleapplication-qt6.so.1.1.0 +%%QT_MKSPECDIR%%/modules/qt_KDSingleApplication.pri