Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package kde-gtk-config5 for openSUSE:Factory
checked in at 2023-05-11 12:32:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kde-gtk-config5 (Old)
and /work/SRC/openSUSE:Factory/.kde-gtk-config5.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kde-gtk-config5"
Thu May 11 12:32:10 2023 rev:151 rq:1085880 version:5.27.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/kde-gtk-config5/kde-gtk-config5.changes
2023-04-05 21:34:06.126036644 +0200
+++
/work/SRC/openSUSE:Factory/.kde-gtk-config5.new.1533/kde-gtk-config5.changes
2023-05-11 12:32:19.722361748 +0200
@@ -1,0 +2,11 @@
+Tue May 9 13:44:07 UTC 2023 - Fabian Vogt <[email protected]>
+
+- Update to 5.27.5
+ * New bugfix release
+ * For more details please see:
+ * https://kde.org/announcements/plasma/5/5.27.5
+- Changes since 5.27.4:
+ * kded: add explicit waiting time before setting colors
+ * kded: don't update text scale on kdeglobals change events
+
+-------------------------------------------------------------------
Old:
----
kde-gtk-config-5.27.4.tar.xz
kde-gtk-config-5.27.4.tar.xz.sig
New:
----
kde-gtk-config-5.27.5.tar.xz
kde-gtk-config-5.27.5.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kde-gtk-config5.spec ++++++
--- /var/tmp/diff_new_pack.a8jD0Y/_old 2023-05-11 12:32:20.322364697 +0200
+++ /var/tmp/diff_new_pack.a8jD0Y/_new 2023-05-11 12:32:20.326364717 +0200
@@ -18,7 +18,7 @@
%bcond_without released
Name: kde-gtk-config5
-Version: 5.27.4
+Version: 5.27.5
Release: 0
Summary: Daemon for GTK2 and GTK3 Applications Appearance Under KDE
License: GPL-3.0-or-later AND LGPL-3.0-or-later
++++++ kde-gtk-config-5.27.4.tar.xz -> kde-gtk-config-5.27.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kde-gtk-config-5.27.4/CMakeLists.txt
new/kde-gtk-config-5.27.5/CMakeLists.txt
--- old/kde-gtk-config-5.27.4/CMakeLists.txt 2023-04-04 12:36:40.000000000
+0200
+++ new/kde-gtk-config-5.27.5/CMakeLists.txt 2023-05-09 13:36:30.000000000
+0200
@@ -1,5 +1,5 @@
project(kde-gtk-config)
-set(PROJECT_VERSION "5.27.4")
+set(PROJECT_VERSION "5.27.5")
cmake_minimum_required(VERSION 3.16)
set(QT_MIN_VERSION "5.15.2")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/kde-gtk-config-5.27.4/kded/config_editor/custom_css.cpp
new/kde-gtk-config-5.27.5/kded/config_editor/custom_css.cpp
--- old/kde-gtk-config-5.27.4/kded/config_editor/custom_css.cpp 2023-04-04
12:36:40.000000000 +0200
+++ new/kde-gtk-config-5.27.5/kded/config_editor/custom_css.cpp 2023-05-09
13:36:30.000000000 +0200
@@ -50,21 +50,6 @@
}
}
-void addGtkModule(const QString &moduleName)
-{
- const QString currentModulesString =
SettingsIniEditor::value(QStringLiteral("gtk-modules"));
-
- if (currentModulesString.contains(moduleName)) {
- return;
- }
-
- if (currentModulesString.isEmpty()) { // No modules
- SettingsIniEditor::setValue(QStringLiteral("gtk-modules"), moduleName);
- } else {
- SettingsIniEditor::setValue(QStringLiteral("gtk-modules"),
QStringLiteral("%1:%2").arg(currentModulesString, moduleName));
- }
-}
-
void addImportStatementsToGtkCssUserFile()
{
for (auto gtkVersion : Utils::s_gtkVersions) {
@@ -116,11 +101,26 @@
}
}
+void addGtkModule(const QString &moduleName)
+{
+ const QString currentModulesString =
SettingsIniEditor::value(QStringLiteral("gtk-modules"));
+
+ if (currentModulesString.contains(moduleName)) {
+ return;
+ }
+
+ if (currentModulesString.isEmpty()) { // No modules
+ SettingsIniEditor::setValue(QStringLiteral("gtk-modules"), moduleName);
+ } else {
+ SettingsIniEditor::setValue(QStringLiteral("gtk-modules"),
QStringLiteral("%1:%2").arg(currentModulesString, moduleName));
+ }
+}
+
void setColors(const QMap<QString, QColor> &colorsDefinitions)
{
addImportStatementsToGtkCssUserFile();
modifyColorsCssFile(colorsDefinitions);
- addGtkModule(QStringLiteral("colorreload-gtk-module"));
+ // addGtkModule is called in GtkConfig::setColors
}
void setCustomClientSideDecorations(const QStringList
&windowDecorationsButtonsImages)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/kde-gtk-config-5.27.4/kded/config_editor/custom_css.h
new/kde-gtk-config-5.27.5/kded/config_editor/custom_css.h
--- old/kde-gtk-config-5.27.4/kded/config_editor/custom_css.h 2023-04-04
12:36:40.000000000 +0200
+++ new/kde-gtk-config-5.27.5/kded/config_editor/custom_css.h 2023-05-09
13:36:30.000000000 +0200
@@ -9,7 +9,15 @@
namespace CustomCssEditor
{
+void addGtkModule(const QString &moduleName);
+
+/**
+ * @note Make sure "colorreload-gtk-module" is added to the module list before
calling this function
+ * @param colorsDefinitions a list of color definitions for GTK CSS
+ * @see GtkConfig::setColors
+ */
void setColors(const QMap<QString, QColor> &colorsDefinitions);
+
void setCustomClientSideDecorations(const QStringList
&windowDecorationsButtonsImages);
void disableCustomClientSideDecorations();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kde-gtk-config-5.27.4/kded/gtkconfig.cpp
new/kde-gtk-config-5.27.5/kded/gtkconfig.cpp
--- old/kde-gtk-config-5.27.4/kded/gtkconfig.cpp 2023-04-04
12:36:40.000000000 +0200
+++ new/kde-gtk-config-5.27.5/kded/gtkconfig.cpp 2023-05-09
13:36:30.000000000 +0200
@@ -15,6 +15,7 @@
#include <QDBusMessage>
#include <QFont>
#include <QGuiApplication>
+#include <QTimer>
#include <algorithm>
#include <cmath>
@@ -233,11 +234,15 @@
void GtkConfig::setColors() const
{
- const QMap<QString, QColor> colors = configValueProvider->colors();
- CustomCssEditor::setColors(colors);
+ CustomCssEditor::addGtkModule(QStringLiteral("colorreload-gtk-module"));
if (m_gsdXsettingsManager) {
m_gsdXsettingsManager->modulesChanged();
}
+ // modulesChanged signal will take some time to reach a GTK app, so
explicitly wait a moment
+ QTimer::singleShot(200, this, [this] {
+ const QMap<QString, QColor> colors = configValueProvider->colors();
+ CustomCssEditor::setColors(colors);
+ });
}
void GtkConfig::applyAllSettings() const
@@ -290,7 +295,7 @@
} else if (group.name() == QStringLiteral("KScreen")) {
if (names.contains(QByteArrayLiteral("ScaleFactor"))) {
setGlobalScale();
- setTextScale();
+ // setTextScale() will be called in onKCMFontsSettingsChange
}
} else if (group.name() == QStringLiteral("Toolbar style")) {
if (names.contains(QByteArrayLiteral("ToolButtonStyle"))) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kde-gtk-config-5.27.4/kded/gtkconfig.json
new/kde-gtk-config-5.27.5/kded/gtkconfig.json
--- old/kde-gtk-config-5.27.4/kded/gtkconfig.json 2023-04-04
12:36:40.000000000 +0200
+++ new/kde-gtk-config-5.27.5/kded/gtkconfig.json 2023-05-09
13:36:30.000000000 +0200
@@ -16,6 +16,7 @@
"Description[eu]": "GNOME/GTK aplikazioei ezarpenak automatikoki
ezartzen dizkie",
"Description[fi]": "Ottaa asetukset automaattisesti käyttöön
Gnome/Gtk-sovelluksissa",
"Description[fr]": "Applique automatiquement les paramètres aux
applications GNOME/GTK",
+ "Description[gl]": "Aplica a configuración automaticamente a
aplicacións de GNOME ou GTK",
"Description[hi]": "à¤à¤¨à¥à¤®/à¤à¥à¤à¥à¤à¥ à¤
नà¥à¤ªà¥à¤°à¤¯à¥à¤à¥à¤ मà¥à¤ सà¥à¤µà¤à¤²à¤¿à¤¤
सà¥à¤à¤¿à¤à¤à¥à¤¸ लाà¤à¥ à¤à¤°à¤¤à¤¾ हà¥",
"Description[hu]": "BeállÃtások automatikus alkalmazása GNOME/GTK
alkalmazásokra",
"Description[id]": "Secara otomatis menerapkan pengaturan ke
aplikasi-aplikasi GNOME/GTK",
@@ -57,6 +58,7 @@
"Name[eu]": "GNOME/GTK ezarpenak sinkronizatzeko zerbitzua",
"Name[fi]": "Gnome/Gtk-asetussynkronointipalvelu",
"Name[fr]": "Service de synchronisation des paramètres GNOME/GTK",
+ "Name[gl]": "Servizo de sincronización de configuración con GNOME e
GTK",
"Name[hi]": "à¤à¤¨à¥à¤®/à¤à¥à¤à¥à¤à¥ सà¥à¤à¤¿à¤à¤à¥à¤¸
à¤à¥ लिठतà¥à¤²à¥à¤¯à¤à¤¾à¤²à¤¨ सà¥à¤µà¤¿à¤§à¤¾",
"Name[hu]": "GNOME/GTK beállÃtás-szinkronizációs szolgáltatás",
"Name[id]": "Layanan Sinkronisasi Pengaturan GNOME/GTK",