diff --git a/0001-Remove-debug-message-to-avoid-polute-to-stdout.patch b/0001-Remove-debug-message-to-avoid-polute-to-stdout.patch new file mode 100644 index 0000000..ea6ba00 --- /dev/null +++ b/0001-Remove-debug-message-to-avoid-polute-to-stdout.patch @@ -0,0 +1,27 @@ +From 7869f641da712ddbe1e3e294903dfa5304c298df Mon Sep 17 00:00:00 2001 +From: Weng Xuetian +Date: Sat, 9 Jan 2021 19:07:24 -0800 +Subject: [PATCH] Remove debug message to avoid polute to stdout. + +This would break application like zenity which output to stdout. + +(cherry picked from commit 62e272df848d6848482ceb534d14bf36c9fde241) +--- + window-decorations-reload-module/reloader.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/window-decorations-reload-module/reloader.c b/window-decorations-reload-module/reloader.c +index 9e367dc..606bb1f 100644 +--- a/window-decorations-reload-module/reloader.c ++++ b/window-decorations-reload-module/reloader.c +@@ -55,7 +55,6 @@ void manage_css_provider(GFileMonitor *monitor, GFile *file, GFile *other_file, + + void reload_css_provider() + { +- printf("WINDOW DECORATIONS RELOADED\n"); + if (css_provider != NULL) { + remove_css_provider(); + } +-- +2.25.1 + diff --git a/kde-gtk-config5.changes b/kde-gtk-config5.changes index 9f96d18..61eb414 100644 --- a/kde-gtk-config5.changes +++ b/kde-gtk-config5.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 12 09:33:00 UTC 2021 - Fabian Vogt + +- Add patch to not pollute stdout, which broke some applications + (boo#1182151, kde#431365): + * 0001-Remove-debug-message-to-avoid-polute-to-stdout.patch + ------------------------------------------------------------------- Thu Jan 21 21:31:33 UTC 2021 - Fabian Vogt diff --git a/kde-gtk-config5.spec b/kde-gtk-config5.spec index b2623ee..50a5c44 100644 --- a/kde-gtk-config5.spec +++ b/kde-gtk-config5.spec @@ -29,6 +29,8 @@ Source: https://download.kde.org/unstable/plasma/%{version}/kde-gtk-conf Source1: https://download.kde.org/unstable/plasma/%{version}/kde-gtk-config-%{version}.tar.xz.sig Source2: plasma.keyring %endif +# PATCH-FIX-UPSTREAM +Patch1: 0001-Remove-debug-message-to-avoid-polute-to-stdout.patch BuildRequires: extra-cmake-modules >= 0.0.9 BuildRequires: kf5-filesystem BuildRequires: sassc