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]

This commit is contained in:
Silvan Calarco 2024-04-27 09:19:38 +02:00
parent 1d745deacc
commit 96e91f289c
2 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
Name: x2goclient Name: x2goclient
Version: 4.1.2.3 Version: 4.1.2.3
Release: 1mamba Release: 2mamba
Summary: x2go GUI client Summary: x2go GUI client
Group: Graphical Desktop/Applications/Internet Group: Graphical Desktop/Applications/Internet
Vendor: openmamba Vendor: openmamba
@ -9,6 +9,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.x2go.org/doku.php URL: https://wiki.x2go.org/doku.php
Source: http://code.x2go.org/releases/source/x2goclient/x2goclient-%{version}.tar.gz Source: http://code.x2go.org/releases/source/x2goclient/x2goclient-%{version}.tar.gz
Patch0: x2goclient-4.1.0.0-sftp-server-openmamba-path.patch 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 License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -37,6 +38,7 @@ This package provides the GUI client.
%prep %prep
%setup -q %setup -q
%patch 0 -p1 %patch 0 -p1
%patch 1 -p1
sed -i -e 's/qt4/qt5/' Makefile sed -i -e 's/qt4/qt5/' Makefile
@ -75,6 +77,9 @@ sed -i "/MAKEOVERRIDES/d" Makefile
#% doc ChangeLog README.OpenSSL-Exception #% doc ChangeLog README.OpenSSL-Exception
%changelog %changelog
* Fri Apr 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 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 <autodist@mambasoft.it> 4.1.2.3-1mamba * Sun Jul 30 2023 Automatic Build System <autodist@mambasoft.it> 4.1.2.3-1mamba
- automatic version update by autodist - automatic version update by autodist