From nobody Wed May 03 18:22:50 2023 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 4QBQKk6QPGz497HY; Wed, 3 May 2023 18:22:50 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QBQKk5w6Nz3Kl3; Wed, 3 May 2023 18:22:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683138170; 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=nl8feCRGaATf7xQM3PhCuGVFV/i63OvSdHzdO1Lwxx8=; b=w7WEsw+VpY43Fn6OJd5rJTiGsY/bJzNi8M2BArOuAidRMTLVAtIPJNhuJBBiucxk/AB5Ss qBcaHvRNMCwGdXDpZRQ3WoVGF7eiVvjiLCYJ99ySA6NyOIuZePffLnm3q1LHn0ectaKqm1 L34UbKpwkVLH2mQkaU7xopFYfn3tRN05JRcSQ0V+iKwTOS5+4aO03bXE0j2g8vkFYaCiIg WFySwDtqamjmN+83l0DRUz8EANlJuhRMlOX160n0cA6mbK7GSJYv3JoLPCkh1wyRdFuS03 GC5eYg3riZY/x6PQ+vhlj3KLkAez7bBl6d1gXd0QkaSqU3DKkryLneg17+sOJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683138170; 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=nl8feCRGaATf7xQM3PhCuGVFV/i63OvSdHzdO1Lwxx8=; b=o6z4Ju2SW8hYWjY/gLiLiyKp35MreaFkWCTClpknwnmDeSwH/wb+hJgFCMNVOJ8QYq0NQs VbcKhALK3fA3TGF/8+l5+DIE71gyOtdGnHXDcDbcFHLZd5/jqRlomhR1f/5CvXKKtgcUsM jbUhSWrMkREv/859Ihs/7sWA3t61VlIllxHmYfMfAUvb66SiLcOkJk0VrzOv7ZyZlC1HlM cxZS7ANtmL716FOMot9dzi6xcqG0jvpsnak1GG4NVt4zkGXIh4jCC7CEzanugHja015nhe 4mEoeMkbDypsAKyHhBFfl54G09awUT0n0+WitVhPJZZDDKQ1NdXC5Ie8ngtn0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683138170; a=rsa-sha256; cv=none; b=FVCYfaASLExDFE9rtwWSWnnDMKqE+7yRskZGED5AfnCI6qMRWsgr11wo6zPqOVGEdb2DkJ m5f/vAwfrSi0vwRfsrMWe8G15ehaSL9bYa6OzXBdc63IKzhNWI0wiZk+N7CDO5z3Jj7X9u 9/P6lPA4aukStyU//JcXktY5e1A8bqNac5+5DqsC2LQ31jYoD0pRwU80em68tNWlvUQ8Ht aw3Sd4CYb6Yp067P2UkWgxJttRzv25Lyju7V647pgGIrj5pM7QoVqlHbnV8DUNT/MyVzAC ZBvSWtdQZ+Est3/HbAY/PUHvl2eOMs5TuoEyltTRLiDSuAYuB3oI/qgO9jpnrA== 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 4QBQKk4zYPzgjV; Wed, 3 May 2023 18:22:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 343IMo0R054760; Wed, 3 May 2023 18:22:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 343IMoJd054759; Wed, 3 May 2023 18:22:50 GMT (envelope-from git) Date: Wed, 3 May 2023 18:22:50 GMT Message-Id: <202305031822.343IMoJd054759@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kevin Bowling Subject: git: c2f57deb2168 - main - sysutils/qflipper: Update to 1.3.0 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c2f57deb21689a410d7b360d7900aeb7a1f8874c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2f57deb21689a410d7b360d7900aeb7a1f8874c commit c2f57deb21689a410d7b360d7900aeb7a1f8874c Author: Kevin Bowling AuthorDate: 2023-05-03 18:22:11 +0000 Commit: Kevin Bowling CommitDate: 2023-05-03 18:22:46 +0000 sysutils/qflipper: Update to 1.3.0 --- sysutils/qflipper/Makefile | 2 +- sysutils/qflipper/distinfo | 6 +- .../files/patch-application_application.pro | 4 +- .../files/patch-application_applicationupdater.cpp | 14 +-- ...backend_flipperzero_helper_deviceinfohelper.cpp | 4 +- .../patch-backend_flipperzero_protobufsession.cpp | 4 +- sysutils/qflipper/files/patch-cli_cli.pro | 25 +++-- .../patch-plugins_flipperproto0_flipperproto0.pro | 17 +-- sysutils/qflipper/files/patch-time_t.patch | 116 --------------------- 9 files changed, 42 insertions(+), 150 deletions(-) diff --git a/sysutils/qflipper/Makefile b/sysutils/qflipper/Makefile index 44a771d67a29..5e4256310785 100644 --- a/sysutils/qflipper/Makefile +++ b/sysutils/qflipper/Makefile @@ -1,5 +1,5 @@ PORTNAME= qFlipper -PORTVERSION= 1.2.2 +PORTVERSION= 1.3.0 CATEGORIES= sysutils MAINTAINER= kbowling@FreeBSD.org diff --git a/sysutils/qflipper/distinfo b/sysutils/qflipper/distinfo index 1e86227c8612..b7c52ad3d618 100644 --- a/sysutils/qflipper/distinfo +++ b/sysutils/qflipper/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1670995165 -SHA256 (flipperdevices-qFlipper-1.2.2_GH0.tar.gz) = 486543a66fcf899073972d4f081f89a709a66628d71e9412c74be0a7a1fb79a7 -SIZE (flipperdevices-qFlipper-1.2.2_GH0.tar.gz) = 1285161 +TIMESTAMP = 1683137023 +SHA256 (flipperdevices-qFlipper-1.3.0_GH0.tar.gz) = 866d81322b184e467b366f124db66e4595150bd83258016ac773bb5ed6c87c01 +SIZE (flipperdevices-qFlipper-1.3.0_GH0.tar.gz) = 1290478 diff --git a/sysutils/qflipper/files/patch-application_application.pro b/sysutils/qflipper/files/patch-application_application.pro index eeea07ecc370..99c00bc8f163 100644 --- a/sysutils/qflipper/files/patch-application_application.pro +++ b/sysutils/qflipper/files/patch-application_application.pro @@ -1,6 +1,6 @@ ---- application/application.pro.orig 2022-11-27 22:12:16 UTC +--- application/application.pro.orig 2023-03-27 09:51:38 UTC +++ application/application.pro -@@ -100,8 +100,8 @@ unix:!macx { +@@ -109,8 +109,8 @@ unix:!macx { iconfiles.files = $$PWD/assets/icons/$${TARGET}.png iconfiles.path = $$PREFIX/share/icons/hicolor/512x512/apps diff --git a/sysutils/qflipper/files/patch-application_applicationupdater.cpp b/sysutils/qflipper/files/patch-application_applicationupdater.cpp index 2dbc1d0f5d33..7ba85e560e21 100644 --- a/sysutils/qflipper/files/patch-application_applicationupdater.cpp +++ b/sysutils/qflipper/files/patch-application_applicationupdater.cpp @@ -1,6 +1,6 @@ ---- application/applicationupdater.cpp.orig 2022-11-27 21:54:15 UTC +--- application/applicationupdater.cpp.orig 2023-03-27 09:51:38 UTC +++ application/applicationupdater.cpp -@@ -57,6 +57,9 @@ void ApplicationUpdater::installUpdate(const Flipper:: +@@ -63,6 +63,9 @@ void ApplicationUpdater::installUpdate(const Flipper:: void ApplicationUpdater::installUpdate(const Flipper::Updates::VersionInfo &versionInfo) { @@ -10,7 +10,7 @@ #ifdef Q_OS_WINDOWS const auto fileInfo = versionInfo.fileInfo(QStringLiteral("installer"), QStringLiteral("windows/amd64")); #elif defined(Q_OS_MAC) -@@ -64,7 +67,7 @@ void ApplicationUpdater::installUpdate(const Flipper:: +@@ -70,7 +73,7 @@ void ApplicationUpdater::installUpdate(const Flipper:: #elif defined(Q_OS_LINUX) const auto fileInfo = versionInfo.fileInfo(QStringLiteral("AppImage"), QStringLiteral("linux/amd64")); #else @@ -19,15 +19,15 @@ #endif const auto fileName = QFileInfo(fileInfo.url()).fileName(); -@@ -145,6 +148,7 @@ void ApplicationUpdater::installUpdate(const Flipper:: +@@ -151,6 +154,7 @@ void ApplicationUpdater::installUpdate(const Flipper:: qCWarning(CATEGORY_SELFUPDATES) << "Downloading the application update package..."; - setState(State::Downloading); + setState(Downloading); } +#endif } - void ApplicationUpdater::setState(State state) -@@ -207,6 +211,7 @@ bool ApplicationUpdater::performUpdate(const QString & + void ApplicationUpdater::setState(ApplicationUpdater::State state) +@@ -213,6 +217,7 @@ bool ApplicationUpdater::performUpdate(const QString & return success; #else diff --git a/sysutils/qflipper/files/patch-backend_flipperzero_helper_deviceinfohelper.cpp b/sysutils/qflipper/files/patch-backend_flipperzero_helper_deviceinfohelper.cpp index 345b565e6b74..9e02f239aac1 100644 --- a/sysutils/qflipper/files/patch-backend_flipperzero_helper_deviceinfohelper.cpp +++ b/sysutils/qflipper/files/patch-backend_flipperzero_helper_deviceinfohelper.cpp @@ -1,6 +1,6 @@ ---- backend/flipperzero/helper/deviceinfohelper.cpp.orig 2022-11-28 05:07:31 UTC +--- backend/flipperzero/helper/deviceinfohelper.cpp.orig 2023-03-27 09:51:38 UTC +++ backend/flipperzero/helper/deviceinfohelper.cpp -@@ -97,7 +97,8 @@ void VCPDeviceInfoHelper::findSerialPort() +@@ -103,7 +103,8 @@ void VCPDeviceInfoHelper::findSerialPort() void VCPDeviceInfoHelper::findSerialPort() { diff --git a/sysutils/qflipper/files/patch-backend_flipperzero_protobufsession.cpp b/sysutils/qflipper/files/patch-backend_flipperzero_protobufsession.cpp index ebf09f12f3d9..3c39612f3c7f 100644 --- a/sysutils/qflipper/files/patch-backend_flipperzero_protobufsession.cpp +++ b/sysutils/qflipper/files/patch-backend_flipperzero_protobufsession.cpp @@ -1,6 +1,6 @@ ---- backend/flipperzero/protobufsession.cpp.orig 2022-11-27 21:43:32 UTC +--- backend/flipperzero/protobufsession.cpp.orig 2023-03-27 09:51:38 UTC +++ backend/flipperzero/protobufsession.cpp -@@ -426,7 +426,7 @@ const QString ProtobufSession::protobufPluginFileName( +@@ -445,7 +445,7 @@ const QString ProtobufSession::protobufPluginFileName( return QStringLiteral("flipperproto%1.dll").arg(versionMajor); #elif defined(Q_OS_MAC) return QStringLiteral("libflipperproto%1.dylib").arg(versionMajor); diff --git a/sysutils/qflipper/files/patch-cli_cli.pro b/sysutils/qflipper/files/patch-cli_cli.pro index 3ecb5467b0bf..9e835559648b 100644 --- a/sysutils/qflipper/files/patch-cli_cli.pro +++ b/sysutils/qflipper/files/patch-cli_cli.pro @@ -1,18 +1,25 @@ ---- cli/cli.pro.orig 2022-11-27 06:21:50 UTC +--- cli/cli.pro.orig 2023-03-27 09:51:38 UTC +++ cli/cli.pro -@@ -11,13 +11,13 @@ unix|win32 { +@@ -20,18 +20,18 @@ win32:!win32-g++ { + $$OUT_PWD/../dfu/libdfu.a + + contains(CONFIG, static): PRE_TARGETDEPS += \ +- $$OUT_PWD/../plugins/libflipperproto0.a \ +- $$OUT_PWD/../3rdparty/lib3rdparty.a ++ $$OUT_PWD/../plugins/libflipperproto0.a + } unix|win32 { LIBS += \ -- -L$$OUT_PWD/../3rdparty/ -l3rdparty \ -+ -lprotobuf-nanopb \ - -L$$OUT_PWD/../plugins/ -lflipperproto0 \ -L$$OUT_PWD/../backend/ -lbackend \ - -L$$OUT_PWD/../dfu/ -ldfu +- -L$$OUT_PWD/../dfu/ -ldfu ++ -L$$OUT_PWD/../dfu/ -ldfu \ ++ -lprotobuf-nanopb contains(CONFIG, static): LIBS += \ -- -L$$OUT_PWD/../3rdparty/ -l3rdparty \ -+ -lprotobuf-nanopb \ - -L$$OUT_PWD/../plugins/ -lflipperproto0 + -L$$OUT_PWD/../plugins/ -lflipperproto0 \ +- -L$$OUT_PWD/../3rdparty/ -l3rdparty ++ -lprotobuf-nanopb } + win32 { diff --git a/sysutils/qflipper/files/patch-plugins_flipperproto0_flipperproto0.pro b/sysutils/qflipper/files/patch-plugins_flipperproto0_flipperproto0.pro index f37f9ff2978e..2d9fd7e594a7 100644 --- a/sysutils/qflipper/files/patch-plugins_flipperproto0_flipperproto0.pro +++ b/sysutils/qflipper/files/patch-plugins_flipperproto0_flipperproto0.pro @@ -1,4 +1,4 @@ ---- plugins/flipperproto0/flipperproto0.pro.orig 2022-10-03 15:15:41 UTC +--- plugins/flipperproto0/flipperproto0.pro.orig 2023-03-27 09:51:38 UTC +++ plugins/flipperproto0/flipperproto0.pro @@ -13,7 +13,6 @@ INCLUDEPATH += $$PWD/../protobufinterface \ VERSION = 0.0.0 @@ -8,7 +8,7 @@ HEADERS += \ guirequest.h \ -@@ -59,13 +58,13 @@ unix|win32 { +@@ -65,14 +64,14 @@ unix|win32 { systemresponse.cpp unix|win32 { @@ -18,9 +18,10 @@ DEFINES += PB_ENABLE_MALLOC - unix:!macx { -- target.path = $$PREFIX/lib/$$NAME/plugins -+ target.path = $$PREFIX/lib/qt5/plugins - } else:macx { - target.path = $$DESTDIR/../$${NAME}.app/Contents/PlugIns - } else:win32 { + !contains(CONFIG, static) { + unix:!macx { +- target.path = $$PREFIX/lib/$$NAME/plugins ++ target.path = $$PREFIX/lib/qt5/plugins + } else:macx { + target.path = $$DESTDIR/../$${NAME}.app/Contents/PlugIns + } else:win32 { diff --git a/sysutils/qflipper/files/patch-time_t.patch b/sysutils/qflipper/files/patch-time_t.patch deleted file mode 100644 index 4deeea6f36e2..000000000000 --- a/sysutils/qflipper/files/patch-time_t.patch +++ /dev/null @@ -1,116 +0,0 @@ -commit 7342af72793989b72a2a7ff80bdcaeb81dee4459 -Author: Kevin Bowling -Date: Tue Dec 13 22:37:47 2022 -0700 - - Don't use time_t for timestamps - -diff --git backend/flipperzero/assetmanifest.cpp backend/flipperzero/assetmanifest.cpp -index d8c7c84..3b599d1 100644 ---- backend/flipperzero/assetmanifest.cpp -+++ backend/flipperzero/assetmanifest.cpp -@@ -36,7 +36,7 @@ int AssetManifest::version() const - return m_version; - } - --time_t AssetManifest::timestamp() const -+qint64 AssetManifest::timestamp() const - { - return m_timestamp; - } -diff --git backend/flipperzero/assetmanifest.h backend/flipperzero/assetmanifest.h -index 1cb922e..8f2724e 100644 ---- backend/flipperzero/assetmanifest.h -+++ backend/flipperzero/assetmanifest.h -@@ -25,7 +25,7 @@ public: - AssetManifest(const QByteArray &text); - - int version() const; -- time_t timestamp() const; -+ qint64 timestamp() const; - FileNode *tree() const; - - private: -@@ -36,7 +36,7 @@ private: - bool parseDirectory(const QStringList &tokens); - - int m_version; -- time_t m_timestamp; -+ qint64 m_timestamp; - QSharedPointer m_root; - }; - -diff --git backend/flipperzero/factoryinfo.cpp backend/flipperzero/factoryinfo.cpp -index 25b29a5..4df59bb 100644 ---- backend/flipperzero/factoryinfo.cpp -+++ backend/flipperzero/factoryinfo.cpp -@@ -204,7 +204,7 @@ void FactoryInfo::parseV2(const QByteArray &data) - m_region = (Region)otp->region; - } - --time_t FactoryInfo::date() const -+qint64 FactoryInfo::date() const - { - return m_date; - } -diff --git backend/flipperzero/factoryinfo.h backend/flipperzero/factoryinfo.h -index 8cdca86..eeaa9c3 100644 ---- backend/flipperzero/factoryinfo.h -+++ backend/flipperzero/factoryinfo.h -@@ -23,7 +23,7 @@ public: - uint8_t target() const; - uint8_t body() const; - uint8_t connect() const; -- time_t date() const; -+ qint64 date() const; - - const QString &name() const; - -@@ -44,7 +44,7 @@ private: - uint8_t m_target; - uint8_t m_body; - uint8_t m_connect; -- time_t m_date; -+ qint64 m_date; - QString m_name; - - Color m_color; -diff --git backend/flipperzero/radiomanifest.cpp backend/flipperzero/radiomanifest.cpp -index 3088955..943e176 100644 ---- backend/flipperzero/radiomanifest.cpp -+++ backend/flipperzero/radiomanifest.cpp -@@ -32,7 +32,7 @@ RadioManifest::Header::Header(const QJsonValue &json) - } - - if(obj.contains(QStringLiteral("timestamp"))) { -- m_timestamp = (time_t)obj.value(QStringLiteral("timestamp")).toInt(); -+ m_timestamp = obj.value(QStringLiteral("timestamp")).toInt(); - } else { - throw std::runtime_error("Failed to read manifest timestamp"); - } -@@ -43,7 +43,7 @@ int RadioManifest::Header::version() const - return m_version; - } - --time_t RadioManifest::Header::timestamp() const -+qint64 RadioManifest::Header::timestamp() const - { - return m_timestamp; - } -diff --git backend/flipperzero/radiomanifest.h backend/flipperzero/radiomanifest.h -index f71fed4..04575bb 100644 ---- backend/flipperzero/radiomanifest.h -+++ backend/flipperzero/radiomanifest.h -@@ -19,11 +19,11 @@ public: - Header(const QJsonValue &json); - - int version() const; -- time_t timestamp() const; -+ qint64 timestamp() const; - - private: - int m_version; -- time_t m_timestamp; -+ qint64 m_timestamp; - }; - - class Condition {