diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-14 10:26:50 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-14 11:03:35 +0200 |
commit | e15cdc4f331d1ef228c562dd3cffddede63734a4 (patch) | |
tree | 75b8ed4e1db4733a3e609d746502d9b94ab4f8b9 /kde-plasma/libksysguard | |
parent | kde-frameworks/kross: drop 5.82.0* (diff) | |
download | gentoo-e15cdc4f331d1ef228c562dd3cffddede63734a4.tar.gz gentoo-e15cdc4f331d1ef228c562dd3cffddede63734a4.tar.bz2 gentoo-e15cdc4f331d1ef228c562dd3cffddede63734a4.zip |
kde-plasma/libksysguard: Rebase no-detailed-mem-message.patch
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/libksysguard')
-rw-r--r-- | kde-plasma/libksysguard/files/libksysguard-5.22.5-no-detailed-mem-message.patch | 28 | ||||
-rw-r--r-- | kde-plasma/libksysguard/libksysguard-5.22.5.ebuild | 2 |
2 files changed, 29 insertions, 1 deletions
diff --git a/kde-plasma/libksysguard/files/libksysguard-5.22.5-no-detailed-mem-message.patch b/kde-plasma/libksysguard/files/libksysguard-5.22.5-no-detailed-mem-message.patch new file mode 100644 index 000000000000..352cad76b765 --- /dev/null +++ b/kde-plasma/libksysguard/files/libksysguard-5.22.5-no-detailed-mem-message.patch @@ -0,0 +1,28 @@ +From a81b823c8e169ee5a4212070a9cc77dad27aa7b6 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Tue, 7 Sep 2021 16:08:30 +0200 +Subject: [PATCH] Gentooify message about QtWebEngineWidgets + +Translations can not be provided for this. + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + processui/scripting.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/processui/scripting.cpp b/processui/scripting.cpp +index 2e95624..c69a123 100644 +--- a/processui/scripting.cpp ++++ b/processui/scripting.cpp +@@ -243,7 +243,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 WEBENGINE_SCRIPTING_ENABLED +-- +2.33.0 + diff --git a/kde-plasma/libksysguard/libksysguard-5.22.5.ebuild b/kde-plasma/libksysguard/libksysguard-5.22.5.ebuild index 70c379be6c7c..425cdf4f1e97 100644 --- a/kde-plasma/libksysguard/libksysguard-5.22.5.ebuild +++ b/kde-plasma/libksysguard/libksysguard-5.22.5.ebuild @@ -58,7 +58,7 @@ RDEPEND="${COMMON_DEPEND} !<kde-plasma/plasma-workspace-5.18.80:5 " -PATCHES=( "${FILESDIR}/${PN}-5.16.0-no-detailed-mem-message.patch" ) +PATCHES=( "${FILESDIR}/${P}-no-detailed-mem-message.patch" ) src_configure() { local mycmakeargs=( |