From nobody Wed Jan 15 08:15:17 2025 X-Original-To: dev-commits-ports-all@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 4YXzMB0P20z5l6Pd; Wed, 15 Jan 2025 08:15:18 +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 4YXzM96mCwz476r; Wed, 15 Jan 2025 08:15:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736928918; 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=aOV8EBvHI9jUQZZj9sAzPFHlbB9fggTbBujw9V73ckU=; b=AZ/dUwlIGCl1NUEFisXOvT3kd86Q9X9/EMWOvA43VCiqQc9WVSQwF6PQy/jRWC098XmyWI UJeOcU8DFCiI1y+4aT7T2NPV8jFDqriEHDrpbOq+Y90FY6il2FE67AxLnaSQl3ZWRY4BPk BmBrrzSHDlDLk8xD0VKecoxhLny/KtnpKEnS4QvVB/sjwgPyTc0mXETwgRDONesLzx8Pts HwythtVY0Ki+LxQ9XPlIamCeFOaN89JllHwFToDvTwVEnL6tdTsi/Pf6p4vgFjP16/BAie jTplBb/1sRg+rI41EwF8QGsdVWNLwvR02msv2f1X0BUqr+HZb3M01qWuFaTlBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736928918; 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=aOV8EBvHI9jUQZZj9sAzPFHlbB9fggTbBujw9V73ckU=; b=s+bUEs6tZWLvvagiy3IPmqP9MGIO3GshLe7oqXK4Ia0Pjyd/DDOfWFDbHxSpibMhw6toCH b0dtGgJ/3LQPXg0qDn0EPE2rNlBbxiaLM/K6NrtYfYdeay4EdlkainSR50tOzQeNfO1hng PFlkTe39Y8sfKVUf4oALBXCVyo9kCFhiogdj4fYCSYCUF5wucE9aP7tvaN3cHOS/9XRPgR tneSuRyAv3XyLwcK1l2Wn/XxIMfgXWNL4AUwJv9hO/zSFPdwYcNNENpNo97z6ssvJe/DtW qo1CsOIXLd4EUY+CytitOmwefHNY6Jv48n55T26YsDlIdJgBYFlghs8Vxlv8AQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736928918; a=rsa-sha256; cv=none; b=hwYHu/WCxIy4+Ti7+WxBfgW7iBQAqJOlT/8060pLD4UP7lr71KOkCi1gtiapVlNnA9ovf8 2TISy7JOauX86yyGwin4wRfKKDEk420Aa/d37/yD16EL5FKviUbyY3PjQNfJVoHe1Eg59F CeuGeWThvLgxtle8X9vuYudJ8upvSgT5QahUSCDHyUDut0PgzuV3aR2axH03/nLozUU1+x WoGxA7fQuxr7e/WNjVziQxcPMpThg59If6VIbajtv5hGBkzidaW6BVL0SZ7npipz4SbVlE gW8/aeKh382RcjtyLYyTU93WCG5Maw9kQVaJm2027VemSZQlCmVo25lsDAmsYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YXzM963z1zfd2; Wed, 15 Jan 2025 08:15:17 +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 50F8FHWY084745; Wed, 15 Jan 2025 08:15:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50F8FHkI084742; Wed, 15 Jan 2025 08:15:17 GMT (envelope-from git) Date: Wed, 15 Jan 2025 08:15:17 GMT Message-Id: <202501150815.50F8FHkI084742@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: "Jason E. Hale" Subject: git: 34cd293c065c - 2025Q1 - net/qt6-mqtt: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/2025Q1 X-Git-Reftype: branch X-Git-Commit: 34cd293c065c8510ad701441396ac8a0837e8981 Auto-Submitted: auto-generated The branch 2025Q1 has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=34cd293c065c8510ad701441396ac8a0837e8981 commit 34cd293c065c8510ad701441396ac8a0837e8981 Author: Schaich, Alonso AuthorDate: 2024-11-12 00:31:40 +0000 Commit: Jason E. Hale CommitDate: 2025-01-15 08:15:06 +0000 net/qt6-mqtt: New port Qt module implementing the MQTT protocol PR: 282703 MFH: 2025Q1 (to keep the Qt stack in sync) Co-authored-by: Jason E. Hale (cherry picked from commit 8895473c09d36c06f87014ec122a3b47b46288d4) --- Mk/Uses/qt-dist.mk | 22 +++++++++---------- Mk/Uses/qt.mk | 17 +++++++++------ devel/qt6/Makefile | 1 + net/Makefile | 1 + net/qt6-mqtt/Makefile | 16 ++++++++++++++ net/qt6-mqtt/distinfo | 3 +++ net/qt6-mqtt/pkg-descr | 6 ++++++ net/qt6-mqtt/pkg-plist | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 107 insertions(+), 17 deletions(-) diff --git a/Mk/Uses/qt-dist.mk b/Mk/Uses/qt-dist.mk index 1ac27eb742c3..07c0fd70cfd0 100644 --- a/Mk/Uses/qt-dist.mk +++ b/Mk/Uses/qt-dist.mk @@ -21,16 +21,16 @@ qmake_ARGS?= # empty .include "${USESDIR}/qmake.mk" # Supported distribution arguments -_COMMON_DISTS= 3d base charts connectivity datavis3d declarative imageformats location multimedia \ - networkauth quick3d quicktimeline remoteobjects scxml sensors \ - serialbus serialport speech svg tools translations virtualkeyboard \ +_COMMON_DISTS= 3d base charts connectivity datavis3d declarative \ + imageformats location multimedia networkauth quick3d \ + quicktimeline remoteobjects scxml sensors serialbus \ + serialport speech svg tools translations virtualkeyboard \ wayland webchannel webengine websockets webview -_QT5_DISTS= gamepad graphicaleffects quickcontrols \ - quickcontrols2 script webglplugin \ - x11extras xmlpatterns -_QT6_DISTS= 5compat coap doc graphs grpc httpserver languageserver lottie positioning \ - quick3dphysics quickeffectmaker shadertools - +_QT5_DISTS= gamepad graphicaleffects quickcontrols quickcontrols2 \ + script webglplugin x11extras xmlpatterns +_QT6_DISTS= 5compat coap doc graphs grpc httpserver languageserver \ + lottie mqtt positioning quick3dphysics quickeffectmaker \ + shadertools _QT_DISTS= ${_COMMON_DISTS} \ ${_QT${_QT_VER}_DISTS} @@ -96,8 +96,8 @@ _QT5_DISTNAME_kde= ${_QT_DIST:S,^,kde-qt,:S,$,-${DISTVERSION},} _QT6_DISTNAME= ${_QT_DIST:S,^,qt,:S,$,-everywhere-src-${DISTVERSION},} # Effective master sites and distfile values -# net/qt6-coap has no submodule distfile and uses USE_GITHUB -. if ${_QT_DIST} != coap +# net/qt6-coap and net/qt6-mqtt have no submodule distfiles and use USE_GITHUB +. if ${_QT_DIST} != coap && ${_QT_DIST} != mqtt MASTER_SITES= ${_QT${_QT_VER}_MASTER_SITES${_KDE_${_QT_DIST}:D_kde}} MASTER_SITE_SUBDIR= ${_QT${_QT_VER}_MASTER_SITE_SUBDIR${_KDE_${_QT_DIST}:D_kde}} DISTNAME= ${_QT${_QT_VER}_DISTNAME${_KDE_${_QT_DIST}:D_kde}} diff --git a/Mk/Uses/qt.mk b/Mk/Uses/qt.mk index 50ef6aada57f..e4a35515a7f0 100644 --- a/Mk/Uses/qt.mk +++ b/Mk/Uses/qt.mk @@ -152,9 +152,10 @@ _USES_POST+= qt _QT_MK_POST_INCLUDED= qt.mk # The Qt components supported by qt.mk: list of shared, and version specific ones -_USE_QT_COMMON= 3d charts connectivity datavis3d declarative doc examples imageformats location \ - multimedia networkauth quick3d quicktimeline remoteobjects scxml \ - sensors serialbus serialport speech svg virtualkeyboard wayland \ +_USE_QT_COMMON= 3d charts connectivity datavis3d declarative doc \ + examples imageformats location multimedia networkauth \ + quick3d quicktimeline remoteobjects scxml sensors \ + serialbus serialport speech svg virtualkeyboard wayland \ webchannel webengine websockets webview _USE_QT5_ONLY= assistant buildtools concurrent core dbus \ @@ -167,9 +168,10 @@ _USE_QT5_ONLY= assistant buildtools concurrent core dbus \ uitools webglplugin websockets-qml \ widgets x11extras xml xmlpatterns -_USE_QT6_ONLY= 5compat base coap graphs grpc httpserver languageserver lottie pdf positioning \ - quick3dphysics quickeffectmaker shadertools tools translations \ - sqldriver-sqlite sqldriver-mysql sqldriver-psql sqldriver-odbc +_USE_QT6_ONLY= 5compat base coap graphs grpc httpserver languageserver \ + lottie mqtt pdf positioning quick3dphysics quickeffectmaker \ + shadertools tools translations sqldriver-sqlite \ + sqldriver-mysql sqldriver-psql sqldriver-odbc # Dependency tuples: _LIB should be preferred if possible. qt-3d_PORT= graphics/${_QT_RELNAME}-3d @@ -269,6 +271,9 @@ qt-location_LIB= libQt${_QT_LIBVER}Location.so qt-l10n_PORT= misc/${_QT_RELNAME}-l10n qt-l10n_PATH= ${_QT_RELNAME}-l10n>=${_QT_VERSION:R:R} +qt-mqtt_PORT= net/${_QT_RELNAME}-mqtt +qt-mqtt_LIB= libQt${_QT_LIBVER}Mqtt.so + qt-multimedia_PORT= multimedia/${_QT_RELNAME}-multimedia qt-multimedia_LIB= libQt${_QT_LIBVER}Multimedia.so diff --git a/devel/qt6/Makefile b/devel/qt6/Makefile index c4e795320e42..ef815c0d2e94 100644 --- a/devel/qt6/Makefile +++ b/devel/qt6/Makefile @@ -1,5 +1,6 @@ PORTNAME= qt6 DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= kde@FreeBSD.org diff --git a/net/Makefile b/net/Makefile index 151a98fa8881..9b5945ad7c49 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1207,6 +1207,7 @@ SUBDIR += qt5-network SUBDIR += qt5-networkauth SUBDIR += qt6-coap + SUBDIR += qt6-mqtt SUBDIR += qt6-networkauth SUBDIR += quagga SUBDIR += quiche diff --git a/net/qt6-mqtt/Makefile b/net/qt6-mqtt/Makefile new file mode 100644 index 000000000000..477674f0cf2f --- /dev/null +++ b/net/qt6-mqtt/Makefile @@ -0,0 +1,16 @@ +PORTNAME= mqtt +DISTVERSIONPREFIX= v +DISTVERSION= ${QT6_VERSION} +CATEGORIES= net +PKGNAMEPREFIX= qt6- + +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt module implementing the MQTT protocol + +USES= cmake compiler:c++17-lang qt-dist:6 +USE_GITHUB= yes +GH_TUPLE= qt:qtmqtt:${DISTVERSIONFULL} +USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} +USE_QT= base + +.include diff --git a/net/qt6-mqtt/distinfo b/net/qt6-mqtt/distinfo new file mode 100644 index 000000000000..d0bc91c95b96 --- /dev/null +++ b/net/qt6-mqtt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736717113 +SHA256 (KDE/Qt/6.8.1/qt-qtmqtt-v6.8.1_GH0.tar.gz) = d831d6f912d446507f3d786e2a399f203710375bcdd9073c592c6e38f896b2b3 +SIZE (KDE/Qt/6.8.1/qt-qtmqtt-v6.8.1_GH0.tar.gz) = 208545 diff --git a/net/qt6-mqtt/pkg-descr b/net/qt6-mqtt/pkg-descr new file mode 100644 index 000000000000..f3b9ee4b4774 --- /dev/null +++ b/net/qt6-mqtt/pkg-descr @@ -0,0 +1,6 @@ +MQTT is an OASIS standard messaging protocol for the Internet of Things +(IoT). It is designed as an extremely lightweight publish/subscribe +messaging transport that is ideal for connecting remote devices with a +small code footprint and minimal network bandwidth. MQTT is used in a +wide variety of industries, such as automotive, manufacturing, telecom, +oil and gas, etc. diff --git a/net/qt6-mqtt/pkg-plist b/net/qt6-mqtt/pkg-plist new file mode 100644 index 000000000000..8aee4279cac4 --- /dev/null +++ b/net/qt6-mqtt/pkg-plist @@ -0,0 +1,58 @@ +%%QT_INCDIR%%/QtMqtt/%%FULLVER%%/QtMqtt/private/qmqttclient_p.h +%%QT_INCDIR%%/QtMqtt/%%FULLVER%%/QtMqtt/private/qmqttconnection_p.h +%%QT_INCDIR%%/QtMqtt/%%FULLVER%%/QtMqtt/private/qmqttconnectionproperties_p.h +%%QT_INCDIR%%/QtMqtt/%%FULLVER%%/QtMqtt/private/qmqttcontrolpacket_p.h +%%QT_INCDIR%%/QtMqtt/%%FULLVER%%/QtMqtt/private/qmqttmessage_p.h +%%QT_INCDIR%%/QtMqtt/%%FULLVER%%/QtMqtt/private/qmqttpublishproperties_p.h +%%QT_INCDIR%%/QtMqtt/%%FULLVER%%/QtMqtt/private/qmqttsubscription_p.h +%%QT_INCDIR%%/QtMqtt/QMqttAuthenticationProperties +%%QT_INCDIR%%/QtMqtt/QMqttClient +%%QT_INCDIR%%/QtMqtt/QMqttConnectionProperties +%%QT_INCDIR%%/QtMqtt/QMqttLastWillProperties +%%QT_INCDIR%%/QtMqtt/QMqttMessage +%%QT_INCDIR%%/QtMqtt/QMqttMessageStatusProperties +%%QT_INCDIR%%/QtMqtt/QMqttPublishProperties +%%QT_INCDIR%%/QtMqtt/QMqttServerConnectionProperties +%%QT_INCDIR%%/QtMqtt/QMqttStringPair +%%QT_INCDIR%%/QtMqtt/QMqttSubscription +%%QT_INCDIR%%/QtMqtt/QMqttSubscriptionProperties +%%QT_INCDIR%%/QtMqtt/QMqttTopicFilter +%%QT_INCDIR%%/QtMqtt/QMqttTopicName +%%QT_INCDIR%%/QtMqtt/QMqttUnsubscriptionProperties +%%QT_INCDIR%%/QtMqtt/QMqttUserProperties +%%QT_INCDIR%%/QtMqtt/QtMqtt +%%QT_INCDIR%%/QtMqtt/QtMqttDepends +%%QT_INCDIR%%/QtMqtt/QtMqttVersion +%%QT_INCDIR%%/QtMqtt/qmqttauthenticationproperties.h +%%QT_INCDIR%%/QtMqtt/qmqttclient.h +%%QT_INCDIR%%/QtMqtt/qmqttconnectionproperties.h +%%QT_INCDIR%%/QtMqtt/qmqttglobal.h +%%QT_INCDIR%%/QtMqtt/qmqttmessage.h +%%QT_INCDIR%%/QtMqtt/qmqttpublishproperties.h +%%QT_INCDIR%%/QtMqtt/qmqttsubscription.h +%%QT_INCDIR%%/QtMqtt/qmqttsubscriptionproperties.h +%%QT_INCDIR%%/QtMqtt/qmqtttopicfilter.h +%%QT_INCDIR%%/QtMqtt/qmqtttopicname.h +%%QT_INCDIR%%/QtMqtt/qmqtttype.h +%%QT_INCDIR%%/QtMqtt/qtmqttexports.h +%%QT_INCDIR%%/QtMqtt/qtmqttversion.h +lib/cmake/Qt6BuildInternals/StandaloneTests/QtMqttTestsConfig.cmake +lib/cmake/Qt6Mqtt/Qt6MqttAdditionalTargetInfo.cmake +lib/cmake/Qt6Mqtt/Qt6MqttConfig.cmake +lib/cmake/Qt6Mqtt/Qt6MqttConfigVersion.cmake +lib/cmake/Qt6Mqtt/Qt6MqttConfigVersionImpl.cmake +lib/cmake/Qt6Mqtt/Qt6MqttDependencies.cmake +lib/cmake/Qt6Mqtt/Qt6MqttTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Qt6Mqtt/Qt6MqttTargets.cmake +lib/cmake/Qt6Mqtt/Qt6MqttVersionlessAliasTargets.cmake +lib/cmake/Qt6Mqtt/Qt6MqttVersionlessTargets.cmake +%%QT_LIBDIR%%/libQt6Mqtt.prl +%%QT_LIBDIR%%/libQt6Mqtt.so +%%QT_LIBDIR%%/libQt6Mqtt.so.6 +%%QT_LIBDIR%%/libQt6Mqtt.so.%%FULLVER%% +%%QT_LIBDIR%%/metatypes/qt6mqtt_%%CMAKE_BUILD_TYPE%%_metatypes.json +%%QT_MKSPECDIR%%/modules/qt_lib_mqtt.pri +%%QT_MKSPECDIR%%/modules/qt_lib_mqtt_private.pri +%%QT_SBOMDIR%%/qtmqtt-%%FULLVER%%.spdx +libdata/pkgconfig/Qt6Mqtt.pc +%%QT_DATADIR%%/modules/Mqtt.json