summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-06-12 12:00:20 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-06-12 12:03:00 +0200
commitca8353899840b94e2600eb7f4c81ea4f9ae2fae9 (patch)
tree2ad2f5f919333200ca6c3921f969d2bb00fe6c3d /kde-plasma
parentsci-libs/gdal: Drop 2.4.0 (diff)
downloadgentoo-ca8353899840b94e2600eb7f4c81ea4f9ae2fae9.tar.gz
gentoo-ca8353899840b94e2600eb7f4c81ea4f9ae2fae9.tar.bz2
gentoo-ca8353899840b94e2600eb7f4c81ea4f9ae2fae9.zip
kde-plasma: Add missing patches
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch13
-rw-r--r--kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch26
2 files changed, 39 insertions, 0 deletions
diff --git a/kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch b/kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch
new file mode 100644
index 000000000000..81db399f6b5b
--- /dev/null
+++ b/kde-plasma/kwin/files/kwin-5.15.80-gstreamer-optional.patch
@@ -0,0 +1,13 @@
+Disable the effect video button if gstreamer is missing.
+
+--- a/kcmkwin/kwineffects/package/contents/ui/Effect.qml 2019-03-22 23:06:45.172699544 +0100
++++ b/kcmkwin/kwineffects/package/contents/ui/Effect.qml 2019-03-22 23:07:30.435043637 +0100
+@@ -111,7 +111,7 @@
+
+ QtControls.Button {
+ icon.name: "video"
+- visible: model.VideoRole.toString() !== ""
++ visible: false
+
+ onClicked: videoItem.showHide()
+ }
diff --git a/kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch b/kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch
new file mode 100644
index 000000000000..477f88d4e55b
--- /dev/null
+++ b/kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch
@@ -0,0 +1,26 @@
+From 49c5fdcc3bfdfedfaeaabac4f0070b986a166ce2 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Fri, 7 Jun 2019 22:58:55 +0200
+Subject: [PATCH] Gentooify message about QtWebEngineWidgets
+
+Translations can not be provided for this.
+---
+ processui/scripting.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/processui/scripting.cpp b/processui/scripting.cpp
+index 83cf895..647194a 100644
+--- a/processui/scripting.cpp
++++ b/processui/scripting.cpp
+@@ -242,7 +242,7 @@ new QWebChannel(window.qt.webChannelTransport, function(channel) {
+ mScriptingHtmlDialog->webView()->load(fileName);
+ #else
+ QMessageBox::critical(this, i18n("QtWebEngineWidgets not available"),
+- i18n("KSysGuard library was compiled without QtWebEngineWidgets, please contact your distribution."));
++ QStringLiteral("kde-plasma/libksysguard was built without USE \"webengine\" by user choice, detailed memory information not available."));
+ #endif
+ }
+ #if HAVE_QTWEBENGINEWIDGETS
+--
+2.21.0
+