Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kiconthemes for openSUSE:Factory 
checked in at 2023-06-11 19:53:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kiconthemes (Old)
 and      /work/SRC/openSUSE:Factory/.kiconthemes.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kiconthemes"

Sun Jun 11 19:53:18 2023 rev:122 rq:1091924 version:5.107.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kiconthemes/kiconthemes.changes  2023-05-14 
16:32:52.975534076 +0200
+++ /work/SRC/openSUSE:Factory/.kiconthemes.new.15902/kiconthemes.changes       
2023-06-11 19:55:45.519332811 +0200
@@ -1,0 +2,10 @@
+Mon Jun  5 07:44:01 UTC 2023 - Christophe Marin <[email protected]>
+
+- Update to 5.107.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.107.0
+- Changes since 5.106.0:
+  * KIconTheme: allow to also fallback to Breeze-dark when set through QPA
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ kiconthemes.spec ++++++
--- /var/tmp/diff_new_pack.GKI8Xn/_old  2023-06-11 19:55:46.227337080 +0200
+++ /var/tmp/diff_new_pack.GKI8Xn/_new  2023-06-11 19:55:46.235337128 +0200
@@ -24,7 +24,7 @@
 %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_without released
 Name:           kiconthemes
-Version:        5.106.0
+Version:        5.107.0
 Release:        0
 Summary:        Icon GUI utilities
 License:        LGPL-2.1-or-later AND GPL-2.0-or-later


++++++ kiconthemes-5.106.0.tar.xz -> kiconthemes-5.107.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.106.0/CMakeLists.txt 
new/kiconthemes-5.107.0/CMakeLists.txt
--- old/kiconthemes-5.106.0/CMakeLists.txt      2023-05-06 11:25:33.000000000 
+0200
+++ new/kiconthemes-5.107.0/CMakeLists.txt      2023-06-03 11:46:29.000000000 
+0200
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.106.0") # handled by release scripts
-set(KF_DEP_VERSION "5.106.0") # handled by release scripts
+set(KF_VERSION "5.107.0") # handled by release scripts
+set(KF_DEP_VERSION "5.107.0") # handled by release scripts
 project(KIconThemes VERSION ${KF_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.106.0  NO_MODULE)
+find_package(ECM 5.107.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.106.0/po/ja/kiconthemes5.po 
new/kiconthemes-5.107.0/po/ja/kiconthemes5.po
--- old/kiconthemes-5.106.0/po/ja/kiconthemes5.po       2023-05-06 
11:25:33.000000000 +0200
+++ new/kiconthemes-5.107.0/po/ja/kiconthemes5.po       2023-06-03 
11:46:29.000000000 +0200
@@ -20,7 +20,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=1; plural=0;\n"
 "X-Accelerator-Marker: &\n"
 "X-Text-Markup: kde4\n"
 "X-Generator: Lokalize 19.04.1\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kiconthemes-5.106.0/po/zh_CN/kiconthemes5.po 
new/kiconthemes-5.107.0/po/zh_CN/kiconthemes5.po
--- old/kiconthemes-5.106.0/po/zh_CN/kiconthemes5.po    2023-05-06 
11:25:33.000000000 +0200
+++ new/kiconthemes-5.107.0/po/zh_CN/kiconthemes5.po    2023-06-03 
11:46:29.000000000 +0200
@@ -3,7 +3,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2023-02-09 00:57+0000\n"
-"PO-Revision-Date: 2023-04-29 08:34\n"
+"PO-Revision-Date: 2023-05-22 14:00\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.106.0/src/kicontheme.cpp 
new/kiconthemes-5.107.0/src/kicontheme.cpp
--- old/kiconthemes-5.106.0/src/kicontheme.cpp  2023-05-06 11:25:33.000000000 
+0200
+++ new/kiconthemes-5.107.0/src/kicontheme.cpp  2023-06-03 11:46:29.000000000 
+0200
@@ -26,6 +26,9 @@
 #include <QResource>
 #include <QSet>
 
+#include <private/qguiapplication_p.h>
+#include <qpa/qplatformtheme.h>
+
 #include <qplatformdefs.h>
 
 #include <array>
@@ -60,13 +63,24 @@
 }
 Q_COREAPP_STARTUP_FUNCTION(initRCCIconTheme)
 
-// Set the icon theme fallback to breeze
-// Most of our apps use "lots" of icons that most of the times
-// are only available with breeze, we still honour the user icon
-// theme but if the icon is not found there, we go to breeze
-// since it's almost sure it'll be there
+// Makes sure the icon theme fallback is set to breeze or one of its
+// variants. Most of our apps use "lots" of icons that most of the times
+// are only available with breeze, we still honour the user icon theme
+// but if the icon is not found there, we go to breeze since it's almost
+// sure it'll be there
 static void setBreezeFallback()
 {
+    if (const QPlatformTheme *theme = QGuiApplicationPrivate::platformTheme()) 
{
+        const QVariant themeHint = 
theme->themeHint(QPlatformTheme::SystemIconFallbackThemeName);
+        if (themeHint.isValid()) {
+            const QString iconTheme = themeHint.toString();
+            if (iconTheme.contains(QStringLiteral("breeze"), 
Qt::CaseInsensitive)) {
+                QIcon::setFallbackThemeName(iconTheme);
+                return;
+            }
+        }
+    }
+
     QIcon::setFallbackThemeName(QStringLiteral("breeze"));
 }
 

Reply via email to