Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sddm for openSUSE:Factory checked in 
at 2022-10-27 13:53:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sddm (Old)
 and      /work/SRC/openSUSE:Factory/.sddm.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sddm"

Thu Oct 27 13:53:56 2022 rev:59 rq:1031164 version:0.19.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/sddm/sddm.changes        2022-04-17 
23:50:04.574326457 +0200
+++ /work/SRC/openSUSE:Factory/.sddm.new.2275/sddm.changes      2022-10-27 
13:54:28.740661364 +0200
@@ -1,0 +2,6 @@
+Tue Oct 25 13:06:32 UTC 2022 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Add patch to avoid launching xdg-desktop-portal by accident:
+  * 0001-disable-automatic-portal-launching.patch
+
+-------------------------------------------------------------------

New:
----
  0001-disable-automatic-portal-launching.patch

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

Other differences:
------------------
++++++ sddm.spec ++++++
--- /var/tmp/diff_new_pack.QDLtgZ/_old  2022-10-27 13:54:29.456665016 +0200
+++ /var/tmp/diff_new_pack.QDLtgZ/_new  2022-10-27 13:54:29.464665058 +0200
@@ -33,6 +33,7 @@
 Patch0:         0001-Use-PAM-s-username.patch
 Patch1:         0001-Add-fish-etc-profile-and-HOME-.profile-sourcing-1331.patch
 Patch2:         0004-Retry-starting-the-display-server.patch
+Patch3:         0001-disable-automatic-portal-launching.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-disable-automatic-portal-launching.patch ++++++
>From 13a4bfdff0a2979e358ed037a204904b87418337 Mon Sep 17 00:00:00 2001
From: Harald Sitter <sit...@kde.org>
Date: Mon, 24 Oct 2022 13:15:48 +0200
Subject: [PATCH] disable automatic portal launching

in Qt6 (and the KDE patch collection for Qt 5) genericunixservices will
internally attempt to probe the portal tech early on in the app life
cycle. this causes the protal system to launch app and then crash
because we aren't actually providing a fully functional session. instead
opt out of this altogether
---
 src/daemon/Greeter.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/daemon/Greeter.cpp b/src/daemon/Greeter.cpp
index 878576b..2e15446 100644
--- a/src/daemon/Greeter.cpp
+++ b/src/daemon/Greeter.cpp
@@ -188,6 +188,8 @@ namespace SDDM {
             //some themes may use KDE components and that will automatically 
load KDE's crash handler which we don't want
             //counterintuitively setting this env disables that handler
             env.insert(QStringLiteral("KDE_DEBUG"), QStringLiteral("1"));
+            // Qt internally may load the xdg portal system early on, prevent 
this, we do not have a functional session running.
+            env.insert(QStringLiteral("QT_NO_XDG_DESKTOP_PORTAL"), 
QStringLiteral("1"));
             m_auth->insertEnvironment(env);
 
             // log message
-- 
2.38.0

Reply via email to