Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-speech for openSUSE:Factory checked in at 2024-04-08 17:37:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-speech (Old) and /work/SRC/openSUSE:Factory/.qt6-speech.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt6-speech" Mon Apr 8 17:37:58 2024 rev:14 rq:1165805 version:6.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-speech/qt6-speech.changes 2024-03-28 14:08:59.533751817 +0100 +++ /work/SRC/openSUSE:Factory/.qt6-speech.new.1905/qt6-speech.changes 2024-04-08 17:43:30.810281594 +0200 @@ -1,0 +2,6 @@ +Tue Apr 2 13:39:59 UTC 2024 - Christophe Marin <[email protected]> + +- Update to 6.7.0: + * https://www.qt.io/blog/qt-6.7-released + +------------------------------------------------------------------- Old: ---- qtspeech-everywhere-src-6.6.3.tar.xz New: ---- qtspeech-everywhere-src-6.7.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-speech.spec ++++++ --- /var/tmp/diff_new_pack.oekBh6/_old 2024-04-08 17:43:31.910322227 +0200 +++ /var/tmp/diff_new_pack.oekBh6/_new 2024-04-08 17:43:31.910322227 +0200 @@ -16,8 +16,8 @@ # -%define real_version 6.6.3 -%define short_version 6.6 +%define real_version 6.7.0 +%define short_version 6.7 %define tar_name qtspeech-everywhere-src %define tar_suffix %{nil} # @@ -27,7 +27,7 @@ %endif # Name: qt6-speech%{?pkg_suffix} -Version: 6.6.3 +Version: 6.7.0 Release: 0 Summary: Qt 6 TextToSpeech Library and Plugin License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) ++++++ qtspeech-everywhere-src-6.6.3.tar.xz -> qtspeech-everywhere-src-6.7.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/.cmake.conf new/qtspeech-everywhere-src-6.7.0/.cmake.conf --- old/qtspeech-everywhere-src-6.6.3/.cmake.conf 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/.cmake.conf 2024-03-25 13:37:55.000000000 +0100 @@ -1,2 +1,4 @@ -set(QT_REPO_MODULE_VERSION "6.6.3") +set(QT_REPO_MODULE_VERSION "6.7.0") set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1") +list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1") +list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_CONTEXTLESS_CONNECT=1") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/.tag new/qtspeech-everywhere-src-6.7.0/.tag --- old/qtspeech-everywhere-src-6.6.3/.tag 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/.tag 2024-03-25 13:37:55.000000000 +0100 @@ -1 +1 @@ -38451e6998bbeeb753f8a951e11bfbae32d20aa2 +d019c418c1ef0e8bcc20c94e9301ddeaf8affd39 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/coin/axivion/ci_config_linux.json new/qtspeech-everywhere-src-6.7.0/coin/axivion/ci_config_linux.json --- old/qtspeech-everywhere-src-6.6.3/coin/axivion/ci_config_linux.json 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/coin/axivion/ci_config_linux.json 2024-03-25 13:37:55.000000000 +0100 @@ -1,9 +1,5 @@ { "Project": { - "Git": { - "_active": true, - "sourceserver_gitdir": "/data/axivion/databases/$(env:TESTED_MODULE_COIN).git" - }, "BuildSystemIntegration": { "child_order": [ "GCCSetup", @@ -35,29 +31,14 @@ "plugin_files": [ "build/plugins/*/lib*.so*.ir" ] - }, - "Project-GlobalOptions": { - "directory": "../work/qt/$(env:TESTED_MODULE_COIN)", - "ir": "build/$(env:TESTED_MODULE_COIN).ir", - "name": "qt_$(env:TESTED_MODULE_COIN)_dev_$(env:TARGET_OS_COIN)" - } - }, - "Results": { - "Dashboard": { - "dashboard_url": "https://axivion-srv.ci.qt.io/axivion/" - }, - "Database": { - "ci_mode": { - "directory": "/data/axivion/databases" - } } }, "_Format": "1.0", - "_Version": "trunk-9e0ef9c5818", + "_Version": "7.6.2", "_VersionNum": [ 7, 6, - 9999, - 11489 + 2, + 12725 ] } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/dependencies.yaml new/qtspeech-everywhere-src-6.7.0/dependencies.yaml --- old/qtspeech-everywhere-src-6.6.3/dependencies.yaml 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/dependencies.yaml 2024-03-25 13:37:55.000000000 +0100 @@ -1,10 +1,10 @@ dependencies: ../qtbase: - ref: afdec885058c92e24604f398a926297222da06f3 + ref: 98602c26fc97eb41e3dd7548194ca637420a31b9 required: true ../qtdeclarative: - ref: ab5521fd1a637739c7e91def84caa84426055aff + ref: e6d14fcdc95713f65367499629f93fb1f1e35ec9 required: false ../qtmultimedia: - ref: 42c108aba3bd007e0cfe349851575d3a333106a7 + ref: 5d2bdf00927771b74c407f7ffa958eb37b1f5e89 required: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/src/plugins/tts/android/src/qtexttospeech_android.cpp new/qtspeech-everywhere-src-6.7.0/src/plugins/tts/android/src/qtexttospeech_android.cpp --- old/qtspeech-everywhere-src-6.6.3/src/plugins/tts/android/src/qtexttospeech_android.cpp 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/src/plugins/tts/android/src/qtexttospeech_android.cpp 2024-03-25 13:37:55.000000000 +0100 @@ -12,7 +12,7 @@ typedef QMap<jlong, QTextToSpeechEngineAndroid *> TextToSpeechMap; Q_GLOBAL_STATIC(TextToSpeechMap, textToSpeechMap) -Q_DECLARE_JNI_TYPE(Locale, "Ljava/util/Locale;") +Q_DECLARE_JNI_CLASS(Locale, "java/util/Locale") static void notifyError(JNIEnv *env, jobject thiz, jlong id, jlong reason) { @@ -440,8 +440,8 @@ { auto locale = m_speech.callMethod<QtJniTypes::Locale>("getLocale"); if (locale.isValid()) { - auto localeLanguage = locale.callObjectMethod<jstring>("getLanguage").toString(); - auto localeCountry = locale.callObjectMethod<jstring>("getCountry").toString(); + auto localeLanguage = locale.callMethod<jstring>("getLanguage").toString(); + auto localeCountry = locale.callMethod<jstring>("getCountry").toString(); if (!localeCountry.isEmpty()) localeLanguage += QString("_%1").arg(localeCountry).toUpper(); return QLocale(localeLanguage); @@ -451,7 +451,7 @@ QVoice QTextToSpeechEngineAndroid::javaVoiceObjectToQVoice(QJniObject &obj) const { - auto voiceName = obj.callObjectMethod<jstring>("getName").toString(); + auto voiceName = obj.callMethod<jstring>("getName").toString(); QVoice::Gender gender; if (voiceName.contains(QStringLiteral("#male"))) { gender = QVoice::Male; @@ -463,8 +463,8 @@ QJniObject locale = obj.callMethod<QtJniTypes::Locale>("getLocale"); QLocale qlocale; if (locale.isValid()) { - auto localeLanguage = locale.callObjectMethod<jstring>("getLanguage").toString(); - auto localeCountry = locale.callObjectMethod<jstring>("getCountry").toString(); + auto localeLanguage = locale.callMethod<jstring>("getLanguage").toString(); + auto localeCountry = locale.callMethod<jstring>("getCountry").toString(); if (!localeCountry.isEmpty()) localeLanguage += QString("_%1").arg(localeCountry).toUpper(); qlocale = QLocale(localeLanguage); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/src/plugins/tts/android/src/qtexttospeech_android.h new/qtspeech-everywhere-src-6.7.0/src/plugins/tts/android/src/qtexttospeech_android.h --- old/qtspeech-everywhere-src-6.6.3/src/plugins/tts/android/src/qtexttospeech_android.h 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/src/plugins/tts/android/src/qtexttospeech_android.h 2024-03-25 13:37:55.000000000 +0100 @@ -11,6 +11,7 @@ #include <QtCore/QLocale> #include <QtCore/QString> #include <QtCore/qjniobject.h> +#include <QtCore/qjnitypes.h> QT_BEGIN_NAMESPACE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/src/plugins/tts/flite/qtexttospeech_flite.cpp new/qtspeech-everywhere-src-6.7.0/src/plugins/tts/flite/qtexttospeech_flite.cpp --- old/qtspeech-everywhere-src-6.6.3/src/plugins/tts/flite/qtexttospeech_flite.cpp 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/src/plugins/tts/flite/qtexttospeech_flite.cpp 2024-03-25 13:37:55.000000000 +0100 @@ -12,8 +12,6 @@ QTextToSpeechEngineFlite::QTextToSpeechEngineFlite(const QVariantMap ¶meters, QObject *parent) : QTextToSpeechEngine(parent) { - Q_UNUSED(parameters); - QAudioDevice audioDevice; if (const auto it = parameters.find("audioDevice"_L1); it != parameters.end()) audioDevice = (*it).value<QAudioDevice>(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/src/plugins/tts/flite/qtexttospeech_flite_processor.cpp new/qtspeech-everywhere-src-6.7.0/src/plugins/tts/flite/qtexttospeech_flite_processor.cpp --- old/qtspeech-everywhere-src-6.6.3/src/plugins/tts/flite/qtexttospeech_flite_processor.cpp 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/src/plugins/tts/flite/qtexttospeech_flite_processor.cpp 2024-03-25 13:37:55.000000000 +0100 @@ -278,7 +278,7 @@ ldPaths.removeDuplicates(); } - const QString libPattern = ("lib"_L1 + libPrefix).arg(langCode).arg("*"_L1); + const QString libPattern = QString("lib"_L1 + libPrefix).arg(langCode).arg("*"_L1); for (const auto &path : ldPaths) { QDir dir(path); if (!dir.isReadable() || dir.isEmpty()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/src/plugins/tts/mock/qtexttospeech_mock.cpp new/qtspeech-everywhere-src-6.7.0/src/plugins/tts/mock/qtexttospeech_mock.cpp --- old/qtspeech-everywhere-src-6.6.3/src/plugins/tts/mock/qtexttospeech_mock.cpp 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/src/plugins/tts/mock/qtexttospeech_mock.cpp 2024-03-25 13:37:55.000000000 +0100 @@ -71,9 +71,10 @@ } } else { const QString voiceData = m_locale.bcp47Name(); - const auto newVoice = [=](const QString &name, QVoice::Gender gender, + const auto newVoice = [this, &voiceData](const QString &name, QVoice::Gender gender, QVoice::Age age, const char *suffix) { - return createVoice(name, m_locale, gender, age, voiceData + suffix); + return createVoice(name, m_locale, gender, age, + QVariant::fromValue<QString>(voiceData + suffix)); }; switch (m_locale.language()) { case QLocale::English: { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/src/tts/CMakeLists.txt new/qtspeech-everywhere-src-6.7.0/src/tts/CMakeLists.txt --- old/qtspeech-everywhere-src-6.6.3/src/tts/CMakeLists.txt 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/src/tts/CMakeLists.txt 2024-03-25 13:37:55.000000000 +0100 @@ -11,6 +11,7 @@ qvoice.cpp qvoice.h qvoice_p.h DEFINES QTEXTTOSPEECH_LIBRARY + QT_NO_CONTEXTLESS_CONNECT LIBRARIES Qt::CorePrivate PUBLIC_LIBRARIES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/src/tts/doc/qttexttospeech.qdocconf new/qtspeech-everywhere-src-6.7.0/src/tts/doc/qttexttospeech.qdocconf --- old/qtspeech-everywhere-src-6.6.3/src/tts/doc/qttexttospeech.qdocconf 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/src/tts/doc/qttexttospeech.qdocconf 2024-03-25 13:37:55.000000000 +0100 @@ -21,9 +21,6 @@ ignoresince = 6.4 examplesinstallpath = speech -# Fail the documentation build when warnings get introduced -warninglimit = 0 - # Defines the name of the project. You cannot use operators (+, =, -) in # the name. Properties for this project are set using a qhp.<projectname>.property # format. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/sync.profile new/qtspeech-everywhere-src-6.7.0/sync.profile --- old/qtspeech-everywhere-src-6.6.3/sync.profile 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/sync.profile 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -%modules = ( # path to module name map - "QtTextToSpeech" => "$basedir/src/tts" -); -%moduleheaders = ( # restrict the module headers to those found in relative path -); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtspeech-everywhere-src-6.6.3/tests/auto/qtexttospeech/tst_qtexttospeech.cpp new/qtspeech-everywhere-src-6.7.0/tests/auto/qtexttospeech/tst_qtexttospeech.cpp --- old/qtspeech-everywhere-src-6.6.3/tests/auto/qtexttospeech/tst_qtexttospeech.cpp 2024-03-19 08:02:19.000000000 +0100 +++ new/qtspeech-everywhere-src-6.7.0/tests/auto/qtexttospeech/tst_qtexttospeech.cpp 2024-03-25 13:37:55.000000000 +0100 @@ -726,7 +726,7 @@ int atIndex = -1; bool paused = false; - connect(&tts, &QTextToSpeech::aboutToSynthesize, [&]{ + connect(&tts, &QTextToSpeech::aboutToSynthesize, this, [&]{ ++atIndex; if (atIndex == 1 && !paused) { tts.pause(QTextToSpeech::BoundaryHint::Utterance); @@ -735,7 +735,7 @@ } }); QStringList wordsSpoken; - connect(&tts, &QTextToSpeech::sayingWord, + connect(&tts, &QTextToSpeech::sayingWord, this, [&](const QString &word, qsizetype id, qsizetype at, qsizetype length){ const QString text = textList.at(atIndex).mid(at, length); QCOMPARE(id, atIndex); @@ -793,7 +793,7 @@ QElapsedTimer timer; QStringList words; QList<qint64> times; - connect(&tts, &QTextToSpeech::sayingWord, + connect(&tts, &QTextToSpeech::sayingWord, this, [&words, ×, &timer, text](const QString &word, qsizetype id, qsizetype start, qsizetype length) { const QString &slice = text.sliced(start, length); QCOMPARE(word, slice); @@ -856,7 +856,7 @@ selectWorkingVoice(&tts); QStringList spokenWords; - connect(&tts, &QTextToSpeech::sayingWord, + connect(&tts, &QTextToSpeech::sayingWord, this, [&](const QString &word, qsizetype id, qsizetype start, qsizetype length) { QCOMPARE(word, text.sliced(start, length)); QCOMPARE(id, 0); @@ -920,7 +920,8 @@ bool running = false; bool finished = false; qint64 speechTime = 0; - connect(&tts, &QTextToSpeech::stateChanged, [&running, &finished, &speechTimer, &speechTime](QTextToSpeech::State state) { + connect(&tts, &QTextToSpeech::stateChanged, this, + [&running, &finished, &speechTimer, &speechTime](QTextToSpeech::State state) { if (state == QTextToSpeech::Synthesizing || state == QTextToSpeech::Speaking) { speechTimer.start(); running = true;
