Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/libksysguard/files/, kde-plasma/libksysguard/
Date: Tue, 14 Sep 2021 09:04:44
Message-Id: 1631610215.e15cdc4f331d1ef228c562dd3cffddede63734a4.asturm@gentoo
1 commit: e15cdc4f331d1ef228c562dd3cffddede63734a4
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 14 08:26:50 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 14 09:03:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e15cdc4f
7
8 kde-plasma/libksysguard: Rebase no-detailed-mem-message.patch
9
10 Package-Manager: Portage-3.0.23, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 ...bksysguard-5.22.5-no-detailed-mem-message.patch | 28 ++++++++++++++++++++++
14 kde-plasma/libksysguard/libksysguard-5.22.5.ebuild | 2 +-
15 2 files changed, 29 insertions(+), 1 deletion(-)
16
17 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
18 new file mode 100644
19 index 00000000000..352cad76b76
20 --- /dev/null
21 +++ b/kde-plasma/libksysguard/files/libksysguard-5.22.5-no-detailed-mem-message.patch
22 @@ -0,0 +1,28 @@
23 +From a81b823c8e169ee5a4212070a9cc77dad27aa7b6 Mon Sep 17 00:00:00 2001
24 +From: Andreas Sturmlechner <asturm@g.o>
25 +Date: Tue, 7 Sep 2021 16:08:30 +0200
26 +Subject: [PATCH] Gentooify message about QtWebEngineWidgets
27 +
28 +Translations can not be provided for this.
29 +
30 +Signed-off-by: Andreas Sturmlechner <asturm@g.o>
31 +---
32 + processui/scripting.cpp | 2 +-
33 + 1 file changed, 1 insertion(+), 1 deletion(-)
34 +
35 +diff --git a/processui/scripting.cpp b/processui/scripting.cpp
36 +index 2e95624..c69a123 100644
37 +--- a/processui/scripting.cpp
38 ++++ b/processui/scripting.cpp
39 +@@ -243,7 +243,7 @@ new QWebChannel(window.qt.webChannelTransport, function(channel) {
40 + mScriptingHtmlDialog->webView()->load(fileName);
41 + #else
42 + QMessageBox::critical(this, i18n("QtWebEngineWidgets not available"),
43 +- i18n("KSysGuard library was compiled without QtWebEngineWidgets, please contact your distribution."));
44 ++ QStringLiteral("kde-plasma/libksysguard was built without USE \"webengine\" by user choice, detailed memory information not available."));
45 + #endif
46 + }
47 + #if WEBENGINE_SCRIPTING_ENABLED
48 +--
49 +2.33.0
50 +
51
52 diff --git a/kde-plasma/libksysguard/libksysguard-5.22.5.ebuild b/kde-plasma/libksysguard/libksysguard-5.22.5.ebuild
53 index 70c379be6c7..425cdf4f1e9 100644
54 --- a/kde-plasma/libksysguard/libksysguard-5.22.5.ebuild
55 +++ b/kde-plasma/libksysguard/libksysguard-5.22.5.ebuild
56 @@ -58,7 +58,7 @@ RDEPEND="${COMMON_DEPEND}
57 !<kde-plasma/plasma-workspace-5.18.80:5
58 "
59
60 -PATCHES=( "${FILESDIR}/${PN}-5.16.0-no-detailed-mem-message.patch" )
61 +PATCHES=( "${FILESDIR}/${P}-no-detailed-mem-message.patch" )
62
63 src_configure() {
64 local mycmakeargs=(