rpms/vino/devel restart-command.patch, 1.1, 1.2 vino.spec, 1.108, 1.109

Matthias Clasen mclasen at fedoraproject.org
Mon Sep 28 00:03:04 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/vino/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20006

Modified Files:
	restart-command.patch vino.spec 
Log Message:
better fix


restart-command.patch:
 vino-main.c |    1 +
 1 file changed, 1 insertion(+)

Index: restart-command.patch
===================================================================
RCS file: /cvs/pkgs/rpms/vino/devel/restart-command.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- restart-command.patch	27 Sep 2009 23:15:49 -0000	1.1
+++ restart-command.patch	28 Sep 2009 00:03:00 -0000	1.2
@@ -1,20 +1,11 @@
 diff -up vino-2.28.0/server/vino-main.c.restart-command vino-2.28.0/server/vino-main.c
 --- vino-2.28.0/server/vino-main.c.restart-command	2009-09-27 19:05:09.499279814 -0400
-+++ vino-2.28.0/server/vino-main.c	2009-09-27 19:02:39.674034961 -0400
-@@ -58,6 +58,7 @@ main (int argc, char **argv)
-   int             i, n_screens;
-   GError         *error = NULL;
-   EggSMClient    *client;
-+  const char     *restart_command[1];
- 
-   setlocale (LC_ALL, "");
-   bindtextdomain (GETTEXT_PACKAGE, VINO_LOCALEDIR);
-@@ -78,6 +79,8 @@ main (int argc, char **argv)
++++ vino-2.28.0/server/vino-main.c	2009-09-27 19:52:28.846036969 -0400
+@@ -78,6 +79,7 @@ main (int argc, char **argv)
      }
  
    client = egg_sm_client_get ();
-+  restart_command[0] = "/usr/libexec/vino-server";
-+  egg_sm_client_set_restart_command (client, 1, restart_command);
++  egg_sm_client_set_mode (EGG_SM_CLIENT_MODE_NO_RESTART);
    g_signal_connect (client, "quit",
  		    G_CALLBACK (gtk_main_quit), NULL);
  


Index: vino.spec
===================================================================
RCS file: /cvs/pkgs/rpms/vino/devel/vino.spec,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -p -r1.108 -r1.109
--- vino.spec	27 Sep 2009 23:15:49 -0000	1.108
+++ vino.spec	28 Sep 2009 00:03:00 -0000	1.109
@@ -10,7 +10,7 @@
 Summary: A remote desktop system for GNOME
 Name: vino
 Version: 2.28.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://www.gnome.org
 Source0: http://download.gnome.org/sources/vino/2.28/%{name}-%{version}.tar.bz2
 
@@ -132,6 +132,9 @@ fi
 %{_sysconfdir}/xdg/autostart/vino-server.desktop
 
 %changelog
+* Sun Sep 27 2009 Matthias Clasen <mclasen at redhat.com> - 2.28.0-3
+- Even better, just rely on autostart
+
 * Sun Sep 27 2009 Matthias Clasen <mclasen at redhat.com> - 2.28.0-2
 - Make vino-server set a proper restart command
 




More information about the scm-commits mailing list