commit qt6-serialbus for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-serialbus for openSUSE:Factory checked in at 2024-10-17 18:39:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-serialbus (Old) and /work/SRC/openSUSE:Factory/.qt6-serialbus.new.19354 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "qt6-serialbus" Thu Oct 17 18:39:18 2024 rev:26 rq:1207630 version:6.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-serialbus/qt6-serialbus.changes 2024-10-03 17:38:00.934306467 +0200 +++ /work/SRC/openSUSE:Factory/.qt6-serialbus.new.19354/qt6-serialbus.changes 2024-10-17 18:39:56.963802736 +0200 @@ -1,0 +2,6 @@ +Tue Oct 8 09:29:52 UTC 2024 - Christophe Marin <christophe@krop.fr> + +- Update to 6.8.0: + * https://www.qt.io/blog/qt-6.8-released + +------------------------------------------------------------------- Old: ---- qtserialbus-everywhere-src-6.7.3.tar.xz New: ---- qtserialbus-everywhere-src-6.8.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-serialbus.spec ++++++ --- /var/tmp/diff_new_pack.VKt7m1/_old 2024-10-17 18:39:57.563827763 +0200 +++ /var/tmp/diff_new_pack.VKt7m1/_new 2024-10-17 18:39:57.563827763 +0200 @@ -1,7 +1,7 @@ # # spec file for package qt6-serialbus # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,8 @@ # -%define real_version 6.7.3 -%define short_version 6.7 +%define real_version 6.8.0 +%define short_version 6.8 %define tar_name qtserialbus-everywhere-src %define tar_suffix %{nil} # @@ -27,7 +27,7 @@ %endif # Name: qt6-serialbus -Version: 6.7.3 +Version: 6.8.0 Release: 0 Summary: Qt 6 SerialBus library License: LGPL-3.0-only OR GPL-2.0-or-later ++++++ qtserialbus-everywhere-src-6.7.3.tar.xz -> qtserialbus-everywhere-src-6.8.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/.cmake.conf new/qtserialbus-everywhere-src-6.8.0/.cmake.conf --- old/qtserialbus-everywhere-src-6.7.3/.cmake.conf 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/.cmake.conf 2024-10-02 10:52:14.000000000 +0200 @@ -1,4 +1,4 @@ -set(QT_REPO_MODULE_VERSION "6.7.3") +set(QT_REPO_MODULE_VERSION "6.8.0") set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1") set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1") list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/.tag new/qtserialbus-everywhere-src-6.8.0/.tag --- old/qtserialbus-everywhere-src-6.7.3/.tag 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/.tag 2024-10-02 10:52:14.000000000 +0200 @@ -1 +1 @@ -bf44aa9eac3867439d422e60b1a100f5736d3107 +45cca7a461bdcfab8c3285e3dabd8c475a91207a diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/dependencies.yaml new/qtserialbus-everywhere-src-6.8.0/dependencies.yaml --- old/qtserialbus-everywhere-src-6.7.3/dependencies.yaml 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/dependencies.yaml 2024-10-02 10:52:14.000000000 +0200 @@ -1,7 +1,7 @@ dependencies: ../qtbase: - ref: 92b685784960eea6eb353688cf0edeb94d69c6cd + ref: b839e9b36db3a4e50dfb34521d8ef8de1fd01969 required: true ../qtserialport: - ref: 0b7a499e8a58c1e7b80d9beae86c10dbfedf5542 + ref: fc0a965d5bada8296595fcefacebc235dccf1a75 required: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/serialbus/CMakeLists.txt new/qtserialbus-everywhere-src-6.8.0/src/serialbus/CMakeLists.txt --- old/qtserialbus-everywhere-src-6.7.3/src/serialbus/CMakeLists.txt 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/serialbus/CMakeLists.txt 2024-10-02 10:52:14.000000000 +0200 @@ -40,8 +40,6 @@ PRIVATE_MODULE_INTERFACE Qt::CorePrivate Qt::Network - GENERATE_CPP_EXPORTS - GENERATE_PRIVATE_CPP_EXPORTS ) ## Scopes: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanbus.cpp new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanbus.cpp --- old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanbus.cpp 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanbus.cpp 2024-10-02 10:52:14.000000000 +0200 @@ -148,6 +148,28 @@ } /*! + \since 6.8 + Returns the available devices for all plugins, i.e. all available CAN interfaces. + + In case of failure, the optional parameter \a errorMessage returns a textual + error description. + + \note Some plugins might not or only partially support this function. + + \sa createDevice() +*/ +QList<QCanBusDeviceInfo> QCanBus::availableDevices(QString *errorMessage) const +{ + const QStringList allPlugins = plugins(); + QList<QCanBusDeviceInfo> result; + + for (const QString &plugin : allPlugins) + result.append(availableDevices(plugin, errorMessage)); + + return result; +} + +/*! Creates a CAN bus device. \a plugin is the name of the plugin as returned by the \l plugins() method. \a interfaceName is the CAN bus interface name. In case of failure, the optional parameter \a errorMessage returns a textual error description. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanbus.h new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanbus.h --- old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanbus.h 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanbus.h 2024-10-02 10:52:14.000000000 +0200 @@ -20,6 +20,7 @@ QStringList plugins() const; QList<QCanBusDeviceInfo> availableDevices(const QString &plugin, QString *errorMessage = nullptr) const; + QList<QCanBusDeviceInfo> availableDevices(QString *errorMessage = nullptr) const; QCanBusDevice *createDevice(const QString &plugin, const QString &interfaceName, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanbusdeviceinfo.cpp new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanbusdeviceinfo.cpp --- old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanbusdeviceinfo.cpp 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanbusdeviceinfo.cpp 2024-10-02 10:52:14.000000000 +0200 @@ -45,7 +45,7 @@ /*! \fn QCanBusDeviceInfo &QCanBusDeviceInfo::operator=(QCanBusDeviceInfo &&other) - Move-assigns other to this QCanBusDeviceInfo instance. + Move-assigns \a other to this QCanBusDeviceInfo instance. */ /*! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanframeprocessor_p.h new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanframeprocessor_p.h --- old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanframeprocessor_p.h 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanframeprocessor_p.h 2024-10-02 10:52:14.000000000 +0200 @@ -15,7 +15,7 @@ // We mean it. // -#include "private/qtserialbusexports_p.h" +#include "qtserialbusexports.h" #include "qcanframeprocessor.h" #include "qcanmessagedescription.h" #include "qcanuniqueiddescription.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanmessagedescription_p.h new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanmessagedescription_p.h --- old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanmessagedescription_p.h 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanmessagedescription_p.h 2024-10-02 10:52:14.000000000 +0200 @@ -15,12 +15,12 @@ // We mean it. // -#include "private/qtserialbusexports_p.h" +#include "qtserialbusexports.h" #include "qcanmessagedescription.h" QT_BEGIN_NAMESPACE -class Q_SERIALBUS_PRIVATE_EXPORT QCanMessageDescriptionPrivate : public QSharedData +class Q_SERIALBUS_EXPORT QCanMessageDescriptionPrivate : public QSharedData { public: QString name; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcansignaldescription_p.h new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcansignaldescription_p.h --- old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcansignaldescription_p.h 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcansignaldescription_p.h 2024-10-02 10:52:14.000000000 +0200 @@ -15,7 +15,7 @@ // We mean it. // -#include "private/qtserialbusexports_p.h" +#include "qtserialbusexports.h" #include "qcansignaldescription.h" #include <QtCore/QHash> @@ -24,7 +24,7 @@ QT_BEGIN_NAMESPACE -class Q_SERIALBUS_PRIVATE_EXPORT QCanSignalDescriptionPrivate : public QSharedData +class Q_SERIALBUS_EXPORT QCanSignalDescriptionPrivate : public QSharedData { public: QString name; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanuniqueiddescription_p.h new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanuniqueiddescription_p.h --- old/qtserialbus-everywhere-src-6.7.3/src/serialbus/qcanuniqueiddescription_p.h 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/serialbus/qcanuniqueiddescription_p.h 2024-10-02 10:52:14.000000000 +0200 @@ -15,12 +15,12 @@ // We mean it. // -#include "private/qtserialbusexports_p.h" +#include "qtserialbusexports.h" #include "qcanuniqueiddescription.h" QT_BEGIN_NAMESPACE -class Q_SERIALBUS_PRIVATE_EXPORT QCanUniqueIdDescriptionPrivate : public QSharedData +class Q_SERIALBUS_EXPORT QCanUniqueIdDescriptionPrivate : public QSharedData { public: QtCanBus::DataSource source = QtCanBus::DataSource::FrameId; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/canbusutil.cpp new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/canbusutil.cpp --- old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/canbusutil.cpp 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/canbusutil.cpp 2024-10-02 10:52:14.000000000 +0200 @@ -1,5 +1,5 @@ // Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "canbusutil.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/canbusutil.h new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/canbusutil.h --- old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/canbusutil.h 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/canbusutil.h 2024-10-02 10:52:14.000000000 +0200 @@ -1,5 +1,5 @@ // Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #ifndef CANBUSUTIL_H #define CANBUSUTIL_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/main.cpp new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/main.cpp --- old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/main.cpp 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/main.cpp 2024-10-02 10:52:14.000000000 +0200 @@ -1,5 +1,5 @@ // Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "canbusutil.h" #include "sigtermhandler.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/readtask.cpp new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/readtask.cpp --- old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/readtask.cpp 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/readtask.cpp 2024-10-02 10:52:14.000000000 +0200 @@ -1,5 +1,5 @@ // Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "readtask.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/readtask.h new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/readtask.h --- old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/readtask.h 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/readtask.h 2024-10-02 10:52:14.000000000 +0200 @@ -1,5 +1,5 @@ // Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #ifndef READTASK_H #define READTASK_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/sigtermhandler.cpp new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/sigtermhandler.cpp --- old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/sigtermhandler.cpp 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/sigtermhandler.cpp 2024-10-02 10:52:14.000000000 +0200 @@ -1,5 +1,5 @@ // Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #include "sigtermhandler.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/sigtermhandler.h new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/sigtermhandler.h --- old/qtserialbus-everywhere-src-6.7.3/src/tools/canbusutil/sigtermhandler.h 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/src/tools/canbusutil/sigtermhandler.h 2024-10-02 10:52:14.000000000 +0200 @@ -1,5 +1,5 @@ // Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #ifndef SIGTERMHANDLER_H #define SIGTERMHANDLER_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialbus-everywhere-src-6.7.3/tests/auto/qcanbus/tst_qcanbus.cpp new/qtserialbus-everywhere-src-6.8.0/tests/auto/qcanbus/tst_qcanbus.cpp --- old/qtserialbus-everywhere-src-6.7.3/tests/auto/qcanbus/tst_qcanbus.cpp 2024-09-19 17:15:16.000000000 +0200 +++ new/qtserialbus-everywhere-src-6.8.0/tests/auto/qcanbus/tst_qcanbus.cpp 2024-10-02 10:52:14.000000000 +0200 @@ -17,6 +17,7 @@ void initTestCase(); void plugins(); void interfaces(); + void allInterfaces(); void createDevice(); private: @@ -63,6 +64,28 @@ QVERIFY(pluginList.at(0).hasFlexibleDataRate()); } +void tst_QCanBus::allInterfaces() +{ + bool testCanFound = false; + bool virtualCanFound = false; + const QList<QCanBusDeviceInfo> infoList = bus->availableDevices(); + QVERIFY(!infoList.isEmpty()); + for (const QCanBusDeviceInfo &info : infoList) { + if (info.plugin() == QStringLiteral("testcan")) { + testCanFound = true; + QCOMPARE(info.name(), QStringLiteral("can0")); + QVERIFY(info.isVirtual()); + QVERIFY(info.hasFlexibleDataRate()); + } else if (info.plugin() == QStringLiteral("virtualcan")) { + virtualCanFound = true; + QVERIFY(info.isVirtual()); + QVERIFY(info.hasFlexibleDataRate()); + } + } + QVERIFY(testCanFound); + QVERIFY(virtualCanFound); +} + void tst_QCanBus::createDevice() { QString error, error2;
participants (1)
-
Source-Sync