Update to version 4.20.3 and fixes for Wayland #1

Closed
tiwai wants to merge 2 commits from tiwai/xfce4-session:leap-16.0 into factory
5 changed files with 48 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0b80b7136515bc3c0c54fa859ad420365e29b715b6da0b58a2d2781bfbe73c3
size 1226931

BIN
xfce4-session-4.20.3.tar.bz2 LFS Normal file

Binary file not shown.

View File

@@ -0,0 +1,17 @@
A temporary workaround for the too slow start up in Wayland mode (bsc#1247542)
---
xfce4-session/xfsm-manager.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/xfce4-session/xfsm-manager.h
+++ b/xfce4-session/xfsm-manager.h
@@ -40,7 +40,8 @@ G_BEGIN_DECLS
#define DIE_TIMEOUT (7 * 1000)
#define SAVE_TIMEOUT (60 * 1000)
#define STARTUP_TIMEOUT (8 * 1000)
-#define STARTUP_TIMEOUT_WAYLAND (8 * 1000)
+// FIXME: reduced to 500ms for Wayland, otherwise it takes ages at startup
+#define STARTUP_TIMEOUT_WAYLAND 500
#define RESTART_RESET_TIMEOUT (5 * 60 * 1000)
#define XFSM_CHOOSE_LOGOUT 0
#define XFSM_CHOOSE_LOAD 1

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Aug 14 14:46:12 UTC 2025 - Takashi Iwai <tiwai@suse.com>
- Reduce the timeout for auto-start on Wayland (bsc#1247542);
xfce4-session-reduce-wayland-autostart-timeout.patch
This is a temporary workaround for the too slow start-up on Wayland
desktop. Currently the error is ignored in anyway.
- Use '?' for SUSE macro expansion, so that quilt setup works.
-------------------------------------------------------------------
Thu Aug 14 13:45:06 UTC 2025 - Manfred Hollstein <manfred.h@gmx.net>
- Update to version 4.20.3:
* wayland: startxfce4: Remove definition of SDL_VIDEODRIVER variable
* Add xapp for Settings in xfce-portals.conf
* startxfce4: Add check for /etc/vconsole.conf
* labwc: Add some default config values
* xfce-portals.conf: Add wlr for ScreenCast
* startxfce4: Improve keyboard layout detection on wayland
* wayland: start a D-Bus session only if there isn't one already
* Use syntax compatible with most sh shells.
* labwc: Add window snapping range
-------------------------------------------------------------------
Tue Aug 5 13:41:07 UTC 2025 - Takashi Iwai <tiwai@suse.com>

View File

@@ -18,7 +18,7 @@
%bcond_with git
Name: xfce4-session
Version: 4.20.2
Version: 4.20.3
Release: 0
Summary: Xfce Session Manager
License: GPL-2.0-only
@@ -38,6 +38,8 @@ Patch1: xfce4-session-adapt-session-scripts.patch
Patch2: 0002-relax-x11-version.patch
# PATCH-FIX-OPENSUSE xfce4-session-drop-amixer-D-pulse-option.patch -- Fix audio mixer invocation on Wayland
Patch3: xfce4-session-drop-amixer-D-pulse-option.patch
# PATCH-FIX-OPENSUSE xfce4-session-reduce-wayland-autostart-timeout.patch -- Fix the too slow start-up on Wayland
Patch4: xfce4-session-reduce-wayland-autostart-timeout.patch
BuildRequires: fdupes
BuildRequires: gettext >= 0.19.8
BuildRequires: iceauth
@@ -103,7 +105,7 @@ BuildArch: noarch
%description branding-upstream
This package provides the upstream look and feel for the Xfce Session Manager.
%if 0%{is_opensuse} && 0%{suse_version} >= 1550
%if 0%{?is_opensuse} && 0%{?suse_version} >= 1550
%package wayland-experimental
Summary: Xfce Session Manager for Wayland
Group: System/GUI/XFCE
@@ -213,7 +215,7 @@ rmdir %{buildroot}%{_datadir}/wayland-sessions
%files branding-upstream
%config %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
%if 0%{is_opensuse} && 0%{suse_version} >= 1550
%if 0%{?is_opensuse} && 0%{?suse_version} >= 1550
%files wayland-experimental
%dir %{_datadir}/wayland-sessions
%{_datadir}/wayland-sessions/xfce-wayland.desktop