Hello community,

here is the log from the commit of package kconfigwidgets for openSUSE:Factory 
checked in at 2019-03-21 09:44:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kconfigwidgets (Old)
 and      /work/SRC/openSUSE:Factory/.kconfigwidgets.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kconfigwidgets"

Thu Mar 21 09:44:00 2019 rev:65 rq:686725 version:5.56.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kconfigwidgets/kconfigwidgets.changes    
2019-02-28 21:28:10.601837321 +0100
+++ /work/SRC/openSUSE:Factory/.kconfigwidgets.new.28833/kconfigwidgets.changes 
2019-03-21 09:44:34.826921314 +0100
@@ -1,0 +2,13 @@
+Sun Mar 10 20:15:35 UTC 2019 - [email protected]
+
+- Update to 5.56.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.56.0.php
+- Changes since 5.55.0:
+  * Remove deprecated method
+  * Skip benchmark if no scheme files can be found
+  * Add a note for KF6 to use the core version of KF5::Auth
+  * Cache the default KColorScheme configuration
+
+-------------------------------------------------------------------

Old:
----
  kconfigwidgets-5.55.0.tar.xz

New:
----
  kconfigwidgets-5.56.0.tar.xz

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

Other differences:
------------------
++++++ kconfigwidgets.spec ++++++
--- /var/tmp/diff_new_pack.sTScA5/_old  2019-03-21 09:44:36.358920962 +0100
+++ /var/tmp/diff_new_pack.sTScA5/_new  2019-03-21 09:44:36.390920954 +0100
@@ -17,14 +17,14 @@
 
 
 %define lname   libKF5ConfigWidgets5
-%define _tar_path 5.55
+%define _tar_path 5.56
 # 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:           kconfigwidgets
-Version:        5.55.0
+Version:        5.56.0
 Release:        0
 Summary:        Widgets for configuration dialogs
 License:        LGPL-2.1-or-later

++++++ kconfigwidgets-5.55.0.tar.xz -> kconfigwidgets-5.56.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfigwidgets-5.55.0/CMakeLists.txt 
new/kconfigwidgets-5.56.0/CMakeLists.txt
--- old/kconfigwidgets-5.55.0/CMakeLists.txt    2019-02-03 00:54:41.000000000 
+0100
+++ new/kconfigwidgets-5.56.0/CMakeLists.txt    2019-03-02 14:36:06.000000000 
+0100
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.55.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.55.0") # handled by release scripts
+set(KF5_VERSION "5.56.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.56.0") # handled by release scripts
 project(KConfigWidgets VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.55.0  NO_MODULE)
+find_package(ECM 5.56.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)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfigwidgets-5.55.0/autotests/CMakeLists.txt 
new/kconfigwidgets-5.56.0/autotests/CMakeLists.txt
--- old/kconfigwidgets-5.55.0/autotests/CMakeLists.txt  2019-02-03 
00:54:41.000000000 +0100
+++ new/kconfigwidgets-5.56.0/autotests/CMakeLists.txt  2019-03-02 
14:36:06.000000000 +0100
@@ -36,5 +36,6 @@
 endforeach()
 
 ecm_add_test(klanguagenametest.cpp LINK_LIBRARIES Qt5::Test KF5::ConfigWidgets)
