Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kiconthemes for openSUSE:Factory 
checked in at 2022-08-15 19:57:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kiconthemes (Old)
 and      /work/SRC/openSUSE:Factory/.kiconthemes.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kiconthemes"

Mon Aug 15 19:57:24 2022 rev:111 rq:994978 version:5.97.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kiconthemes/kiconthemes.changes  2022-07-11 
19:10:05.323668943 +0200
+++ /work/SRC/openSUSE:Factory/.kiconthemes.new.1521/kiconthemes.changes        
2022-08-15 19:59:24.341258443 +0200
@@ -1,0 +2,10 @@
+Sun Aug  7 22:27:27 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.97.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.97.0
+- Changes since 5.96.0:
+  * Do not use QIcon::setThemeName to set system theme
+
+-------------------------------------------------------------------

Old:
----
  kiconthemes-5.96.0.tar.xz
  kiconthemes-5.96.0.tar.xz.sig

New:
----
  kiconthemes-5.97.0.tar.xz
  kiconthemes-5.97.0.tar.xz.sig

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

Other differences:
------------------
++++++ kiconthemes.spec ++++++
--- /var/tmp/diff_new_pack.1dGv0c/_old  2022-08-15 19:59:24.737259547 +0200
+++ /var/tmp/diff_new_pack.1dGv0c/_new  2022-08-15 19:59:24.741259558 +0200
@@ -17,14 +17,14 @@
 
 
 %define lname   libKF5IconThemes5
-%define _tar_path 5.96
+%define _tar_path 5.97
 # 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 released
 Name:           kiconthemes
-Version:        5.96.0
+Version:        5.97.0
 Release:        0
 Summary:        Icon GUI utilities
 License:        LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -50,6 +50,7 @@
 BuildRequires:  cmake(Qt5Test) >= 5.15.0
 BuildRequires:  cmake(Qt5UiPlugin) >= 5.15.0
 BuildRequires:  cmake(Qt5Widgets) >= 5.15.0
+BuildRequires:  libqt5-qtbase-private-headers-devel
 
 %description
 This library contains classes to improve the handling of icons
@@ -58,11 +59,13 @@
 %package -n %{lname}
 Summary:        Icon GUI utilities
 Group:          System/GUI/KDE
+%requires_eq libQt5Core5
 %if %pkg_vcmp cmake(Qt5Core) >= 5.12.0
 # Used as fallback icon theme starting with Qt 5.12
 Recommends:     breeze5-icons
 %endif
 
+
 %description -n %{lname}
 This library contains classes to improve the handling of icons
 in applications using the KDE Frameworks.


