rpms/tsclient/devel edit-dialog-crash.patch, NONE, 1.1 realvnc-args.patch, NONE, 1.1 tsclient-no-password.patch, NONE, 1.1 vnc-password-optional.patch, NONE, 1.1 vnc-remote-screen-size.patch, NONE, 1.1 tsclient.spec, 1.31, 1.32

Matthias Clasen mclasen at fedoraproject.org
Wed Oct 22 03:03:16 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/tsclient/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30517

Modified Files:
	tsclient.spec 
Added Files:
	edit-dialog-crash.patch realvnc-args.patch 
	tsclient-no-password.patch vnc-password-optional.patch 
	vnc-remote-screen-size.patch 
Log Message:
A bunch of fixes thanks to Dan Winship


edit-dialog-crash.patch:

--- NEW FILE edit-dialog-crash.patch ---
--- tsclient-2.0.1/src/tsc-edit-dialog.c.edit-dialog-crash	2008-07-10 13:28:32.000000000 -0400
+++ tsclient-2.0.1/src/tsc-edit-dialog.c	2008-10-20 14:43:49.000000000 -0400
@@ -208,11 +208,10 @@ tsc_edit_dialog_verify (TSCEditDialog *d
 	}
 }
 
-static gboolean
-tsc_edit_dialog_verify_data (gpointer user_data, ...)
+static void
+tsc_edit_dialog_verify_data (gpointer user_data, GtkWidget *widget)
 {
 	tsc_edit_dialog_verify (user_data);
-	return FALSE;
 }
 
 static void

realvnc-args.patch:

--- NEW FILE realvnc-args.patch ---
--- tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.c.realvnc-args	2008-10-20 14:47:17.000000000 -0400
+++ tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.c	2008-10-20 14:50:38.000000000 -0400
@@ -111,7 +111,7 @@ tsc_vnc_connection_start (TSCConnection 
 	}
 
 	if (connection->password) {
-		tsc_spawn_append_args (connection->spawn, "-autopass", NULL);
+		tsc_spawn_append_args (connection->spawn, "-passwdInput", NULL);
 	}
 
 	if (connection->host) {

tsclient-no-password.patch:

--- NEW FILE tsclient-no-password.patch ---
Index: devel/tsclient.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tsclient/devel/tsclient.spec,v
retrieving revision 1.31
diff -u -p -r1.31 tsclient.spec
--- devel/tsclient.spec	12 Aug 2008 04:33:47 -0000	1.31
+++ devel/tsclient.spec	21 Oct 2008 13:58:08 -0000
@@ -8,7 +8,7 @@
 Summary: Client for VNC and Windows Terminal Server
 Name: tsclient
 Version: 2.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://sourceforge.net/projects/tsclient
 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
 
@@ -32,6 +32,15 @@ BuildRequires: perl(XML::Parser)
 Patch0: icon-names.patch
 # reported upstream
 Patch1: launch-args.patch
+# reported upstream
+Patch2: edit-dialog-crash.patch
+# reported upstream
+Patch3: vnc-password-optional.patch
+# reported upstream
+Patch4: vnc-remote-screen-size.patch
+# NOT reported upstream; there's no simple way to make it support both
+# realvnc and tightvnc
+Patch5: realvnc-args.patch
 
 %description
 tsclient is a frontend that makes it easy to use rdesktop and vncviewer.
@@ -50,6 +59,10 @@ develop tsclient plugins.
 %setup -q
 %patch0 -p1 -b .icon-names
 %patch1 -p1 -b .launch-args
+%patch2 -p1 -b .edit-dialog-crash
+%patch3 -p1 -b .vnc-password
+%patch4 -p1 -b .vnc-remotesize
+%patch5 -p1 -b .realvnc-args
 
 %build
 
@@ -119,6 +132,12 @@ fi
 
 
 %changelog
+* Mon Oct 20 2008 Dan Winship <dwinship at redhat.com> - 2.0.1-2
+- Fix crash when building without optimization on x86_64
+- Allow VNC connections with no password (#460708)
+- Allow VNC connections to use remote screen size as window size (#460709)
+- Fix VNC code to work with RealVNC's vncviewer rather than TightVNC's
+
 * Mon Aug 11 2008 Matthias Clasen <mclasen at redhat.com> - 2.0.1-1
 - Update to 2.0.1
 
Index: devel/edit-dialog-crash.patch
===================================================================
RCS file: devel/edit-dialog-crash.patch
diff -N devel/edit-dialog-crash.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ devel/edit-dialog-crash.patch	21 Oct 2008 13:58:08 -0000
@@ -0,0 +1,16 @@
+--- tsclient-2.0.1/src/tsc-edit-dialog.c.edit-dialog-crash	2008-07-10 13:28:32.000000000 -0400
++++ tsclient-2.0.1/src/tsc-edit-dialog.c	2008-10-20 14:43:49.000000000 -0400
+@@ -208,11 +208,10 @@ tsc_edit_dialog_verify (TSCEditDialog *d
+ 	}
+ }
+ 
+-static gboolean
+-tsc_edit_dialog_verify_data (gpointer user_data, ...)
++static void
++tsc_edit_dialog_verify_data (gpointer user_data, GtkWidget *widget)
+ {
+ 	tsc_edit_dialog_verify (user_data);
+-	return FALSE;
+ }
+ 
+ static void
Index: devel/realvnc-args.patch
===================================================================
RCS file: devel/realvnc-args.patch
diff -N devel/realvnc-args.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ devel/realvnc-args.patch	21 Oct 2008 13:58:08 -0000
@@ -0,0 +1,11 @@
+--- tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.c.realvnc-args	2008-10-20 14:47:17.000000000 -0400
++++ tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.c	2008-10-20 14:50:38.000000000 -0400
+@@ -111,7 +111,7 @@ tsc_vnc_connection_start (TSCConnection 
+ 	}
+ 
+ 	if (connection->password) {
+-		tsc_spawn_append_args (connection->spawn, "-autopass", NULL);
++		tsc_spawn_append_args (connection->spawn, "-passwdInput", NULL);
+ 	}
+ 
+ 	if (connection->host) {
Index: devel/vnc-password-optional.patch
===================================================================
RCS file: devel/vnc-password-optional.patch
diff -N devel/vnc-password-optional.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ devel/vnc-password-optional.patch	21 Oct 2008 13:58:08 -0000
@@ -0,0 +1,21 @@
+--- tsclient-2.0.1/src/plugins/default/tsc-vnc-edit-dialog.c.vnc-password	2008-06-12 16:07:22.000000000 -0400
++++ tsclient-2.0.1/src/plugins/default/tsc-vnc-edit-dialog.c	2008-10-20 14:45:35.000000000 -0400
+@@ -146,18 +146,12 @@ tsc_vnc_edit_dialog_verify (TSCEditDialo
+ {
+ 	TSCVncEditDialog *dialog = TSC_VNC_EDIT_DIALOG (edit_dialog);
+ 	GtkEntry *host_entry = GTK_ENTRY (glade_xml_get_widget (dialog->xml, "host_entry"));
+-	GtkEntry *password_entry = GTK_ENTRY (glade_xml_get_widget (dialog->xml, "password_entry"));
+ 	
+ 	if (!g_ascii_strcasecmp ("", gtk_entry_get_text (host_entry))) {
+ 		*reason = g_strdup (_("Host is a required field"));
+ 		 return FALSE;
+ 	} 
+ 	
+-	if (!g_ascii_strcasecmp ("", gtk_entry_get_text (password_entry))) {
+-		*reason = g_strdup (_("Password is a required field"));
+-		return FALSE;
+-	}
+-
+ 	return TRUE;
+ }
+ 
Index: devel/vnc-remote-screen-size.patch
===================================================================
RCS file: devel/vnc-remote-screen-size.patch
diff -N devel/vnc-remote-screen-size.patch
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ devel/vnc-remote-screen-size.patch	21 Oct 2008 13:58:08 -0000
@@ -0,0 +1,142 @@
+--- tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.c.vnc-remotesize	2008-05-09 16:22:54.000000000 -0400
++++ tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.c	2008-10-20 14:47:17.000000000 -0400
+@@ -102,7 +102,7 @@ tsc_vnc_connection_start (TSCConnection 
+ 
+ 	if (connection->fullscreen) {
+ 		tsc_spawn_append_args (connection->spawn, "-fullscreen", NULL);
+-	} else {
++	} else if (!connection->remotesize) {
+ 		char *geometry = g_strdup_printf ("%dx%d", connection->width,
+ 						  connection->height);
+ 
+@@ -162,12 +162,9 @@ tsc_vnc_connection_save (TSCConnection *
+ 	g_key_file_set_boolean (keys, VNC_CONFIG_GROUP,
+ 				VNC_KEY_FULLSCREEN, connection->fullscreen);
+ 
+-	if (connection->width > 0) {
++	if (!connection->fullscreen && !connection->remotesize) {
+ 		g_key_file_set_integer (keys, VNC_CONFIG_GROUP,
+ 					VNC_KEY_WIDTH, connection->width);
+-	}
+-
+-	if (connection->height > 0) {
+ 		g_key_file_set_integer (keys, VNC_CONFIG_GROUP,
+ 					VNC_KEY_HEIGHT, connection->height);
+ 	}
+@@ -188,11 +185,13 @@ tsc_vnc_connection_restore (TSCConnectio
+ 						       VNC_KEY_VIEWONLY, NULL);
+ 	connection->fullscreen = g_key_file_get_boolean (keys, VNC_CONFIG_GROUP,
+ 							 VNC_KEY_FULLSCREEN, NULL);
+-
+ 	connection->width = g_key_file_get_integer (keys, VNC_CONFIG_GROUP,
+ 						    VNC_KEY_WIDTH, NULL);
+ 	connection->height = g_key_file_get_integer (keys, VNC_CONFIG_GROUP,
+ 						     VNC_KEY_HEIGHT, NULL);
++
++	connection->remotesize = !connection->fullscreen &&
++		!connection->width && !connection->height;
+ }
+ 
+ static void
+--- tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.h.vnc-remotesize	2008-04-22 12:37:43.000000000 -0400
++++ tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.h	2008-10-20 14:47:17.000000000 -0400
+@@ -23,6 +23,7 @@ typedef struct _TSCVncConnection {
+ 	gboolean shared;
+ 	gboolean viewonly;
+ 	gboolean fullscreen;
++	gboolean remotesize;
+ 	
+ 	int width;
+ 	int height;
+--- tsclient-2.0.1/src/plugins/default/tsc-vnc-edit-dialog.c.vnc-remotesize	2008-10-20 14:45:35.000000000 -0400
++++ tsclient-2.0.1/src/plugins/default/tsc-vnc-edit-dialog.c	2008-10-20 14:47:17.000000000 -0400
+@@ -64,6 +64,10 @@ tsc_vnc_edit_dialog_load (TSCEditDialog 
+ 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (glade_xml_get_widget (dialog->xml,
+ 										       "fullscreen_radio")),
+ 					      TRUE);
++	} else if (connection->remotesize) {
++		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (glade_xml_get_widget (dialog->xml,
++										       "remotesize_radio")),
++					      TRUE);
+ 	} else {
+ 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (glade_xml_get_widget (dialog->xml,
+ 										       "custom_window_radio")),
+@@ -133,6 +137,9 @@ tsc_vnc_edit_dialog_save (TSCEditDialog 
+ 	connection->fullscreen = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (
+ 								       glade_xml_get_widget (dialog->xml,
+ 											     "fullscreen_radio")));
++	connection->remotesize = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (
++								       glade_xml_get_widget (dialog->xml,
++											     "remotesize_radio")));
+ 	connection->width = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (
+ 								      glade_xml_get_widget (dialog->xml,
+ 											    "width_spin")));
+--- tsclient-2.0.1/data/tsclient.glade.vnc-remotesize	2008-06-27 11:16:33.000000000 -0400
++++ tsclient-2.0.1/data/tsclient.glade	2008-10-20 14:47:17.000000000 -0400
+@@ -794,7 +794,7 @@ LAN</property>
+                     <child>
+                       <widget class="GtkTable" id="table5">
+                         <property name="visible">True</property>
+-                        <property name="n_rows">6</property>
++                        <property name="n_rows">7</property>
+                         <property name="n_columns">2</property>
+                         <property name="column_spacing">6</property>
+                         <property name="row_spacing">6</property>
+@@ -851,8 +851,8 @@ LAN</property>
+                           <packing>
+                             <property name="left_attach">1</property>
+                             <property name="right_attach">2</property>
+-                            <property name="top_attach">3</property>
+-                            <property name="bottom_attach">4</property>
++                            <property name="top_attach">4</property>
++                            <property name="bottom_attach">5</property>
+                             <property name="x_options">GTK_FILL</property>
+                             <property name="y_options">GTK_FILL</property>
+                           </packing>
+@@ -868,6 +868,24 @@ LAN</property>
+                             <property name="group">fullscreen_radio</property>
+                           </widget>
+                           <packing>
++                            <property name="top_attach">4</property>
++                            <property name="bottom_attach">5</property>
++                            <property name="x_options">GTK_FILL</property>
++                            <property name="y_options"></property>
++                          </packing>
++                        </child>
++                        <child>
++                          <widget class="GtkRadioButton" id="remotesize_radio">
++                            <property name="visible">True</property>
++                            <property name="can_focus">True</property>
++                            <property name="label" translatable="yes">Use Remote Screen Size</property>
++                            <property name="use_underline">True</property>
++                            <property name="response_id">0</property>
++                            <property name="draw_indicator">True</property>
++                            <property name="group">fullscreen_radio</property>
++                          </widget>
++                          <packing>
++                            <property name="right_attach">2</property>
+                             <property name="top_attach">3</property>
+                             <property name="bottom_attach">4</property>
+                             <property name="x_options">GTK_FILL</property>
+@@ -903,8 +921,8 @@ LAN</property>
+                           </widget>
+                           <packing>
+                             <property name="right_attach">2</property>
+-                            <property name="top_attach">5</property>
+-                            <property name="bottom_attach">6</property>
++                            <property name="top_attach">6</property>
++                            <property name="bottom_attach">7</property>
+                             <property name="x_options">GTK_FILL</property>
+                             <property name="y_options"></property>
+                           </packing>
+@@ -921,8 +939,8 @@ LAN</property>
+                           </widget>
+                           <packing>
+                             <property name="right_attach">2</property>
+-                            <property name="top_attach">4</property>
+-                            <property name="bottom_attach">5</property>
++                            <property name="top_attach">5</property>
++                            <property name="bottom_attach">6</property>
+                             <property name="x_options">GTK_FILL</property>
+                             <property name="y_options"></property>
+                           </packing>

vnc-password-optional.patch:

--- NEW FILE vnc-password-optional.patch ---
--- tsclient-2.0.1/src/plugins/default/tsc-vnc-edit-dialog.c.vnc-password	2008-06-12 16:07:22.000000000 -0400
+++ tsclient-2.0.1/src/plugins/default/tsc-vnc-edit-dialog.c	2008-10-20 14:45:35.000000000 -0400
@@ -146,18 +146,12 @@ tsc_vnc_edit_dialog_verify (TSCEditDialo
 {
 	TSCVncEditDialog *dialog = TSC_VNC_EDIT_DIALOG (edit_dialog);
 	GtkEntry *host_entry = GTK_ENTRY (glade_xml_get_widget (dialog->xml, "host_entry"));
-	GtkEntry *password_entry = GTK_ENTRY (glade_xml_get_widget (dialog->xml, "password_entry"));
 	
 	if (!g_ascii_strcasecmp ("", gtk_entry_get_text (host_entry))) {
 		*reason = g_strdup (_("Host is a required field"));
 		 return FALSE;
 	} 
 	
-	if (!g_ascii_strcasecmp ("", gtk_entry_get_text (password_entry))) {
-		*reason = g_strdup (_("Password is a required field"));
-		return FALSE;
-	}
-
 	return TRUE;
 }
 

vnc-remote-screen-size.patch:

--- NEW FILE vnc-remote-screen-size.patch ---
--- tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.c.vnc-remotesize	2008-05-09 16:22:54.000000000 -0400
+++ tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.c	2008-10-20 14:47:17.000000000 -0400
@@ -102,7 +102,7 @@ tsc_vnc_connection_start (TSCConnection 
 
 	if (connection->fullscreen) {
 		tsc_spawn_append_args (connection->spawn, "-fullscreen", NULL);
-	} else {
+	} else if (!connection->remotesize) {
 		char *geometry = g_strdup_printf ("%dx%d", connection->width,
 						  connection->height);
 
@@ -162,12 +162,9 @@ tsc_vnc_connection_save (TSCConnection *
 	g_key_file_set_boolean (keys, VNC_CONFIG_GROUP,
 				VNC_KEY_FULLSCREEN, connection->fullscreen);
 
-	if (connection->width > 0) {
+	if (!connection->fullscreen && !connection->remotesize) {
 		g_key_file_set_integer (keys, VNC_CONFIG_GROUP,
 					VNC_KEY_WIDTH, connection->width);
-	}
-
-	if (connection->height > 0) {
 		g_key_file_set_integer (keys, VNC_CONFIG_GROUP,
 					VNC_KEY_HEIGHT, connection->height);
 	}
@@ -188,11 +185,13 @@ tsc_vnc_connection_restore (TSCConnectio
 						       VNC_KEY_VIEWONLY, NULL);
 	connection->fullscreen = g_key_file_get_boolean (keys, VNC_CONFIG_GROUP,
 							 VNC_KEY_FULLSCREEN, NULL);
-
 	connection->width = g_key_file_get_integer (keys, VNC_CONFIG_GROUP,
 						    VNC_KEY_WIDTH, NULL);
 	connection->height = g_key_file_get_integer (keys, VNC_CONFIG_GROUP,
 						     VNC_KEY_HEIGHT, NULL);
+
+	connection->remotesize = !connection->fullscreen &&
+		!connection->width && !connection->height;
 }
 
 static void
--- tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.h.vnc-remotesize	2008-04-22 12:37:43.000000000 -0400
+++ tsclient-2.0.1/src/plugins/default/tsc-vnc-connection.h	2008-10-20 14:47:17.000000000 -0400
@@ -23,6 +23,7 @@ typedef struct _TSCVncConnection {
 	gboolean shared;
 	gboolean viewonly;
 	gboolean fullscreen;
+	gboolean remotesize;
 	
 	int width;
 	int height;
--- tsclient-2.0.1/src/plugins/default/tsc-vnc-edit-dialog.c.vnc-remotesize	2008-10-20 14:45:35.000000000 -0400
+++ tsclient-2.0.1/src/plugins/default/tsc-vnc-edit-dialog.c	2008-10-20 14:47:17.000000000 -0400
@@ -64,6 +64,10 @@ tsc_vnc_edit_dialog_load (TSCEditDialog 
 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (glade_xml_get_widget (dialog->xml,
 										       "fullscreen_radio")),
 					      TRUE);
+	} else if (connection->remotesize) {
+		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (glade_xml_get_widget (dialog->xml,
+										       "remotesize_radio")),
+					      TRUE);
 	} else {
 		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (glade_xml_get_widget (dialog->xml,
 										       "custom_window_radio")),
@@ -133,6 +137,9 @@ tsc_vnc_edit_dialog_save (TSCEditDialog 
 	connection->fullscreen = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (
 								       glade_xml_get_widget (dialog->xml,
 											     "fullscreen_radio")));
+	connection->remotesize = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (
+								       glade_xml_get_widget (dialog->xml,
+											     "remotesize_radio")));
 	connection->width = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (
 								      glade_xml_get_widget (dialog->xml,
 											    "width_spin")));
--- tsclient-2.0.1/data/tsclient.glade.vnc-remotesize	2008-06-27 11:16:33.000000000 -0400
+++ tsclient-2.0.1/data/tsclient.glade	2008-10-20 14:47:17.000000000 -0400
@@ -794,7 +794,7 @@ LAN</property>
                     <child>
                       <widget class="GtkTable" id="table5">
                         <property name="visible">True</property>
-                        <property name="n_rows">6</property>
+                        <property name="n_rows">7</property>
                         <property name="n_columns">2</property>
                         <property name="column_spacing">6</property>
                         <property name="row_spacing">6</property>
@@ -851,8 +851,8 @@ LAN</property>
                           <packing>
                             <property name="left_attach">1</property>
                             <property name="right_attach">2</property>
-                            <property name="top_attach">3</property>
-                            <property name="bottom_attach">4</property>
+                            <property name="top_attach">4</property>
+                            <property name="bottom_attach">5</property>
                             <property name="x_options">GTK_FILL</property>
                             <property name="y_options">GTK_FILL</property>
                           </packing>
@@ -868,6 +868,24 @@ LAN</property>
                             <property name="group">fullscreen_radio</property>
                           </widget>
                           <packing>
+                            <property name="top_attach">4</property>
+                            <property name="bottom_attach">5</property>
+                            <property name="x_options">GTK_FILL</property>
+                            <property name="y_options"></property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkRadioButton" id="remotesize_radio">
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="label" translatable="yes">Use Remote Screen Size</property>
+                            <property name="use_underline">True</property>
+                            <property name="response_id">0</property>
+                            <property name="draw_indicator">True</property>
+                            <property name="group">fullscreen_radio</property>
+                          </widget>
+                          <packing>
+                            <property name="right_attach">2</property>
                             <property name="top_attach">3</property>
                             <property name="bottom_attach">4</property>
                             <property name="x_options">GTK_FILL</property>
@@ -903,8 +921,8 @@ LAN</property>
                           </widget>
                           <packing>
                             <property name="right_attach">2</property>
-                            <property name="top_attach">5</property>
-                            <property name="bottom_attach">6</property>
+                            <property name="top_attach">6</property>
+                            <property name="bottom_attach">7</property>
                             <property name="x_options">GTK_FILL</property>
                             <property name="y_options"></property>
                           </packing>
@@ -921,8 +939,8 @@ LAN</property>
                           </widget>
                           <packing>
                             <property name="right_attach">2</property>
-                            <property name="top_attach">4</property>
-                            <property name="bottom_attach">5</property>
+                            <property name="top_attach">5</property>
+                            <property name="bottom_attach">6</property>
                             <property name="x_options">GTK_FILL</property>
                             <property name="y_options"></property>
                           </packing>


Index: tsclient.spec
===================================================================
RCS file: /cvs/extras/rpms/tsclient/devel/tsclient.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- tsclient.spec	12 Aug 2008 04:33:47 -0000	1.31
+++ tsclient.spec	22 Oct 2008 03:03:16 -0000	1.32
@@ -8,7 +8,7 @@
 Summary: Client for VNC and Windows Terminal Server
 Name: tsclient
 Version: 2.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://sourceforge.net/projects/tsclient
 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
 
@@ -32,6 +32,15 @@
 Patch0: icon-names.patch
 # reported upstream
 Patch1: launch-args.patch
+# reported upstream
+Patch2: edit-dialog-crash.patch
+# reported upstream
+Patch3: vnc-password-optional.patch
+# reported upstream
+Patch4: vnc-remote-screen-size.patch
+# NOT reported upstream; there's no simple way to make it support both
+# realvnc and tightvnc
+Patch5: realvnc-args.patch
 
 %description
 tsclient is a frontend that makes it easy to use rdesktop and vncviewer.
@@ -50,6 +59,10 @@
 %setup -q
 %patch0 -p1 -b .icon-names
 %patch1 -p1 -b .launch-args
+%patch2 -p1 -b .edit-dialog-crash
+%patch3 -p1 -b .vnc-password
+%patch4 -p1 -b .vnc-remotesize
+%patch5 -p1 -b .realvnc-args
 
 %build
 
@@ -119,6 +132,12 @@
 
 
 %changelog
+* Mon Oct 20 2008 Dan Winship <dwinship at redhat.com> - 2.0.1-2
+- Fix crash when building without optimization on x86_64
+- Allow VNC connections with no password (#460708)
+- Allow VNC connections to use remote screen size as window size (#460709)
+- Fix VNC code to work with RealVNC's vncviewer rather than TightVNC's
+
 * Mon Aug 11 2008 Matthias Clasen <mclasen at redhat.com> - 2.0.1-1
 - Update to 2.0.1
 




More information about the scm-commits mailing list