+ecm_add_test(kcolorschemetest.cpp LINK_LIBRARIES Qt5::Test KF5::ConfigWidgets)
 
 ecm_add_test(krecentfilesactiontest.cpp TEST_NAME "krecentfilesaction_test" 
LINK_LIBRARIES Qt5::Test KF5::ConfigWidgets)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfigwidgets-5.55.0/autotests/kcolorschemetest.cpp 
new/kconfigwidgets-5.56.0/autotests/kcolorschemetest.cpp
--- old/kconfigwidgets-5.55.0/autotests/kcolorschemetest.cpp    1970-01-01 
01:00:00.000000000 +0100
+++ new/kconfigwidgets-5.56.0/autotests/kcolorschemetest.cpp    2019-03-02 
14:36:06.000000000 +0100
@@ -0,0 +1,61 @@
+/*
+    Copyright (c) 2019 Milian Wolff <[email protected]>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) version 3, or any
+    later version accepted by the membership of KDE e.V. (or its
+    successor approved by the membership of KDE e.V.), which shall
+    act as a proxy defined in Section 6 of version 3 of the license.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library. If not, see 
<http://www.gnu.org/licenses/>.
+*/
+
+#include <QObject>
+#include <QtTest>
+
+#include "kcolorscheme.h"
+#include "kcolorschememanager.h"
+
+class KColorSchemeTest : public QObject
+{
+    Q_OBJECT
+
+private Q_SLOTS:
+    void benchConstruction_data()
+    {
+        KColorSchemeManager manager;
+        if (!manager.model()->rowCount()) {
+            QSKIP("no scheme files found, cannot run benchmark");
+        }
+
+        const auto anyScheme = manager.model()->index(0, 
0).data(Qt::UserRole).toString();
+        QVERIFY(QFile::exists(anyScheme));
+
+        QTest::addColumn<QString>("file");
+
+        QTest::newRow("default") << QString();
+        QTest::newRow("explicit") << anyScheme;
+    }
+
+    void benchConstruction()
+    {
+        QFETCH(QString, file);
+        qApp->setProperty("KDE_COLOR_SCHEME_PATH", file);
+
+        QBENCHMARK {
+            KColorScheme scheme(QPalette::Active);
+        }
+    }
+};
+
+QTEST_MAIN(KColorSchemeTest)
+
+#include "kcolorschemetest.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kconfigwidgets-5.55.0/autotests/kconfigdialog_unittest.cpp 
new/kconfigwidgets-5.56.0/autotests/kconfigdialog_unittest.cpp
--- old/kconfigwidgets-5.55.0/autotests/kconfigdialog_unittest.cpp      
2019-02-03 00:54:41.000000000 +0100
+++ new/kconfigwidgets-5.56.0/autotests/kconfigdialog_unittest.cpp      
2019-03-02 14:36:06.000000000 +0100
@@ -173,7 +173,7 @@
 private Q_SLOTS:
     void initTestCase()
     {
-        QStandardPaths::enableTestMode(true);
+        QStandardPaths::setTestModeEnabled(true);
         // Leftover configuration breaks combosTest
         const QString configFile = 
QStandardPaths::locate(QStandardPaths::GenericConfigLocation, CONFIG_FILE);
         if (!configFile.isEmpty()) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfigwidgets-5.55.0/po/da/kconfigwidgets5.po 
new/kconfigwidgets-5.56.0/po/da/kconfigwidgets5.po
--- old/kconfigwidgets-5.55.0/po/da/kconfigwidgets5.po  2019-02-03 
00:54:41.000000000 +0100
+++ new/kconfigwidgets-5.56.0/po/da/kconfigwidgets5.po  2019-03-02 
14:36:06.000000000 +0100
@@ -2,8 +2,6 @@
 # Copyright (C) YEAR This_file_is_part_of_KDE
 # This file is distributed under the same license as the PACKAGE package.
 #
-# Martin Schlander, 2008.
-# Martin Schlander <[email protected]>, 2008.
 # Martin Schlander <[email protected]>, 2008, 2009, 2010, 2011, 2012, 
2013, 2015, 2016, 2017.
 # Keld Simonsen <[email protected]>, 2010.
 msgid ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfigwidgets-5.55.0/po/id/kconfigwidgets5.po 
new/kconfigwidgets-5.56.0/po/id/kconfigwidgets5.po
--- old/kconfigwidgets-5.55.0/po/id/kconfigwidgets5.po  2019-02-03 
00:54:41.000000000 +0100
+++ new/kconfigwidgets-5.56.0/po/id/kconfigwidgets5.po  2019-03-02 
14:36:06.000000000 +0100
@@ -9,15 +9,15 @@
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2019-01-26 03:02+0100\n"
-"PO-Revision-Date: 2019-01-19 08:55+0700\n"
-"Last-Translator: Wantoyo <[email protected]>\n"
+"PO-Revision-Date: 2019-02-21 16:45+0700\n"
+"Last-Translator: wantoyo <[email protected]>\n"
 "Language-Team: Indonesian <[email protected]>\n"
 "Language: id\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Lokalize 18.12.0\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Lokalize 18.12.1\n"
 
 #, kde-format
 msgctxt "NAME OF TRANSLATORS"
@@ -55,7 +55,7 @@
 #, kde-format
 msgctxt "@title:window"
 msgid "Configure"
-msgstr "Konfigurasi"
+msgstr "Konfigurasikan"
 
 #: krecentfilesaction.cpp:78
 #, kde-format
@@ -520,22 +520,22 @@
 #: kstandardaction_p.h:101
 #, kde-format
 msgid "Configure S&hortcuts..."
-msgstr "Konfigurasi &Pintasan..."
+msgstr "Konfigurasikan &Pintasan..."
 
 #: kstandardaction_p.h:102
 #, kde-format
 msgid "&Configure %1..."
-msgstr "&Konfigurasi %1..."
+msgstr "&Konfigurasikan %1..."
 
 #: kstandardaction_p.h:103
 #, kde-format
 msgid "Configure Tool&bars..."
-msgstr "Konfigurasi &Bilah Alat..."
+msgstr "Konfigurasikan &Bilah Alat..."
 
 #: kstandardaction_p.h:104
 #, kde-format
 msgid "Configure &Notifications..."
-msgstr "Konfigurasi &Notifikasi..."
+msgstr "Konfigurasikan &Notifikasi..."
 
 #: kstandardaction_p.h:109
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfigwidgets-5.55.0/po/lt/kconfigwidgets5.po 
new/kconfigwidgets-5.56.0/po/lt/kconfigwidgets5.po
--- old/kconfigwidgets-5.55.0/po/lt/kconfigwidgets5.po  2019-02-03 
00:54:41.000000000 +0100
+++ new/kconfigwidgets-5.56.0/po/lt/kconfigwidgets5.po  2019-03-02 
14:36:06.000000000 +0100
@@ -7,13 +7,13 @@
 # Remigijus Jarmalavičius <[email protected]>, 2011.
 # Liudas Ališauskas <[email protected]>, 2011, 2012, 2013, 2014.
 # Liudas Alisauskas <[email protected]>, 2013, 2015.
-# Mindaugas Baranauskas <[email protected]>, 2016.
+# Mindaugas Baranauskas <[email protected]>, 2016, 2019.
 msgid ""
 msgstr ""
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2019-01-26 03:02+0100\n"
-"PO-Revision-Date: 2016-11-22 23:23+0200\n"
+"PO-Revision-Date: 2019-02-17 13:35+0200\n"
 "Last-Translator: Mindaugas Baranauskas <[email protected]>\n"
 "Language-Team: Lithuanian <[email protected]>\n"
 "Language: lt\n"
@@ -582,16 +582,14 @@
 msgstr "Apie &KDE"
 
 #: kstandardaction_p.h:116
-#, fuzzy, kde-format
-#| msgid "&Delete File"
+#, kde-format
 msgid "&Delete"
-msgstr "Paša&linti failą"
+msgstr "Paša&linti"
 
 #: kstandardaction_p.h:117
-#, fuzzy, kde-format
-#| msgid "&Replace..."
+#, kde-format
 msgid "&Rename..."
-msgstr "Pa&keisti..."
+msgstr "Pe&rvadinti..."
 
 #: kstandardaction_p.h:118
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfigwidgets-5.55.0/po/zh_CN/kconfigwidgets5.po 
new/kconfigwidgets-5.56.0/po/zh_CN/kconfigwidgets5.po
--- old/kconfigwidgets-5.55.0/po/zh_CN/kconfigwidgets5.po       2019-02-03 
00:54:41.000000000 +0100
+++ new/kconfigwidgets-5.56.0/po/zh_CN/kconfigwidgets5.po       2019-03-02 
14:36:06.000000000 +0100
@@ -16,7 +16,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2019-01-26 03:02+0100\n"
-"PO-Revision-Date: 2019-01-27 22:57\n"
+"PO-Revision-Date: 2019-02-20 23:15\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/kconfigwidgets-5.55.0/src/CMakeLists.txt 
new/kconfigwidgets-5.56.0/src/CMakeLists.txt
--- old/kconfigwidgets-5.55.0/src/CMakeLists.txt        2019-02-03 
00:54:41.000000000 +0100
+++ new/kconfigwidgets-5.56.0/src/CMakeLists.txt        2019-03-02 
14:36:06.000000000 +0100
@@ -37,7 +37,7 @@
     KF5::I18n # For action and widget texts
 )
 if (TARGET KF5::Auth)
