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 2021-09-04 22:32:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kde-gtk-config5 (Old)
and /work/SRC/openSUSE:Factory/.kde-gtk-config5.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kde-gtk-config5"
Sat Sep 4 22:32:23 2021 rev:120 rq:915362 version:5.22.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/kde-gtk-config5/kde-gtk-config5.changes
2021-08-04 22:29:18.701770748 +0200
+++
/work/SRC/openSUSE:Factory/.kde-gtk-config5.new.1899/kde-gtk-config5.changes
2021-09-04 22:32:59.395963402 +0200
@@ -1,0 +2,13 @@
+Tue Aug 31 19:08:39 UTC 2021 - Fabian Vogt <[email protected]>
+
+- Update to 5.22.5
+ * New bugfix release
+ * For more details please see:
+ * https://kde.org/announcements/plasma/5/5.22.5
+- Changes since 5.22.4:
+ * Don't apply window_decorations.css to non-Breeze themes.
+ * Make sure to actually commit GSettings changes
+- Drop patches, now upstream:
+ * 0001-Make-sure-to-actually-commit-GSettings-changes.patch
+
+-------------------------------------------------------------------
Old:
----
0001-Make-sure-to-actually-commit-GSettings-changes.patch
kde-gtk-config-5.22.4.tar.xz
kde-gtk-config-5.22.4.tar.xz.sig
New:
----
kde-gtk-config-5.22.5.tar.xz
kde-gtk-config-5.22.5.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kde-gtk-config5.spec ++++++
--- /var/tmp/diff_new_pack.oweJHE/_old 2021-09-04 22:32:59.919964096 +0200
+++ /var/tmp/diff_new_pack.oweJHE/_new 2021-09-04 22:32:59.923964100 +0200
@@ -18,7 +18,7 @@
%bcond_without lang
Name: kde-gtk-config5
-Version: 5.22.4
+Version: 5.22.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
@@ -30,7 +30,6 @@
Source2: plasma.keyring
%endif
# PATCH-FIX-UPSTREAM
-Patch1: 0001-Make-sure-to-actually-commit-GSettings-changes.patch
Patch2: 0001-Drop-unused-dependency-on-gtk-2.0.patch
BuildRequires: extra-cmake-modules >= 0.0.9
BuildRequires: gsettings-desktop-schemas
++++++ kde-gtk-config-5.22.4.tar.xz -> kde-gtk-config-5.22.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kde-gtk-config-5.22.4/CMakeLists.txt
new/kde-gtk-config-5.22.5/CMakeLists.txt
--- old/kde-gtk-config-5.22.4/CMakeLists.txt 2021-07-27 12:19:28.000000000
+0200
+++ new/kde-gtk-config-5.22.5/CMakeLists.txt 2021-08-31 13:33:49.000000000
+0200
@@ -1,5 +1,5 @@
project(kde-gtk-config)
-set(PROJECT_VERSION "5.22.4")
+set(PROJECT_VERSION "5.22.5")
cmake_minimum_required(VERSION 3.16)
set(QT_MIN_VERSION "5.15.0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kde-gtk-config-5.22.4/kded/configeditor.cpp
new/kde-gtk-config-5.22.5/kded/configeditor.cpp
--- old/kde-gtk-config-5.22.4/kded/configeditor.cpp 2021-07-27
12:19:28.000000000 +0200
+++ new/kde-gtk-config-5.22.5/kded/configeditor.cpp 2021-08-31
13:33:49.000000000 +0200
@@ -38,12 +38,15 @@
} else if (paramValue.type() == QVariant::Type::Bool) {
g_settings_set_boolean(gsettings, paramName.toUtf8().constData(),
paramValue.toBool());
}
+
+ g_settings_sync();
}
void ConfigEditor::setGtkConfigValueGSettingsAsEnum(const QString ¶mName,
int paramValue, const QString &category)
{
g_autoptr(GSettings) gsettings =
g_settings_new(category.toUtf8().constData());
g_settings_set_enum(gsettings, paramName.toUtf8().constData(), paramValue);
+ g_settings_sync();
}
void ConfigEditor::setGtkConfigValueSettingsIni(const QString &versionString,
const QString ¶mName, const QVariant ¶mValue)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kde-gtk-config-5.22.4/kded/gtkconfig.json
new/kde-gtk-config-5.22.5/kded/gtkconfig.json
--- old/kde-gtk-config-5.22.4/kded/gtkconfig.json 2021-07-27
12:19:28.000000000 +0200
+++ new/kde-gtk-config-5.22.5/kded/gtkconfig.json 2021-08-31
13:33:49.000000000 +0200
@@ -16,6 +16,7 @@
"Description[fi]": "Ottaa asetukset automaattisesti k??ytt????n
Gnome/Gtk-sovelluksissa",
"Description[fr]": "Applique automatiquement les param??tres aux
applications GNOME/GTK",
"Description[hi]": "????????????/??????????????????
????????????????????????????????? ????????? ?????????????????????
???????????????????????? ???????????? ???????????? ??????",
+ "Description[ia]": "Applica automaticamete preferentias a
applicationes de GNOME/GTK",
"Description[id]": "Secara otomatis menerapkan pengaturan ke
aplikasi-aplikasi GNOME/GTK",
"Description[it]": "Applica automaticamente le impostazioni alle
applicazioni GNOME/GTK",
"Description[ko]": "???????????? ??????/GTK ??????????????? ??????
??????",
@@ -53,6 +54,7 @@
"Name[fi]": "Gnome/Gtk-asetussynkronointipalvelu",
"Name[fr]": "Service de synchronisation des param??tres GNOME/GTK",
"Name[hi]": "????????????/?????????????????? ????????????????????????
?????? ????????? ??????????????????????????? ??????????????????",
+ "Name[ia]": "Servicio de Synchronisation de preferentias de GNOME/GTK",
"Name[id]": "Layanan Sinkronisasi Pengaturan GNOME/GTK",
"Name[it]": "Servizio di sincronizzazione delle impostazioni
GNOME/GTK",
"Name[ko]": "??????/GTK ?????? ????????? ?????????",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/kde-gtk-config-5.22.4/window-decorations-reload-module/reloader.c
new/kde-gtk-config-5.22.5/window-decorations-reload-module/reloader.c
--- old/kde-gtk-config-5.22.4/window-decorations-reload-module/reloader.c
2021-07-27 12:19:28.000000000 +0200
+++ new/kde-gtk-config-5.22.5/window-decorations-reload-module/reloader.c
2021-08-31 13:33:49.000000000 +0200
@@ -21,6 +21,8 @@
void manage_css_provider(GFileMonitor *monitor, GFile *file, GFile
*other_file, GFileMonitorEvent event_type, gpointer user_data);
void reload_css_provider();
void remove_css_provider();
+int theme_is_breeze();
+void theme_changed(GtkSettings *settings, GParamSpec *param_spec, void
*user_data);
__attribute__((visibility("default"))) void gtk_module_init(gint *argc, gchar
***argv[])
{
@@ -35,6 +37,7 @@
css_provider = NULL;
g_signal_connect(window_decorations_css_monitor, "changed",
G_CALLBACK(manage_css_provider), NULL);
+ g_signal_connect(gtk_settings_get_default(), "notify::gtk-theme-name",
G_CALLBACK(theme_changed), NULL);
reload_css_provider();
}
@@ -55,8 +58,10 @@
void reload_css_provider()
{
- if (css_provider != NULL) {
- remove_css_provider();
+ remove_css_provider();
+
+ if (!theme_is_breeze()) {
+ return;
}
css_provider = gtk_css_provider_new();
@@ -69,6 +74,30 @@
void remove_css_provider()
{
+ if (!css_provider) {
+ return;
+ }
gtk_style_context_remove_provider_for_screen(gdk_screen_get_default(),
GTK_STYLE_PROVIDER(css_provider));
g_clear_object(&css_provider);
}
+
+int theme_is_breeze()
+{
+ GtkSettings *settings = gtk_settings_get_default();
+ char *theme_name = NULL;
+ g_object_get(settings, "gtk-theme-name", &theme_name, NULL);
+ if (!theme_name) {
+ return 0;
+ }
+ int ret = !strcmp(theme_name, "Breeze");
+ g_free(theme_name);
+ return ret;
+}
+
+void theme_changed(GtkSettings *settings, GParamSpec *param_spec, void
*user_data)
+{
+ UNUSED(settings);
+ UNUSED(param_spec);
+ UNUSED(user_data);
+ reload_css_provider();
+}