From 96e91f289c30b3f9fa60dd3981ed76df9ef675d3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 27 Apr 2024 09:19:38 +0200 Subject: [PATCH] added patch to set QT_QPA_PLATFORM=xcb in desktop file to fix connecting to remote desktop session [release 4.1.2.3-2mamba;Fri Apr 26 2024] --- ...ient-4.1.2.3-desktop-set-QT_QPA_PLATFORM_xcb.patch | 11 +++++++++++ x2goclient.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 x2goclient-4.1.2.3-desktop-set-QT_QPA_PLATFORM_xcb.patch diff --git a/x2goclient-4.1.2.3-desktop-set-QT_QPA_PLATFORM_xcb.patch b/x2goclient-4.1.2.3-desktop-set-QT_QPA_PLATFORM_xcb.patch new file mode 100644 index 0000000..7f278d8 --- /dev/null +++ b/x2goclient-4.1.2.3-desktop-set-QT_QPA_PLATFORM_xcb.patch @@ -0,0 +1,11 @@ +--- x2goclient-4.1.2.3/desktop/x2goclient.desktop.orig 2024-04-26 23:45:12.215921648 +0200 ++++ x2goclient-4.1.2.3/desktop/x2goclient.desktop 2024-04-26 23:45:22.940981522 +0200 +@@ -2,7 +2,7 @@ + Version=1.0 + Type=Application + Name=X2Go Client +-Exec=x2goclient ++Exec=QT_QPA_PLATFORM=xcb x2goclient + Icon=x2goclient + StartupWMClass=x2goclient + X-Window-Icon=x2goclient diff --git a/x2goclient.spec b/x2goclient.spec index beee16b..62be69a 100644 --- a/x2goclient.spec +++ b/x2goclient.spec @@ -1,6 +1,6 @@ Name: x2goclient Version: 4.1.2.3 -Release: 1mamba +Release: 2mamba Summary: x2go GUI client Group: Graphical Desktop/Applications/Internet Vendor: openmamba @@ -9,6 +9,7 @@ Packager: Silvan Calarco URL: https://wiki.x2go.org/doku.php Source: http://code.x2go.org/releases/source/x2goclient/x2goclient-%{version}.tar.gz Patch0: x2goclient-4.1.0.0-sftp-server-openmamba-path.patch +Patch1: x2goclient-4.1.2.3-desktop-set-QT_QPA_PLATFORM_xcb.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -37,6 +38,7 @@ This package provides the GUI client. %prep %setup -q %patch 0 -p1 +%patch 1 -p1 sed -i -e 's/qt4/qt5/' Makefile @@ -75,6 +77,9 @@ sed -i "/MAKEOVERRIDES/d" Makefile #% doc ChangeLog README.OpenSSL-Exception %changelog +* Fri Apr 26 2024 Silvan Calarco 4.1.2.3-2mamba +- added patch to set QT_QPA_PLATFORM=xcb in desktop file to fix connecting to remote desktop session + * Sun Jul 30 2023 Automatic Build System 4.1.2.3-1mamba - automatic version update by autodist