-  target_link_libraries(KF5ConfigWidgets PUBLIC KF5::Auth) # KCModule uses 
KAuth::Action
+  target_link_libraries(KF5ConfigWidgets PUBLIC KF5::Auth) # KCModule uses 
KAuth::Action TODO KF6 Change to KF5::AuthCore
 else()
   target_compile_definitions(KF5ConfigWidgets PUBLIC -DKCONFIGWIDGETS_NO_KAUTH)
 endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfigwidgets-5.55.0/src/kcolorscheme.cpp 
new/kconfigwidgets-5.56.0/src/kcolorscheme.cpp
--- old/kconfigwidgets-5.55.0/src/kcolorscheme.cpp      2019-02-03 
00:54:41.000000000 +0100
+++ new/kconfigwidgets-5.56.0/src/kcolorscheme.cpp      2019-03-02 
14:36:06.000000000 +0100
@@ -252,9 +252,15 @@
 //END default colors
 
 KSharedConfigPtr defaultConfig() {
+    // cache the value we'll return, since usually it's going to be the same 
value
+    static thread_local KSharedConfigPtr config;
     // Read from the application's color scheme file (as set by 
KColorSchemeManager).
     // If unset, this is equivalent to openConfig() and the system scheme is 
used.
-    return 
KSharedConfig::openConfig(qApp->property("KDE_COLOR_SCHEME_PATH").toString());
+    const auto colorSchemePath = 
qApp->property("KDE_COLOR_SCHEME_PATH").toString();
+    if (!config || config->name() != colorSchemePath) {
+        config = KSharedConfig::openConfig(colorSchemePath);
+    }
+    return config;
 }
 
 //BEGIN KColorSchemePrivate
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfigwidgets-5.55.0/src/kconfigdialog.cpp 
new/kconfigwidgets-5.56.0/src/kconfigdialog.cpp
--- old/kconfigwidgets-5.55.0/src/kconfigdialog.cpp     2019-02-03 
00:54:41.000000000 +0100
+++ new/kconfigwidgets-5.56.0/src/kconfigdialog.cpp     2019-03-02 
14:36:06.000000000 +0100
@@ -178,8 +178,8 @@
 {
     QWidget *frame = new QWidget(q);
     QVBoxLayout *boxLayout = new QVBoxLayout(frame);
-    boxLayout->setMargin(0);
-    boxLayout->setMargin(0);
+    boxLayout->setContentsMargins(0, 0, 0, 0);
+    boxLayout->setContentsMargins(0, 0, 0, 0);
 
     QScrollArea *scroll = new QScrollArea(q);
     scroll->setFrameShape(QFrame::NoFrame);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfigwidgets-5.55.0/src/klanguagebutton.cpp 
new/kconfigwidgets-5.56.0/src/klanguagebutton.cpp
--- old/kconfigwidgets-5.55.0/src/klanguagebutton.cpp   2019-02-03 
00:54:41.000000000 +0100
+++ new/kconfigwidgets-5.56.0/src/klanguagebutton.cpp   2019-03-02 
14:36:06.000000000 +0100
@@ -100,7 +100,7 @@
       showCodes(false)
 {
     QHBoxLayout *layout = new QHBoxLayout(parent);
-    layout->setMargin(0);
+    layout->setContentsMargins(0, 0, 0, 0);
     layout->addWidget(button);
 
     parent->setFocusProxy(button);


Reply via email to