From 6e20a0da866432360bbccef31e6924cc6a8a3741 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 2 Nov 2014 21:35:44 +0100 Subject: add required X2Go patches --- debian/patches/02_server-name.patch | 19 ++ debian/patches/03_x2go+rls.patch | 429 ++++++++++++++++++++++++++++++++++++ debian/patches/series | 2 + 3 files changed, 450 insertions(+) create mode 100644 debian/patches/02_server-name.patch create mode 100644 debian/patches/03_x2go+rls.patch (limited to 'debian') diff --git a/debian/patches/02_server-name.patch b/debian/patches/02_server-name.patch new file mode 100644 index 0000000..50c9a91 --- /dev/null +++ b/debian/patches/02_server-name.patch @@ -0,0 +1,19 @@ +--- a/src/uccs-server.c ++++ b/src/uccs-server.c +@@ -20,6 +20,7 @@ + #include "config.h" + #endif + ++#include + #include + + #include +@@ -734,6 +735,8 @@ + argv[1] = server->username; + argv[2] = NULL; + ++ g_setenv("SERVER_ROOT", server->parent.uri, TRUE); ++ + g_spawn_async_with_pipes(NULL, /* pwd */ + (gchar **)argv, + NULL, /* env */ diff --git a/debian/patches/03_x2go+rls.patch b/debian/patches/03_x2go+rls.patch new file mode 100644 index 0000000..d4563f7 --- /dev/null +++ b/debian/patches/03_x2go+rls.patch @@ -0,0 +1,429 @@ +--- a/src/com.canonical.RemoteLogin.xml ++++ b/src/com.canonical.RemoteLogin.xml +@@ -2,19 +2,21 @@ + + +