parent
f2a77d0324
commit
c1bff81477
2 changed files with 33 additions and 2 deletions
31
srcpkgs/plasma-workspace/patches/fix-krunner-cwd.patch
Normal file
31
srcpkgs/plasma-workspace/patches/fix-krunner-cwd.patch
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
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 <aarcange@redhat.com>
|
||||||
|
---
|
||||||
|
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 <QDBusConnection>
|
||||||
|
#include <QDBusMessage>
|
||||||
|
#include <QDebug>
|
||||||
|
+#include <QDir>
|
||||||
|
#include <QQuickWindow>
|
||||||
|
#include <QSessionManager>
|
||||||
|
#include <QUrl>
|
||||||
|
@@ -112,5 +113,6 @@ int main(int argc, char **argv)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
+ QDir::setCurrent(QDir::homePath());
|
||||||
|
return app.exec();
|
||||||
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'plasma-workspace'
|
# Template file for 'plasma-workspace'
|
||||||
pkgname=plasma-workspace
|
pkgname=plasma-workspace
|
||||||
version=5.23.5
|
version=5.24.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_TESTING=OFF
|
configure_args="-DBUILD_TESTING=OFF
|
||||||
|
@ -23,7 +23,7 @@ maintainer="John <me@johnnynator.dev>"
|
||||||
license="GPL-2.0-or-later, GFDL-1.2-or-later, LGPL-2.1-or-later"
|
license="GPL-2.0-or-later, GFDL-1.2-or-later, LGPL-2.1-or-later"
|
||||||
homepage="https://invent.kde.org/plasma/plasma-workspace"
|
homepage="https://invent.kde.org/plasma/plasma-workspace"
|
||||||
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=2ebee6ab2f10cabc350e0f75a0d8462ae0b7616a795d078f6bb5765396052575
|
checksum=c79627fed9430c84502ed6917b91372423955ce5ce32abba409350de7b2d8f27
|
||||||
|
|
||||||
build_options="pipewire"
|
build_options="pipewire"
|
||||||
build_options_default="pipewire"
|
build_options_default="pipewire"
|
||||||
|
|
Loading…
Reference in a new issue