++++++ kiconthemes-5.96.0.tar.xz -> kiconthemes-5.97.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.96.0/CMakeLists.txt 
new/kiconthemes-5.97.0/CMakeLists.txt
--- old/kiconthemes-5.96.0/CMakeLists.txt       2022-07-02 17:53:15.000000000 
+0200
+++ new/kiconthemes-5.97.0/CMakeLists.txt       2022-08-07 15:25:24.000000000 
+0200
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.96.0") # handled by release scripts
-set(KF_DEP_VERSION "5.96.0") # handled by release scripts
+set(KF_VERSION "5.97.0") # handled by release scripts
+set(KF_DEP_VERSION "5.97.0") # handled by release scripts
 project(KIconThemes VERSION ${KF_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.96.0  NO_MODULE)
+find_package(ECM 5.97.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/kiconthemes-5.96.0/po/de/kiconthemes5.po 
new/kiconthemes-5.97.0/po/de/kiconthemes5.po
--- old/kiconthemes-5.96.0/po/de/kiconthemes5.po        2022-07-02 
17:53:15.000000000 +0200
+++ new/kiconthemes-5.97.0/po/de/kiconthemes5.po        2022-08-07 
15:25:24.000000000 +0200
@@ -1,7 +1,7 @@
 # Thomas Diehl <t...@kde.org>, 2002, 2003, 2004, 2005.
 # Stephan Johach <hun...@gmx.de>, 2004, 2005, 2006, 2007.
 # Thomas Reitelbach <t...@erdfunkstelle.de>, 2005, 2006, 2007, 2008, 2009.
-# Frederik Schwarzer <schwar...@kde.org>, 2007, 2008, 2009, 2010, 2011, 2012, 
2013, 2016.
+# Frederik Schwarzer <schwar...@kde.org>, 2007, 2008, 2009, 2010, 2011, 2012, 
2013, 2016, 2022.
 # Burkhard L??ck <lu...@hube-lueck.de>, 2008, 2009, 2011, 2012, 2013, 2014, 
2018, 2021.
 # Rolf Eike Beer <k...@opensource.sf-tec.de>, 2009, 2010.
 # Johannes Obermayr <johannesoberm...@gmx.de>, 2010.
@@ -12,14 +12,15 @@
 "Project-Id-Version: kio4\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2021-11-30 00:41+0000\n"
-"PO-Revision-Date: 2021-07-16 06:09+0200\n"
-"Last-Translator: Burkhard L??ck <lu...@hube-lueck.de>\n"
+"PO-Revision-Date: 2022-07-14 00:39+0200\n"
+"Last-Translator: Frederik Schwarzer <schwar...@kde.org>\n"
 "Language-Team: German <kde-i18n...@kde.org>\n"
 "Language: de\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-Generator: Lokalize 22.07.70\n"
 
 #: kicondialog.cpp:312
 msgid "All"
@@ -70,7 +71,7 @@
 #: kicondialog.cpp:392
 #, kde-format
 msgid "Browse???"
-msgstr "Durchsuchen ???"
+msgstr "Durchsuchen ..."
 
 #: kicondialog.cpp:594
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.96.0/po/zh_CN/kiconthemes5.po 
new/kiconthemes-5.97.0/po/zh_CN/kiconthemes5.po
--- old/kiconthemes-5.96.0/po/zh_CN/kiconthemes5.po     2022-07-02 
17:53:15.000000000 +0200
+++ new/kiconthemes-5.97.0/po/zh_CN/kiconthemes5.po     2022-08-07 
15:25:24.000000000 +0200
@@ -1,23 +1,9 @@
-# translation of kio4.po to ????????????
-# Copyright (C) 2007 Free Software Foundation, Inc.
-#
-#
-# Wang Jian <l...@linux.ustc.edu.cn>, 1998.
-# Sarah Smith <sar...@redhat.com>, 2002.
-# Xiong Jiang <jxi...@offtopic.org>, 2002,2003.
-# Funda Wang <fundaw...@linux.net.cn>, 2002,2003,2004.
-# Liang Qi <cavendish...@gmail.com>, 2007.
-# Ni Hui <shuizhuyuan...@126.com>, 2009, 2010, 2011, 2012.
-# Feng Chao <rainofch...@gmail.com>, 2010, 2012, 2013.
-# Lie Ex <lilith...@gmail.com>, 2007-2010.
-# Weng Xuetian <wen...@gmail.com>, 2011, 2012.
-# Guo Yunhe <guoyunhebr...@gmail.com>, 2016.
 msgid ""
 msgstr ""
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2021-11-30 00:41+0000\n"
-"PO-Revision-Date: 2022-07-02 10:59\n"
+"PO-Revision-Date: 2022-07-30 15:54\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.96.0/src/CMakeLists.txt 
new/kiconthemes-5.97.0/src/CMakeLists.txt
--- old/kiconthemes-5.96.0/src/CMakeLists.txt   2022-07-02 17:53:15.000000000 
+0200
+++ new/kiconthemes-5.97.0/src/CMakeLists.txt   2022-08-07 15:25:24.000000000 
+0200
@@ -55,6 +55,7 @@
   PUBLIC
     Qt${QT_MAJOR_VERSION}::Widgets
   PRIVATE
+    Qt${QT_MAJOR_VERSION}::GuiPrivate
     Qt${QT_MAJOR_VERSION}::Svg
     KF5::Archive       # for KCompressionDevice
     KF5::I18n          # for i18n in KIconDialog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.96.0/src/kicondialog.cpp 
new/kiconthemes-5.97.0/src/kicondialog.cpp
--- old/kiconthemes-5.96.0/src/kicondialog.cpp  2022-07-02 17:53:15.000000000 
+0200
+++ new/kiconthemes-5.97.0/src/kicondialog.cpp  2022-08-07 15:25:24.000000000 
+0200
@@ -652,12 +652,12 @@
                              int iconSize,
                              bool user,
                              QWidget *parent,
-                             const QString &caption)
+                             const QString &title)
 {
     KIconDialog dlg(parent);
     dlg.setup(group, context, strictIconSize, iconSize, user);
-    if (!caption.isEmpty()) {
-        dlg.setWindowTitle(caption);
+    if (!title.isEmpty()) {
+        dlg.setWindowTitle(title);
     }
 
     return dlg.openDialog();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.96.0/src/kicondialog.h 
new/kiconthemes-5.97.0/src/kicondialog.h
--- old/kiconthemes-5.96.0/src/kicondialog.h    2022-07-02 17:53:15.000000000 
+0200
+++ new/kiconthemes-5.97.0/src/kicondialog.h    2022-08-07 15:25:24.000000000 
+0200
@@ -140,7 +140,7 @@
      *        if set to 0
      * @param user Begin with the "user icons" instead of "system icons".
      * @param parent The parent widget of the dialog.
-     * @param caption The caption to use for the dialog.
+     * @param title The title to use for the dialog.
      * @return The name of the icon, suitable for loading with KIconLoader.
      */
     static QString getIcon(KIconLoader::Group group = KIconLoader::Desktop,
@@ -149,7 +149,7 @@
                            int iconSize = 0,
                            bool user = false,
                            QWidget *parent = nullptr,
-                           const QString &caption = QString());
+                           const QString &title = QString());
 
 Q_SIGNALS:
     void newIconName(const QString &iconName);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.96.0/src/kiconloader.cpp 
new/kiconthemes-5.97.0/src/kiconloader.cpp
--- old/kiconthemes-5.96.0/src/kiconloader.cpp  2022-07-02 17:53:15.000000000 
+0200
+++ new/kiconthemes-5.97.0/src/kiconloader.cpp  2022-08-07 15:25:24.000000000 
+0200
@@ -51,6 +51,7 @@
 #include <QPixmap>
 #include <QPixmapCache>
 #include <QStringBuilder> // % operator for QString
+#include <QtGui/private/qiconloader_p.h>
 
 #include <qplatformdefs.h> //for readlink
 
@@ -531,10 +532,10 @@
     sharedConfig->reparseConfiguration();
     const QString newThemeName = 
sharedConfig->group("Icons").readEntry("Theme", QStringLiteral("breeze"));
     if (!newThemeName.isEmpty()) {
-        // If we're refreshing icons the Qt platform plugin has probably
-        // already cached the old theme, which will accidentally filter back
-        // into KIconTheme unless we reset it
-        QIcon::setThemeName(newThemeName);
+        // NOTE Do NOT use QIcon::setThemeName here it makes Qt not use icon 
engine of the platform theme
+        //      anymore (KIconEngine on Plasma, which breaks recoloring) and 
overwrites a user set themeName
+        // TODO KF6 this should be done in the Plasma QPT
+        QIconLoader::instance()->updateSystemTheme();
     }
 
     q->newIconLoader();

Reply via email to