From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB6ED13835A for ; Mon, 26 Oct 2020 19:07:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F326BE08A2; Mon, 26 Oct 2020 19:07:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9344E08A2 for ; Mon, 26 Oct 2020 19:07:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 32E4C340D9E for ; Mon, 26 Oct 2020 19:06:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BBAA3B3 for ; Mon, 26 Oct 2020 19:06:57 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1603739207.c17cd5d329e6d248bde037cb385a503cfffa7e47.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/plasma/, kde-frameworks/plasma/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-frameworks/plasma/files/plasma-5.75.0-krunner-terribly-slow-input.patch kde-frameworks/plasma/plasma-5.75.0-r1.ebuild X-VCS-Directories: kde-frameworks/plasma/ kde-frameworks/plasma/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c17cd5d329e6d248bde037cb385a503cfffa7e47 X-VCS-Branch: master Date: Mon, 26 Oct 2020 19:06:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0baa5166-9c46-423f-85c7-addd8be60c5e X-Archives-Hash: 42c3ebeb42a68964e3fcd4ee6bcf4ca3 commit: c17cd5d329e6d248bde037cb385a503cfffa7e47 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Oct 26 18:29:40 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Oct 26 19:06:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c17cd5d3 kde-frameworks/plasma: Fix slow krunner input KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=426746 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> ...plasma-5.75.0-krunner-terribly-slow-input.patch | 45 +++++++++++++ kde-frameworks/plasma/plasma-5.75.0-r1.ebuild | 78 ++++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/kde-frameworks/plasma/files/plasma-5.75.0-krunner-terribly-slow-input.patch b/kde-frameworks/plasma/files/plasma-5.75.0-krunner-terribly-slow-input.patch new file mode 100644 index 00000000000..8e25425627b --- /dev/null +++ b/kde-frameworks/plasma/files/plasma-5.75.0-krunner-terribly-slow-input.patch @@ -0,0 +1,45 @@ +From e0e7840a0307deaee7a0b63f341973f8e3508873 Mon Sep 17 00:00:00 2001 +From: Aleix Pol +Date: Thu, 8 Oct 2020 16:35:39 +0200 +Subject: [PATCH] BusyIndicator: Do not rotate when invisible + +It seems like the "visible" property is catching there is the wrong one +and would still rotate while invisible. + +CCBUG: 426746 + +From d578c2a1540a52ff9ccbb0658dc24b9be394bbd9 Mon Sep 17 00:00:00 2001 +From: Fabian Vogt +Date: Sat, 17 Oct 2020 13:45:15 +0200 +Subject: [PATCH] Fix BusyIndicator rotating even when invisible, again + +After "BusyIndicator: Do not rotate when invisible", plasmashell started +consuming 100% CPU due to plasma-nm's icon having an invisible BusyIndicator. +Adding the "visible" property back into the equation avoids this. + +Third time's the charm? +--- + src/declarativeimports/plasmacomponents3/BusyIndicator.qml | 3 +- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/declarativeimports/plasmacomponents3/BusyIndicator.qml b/src/declarativeimports/plasmacomponents3/BusyIndicator.qml +index ec4ccaf13..6321d88cf 100644 +--- a/src/declarativeimports/plasmacomponents3/BusyIndicator.qml ++++ b/src/declarativeimports/plasmacomponents3/BusyIndicator.qml +@@ -25,6 +25,7 @@ + padding: 0 + + contentItem: Item { ++ id: baseItem + /* implicitWidth and implicitHeight won't work unless they come + * from a child of the contentItem. No idea why. + */ +@@ -61,7 +62,7 @@ + to: 360 + duration: 2000 + loops: Animation.Infinite +- running: visible ++ running: visible && (control.running || baseItem.opacity > 0) + } + } + } diff --git a/kde-frameworks/plasma/plasma-5.75.0-r1.ebuild b/kde-frameworks/plasma/plasma-5.75.0-r1.ebuild new file mode 100644 index 00000000000..d3b855483a1 --- /dev/null +++ b/kde-frameworks/plasma/plasma-5.75.0-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_ORG_NAME="${PN}-framework" +PVCUT=$(ver_cut 1-2) +QTMIN=5.14.2 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="Plasma framework" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="gles2-only wayland X" + +BDEPEND=" + >=kde-frameworks/kdoctools-${PVCUT}:5 +" +RDEPEND=" + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5[gles2-only=] + >=dev-qt/qtquickcontrols-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + =kde-frameworks/kactivities-${PVCUT}*:5 + =kde-frameworks/karchive-${PVCUT}*:5 + =kde-frameworks/kconfig-${PVCUT}*:5 + =kde-frameworks/kconfigwidgets-${PVCUT}*:5 + =kde-frameworks/kcoreaddons-${PVCUT}*:5 + =kde-frameworks/kdeclarative-${PVCUT}*:5 + =kde-frameworks/kglobalaccel-${PVCUT}*:5 + =kde-frameworks/kguiaddons-${PVCUT}*:5 + =kde-frameworks/ki18n-${PVCUT}*:5 + =kde-frameworks/kiconthemes-${PVCUT}*:5 + =kde-frameworks/kio-${PVCUT}*:5 + =kde-frameworks/kirigami-${PVCUT}*:5 + =kde-frameworks/knotifications-${PVCUT}*:5 + =kde-frameworks/kpackage-${PVCUT}*:5 + =kde-frameworks/kservice-${PVCUT}*:5 + =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 + =kde-frameworks/kwindowsystem-${PVCUT}*:5 + =kde-frameworks/kxmlgui-${PVCUT}*:5 + !gles2-only? ( virtual/opengl ) + wayland? ( + =kde-frameworks/kwayland-${PVCUT}*:5 + media-libs/mesa[egl] + ) + X? ( + >=dev-qt/qtx11extras-${QTMIN}:5 + x11-libs/libX11 + x11-libs/libxcb + ) +" +DEPEND="${RDEPEND} + X? ( x11-base/xorg-proto ) +" + +RESTRICT+=" test" + +PATCHES=( + "${FILESDIR}"/${P}-krunner-terribly-slow-input.patch # KDE-Bug 426746 +) + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package !gles2-only OpenGL) + $(cmake_use_find_package wayland EGL) + $(cmake_use_find_package wayland KF5Wayland) + $(cmake_use_find_package X X11) + $(cmake_use_find_package X XCB) + ) + + ecm_src_configure +}