added patch to fix access to local desktop (see https://bbs.archlinux.org/viewtopic.php?id=189061) [release 4.0.1.19-3mamba;Sun Oct 23 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 19:31:36 +01:00
parent 13abae609a
commit c0e37862f7
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -Nru x2goserver-4.0.1.19.orig/x2goserver/bin/x2golistdesktops x2goserver-4.0.1.19/x2goserver/bin/x2golistdesktops
--- x2goserver-4.0.1.19.orig/x2goserver/bin/x2golistdesktops 2015-02-24 21:55:13.000000000 +0100
+++ x2goserver-4.0.1.19/x2goserver/bin/x2golistdesktops 2016-10-23 23:22:02.056487189 +0200
@@ -65,7 +65,7 @@
# -> so we need to tweak the PATH env var a little here...
my $old_PATH=$ENV{'PATH'};
$ENV{'PATH'}="$ENV{'PATH'}:/usr/sbin:/sbin";
-my $lines=`ss -lxu`;
+my $lines=`ss -lx`;
$ENV{'PATH'}=$old_PATH;
undef $old_PATH;

View File

@ -5,7 +5,7 @@
Name: x2goserver Name: x2goserver
Version: 4.0.1.19 Version: 4.0.1.19
Release: 2mamba Release: 3mamba
Summary: A Remote Desktop server Summary: A Remote Desktop server
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -16,6 +16,7 @@ Source: http://code.x2go.org/releases/source/x2goserver/x2goserver-%{vers
Patch0: x2goserver-x86_64-lib-nx.patch Patch0: x2goserver-x86_64-lib-nx.patch
Patch1: x2goserver-4.0.1.19-kde-path.patch Patch1: x2goserver-4.0.1.19-kde-path.patch
Patch2: x2goserver-4.0.1.19-openmamba-enable.patch Patch2: x2goserver-4.0.1.19-openmamba-enable.patch
Patch3: x2goserver-4.0.1.19-fix-local-desktop.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -42,6 +43,7 @@ X2Go is a Remote Desktop server.
%endif %endif
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1
%build %build
%make PREFIX=%{_prefix} %make PREFIX=%{_prefix}
@ -120,6 +122,9 @@ exit 0
%doc COPYING %doc COPYING
%changelog %changelog
* Sun Oct 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.1.19-3mamba
- added patch to fix access to local desktop (see https://bbs.archlinux.org/viewtopic.php?id=189061)
* Thu Apr 07 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.1.19-2mamba * Thu Apr 07 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.1.19-2mamba
- require sshfs and x86_64: patch for nx libs path, kde path and openmamba in Xsession - require sshfs and x86_64: patch for nx libs path, kde path and openmamba in Xsession