Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sonnet for openSUSE:Factory checked in at 2021-07-16 00:00:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sonnet (Old) and /work/SRC/openSUSE:Factory/.sonnet.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sonnet" Fri Jul 16 00:00:15 2021 rev:95 rq:905543 version:5.84.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sonnet/sonnet.changes 2021-06-16 20:36:07.471251606 +0200 +++ /work/SRC/openSUSE:Factory/.sonnet.new.2625/sonnet.changes 2021-07-16 00:02:11.204748979 +0200 @@ -1,0 +2,12 @@ +Sun Jul 4 07:46:00 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Update to 5.84.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.84.0 +- Changes since 5.83.0: + * Const'ify variable + * Const'ify + fix crash when we can't find dictionary +- Only install the license files once + +------------------------------------------------------------------- Old: ---- sonnet-5.83.0.tar.xz sonnet-5.83.0.tar.xz.sig New: ---- sonnet-5.84.0.tar.xz sonnet-5.84.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sonnet.spec ++++++ --- /var/tmp/diff_new_pack.iNYZNy/_old 2021-07-16 00:02:11.728747123 +0200 +++ /var/tmp/diff_new_pack.iNYZNy/_new 2021-07-16 00:02:11.732747108 +0200 @@ -17,14 +17,14 @@ %define sonum 5 -%define _tar_path 5.83 +%define _tar_path 5.84 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: sonnet -Version: 5.83.0 +Version: 5.84.0 Release: 0 Summary: KDE spell checking library License: LGPL-2.1-or-later @@ -136,7 +136,6 @@ %endif %files -%license LICENSES/* %doc README* %dir %{_kf5_plugindir}/kf5 %dir %{_kf5_plugindir}/kf5/sonnet @@ -149,11 +148,9 @@ %{_kf5_libdir}/libKF5SonnetCore.so.* %files -n libKF5SonnetUi%{sonum} -%license LICENSES/* %{_kf5_libdir}/libKF5SonnetUi.so.* %files devel -%license LICENSES/* %dir %{_kf5_plugindir}/designer %{_kf5_bindir}/gentrigrams %{_kf5_bindir}/parsetrigrams @@ -165,7 +162,6 @@ %{_kf5_plugindir}/designer/sonnetui5widgets.so %files voikko -%license LICENSES/* %{_kf5_plugindir}/kf5/sonnet/sonnet_voikko.so %changelog ++++++ sonnet-5.83.0.tar.xz -> sonnet-5.84.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.83.0/CMakeLists.txt new/sonnet-5.84.0/CMakeLists.txt --- old/sonnet-5.83.0/CMakeLists.txt 2021-06-05 11:27:54.000000000 +0200 +++ new/sonnet-5.84.0/CMakeLists.txt 2021-07-03 14:21:51.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.83.0") # handled by release scripts +set(KF_VERSION "5.84.0") # handled by release scripts project(Sonnet VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.83.0 NO_MODULE) +find_package(ECM 5.84.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.83.0/data/parsetrigrams.cpp new/sonnet-5.84.0/data/parsetrigrams.cpp --- old/sonnet-5.83.0/data/parsetrigrams.cpp 2021-06-05 11:27:54.000000000 +0200 +++ new/sonnet-5.84.0/data/parsetrigrams.cpp 2021-07-03 14:21:51.000000000 +0200 @@ -32,7 +32,8 @@ QHash<QString, QHash<QString, int>> models; const QRegularExpression rx(QStringLiteral("(?:.{3})\\s+(.*)")); - for (const QString &fname : td.entryList(QDir::Files)) { + const QStringList files = td.entryList(QDir::Files); + for (const QString &fname : files) { QFile fin(td.filePath(fname)); fin.open(QFile::ReadOnly | QFile::Text); QTextStream stream(&fin); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.83.0/po/ar/sonnet5_qt.po new/sonnet-5.84.0/po/ar/sonnet5_qt.po --- old/sonnet-5.83.0/po/ar/sonnet5_qt.po 2021-06-05 11:27:54.000000000 +0200 +++ new/sonnet-5.84.0/po/ar/sonnet5_qt.po 2021-07-03 14:21:51.000000000 +0200 @@ -13,7 +13,7 @@ # Khaled Hosny <[email protected]>, 2007. # Youssef Chahibi <[email protected]>, 2007. # zayed <[email protected]>, 2008, 2009. -# Zayed Al-Saidi <[email protected]>, 2009. +# Zayed Al-Saidi <[email protected]>, 2009, 2021. # hanny <[email protected]>, 2012. # Abderrahim Kitouni <[email protected]>, 2012. # Safa Alfulaij <[email protected]>, 2013. @@ -23,16 +23,16 @@ "Project-Id-Version: kdelibs4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-06-28 15:38+0300\n" -"PO-Revision-Date: 2014-07-07 19:22+0300\n" -"Last-Translator: Abdalrahim G. Fakhouri <[email protected]>\n" -"Language-Team: Arabic <Arabic <[email protected]>>\n" +"PO-Revision-Date: 2021-07-02 21:55+0400\n" +"Last-Translator: Zayed Al-Saidi <[email protected]>\n" +"Language-Team: ar\n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" -"X-Generator: Lokalize 1.5\n" +"X-Generator: Lokalize 19.12.3\n" "X-Qt-Contexts: true\n" #: core/loader.cpp:182 @@ -160,12 +160,9 @@ msgstr "?????????? ?????????????? ????????????????" #: ui/configui.ui:26 -#, fuzzy -#| msgctxt "SonnetConfigUI|" -#| msgid "Enable &background spellchecking" msgctxt "SonnetConfigUI|" msgid "No backend found for spell checking" -msgstr "???????? ?????????????? ???????????????? ???? ????&??????????" +msgstr "???? ???????? ?????? ?????????? ?????????????? ????????????????" #: ui/configui.ui:36 msgctxt "SonnetConfigUI|" @@ -175,7 +172,7 @@ #: ui/configui.ui:63 msgctxt "SonnetConfigUI|" msgid "Choose your preferred languages" -msgstr "" +msgstr "???????? ?????????? ??????????????" #: ui/configui.ui:71 msgctxt "SonnetConfigUI|" @@ -203,10 +200,9 @@ msgstr "?????????? ???? ?????????????? ?????????????? ????&??????????" #: ui/configui.ui:105 -#, fuzzy msgctxt "SonnetConfigUI|" msgid "S&kip run-together words" -msgstr "?????????? ?????????????? ???????? ???????? ????????" +msgstr "&?????????? ?????????????? ???????? ???????? ????????" #: ui/configui.ui:115 msgctxt "SonnetConfigUI|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.83.0/po/de/sonnet5_qt.po new/sonnet-5.84.0/po/de/sonnet5_qt.po --- old/sonnet-5.83.0/po/de/sonnet5_qt.po 2021-06-05 11:27:54.000000000 +0200 +++ new/sonnet-5.84.0/po/de/sonnet5_qt.po 2021-07-03 14:21:51.000000000 +0200 @@ -21,9 +21,8 @@ "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 2.0\n" -"X-Qt-Contexts: true\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Qt-Contexts: true\n" #: core/loader.cpp:182 msgctxt "Sonnet::Loader|dictionary variant" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.83.0/po/se/sonnet5_qt.po new/sonnet-5.84.0/po/se/sonnet5_qt.po --- old/sonnet-5.83.0/po/se/sonnet5_qt.po 2021-06-05 11:27:54.000000000 +0200 +++ new/sonnet-5.84.0/po/se/sonnet5_qt.po 2021-07-03 14:21:51.000000000 +0200 @@ -232,31 +232,31 @@ msgid "&Remove" msgstr "&V??ldde eret" -#: ui/dialog.cpp:85 ui/dialog.cpp:201 ui/dialog.cpp:412 +#: ui/dialog.cpp:85 ui/dialog.cpp:197 ui/dialog.cpp:408 #, fuzzy msgctxt "Sonnet::Dialog|@title:window" msgid "Check Spelling" msgstr "????llind??rkkisteapmi" -#: ui/dialog.cpp:200 +#: ui/dialog.cpp:196 #, fuzzy msgctxt "Sonnet::Dialog|progress label" msgid "Spell checking in progress..." msgstr "????llind??rkkisteapmi lea jo??us?????" -#: ui/dialog.cpp:224 +#: ui/dialog.cpp:220 #, fuzzy msgctxt "Sonnet::Dialog|" msgid "Spell check stopped." msgstr "????llind??rkkisteapmi bissehuvvui." -#: ui/dialog.cpp:234 +#: ui/dialog.cpp:230 #, fuzzy msgctxt "Sonnet::Dialog|" msgid "Spell check canceled." msgstr "????llind??rkkisteapmi gaskkalduhttui." -#: ui/dialog.cpp:409 ui/dialog.cpp:412 +#: ui/dialog.cpp:405 ui/dialog.cpp:408 #, fuzzy msgctxt "Sonnet::Dialog|" msgid "Spell check complete." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.83.0/po/zh_CN/sonnet5_qt.po new/sonnet-5.84.0/po/zh_CN/sonnet5_qt.po --- old/sonnet-5.83.0/po/zh_CN/sonnet5_qt.po 2021-06-05 11:27:54.000000000 +0200 +++ new/sonnet-5.84.0/po/zh_CN/sonnet5_qt.po 2021-07-03 14:21:51.000000000 +0200 @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: kdeorg\n" -"PO-Revision-Date: 2021-06-03 16:06\n" +"PO-Revision-Date: 2021-06-20 07:36\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.83.0/src/plugins/hunspell/hunspelldict.cpp new/sonnet-5.84.0/src/plugins/hunspell/hunspelldict.cpp --- old/sonnet-5.83.0/src/plugins/hunspell/hunspelldict.cpp 2021-06-05 11:27:54.000000000 +0200 +++ new/sonnet-5.84.0/src/plugins/hunspell/hunspelldict.cpp 2021-07-03 14:21:51.000000000 +0200 @@ -29,8 +29,8 @@ path += QLatin1Char('/'); } path += lang; - QString dictionary = path + QStringLiteral(".dic"); - QString aff = path + QStringLiteral(".aff"); + const QString dictionary = path + QStringLiteral(".dic"); + const QString aff = path + QStringLiteral(".aff"); if (QFileInfo::exists(dictionary) && QFileInfo::exists(aff)) { m_speller = new Hunspell(aff.toLocal8Bit().constData(), dictionary.toLocal8Bit().constData()); @@ -42,9 +42,10 @@ } } else { qCWarning(SONNET_HUNSPELL) << "Unable to find dictionary for" << lang << "in path" << path; + return; // OTherwise it will crash as m_speller is null } - QString userDic = QDir::home().filePath(QLatin1String(".hunspell_") % lang); + const QString userDic = QDir::home().filePath(QLatin1String(".hunspell_") % lang); QFile userDicFile(userDic); if (userDicFile.open(QIODevice::ReadOnly | QIODevice::Text)) { qCDebug(SONNET_HUNSPELL) << "Load a user dictionary" << userDic; @@ -138,7 +139,7 @@ return false; } m_speller->add(toDictEncoding(word).constData()); - QString userDic = QDir::home().filePath(QLatin1String(".hunspell_") % language()); + const QString userDic = QDir::home().filePath(QLatin1String(".hunspell_") % language()); QFile userDicFile(userDic); if (userDicFile.open(QIODevice::Append | QIODevice::Text)) { QTextStream out(&userDicFile);
