diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-06 18:27:28 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-10 17:29:21 +0200 |
commit | cf7e326e52e79555a9bab8bb2f58b15cdc35464b (patch) | |
tree | bf9cf4b4d7a0f3e9cae95b055b2a706593662752 /kde-frameworks/kglobalaccel | |
parent | kde-frameworks/kemoticons: drop 5.80.0* (diff) | |
download | gentoo-cf7e326e52e79555a9bab8bb2f58b15cdc35464b.tar.gz gentoo-cf7e326e52e79555a9bab8bb2f58b15cdc35464b.tar.bz2 gentoo-cf7e326e52e79555a9bab8bb2f58b15cdc35464b.zip |
kde-frameworks/kglobalaccel: drop 5.80.0*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kglobalaccel')
3 files changed, 0 insertions, 80 deletions
diff --git a/kde-frameworks/kglobalaccel/Manifest b/kde-frameworks/kglobalaccel/Manifest index 095d365ff07c..45aa26d1b618 100644 --- a/kde-frameworks/kglobalaccel/Manifest +++ b/kde-frameworks/kglobalaccel/Manifest @@ -1,2 +1 @@ -DIST kglobalaccel-5.80.0.tar.xz 87360 BLAKE2B f05027f4aeb71ba17b42bfe3214222737df4689e72e7eaa2e848d891e4934acead92051a21ce49313513050d4e3b01148576ca0ab58c609670fc88e7bedc15cb SHA512 6e12d3926f1b44425747bfca3eea21986cfe57ce032a2f691a2ab6b12556feec15cceea4b2b6c21bbdc9ecb6af11e9fb64489d60d9e95f4443b0a74ebab551af DIST kglobalaccel-5.82.0.tar.xz 87932 BLAKE2B feed60b09b01da373b3a6b989ca465b93a67d1ba84ce45c503805e6cb49af1b7ce99afa1921414e9a616d344f95366e0e4822b58f41ea73222dacfcc448a588c SHA512 c6f757628ca8123183b1ead08fbf326bf8b6d5b97e4dc65c33a2c158103aa7915617d423692ee417059bd08a299546b7cdd373b31dbfd80f2498193da7b5aaf7 diff --git a/kde-frameworks/kglobalaccel/files/kglobalaccel-5.80.0-dont-run-w-root-privs.patch b/kde-frameworks/kglobalaccel/files/kglobalaccel-5.80.0-dont-run-w-root-privs.patch deleted file mode 100644 index ab606eebed99..000000000000 --- a/kde-frameworks/kglobalaccel/files/kglobalaccel-5.80.0-dont-run-w-root-privs.patch +++ /dev/null @@ -1,43 +0,0 @@ -From bbec74337b3186bc258bd5adf849b89191789535 Mon Sep 17 00:00:00 2001 -From: Fabian Vogt <fabian@ritter-vogt.de> -Date: Fri, 29 Jan 2021 11:31:54 +0100 -Subject: [PATCH] Don't let kglobalaccel run if KDE_SESSION_UID mismatches - -Otherwise shortcuts execute actions as the wrong user. ---- - src/runtime/main.cpp | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/src/runtime/main.cpp b/src/runtime/main.cpp -index d2917ad..46506b3 100644 ---- a/src/runtime/main.cpp -+++ b/src/runtime/main.cpp -@@ -10,6 +10,8 @@ - #include "kglobalacceld.h" - #include "logging_p.h" - -+#include <unistd.h> -+ - #include <KAboutData> - #include <KCrash> - #include <KDBusService> -@@ -57,6 +59,16 @@ extern "C" Q_DECL_EXPORT int main(int argc, char **argv) - return 0; - } - -+ // It's possible that kglobalaccel gets started as the wrong user by -+ // accident, e.g. kdesu dolphin leads to dbus activation. It then installs -+ // its grabs and the actions are run as the wrong user. -+ bool isUidset = false; -+ const int sessionuid = qEnvironmentVariableIntValue("KDE_SESSION_UID", &isUidset); -+ if(isUidset && static_cast<uid_t>(sessionuid) != getuid()) { -+ qCWarning(KGLOBALACCELD) << "kglobalaccel running as wrong user, exiting."; -+ return 0; -+ } -+ - KDBusService service(KDBusService::Unique); - - app.setQuitOnLastWindowClosed(false); --- -GitLab - diff --git a/kde-frameworks/kglobalaccel/kglobalaccel-5.80.0-r1.ebuild b/kde-frameworks/kglobalaccel/kglobalaccel-5.80.0-r1.ebuild deleted file mode 100644 index 7013c72b0717..000000000000 --- a/kde-frameworks/kglobalaccel/kglobalaccel-5.80.0-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PVCUT=$(ver_cut 1-2) -QTMIN=5.15.2 -VIRTUALX_REQUIRED="test" -inherit ecm kde.org - -DESCRIPTION="Framework to handle global shortcuts" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -LICENSE="LGPL-2+" -IUSE="nls" - -BDEPEND=" - nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 ) -" -DEPEND=" - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=dev-qt/qtx11extras-${QTMIN}:5 - =kde-frameworks/kconfig-${PVCUT}*:5 - =kde-frameworks/kcoreaddons-${PVCUT}*:5 - =kde-frameworks/kcrash-${PVCUT}*:5 - =kde-frameworks/kdbusaddons-${PVCUT}*:5 - =kde-frameworks/kwindowsystem-${PVCUT}*:5[X] - x11-libs/libxcb - x11-libs/xcb-util-keysyms -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-dont-run-w-root-privs.patch # bug 767478, KDE-bug 423059 -) |