Accepting request 841562 from KDE:Frameworks5
- Add patch to fix startup of some applications (mostly Tk): * 0001-Revert-krdb-Call-xrdb-with-nocpp-to-fix-gitk-runtime.patch OBS-URL: https://build.opensuse.org/request/show/841562 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plasma5-workspace?expand=0&rev=147
This commit is contained in:
commit
0634b0d24b
@ -0,0 +1,40 @@
|
||||
From ae43cd883313e2309b3f90416b69e2e008b54a25 Mon Sep 17 00:00:00 2001
|
||||
From: Christophe Giboudeaux <christophe@krop.fr>
|
||||
Date: Thu, 1 Oct 2020 11:16:02 +0000
|
||||
Subject: [PATCH] Revert "krdb: Call xrdb with -nocpp" to fix gitk runtime
|
||||
errors
|
||||
|
||||
This commit was preventing gitk from starting with
|
||||
'unknown color name "BACKGROUND"' errors.
|
||||
|
||||
This reverts commit d360e3dcb608bd96d674bbae597b7938334972fd.
|
||||
|
||||
|
||||
(cherry picked from commit f0764d87fe5275a123cdf6dca1ab3d0399c97578)
|
||||
---
|
||||
kcms/krdb/krdb.cpp | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/kcms/krdb/krdb.cpp b/kcms/krdb/krdb.cpp
|
||||
index c47e0353b..59ba546c4 100644
|
||||
--- a/kcms/krdb/krdb.cpp
|
||||
+++ b/kcms/krdb/krdb.cpp
|
||||
@@ -493,11 +493,11 @@ void runRdb( uint flags )
|
||||
tmpFile.flush();
|
||||
|
||||
KProcess proc;
|
||||
- proc << QStringLiteral("xrdb") << QStringLiteral("-nocpp")
|
||||
-#ifdef NDEBUG
|
||||
- << QStringLiteral("-quiet")
|
||||
+#ifndef NDEBUG
|
||||
+ proc << QStringLiteral("xrdb") << QStringLiteral("-merge") << tmpFile.fileName();
|
||||
+#else
|
||||
+ proc << "xrdb" << "-quiet" << "-merge" << tmpFile.fileName();
|
||||
#endif
|
||||
- << QStringLiteral("-merge") << tmpFile.fileName();
|
||||
proc.execute();
|
||||
|
||||
applyGtkStyles(exportColors, 1);
|
||||
--
|
||||
2.25.1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 13 10:21:44 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Add patch to fix startup of some applications (mostly Tk):
|
||||
* 0001-Revert-krdb-Call-xrdb-with-nocpp-to-fix-gitk-runtime.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 8 16:55:25 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
|
@ -41,6 +41,7 @@ Source2: plasma.keyring
|
||||
Source3: baselibs.conf
|
||||
Source4: plasmafullwayland.desktop
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch1: 0001-Revert-krdb-Call-xrdb-with-nocpp-to-fix-gitk-runtime.patch
|
||||
# PATCHES 501-??? are PATCH-FIX-OPENSUSE
|
||||
Patch501: 0001-Use-qdbus-qt5.patch
|
||||
Patch502: 0001-Ignore-default-sddm-face-icons.patch
|
||||
|
Loading…
x
Reference in New Issue
Block a user