From nobody Wed Jan 15 08:13:58 2025 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 4YXzKf4Gdnz5l5df; Wed, 15 Jan 2025 08:13:58 +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 4YXzKf3T5Wz46RG; Wed, 15 Jan 2025 08:13:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736928838; 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=jhtwxxqm6SP/JTE6ObXKq5pxmYH/XhMqpH94BFMvWqQ=; b=N1ZrTymd5kxYhY4ctQSCUstF/uUNbNDJynmxZvBssKhOzUL3zdtDy2Nu/u4OwMUVPSOHBm Aeso0pYmy7zU5CGsjZ4yndIFRhJBQN/CQwnYBKENIVRGBoCicTnm9MsRliUbHgcDUY+wFU FZsGwCCRs0tzpjZLsmdY/CtXCe0Sb2pv9PKeiWNgUTEZacXSoh9Qa9D6MGWvACuSf/hjLm MveWneavM298z5VSUOKaXZRgUdTONONqv8TdfuK7oF4aFOFIkFaLU5jBjH6VR12AJSORcv sJHdbW/HcKljEunfF0DO//2pCnwcA+SPkOAlmbCAffo41Lmjw+wAq8Po4IAYbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736928838; 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=jhtwxxqm6SP/JTE6ObXKq5pxmYH/XhMqpH94BFMvWqQ=; b=kx27LCjqBtcmvZ3H+NgG5N8gy4AEKJlA9cp5pMTT2+EFyh3JqYpfMOUH5uhKw3mf2J4TgZ sDPYTD/AHzluoT5lG5DD2fO2PCwgVnyfollwnlPsyXgexIygCJQ/NP++lDXQUTRGNlxmME qmIV/iLSi/eE9F/iZwjAFVl1SF26gZrCcYpBQQwuLY0xhJdMoMK/hzN6k+zT0op0m0bjJ2 h1QPLewlS+1n2W0oEkeh20eQn86Dx5vNvJH5eWR/SEAiTyF82XdhYknFDEuVE9NaC79c0a iRnM8BSIa1GUxl8wcAf8vyXKMP3ouqVdZBkDskWTDN3vZUDp2IwEepjGX2rpjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736928838; a=rsa-sha256; cv=none; b=tn6BVodq5oBFqT7jWQ4QOZJl5lBvi+A6odSHOTuo+LxxI/vcS0OkrR4bpxU+XIYfLfouJU 91b3zJyyNdcs3L4U4YD64F1tvWeSKjx/SSqc6VqR3fZD+i4w/PoRgQnDdlEnsYXwVAwBos x8i5L/kUnTJ4/eB9TLskW/ND06YhM9ePbj61zWYS5k+OXkY+9rLpfDhHx5ei4UOinzbQgs MqIN5oOa6//d/zZ5jVPCrEmaPQjEjAGzCBRqdydrxwMBuj8FX498PwAEij6UmjGx8SRYm3 CKBsiFcKoaNVm3RWFRlygkrTR+aN8Lw+bo6NUXY9N5YcLwF+mjF2rkoiNK6yfQ== 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 4YXzKf31R9zfgT; Wed, 15 Jan 2025 08:13:58 +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 50F8Dwq3084012; Wed, 15 Jan 2025 08:13:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50F8DwhA084009; Wed, 15 Jan 2025 08:13:58 GMT (envelope-from git) Date: Wed, 15 Jan 2025 08:13:58 GMT Message-Id: <202501150813.50F8DwhA084009@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 8895473c09d3 - main - net/qt6-mqtt: New port 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: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8895473c09d36c06f87014ec122a3b47b46288d4 Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=8895473c09d36c06f87014ec122a3b47b46288d4 commit 8895473c09d36c06f87014ec122a3b47b46288d4 Author: Schaich, Alonso AuthorDate: 2024-11-12 00:31:40 +0000 Commit: Jason E. Hale CommitDate: 2025-01-15 08:13:35 +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 --- 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 9093da9bdb0b..99e1aeb6450c 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1208,6 +1208,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