Hello community,
here is the log from the commit of package sonnet for openSUSE:Factory checked in at 2019-04-19 21:25:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sonnet (Old)
and /work/SRC/openSUSE:Factory/.sonnet.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sonnet"
Fri Apr 19 21:25:33 2019 rev:67 rq:695268 version:5.57.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/sonnet/sonnet.changes 2019-03-21 09:50:07.230840448 +0100
+++ /work/SRC/openSUSE:Factory/.sonnet.new.5536/sonnet.changes 2019-04-19 21:25:34.827965641 +0200
@@ -1,0 +2,10 @@
+Sun Apr 14 20:21:45 UTC 2019 - lbeltrame@kde.org
+
+- Update to 5.57.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.57.0.php
+- Changes since 5.56.0:
+ * Sonnet compiles fine without foreach support
+
+-------------------------------------------------------------------
Old:
----
sonnet-5.56.0.tar.xz
New:
----
sonnet-5.57.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sonnet.spec ++++++
--- /var/tmp/diff_new_pack.f1IbBR/_old 2019-04-19 21:25:35.347966303 +0200
+++ /var/tmp/diff_new_pack.f1IbBR/_new 2019-04-19 21:25:35.351966308 +0200
@@ -17,14 +17,14 @@
%define sonum 5
-%define _tar_path 5.56
+%define _tar_path 5.57
# 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.56.0
+Version: 5.57.0
Release: 0
Summary: KDE spell checking library
License: LGPL-2.1-or-later
++++++ sonnet-5.56.0.tar.xz -> sonnet-5.57.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.56.0/CMakeLists.txt new/sonnet-5.57.0/CMakeLists.txt
--- old/sonnet-5.56.0/CMakeLists.txt 2019-03-02 14:52:29.000000000 +0100
+++ new/sonnet-5.57.0/CMakeLists.txt 2019-04-07 09:35:10.000000000 +0200
@@ -1,11 +1,11 @@
cmake_minimum_required(VERSION 3.5)
-set(KF5_VERSION "5.56.0") # handled by release scripts
+set(KF5_VERSION "5.57.0") # handled by release scripts
project(Sonnet VERSION ${KF5_VERSION})
include(FeatureSummary)
-find_package(ECM 5.56.0 NO_MODULE)
+find_package(ECM 5.57.0 NO_MODULE)
set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules")
feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)
@@ -44,7 +44,7 @@
if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
ecm_install_po_files_as_qm(po)
endif()
-
+add_definitions(-DQT_NO_FOREACH)
add_subdirectory(src)
if (BUILD_TESTING)
add_subdirectory(autotests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.56.0/po/en_GB/sonnet5_qt.po new/sonnet-5.57.0/po/en_GB/sonnet5_qt.po
--- old/sonnet-5.56.0/po/en_GB/sonnet5_qt.po 2019-03-02 14:52:29.000000000 +0100
+++ new/sonnet-5.57.0/po/en_GB/sonnet5_qt.po 2019-04-07 09:35:10.000000000 +0200
@@ -2,22 +2,22 @@
# Malcolm Hunter , 2002,2003,2004, 2005, 2006, 2007, 2008, 2009.
# Jonathan Riddell , 2003.
# Andrew Coles , 2004, 2005, 2009, 2010.
-# Steve Allewell , 2014, 2015.
+# Steve Allewell , 2014, 2015, 2019.
msgid ""
msgstr ""
"Project-Id-Version: kdelibs4\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2014-03-23 01:50+0000\n"
-"PO-Revision-Date: 2015-11-21 17:33+0000\n"
+"PO-Revision-Date: 2019-03-24 19:22+0000\n"
"Last-Translator: Steve Allewell \n"
-"Language-Team: British English \n"
+"Language-Team: British English \n"
"Language: en_GB\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Qt-Contexts: true\n"
-"X-Generator: Lokalize 1.5\n"
+"X-Generator: Lokalize 19.07.70\n"
#: core/loader.cpp:190
msgctxt "Sonnet::Loader|dictionary variant"
@@ -156,7 +156,7 @@
#: ui/configui.ui:63
msgctxt "SonnetConfigUI|"
msgid "Choose your preferred languages"
-msgstr ""
+msgstr "Choose your preferred languages"
#: ui/configui.ui:71
msgctxt "SonnetConfigUI|"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.56.0/po/id/sonnet5_qt.po new/sonnet-5.57.0/po/id/sonnet5_qt.po
--- old/sonnet-5.56.0/po/id/sonnet5_qt.po 2019-03-02 14:52:29.000000000 +0100
+++ new/sonnet-5.57.0/po/id/sonnet5_qt.po 2019-04-07 09:35:10.000000000 +0200
@@ -16,7 +16,7 @@
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 18.12.1\n"
"X-Qt-Contexts: true\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.56.0/po/te/sonnet5_qt.po new/sonnet-5.57.0/po/te/sonnet5_qt.po
--- old/sonnet-5.56.0/po/te/sonnet5_qt.po 2019-03-02 14:52:29.000000000 +0100
+++ new/sonnet-5.57.0/po/te/sonnet5_qt.po 2019-04-07 09:35:10.000000000 +0200
@@ -22,8 +22,7 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 1.5\n"
-"Plural-Forms: nplurals=5; plural=n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : "
-"4;\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"X-Qt-Contexts: true\n"
#: core/loader.cpp:190
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.56.0/po/zh_CN/sonnet5_qt.po new/sonnet-5.57.0/po/zh_CN/sonnet5_qt.po
--- old/sonnet-5.56.0/po/zh_CN/sonnet5_qt.po 2019-03-02 14:52:29.000000000 +0100
+++ new/sonnet-5.57.0/po/zh_CN/sonnet5_qt.po 2019-04-07 09:35:10.000000000 +0200
@@ -14,7 +14,7 @@
msgid ""
msgstr ""
"Project-Id-Version: kdeorg\n"
-"PO-Revision-Date: 2019-02-20 23:16\n"
+"PO-Revision-Date: 2019-03-07 09:22\n"
"Last-Translator: guoyunhe \n"
"Language-Team: Chinese Simplified\n"
"Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.56.0/src/core/speller.cpp new/sonnet-5.57.0/src/core/speller.cpp
--- old/sonnet-5.56.0/src/core/speller.cpp 2019-03-02 14:52:29.000000000 +0100
+++ new/sonnet-5.57.0/src/core/speller.cpp 2019-04-07 09:35:10.000000000 +0200
@@ -271,7 +271,7 @@
const QStringList lst = l->languages();
QMap langs;
- Q_FOREACH (const QString &tag, lst) {
+ for (const QString &tag : lst) {
langs.insert(l->languageNameForCode(tag), tag);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.56.0/src/ui/configwidget.cpp new/sonnet-5.57.0/src/ui/configwidget.cpp
--- old/sonnet-5.56.0/src/ui/configwidget.cpp 2019-03-02 14:52:29.000000000 +0100
+++ new/sonnet-5.57.0/src/ui/configwidget.cpp 2019-04-07 09:35:10.000000000 +0200
@@ -171,7 +171,7 @@
{
QStringList ignoreList = d->loader->settings()->currentIgnoreList();
const QList selectedItems = d->ui.ignoreListWidget->selectedItems();
- Q_FOREACH (const QListWidgetItem *item, selectedItems) {
+ for (const QListWidgetItem *item : selectedItems) {
ignoreList.removeAll(item->text());
}
d->loader->settings()->setCurrentIgnoreList(ignoreList);