Hello community,

here is the log from the commit of package kdesignerplugin for openSUSE:Factory 
checked in at 2019-04-19 21:21:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdesignerplugin (Old)
 and      /work/SRC/openSUSE:Factory/.kdesignerplugin.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdesignerplugin"

Fri Apr 19 21:21:54 2019 rev:66 rq:695214 version:5.57.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdesignerplugin/kdesignerplugin.changes  
2019-03-21 09:44:53.366917043 +0100
+++ 
/work/SRC/openSUSE:Factory/.kdesignerplugin.new.5536/kdesignerplugin.changes    
    2019-04-19 21:22:27.995727697 +0200
@@ -1,0 +2,11 @@
+Sun Apr 14 20:21:42 UTC 2019 - [email protected]
+
+- 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:
+  * It compiles fine without deprecated method
+  * Compile fine without foreach
+
+-------------------------------------------------------------------

Old:
----
  kdesignerplugin-5.56.0.tar.xz

New:
----
  kdesignerplugin-5.57.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdesignerplugin.spec ++++++
--- /var/tmp/diff_new_pack.W2ayeQ/_old  2019-04-19 21:22:28.523728369 +0200
+++ /var/tmp/diff_new_pack.W2ayeQ/_new  2019-04-19 21:22:28.527728374 +0200
@@ -16,14 +16,14 @@
 #
 
 
-%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:           kdesignerplugin
-Version:        5.56.0
+Version:        5.57.0
 Release:        0
 Summary:        Framework for integration of KDE frameworks widgets with Qt 
Designer
 License:        LGPL-2.1-or-later

++++++ kdesignerplugin-5.56.0.tar.xz -> kdesignerplugin-5.57.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdesignerplugin-5.56.0/.gitignore 
new/kdesignerplugin-5.57.0/.gitignore
--- old/kdesignerplugin-5.56.0/.gitignore       1970-01-01 01:00:00.000000000 
+0100
+++ new/kdesignerplugin-5.57.0/.gitignore       2019-04-07 09:27:02.000000000 
+0200
@@ -0,0 +1,21 @@
+# Ignore the following files
+*~
+*.[oa]
+*.diff
+*.kate-swp
+*.kdev4
+.kdev_include_paths
+*.kdevelop.pcs
+*.moc
+*.moc.cpp
+*.orig
+*.user
+.*.swp
+.swp.*
+Doxyfile
+Makefile
+avail
+random_seed
+/build*/
+CMakeLists.txt.user*
+*.unc-backup*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdesignerplugin-5.56.0/CMakeLists.txt 
new/kdesignerplugin-5.57.0/CMakeLists.txt
--- old/kdesignerplugin-5.56.0/CMakeLists.txt   2019-03-02 14:38:15.000000000 
+0100
+++ new/kdesignerplugin-5.57.0/CMakeLists.txt   2019-04-07 09:27:02.000000000 
+0200
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.56.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.56.0") # handled by release scripts
+set(KF5_VERSION "5.57.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.57.0") # handled by release scripts
 project(KDesignerPlugin 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)
 
@@ -86,7 +86,7 @@
 endif()
 
 set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5DesignerPlugin")
-
+add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
 if (KF5DocTools_FOUND)
     add_subdirectory(docs)
 endif()
@@ -96,7 +96,7 @@
         kdoctools_install(po)
     endif()
 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/kdesignerplugin-5.56.0/po/id/kdesignerplugin5_qt.po 
new/kdesignerplugin-5.57.0/po/id/kdesignerplugin5_qt.po
--- old/kdesignerplugin-5.56.0/po/id/kdesignerplugin5_qt.po     2019-03-02 
14:38:15.000000000 +0100
+++ new/kdesignerplugin-5.57.0/po/id/kdesignerplugin5_qt.po     2019-04-07 
09:27:02.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.0\n"
 "X-Qt-Contexts: true\n"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdesignerplugin-5.56.0/po/te/kdesignerplugin5_qt.po 
new/kdesignerplugin-5.57.0/po/te/kdesignerplugin5_qt.po
--- old/kdesignerplugin-5.56.0/po/te/kdesignerplugin5_qt.po     2019-03-02 
14:38:15.000000000 +0100
+++ new/kdesignerplugin-5.57.0/po/te/kdesignerplugin5_qt.po     2019-04-07 
09:27:02.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"
 
 #: kgendesignerplugin.cpp:88
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kdesignerplugin-5.56.0/po/zh_CN/kdesignerplugin5_qt.po 
new/kdesignerplugin-5.57.0/po/zh_CN/kdesignerplugin5_qt.po
--- old/kdesignerplugin-5.56.0/po/zh_CN/kdesignerplugin5_qt.po  2019-03-02 
14:38:15.000000000 +0100
+++ new/kdesignerplugin-5.57.0/po/zh_CN/kdesignerplugin5_qt.po  2019-04-07 
09:27:02.000000000 +0200
@@ -13,7 +13,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 <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdesignerplugin-5.56.0/src/kgendesignerplugin.cpp 
new/kdesignerplugin-5.57.0/src/kgendesignerplugin.cpp
--- old/kdesignerplugin-5.56.0/src/kgendesignerplugin.cpp       2019-03-02 
14:38:15.000000000 +0100
+++ new/kdesignerplugin-5.57.0/src/kgendesignerplugin.cpp       2019-04-07 
09:27:02.000000000 +0200
@@ -151,18 +151,18 @@
     QStringList classes = input.groupList();
     classes.removeAll(QStringLiteral("Global"));
 
-    foreach (const QString &myInclude, classes) {
+    for (const QString &myInclude : qAsConst(classes)) {
         includes += buildWidgetInclude(myInclude, input);
     }
 
-    foreach (const QString &myInclude, includes) {
+    for (const QString &myInclude : qAsConst(includes)) {
         ts << "#include <" << myInclude << ">" << endl;
     }
 
     ts << QLatin1String("\n\n");
 
     // Autogenerate widget defs here
-    foreach (const QString &myClass, classes) {
+    for (const QString &myClass : qAsConst(classes)) {
         ts << buildWidgetClass(myClass, input, defaultGroup) << endl;
     }
 
@@ -186,7 +186,7 @@
     defMap.insert(QStringLiteral("CollName"), collName);
     QString genCode;
 
-    foreach (const QString &myClass, classes) {
+    for (const QString &myClass : classes) {
         genCode += QStringLiteral("                m_plugins.append( new 
%1(this) );\n").arg(denamespace(myClass) + QStringLiteral("Plugin"));
     }
 


Reply via email to