Merge lp:~jtaylor/ubuntu/oneiric/gnome-rdp/fix-vnc-879686 into lp:ubuntu/oneiric/gnome-rdp

Proposed by Julian Taylor
Status: Approved
Approved by: Stéphane Graber
Approved revision: 15
Proposed branch: lp:~jtaylor/ubuntu/oneiric/gnome-rdp/fix-vnc-879686
Merge into: lp:ubuntu/oneiric/gnome-rdp
Diff against target: 92 lines (+73/-0)
3 files modified
debian/changelog (+9/-0)
debian/patches/fix-vnc-connections.patch (+63/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~jtaylor/ubuntu/oneiric/gnome-rdp/fix-vnc-879686
Reviewer Review Type Date Requested Status
Luke Yelavich (community) Approve
Ubuntu branches Pending
Review via email: mp+80136@code.launchpad.net

Description of the change

SRU request in the linked bug

To post a comment you must log in.
Revision history for this message
Luke Yelavich (themuso) wrote :

Thanks for your work, uploaded with the maintainer field updated.

review: Approve
Revision history for this message
Stéphane Graber (stgraber) wrote :

Marking as approved as Luke uploaded it.

Unmerged revisions

15. By Julian Taylor

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-06-07 17:18:42 +0000
3+++ debian/changelog 2011-10-22 22:09:25 +0000
4@@ -1,3 +1,12 @@
5+gnome-rdp (0.3.0.9-1ubuntu0.1) oneiric-proposed; urgency=low
6+
7+ * add patch to fix vnc connections (LP: #879686)
8+ use xtightvncviewer, tight-vncviewer does not exist in debian
9+ xtightvncviewer does not accepted -user flag and it must receive
10+ a server to connect to.
11+
12+ -- Julian Taylor <jtaylor.debian@googlemail.com> Fri, 21 Oct 2011 23:50:37 +0200
13+
14 gnome-rdp (0.3.0.9-1) unstable; urgency=low
15
16 * new upstream version
17
18=== added file 'debian/patches/fix-vnc-connections.patch'
19--- debian/patches/fix-vnc-connections.patch 1970-01-01 00:00:00 +0000
20+++ debian/patches/fix-vnc-connections.patch 2011-10-22 22:09:25 +0000
21@@ -0,0 +1,63 @@
22+From: Julian Taylor <jtaylor.debian@googlemail.com>
23+Date: Fri, 9 Sep 2011 14:45:24 +0200
24+Description: fix vnc connections
25+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnome-rdp/+bug/879686
26+Forwarded: james.p.michels@gmail.com
27+
28+use xtightvncviewer, tight-vncviewer does not exist in debian
29+xtightvncviewer does not accepted -user flag and it must receive
30+a server to connect to.
31+---
32+ Sessions/SessionCollection.cs | 4 ++--
33+ Vnc/VncProfile.cs | 6 ++++--
34+ 2 files changed, 6 insertions(+), 4 deletions(-)
35+
36+diff --git a/Sessions/SessionCollection.cs b/Sessions/SessionCollection.cs
37+index 2920e21..2e4a6e3 100644
38+--- a/Sessions/SessionCollection.cs
39++++ b/Sessions/SessionCollection.cs
40+@@ -83,7 +83,7 @@ namespace GnomeRDP.Sessions
41+ string args = vncProfile.ToCommandLineArguements(session.Server, session.Identity, false);
42+ string safeArgs = vncProfile.ToCommandLineArguements(session.Server, session.Identity, true);
43+
44+- new SessionHost("tight-vncviewer", args, safeArgs);
45++ new SessionHost("xtightvncviewer", args, safeArgs);
46+ }
47+
48+ if (session.Profile is Ssh.SshProfile)
49+@@ -96,4 +96,4 @@ namespace GnomeRDP.Sessions
50+ }
51+ }
52+ }
53+-}
54+\ No newline at end of file
55++}
56+diff --git a/Vnc/VncProfile.cs b/Vnc/VncProfile.cs
57+index e661d75..1eb0128 100644
58+--- a/Vnc/VncProfile.cs
59++++ b/Vnc/VncProfile.cs
60+@@ -158,7 +158,7 @@ namespace GnomeRDP.Vnc
61+ StringBuilder text = new StringBuilder();
62+
63+ string user = (identity == null) ? null : identity.Username;
64+- if (string.IsNullOrEmpty(user) == false)
65++ if (false)
66+ {
67+ if (user.Contains(" "))
68+ {
69+@@ -181,8 +181,10 @@ namespace GnomeRDP.Vnc
70+ {
71+ text.AppendFormat(" -encodings {0}", encoding.ToString().ToLower());
72+ }
73++
74++ text.AppendFormat(" {0}", server);
75+
76+ return text.ToString();
77+ }
78+ }
79+-}
80+\ No newline at end of file
81++}
82+--
83+1.7.5.4
84+
85
86=== modified file 'debian/patches/series'
87--- debian/patches/series 2011-06-07 17:18:42 +0000
88+++ debian/patches/series 2011-10-22 22:09:25 +0000
89@@ -1,2 +1,3 @@
90 include_ac_expansions.patch
91 use_default_compiler.patch
92+fix-vnc-connections.patch

Subscribers

People subscribed via source and target branches

to all changes: