[neon/3rdparty/sddm/Neon/release] debian/patches: add patch
Jonathan Esk-Riddell
null at kde.org
Tue Aug 16 11:50:35 BST 2022
Git commit 47b3851b42bc21ce8d2bec08557ed2734d357c54 by Jonathan Esk-Riddell.
Committed on 16/08/2022 at 10:50.
Pushed by jriddell into branch 'Neon/release'.
add patch
A +25 -0 debian/patches/upstream-2f034906d-use-only-basename-of-session.patch
https://invent.kde.org/neon/3rdparty/sddm/commit/47b3851b42bc21ce8d2bec08557ed2734d357c54
diff --git a/debian/patches/upstream-2f034906d-use-only-basename-of-session.patch b/debian/patches/upstream-2f034906d-use-only-basename-of-session.patch
new file mode 100644
index 0000000..cc6553f
--- /dev/null
+++ b/debian/patches/upstream-2f034906d-use-only-basename-of-session.patch
@@ -0,0 +1,25 @@
+From 2f034906ded7df6542a350bcc914f4ec808acbb0 Mon Sep 17 00:00:00 2001
+From: Fabian Vogt <fabian at ritter-vogt.de>
+Date: Mon, 9 Nov 2020 11:22:15 +0100
+Subject: [PATCH] Only use the base name for $DESKTOP_SESSION
+
+Other DMs don't use the path.
+
+Fixes #852
+---
+ src/common/Session.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/common/Session.cpp b/src/common/Session.cpp
+index 2d7b04f1..3de28ef1 100644
+--- a/src/common/Session.cpp
++++ b/src/common/Session.cpp
+@@ -89,7 +89,7 @@ namespace SDDM {
+
+ QString Session::desktopSession() const
+ {
+- return fileName().replace(s_entryExtention, QString());
++ return QFileInfo(m_fileName).completeBaseName();
+ }
+
+ QString Session::desktopNames() const
More information about the Neon-commits
mailing list