[Pkg-cli-apps-commits] [SCM] gnome-rdp branch, master, updated. debian/0.3.0.9-1-1-ge89b64a

Julian Taylor jtaylor.debian at googlemail.com
Sun Oct 9 15:29:06 UTC 2011


The following commit has been merged in the master branch:
commit e89b64ae7d768524fa8d51ee11154970ec74cc45
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date:   Sun Oct 9 17:22:16 2011 +0200

    add patch to fix vnc connections
    
    use xtightvncviewer, tight-vncviewer does not exist in debian
    xtightvncviewer does not accepted -user flag and it must receive
    a server to connect to.

diff --git a/debian/patches/fix-vnc-connections.patch b/debian/patches/fix-vnc-connections.patch
new file mode 100644
index 0000000..6eba53f
--- /dev/null
+++ b/debian/patches/fix-vnc-connections.patch
@@ -0,0 +1,61 @@
+From: Julian Taylor <jtaylor.debian at googlemail.com>
+Date: Fri, 9 Sep 2011 14:45:24 +0200
+Description: fix vnc connections
+
+use xtightvncviewer, tight-vncviewer does not exist in debian
+xtightvncviewer does not accepted -user flag and it must receive
+a server to connect to.
+---
+ Sessions/SessionCollection.cs |    4 ++--
+ Vnc/VncProfile.cs             |    6 ++++--
+ 2 files changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/Sessions/SessionCollection.cs b/Sessions/SessionCollection.cs
+index 2920e21..2e4a6e3 100644
+--- a/Sessions/SessionCollection.cs
++++ b/Sessions/SessionCollection.cs
+@@ -83,7 +83,7 @@ namespace GnomeRDP.Sessions
+ 				string args = vncProfile.ToCommandLineArguements(session.Server, session.Identity, false);
+ 				string safeArgs = vncProfile.ToCommandLineArguements(session.Server, session.Identity, true);
+ 				
+-				new SessionHost("tight-vncviewer", args, safeArgs);
++				new SessionHost("xtightvncviewer", args, safeArgs);
+ 			}
+ 			
+ 			if (session.Profile is Ssh.SshProfile)
+@@ -96,4 +96,4 @@ namespace GnomeRDP.Sessions
+ 			}			
+ 		}
+ 	}
+-}
+\ No newline at end of file
++}
+diff --git a/Vnc/VncProfile.cs b/Vnc/VncProfile.cs
+index e661d75..1eb0128 100644
+--- a/Vnc/VncProfile.cs
++++ b/Vnc/VncProfile.cs
+@@ -158,7 +158,7 @@ namespace GnomeRDP.Vnc
+ 			StringBuilder text = new StringBuilder();
+ 			
+ 			string user = (identity == null) ? null : identity.Username;
+-			if (string.IsNullOrEmpty(user) == false)
++			if (false)
+ 			{
+ 				if (user.Contains(" "))
+ 				{
+@@ -181,8 +181,10 @@ namespace GnomeRDP.Vnc
+ 			{
+ 				text.AppendFormat(" -encodings {0}",  encoding.ToString().ToLower());
+ 			}
++
++			text.AppendFormat(" {0}", server);
+ 			
+ 			return text.ToString();
+ 		}
+ 	}
+-}
+\ No newline at end of file
++}
+-- 
+1.7.5.4
+
diff --git a/debian/patches/series b/debian/patches/series
index 04670bd..c0d9561 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 include_ac_expansions.patch
 use_default_compiler.patch
+fix-vnc-connections.patch

-- 
gnome-rdp



More information about the Pkg-cli-apps-commits mailing list