Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2023-04-25 16:54:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and      /work/SRC/openSUSE:Factory/.sddm.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sddm"

Tue Apr 25 16:54:04 2023 rev:63 rq:1082483 version:0.19.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/sddm/sddm.changes        2023-04-07 
18:16:27.960593713 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new.1533/sddm.changes      2023-04-25 
16:54:05.494567755 +0200
@@ -1,0 +2,6 @@
+Wed Apr 19 16:40:02 UTC 2023 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Add patch to fix delays on shutdown (boo#1210391):
+ * 0001-Avoid-starting-a-new-session-on-exit.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Avoid-starting-a-new-session-on-exit.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sddm.spec ++++++
--- /var/tmp/diff_new_pack.Cm71wN/_old  2023-04-25 16:54:06.326576332 +0200
+++ /var/tmp/diff_new_pack.Cm71wN/_new  2023-04-25 16:54:06.330576374 +0200
@@ -39,6 +39,7 @@
 Patch2:         0004-Retry-starting-the-display-server.patch
 Patch3:         0001-disable-automatic-portal-launching.patch
 Patch4:         0001-Process-all-available-auth-messages-in-a-loop.patch
+Patch5:         0001-Avoid-starting-a-new-session-on-exit.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/997
 Patch50:        0001-Remove-suffix-for-Wayland-session.patch
 # Not merged yet: https://github.com/sddm/sddm/pull/1230

++++++ 0001-Avoid-starting-a-new-session-on-exit.patch ++++++
>From 935caf554d41b18a00ea719b72842576f80e2167 Mon Sep 17 00:00:00 2001
From: David Edmundson <k...@davidedmundson.co.uk>
Date: Mon, 13 Sep 2021 17:06:02 +0100
Subject: [PATCH] Avoid starting a new session on exit

Stopping SDDM will tear down the display.
This calls m->auth() stop, which stops the helper (any active session)

A newly introduced waitForFinished() means we can emit signals that the
process has finished.

We don't want Display's handling of the session ending to be active as
we can end up starting a greeter during shutdown.

(cherry picked from commit 83e1ae579a923e859ea3c3ae18a2dd95c3a7774c)
---
 src/daemon/Display.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/daemon/Display.cpp b/src/daemon/Display.cpp
index 8d1a4af..63104f4 100644
--- a/src/daemon/Display.cpp
+++ b/src/daemon/Display.cpp
@@ -79,6 +79,7 @@ namespace SDDM {
     }
 
     Display::~Display() {
+        disconnect(m_auth, &Auth::finished, this, 
&Display::slotHelperFinished);
         stop();
     }
 
-- 
2.40.0

Reply via email to