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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D08C4158086 for ; Tue, 9 Nov 2021 13:04:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22674E09BC; Tue, 9 Nov 2021 13:04:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF776E09BC for ; Tue, 9 Nov 2021 13:04:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 869B1342E40 for ; Tue, 9 Nov 2021 13:04:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2BDF1B3 for ; Tue, 9 Nov 2021 13:04:00 +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: <1636462908.fdf904d0dbe13b7f91cb00d9720bc53e4b0f53fc.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-workspace/files/, kde-plasma/plasma-workspace/ X-VCS-Repository: proj/kde X-VCS-Files: kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch kde-plasma/plasma-workspace/plasma-workspace-5.23.49.9999.ebuild kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild X-VCS-Directories: kde-plasma/plasma-workspace/ kde-plasma/plasma-workspace/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: fdf904d0dbe13b7f91cb00d9720bc53e4b0f53fc X-VCS-Branch: master Date: Tue, 9 Nov 2021 13:04:00 +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: 164bf2cc-bba1-4295-88d3-5e4a5954e1c4 X-Archives-Hash: 7fe38a99b93b690279cae1b3e6f8b2fb commit: fdf904d0dbe13b7f91cb00d9720bc53e4b0f53fc Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Sep 22 20:53:47 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Nov 9 13:01:48 2021 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=fdf904d0 kde-plasma/plasma-workspace: Fix krunner cwd krunner starts applications with cwd "/" with init system other than systemd KDE-bug: https://bugs.kde.org/show_bug.cgi?id=432975 Thanks-to: Andrea Arcangeli redhat.com> Bug: https://bugs.gentoo.org/767478 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> ...asma-workspace-5.22.5-krunner-cwd-at-home.patch | 30 ++++++++++++++++++++++ .../plasma-workspace-5.23.49.9999.ebuild | 5 +++- .../plasma-workspace/plasma-workspace-9999.ebuild | 5 +++- 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch new file mode 100644 index 0000000000..27db136c29 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.22.5-krunner-cwd-at-home.patch @@ -0,0 +1,30 @@ +Commit 7ca34e0baa7fa65efc929eee5b6b0c3d2104db8e already reverted one +change that caused the cwd of all apps spawned by krunner to +erroneously be set to the root dir. + +That regressions is back so it's more robust to fix in within krunner. + +Signed-off-by: Andrea Arcangeli +--- + krunner/main.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/krunner/main.cpp b/krunner/main.cpp +index 4593687ca..fa4a62ac4 100644 +--- a/krunner/main.cpp ++++ b/krunner/main.cpp +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -112,5 +113,6 @@ int main(int argc, char **argv) + } + }); + ++ QDir::setCurrent(QDir::homePath()); + return app.exec(); + } diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.23.49.9999.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.23.49.9999.ebuild index 0ea9e2eeda..b4f4d8416f 100644 --- a/kde-plasma/plasma-workspace/plasma-workspace-5.23.49.9999.ebuild +++ b/kde-plasma/plasma-workspace/plasma-workspace-5.23.49.9999.ebuild @@ -148,7 +148,10 @@ RDEPEND="${COMMON_DEPEND} BDEPEND="virtual/pkgconfig" PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:5" -PATCHES=( "${FILESDIR}/${PN}-5.21.5-split-libkworkspace.patch" ) # downstream +PATCHES=( + "${FILESDIR}/${PN}-5.21.5-split-libkworkspace.patch" # downstream + "${FILESDIR}/${PN}-5.22.5-krunner-cwd-at-home.patch" # TODO upstream: KDE-bug 432975, bug 767478 +) src_prepare() { ecm_src_prepare diff --git a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild index f8672bc733..027fc1d4fe 100644 --- a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild +++ b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild @@ -148,7 +148,10 @@ RDEPEND="${COMMON_DEPEND} BDEPEND="virtual/pkgconfig" PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:5" -PATCHES=( "${FILESDIR}/${PN}-5.21.5-split-libkworkspace.patch" ) # downstream +PATCHES=( + "${FILESDIR}/${PN}-5.21.5-split-libkworkspace.patch" # downstream + "${FILESDIR}/${PN}-5.22.5-krunner-cwd-at-home.patch" # TODO upstream: KDE-bug 432975, bug 767478 +) src_prepare() { ecm_src_prepare