Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-serialport for openSUSE:Factory checked in at 2022-11-21 15:29:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-serialport (Old) and /work/SRC/openSUSE:Factory/.qt6-serialport.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt6-serialport" Mon Nov 21 15:29:14 2022 rev:10 rq:1036922 version:6.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-serialport/qt6-serialport.changes 2022-10-01 17:43:44.121733296 +0200 +++ /work/SRC/openSUSE:Factory/.qt6-serialport.new.1597/qt6-serialport.changes 2022-11-21 15:29:28.228610186 +0100 @@ -1,0 +2,6 @@ +Tue Nov 15 11:53:22 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 6.4.1: + * https://www.qt.io/blog/qt-6.4.1-released + +------------------------------------------------------------------- Old: ---- qtserialport-everywhere-src-6.4.0.tar.xz New: ---- qtserialport-everywhere-src-6.4.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-serialport.spec ++++++ --- /var/tmp/diff_new_pack.2beLZV/_old 2022-11-21 15:29:28.700612582 +0100 +++ /var/tmp/diff_new_pack.2beLZV/_new 2022-11-21 15:29:28.704612603 +0100 @@ -16,7 +16,7 @@ # -%define real_version 6.4.0 +%define real_version 6.4.1 %define short_version 6.4 %define tar_name qtserialport-everywhere-src %define tar_suffix %{nil} @@ -27,7 +27,7 @@ %endif # Name: qt6-serialport%{?pkg_suffix} -Version: 6.4.0 +Version: 6.4.1 Release: 0 Summary: Qt 6 SerialPort library License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) ++++++ qtserialport-everywhere-src-6.4.0.tar.xz -> qtserialport-everywhere-src-6.4.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/.cmake.conf new/qtserialport-everywhere-src-6.4.1/.cmake.conf --- old/qtserialport-everywhere-src-6.4.0/.cmake.conf 2022-09-23 05:12:05.000000000 +0200 +++ new/qtserialport-everywhere-src-6.4.1/.cmake.conf 2022-11-08 16:10:11.000000000 +0100 @@ -1,2 +1,2 @@ -set(QT_REPO_MODULE_VERSION "6.4.0") +set(QT_REPO_MODULE_VERSION "6.4.1") set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/.tag new/qtserialport-everywhere-src-6.4.1/.tag --- old/qtserialport-everywhere-src-6.4.0/.tag 2022-09-23 05:12:05.000000000 +0200 +++ new/qtserialport-everywhere-src-6.4.1/.tag 2022-11-08 16:10:11.000000000 +0100 @@ -1 +1 @@ -a75018b65431c9a1337880fe610aeded38d9100f +03f9b5fab536a11b7f200e4592fe67dd96363570 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/dependencies.yaml new/qtserialport-everywhere-src-6.4.1/dependencies.yaml --- old/qtserialport-everywhere-src-6.4.0/dependencies.yaml 2022-09-23 05:12:05.000000000 +0200 +++ new/qtserialport-everywhere-src-6.4.1/dependencies.yaml 2022-11-08 16:10:11.000000000 +0100 @@ -1,4 +1,4 @@ dependencies: ../qtbase: - ref: bc7e63385522c2020168cf367a8b3b1e6c6bc65e + ref: 905755304a474c942346774d930b92e3665c1bab required: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/examples/serialport/terminal/mainwindow.cpp new/qtserialport-everywhere-src-6.4.1/examples/serialport/terminal/mainwindow.cpp --- old/qtserialport-everywhere-src-6.4.0/examples/serialport/terminal/mainwindow.cpp 2022-09-23 05:12:05.000000000 +0200 +++ new/qtserialport-everywhere-src-6.4.1/examples/serialport/terminal/mainwindow.cpp 2022-11-08 16:10:11.000000000 +0100 @@ -16,7 +16,7 @@ m_ui(new Ui::MainWindow), m_status(new QLabel), m_console(new Console), - m_settings(new SettingsDialog), + m_settings(new SettingsDialog(this)), //! [1] m_serial(new QSerialPort(this)) //! [1] @@ -68,8 +68,8 @@ m_ui->actionDisconnect->setEnabled(true); m_ui->actionConfigure->setEnabled(false); showStatusMessage(tr("Connected to %1 : %2, %3, %4, %5, %6") - .arg(p.name).arg(p.stringBaudRate).arg(p.stringDataBits) - .arg(p.stringParity).arg(p.stringStopBits).arg(p.stringFlowControl)); + .arg(p.name, p.stringBaudRate, p.stringDataBits, + p.stringParity, p.stringStopBits, p.stringFlowControl)); } else { QMessageBox::critical(this, tr("Error"), m_serial->errorString()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/examples/serialport/terminal/settingsdialog.cpp new/qtserialport-everywhere-src-6.4.1/examples/serialport/terminal/settingsdialog.cpp --- old/qtserialport-everywhere-src-6.4.0/examples/serialport/terminal/settingsdialog.cpp 2022-09-23 05:12:05.000000000 +0200 +++ new/qtserialport-everywhere-src-6.4.1/examples/serialport/terminal/settingsdialog.cpp 2022-11-08 16:10:11.000000000 +0100 @@ -50,13 +50,15 @@ if (idx == -1) return; + const QString blankString = tr(::blankString); + const QStringList list = m_ui->serialPortInfoListBox->itemData(idx).toStringList(); - m_ui->descriptionLabel->setText(tr("Description: %1").arg(list.count() > 1 ? list.at(1) : tr(blankString))); - m_ui->manufacturerLabel->setText(tr("Manufacturer: %1").arg(list.count() > 2 ? list.at(2) : tr(blankString))); - m_ui->serialNumberLabel->setText(tr("Serial number: %1").arg(list.count() > 3 ? list.at(3) : tr(blankString))); - m_ui->locationLabel->setText(tr("Location: %1").arg(list.count() > 4 ? list.at(4) : tr(blankString))); - m_ui->vidLabel->setText(tr("Vendor Identifier: %1").arg(list.count() > 5 ? list.at(5) : tr(blankString))); - m_ui->pidLabel->setText(tr("Product Identifier: %1").arg(list.count() > 6 ? list.at(6) : tr(blankString))); + m_ui->descriptionLabel->setText(tr("Description: %1").arg(list.value(1, blankString))); + m_ui->manufacturerLabel->setText(tr("Manufacturer: %1").arg(list.value(2, blankString))); + m_ui->serialNumberLabel->setText(tr("Serial number: %1").arg(list.value(3, blankString))); + m_ui->locationLabel->setText(tr("Location: %1").arg(list.value(4, blankString))); + m_ui->vidLabel->setText(tr("Vendor Identifier: %1").arg(list.value(5, blankString))); + m_ui->pidLabel->setText(tr("Product Identifier: %1").arg(list.value(6, blankString))); } void SettingsDialog::apply() @@ -118,24 +120,25 @@ void SettingsDialog::fillPortsInfo() { m_ui->serialPortInfoListBox->clear(); - QString description; - QString manufacturer; - QString serialNumber; + const QString blankString = tr(::blankString); const auto infos = QSerialPortInfo::availablePorts(); + for (const QSerialPortInfo &info : infos) { QStringList list; - description = info.description(); - manufacturer = info.manufacturer(); - serialNumber = info.serialNumber(); + const QString description = info.description(); + const QString manufacturer = info.manufacturer(); + const QString serialNumber = info.serialNumber(); + const auto vendorId = info.vendorIdentifier(); + const auto productId = info.productIdentifier(); list << info.portName() << (!description.isEmpty() ? description : blankString) << (!manufacturer.isEmpty() ? manufacturer : blankString) << (!serialNumber.isEmpty() ? serialNumber : blankString) << info.systemLocation() - << (info.vendorIdentifier() ? QString::number(info.vendorIdentifier(), 16) : blankString) - << (info.productIdentifier() ? QString::number(info.productIdentifier(), 16) : blankString); + << (vendorId ? QString::number(vendorId, 16) : blankString) + << (productId ? QString::number(productId, 16) : blankString); - m_ui->serialPortInfoListBox->addItem(list.first(), list); + m_ui->serialPortInfoListBox->addItem(list.constFirst(), list); } m_ui->serialPortInfoListBox->addItem(tr("Custom")); @@ -148,25 +151,25 @@ if (m_ui->baudRateBox->currentIndex() == 4) { m_currentSettings.baudRate = m_ui->baudRateBox->currentText().toInt(); } else { - m_currentSettings.baudRate = static_cast<QSerialPort::BaudRate>( - m_ui->baudRateBox->itemData(m_ui->baudRateBox->currentIndex()).toInt()); + const auto baudRateData = m_ui->baudRateBox->currentData(); + m_currentSettings.baudRate = baudRateData.value<QSerialPort::BaudRate>(); } m_currentSettings.stringBaudRate = QString::number(m_currentSettings.baudRate); - m_currentSettings.dataBits = static_cast<QSerialPort::DataBits>( - m_ui->dataBitsBox->itemData(m_ui->dataBitsBox->currentIndex()).toInt()); + const auto dataBitsData = m_ui->dataBitsBox->currentData(); + m_currentSettings.dataBits = dataBitsData.value<QSerialPort::DataBits>(); m_currentSettings.stringDataBits = m_ui->dataBitsBox->currentText(); - m_currentSettings.parity = static_cast<QSerialPort::Parity>( - m_ui->parityBox->itemData(m_ui->parityBox->currentIndex()).toInt()); + const auto parityData = m_ui->parityBox->currentData(); + m_currentSettings.parity = parityData.value<QSerialPort::Parity>(); m_currentSettings.stringParity = m_ui->parityBox->currentText(); - m_currentSettings.stopBits = static_cast<QSerialPort::StopBits>( - m_ui->stopBitsBox->itemData(m_ui->stopBitsBox->currentIndex()).toInt()); + const auto stopBitsData = m_ui->stopBitsBox->currentData(); + m_currentSettings.stopBits = stopBitsData.value<QSerialPort::StopBits>(); m_currentSettings.stringStopBits = m_ui->stopBitsBox->currentText(); - m_currentSettings.flowControl = static_cast<QSerialPort::FlowControl>( - m_ui->flowControlBox->itemData(m_ui->flowControlBox->currentIndex()).toInt()); + const auto flowControlData = m_ui->flowControlBox->currentData(); + m_currentSettings.flowControl = flowControlData.value<QSerialPort::FlowControl>(); m_currentSettings.stringFlowControl = m_ui->flowControlBox->currentText(); m_currentSettings.localEchoEnabled = m_ui->localEchoCheckBox->isChecked(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.0/QtSerialPort/private/qserialport_p.h new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.0/QtSerialPort/private/qserialport_p.h --- old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.0/QtSerialPort/private/qserialport_p.h 2022-09-23 05:12:05.000000000 +0200 +++ new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.0/QtSerialPort/private/qserialport_p.h 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -#include "../../../../../src/serialport/qserialport_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.0/QtSerialPort/private/qserialportinfo_p.h new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.0/QtSerialPort/private/qserialportinfo_p.h --- old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.0/QtSerialPort/private/qserialportinfo_p.h 2022-09-23 05:12:05.000000000 +0200 +++ new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.0/QtSerialPort/private/qserialportinfo_p.h 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -#include "../../../../../src/serialport/qserialportinfo_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.0/QtSerialPort/private/qtudev_p.h new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.0/QtSerialPort/private/qtudev_p.h --- old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.0/QtSerialPort/private/qtudev_p.h 2022-09-23 05:12:05.000000000 +0200 +++ new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.0/QtSerialPort/private/qtudev_p.h 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -#include "../../../../../src/serialport/qtudev_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.0/QtSerialPort/private/qwinoverlappedionotifier_p.h new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.0/QtSerialPort/private/qwinoverlappedionotifier_p.h --- old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.0/QtSerialPort/private/qwinoverlappedionotifier_p.h 2022-09-23 05:12:05.000000000 +0200 +++ new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.0/QtSerialPort/private/qwinoverlappedionotifier_p.h 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -#include "../../../../../src/serialport/qwinoverlappedionotifier_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.1/QtSerialPort/private/qserialport_p.h new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.1/QtSerialPort/private/qserialport_p.h --- old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.1/QtSerialPort/private/qserialport_p.h 1970-01-01 01:00:00.000000000 +0100 +++ new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.1/QtSerialPort/private/qserialport_p.h 2022-11-08 16:10:11.000000000 +0100 @@ -0,0 +1 @@ +#include "../../../../../src/serialport/qserialport_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.1/QtSerialPort/private/qserialportinfo_p.h new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.1/QtSerialPort/private/qserialportinfo_p.h --- old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.1/QtSerialPort/private/qserialportinfo_p.h 1970-01-01 01:00:00.000000000 +0100 +++ new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.1/QtSerialPort/private/qserialportinfo_p.h 2022-11-08 16:10:11.000000000 +0100 @@ -0,0 +1 @@ +#include "../../../../../src/serialport/qserialportinfo_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.1/QtSerialPort/private/qtudev_p.h new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.1/QtSerialPort/private/qtudev_p.h --- old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.1/QtSerialPort/private/qtudev_p.h 1970-01-01 01:00:00.000000000 +0100 +++ new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.1/QtSerialPort/private/qtudev_p.h 2022-11-08 16:10:11.000000000 +0100 @@ -0,0 +1 @@ +#include "../../../../../src/serialport/qtudev_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.1/QtSerialPort/private/qwinoverlappedionotifier_p.h new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.1/QtSerialPort/private/qwinoverlappedionotifier_p.h --- old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/6.4.1/QtSerialPort/private/qwinoverlappedionotifier_p.h 1970-01-01 01:00:00.000000000 +0100 +++ new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/6.4.1/QtSerialPort/private/qwinoverlappedionotifier_p.h 2022-11-08 16:10:11.000000000 +0100 @@ -0,0 +1 @@ +#include "../../../../../src/serialport/qwinoverlappedionotifier_p.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/qtserialportversion.h new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/qtserialportversion.h --- old/qtserialport-everywhere-src-6.4.0/include/QtSerialPort/qtserialportversion.h 2022-09-27 08:05:37.000000000 +0200 +++ new/qtserialport-everywhere-src-6.4.1/include/QtSerialPort/qtserialportversion.h 2022-11-10 12:06:02.000000000 +0100 @@ -2,8 +2,8 @@ #ifndef QT_QTSERIALPORT_VERSION_H #define QT_QTSERIALPORT_VERSION_H -#define QTSERIALPORT_VERSION_STR "6.4.0" +#define QTSERIALPORT_VERSION_STR "6.4.1" -#define QTSERIALPORT_VERSION 0x060400 +#define QTSERIALPORT_VERSION 0x060401 #endif // QT_QTSERIALPORT_VERSION_H