Accepting request 871384 from home:Vogtinator:boo1180844

- Add patch to not pollute stdout, which broke some applications
  (boo#1182151, kde#431365):
  * 0001-Remove-debug-message-to-avoid-polute-to-stdout.patch

OBS-URL: https://build.opensuse.org/request/show/871384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kde-gtk-config5?expand=0&rev=106
This commit is contained in:
Dominique Leuenberger 2021-02-12 09:56:48 +00:00 committed by Git OBS Bridge
parent 569665b3a9
commit e87d28ad0b
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,27 @@
From 7869f641da712ddbe1e3e294903dfa5304c298df Mon Sep 17 00:00:00 2001
From: Weng Xuetian <wengxt@gmail.com>
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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 12 09:33:00 UTC 2021 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to not pollute stdout, which broke some applications
(boo#1182151, kde#431365):
* 0001-Remove-debug-message-to-avoid-polute-to-stdout.patch
-------------------------------------------------------------------
Tue Jan 5 14:40:02 UTC 2021 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -29,6 +29,8 @@ Source: https://download.kde.org/stable/plasma/%{version}/kde-gtk-config
Source1: https://download.kde.org/stable/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