rpms/vino/devel restart-command.patch, NONE, 1.1 vino.spec, 1.107, 1.108
Matthias Clasen
mclasen at fedoraproject.org
Sun Sep 27 23:15:51 UTC 2009
Author: mclasen
Update of /cvs/pkgs/rpms/vino/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1970
Modified Files:
vino.spec
Added Files:
restart-command.patch
Log Message:
Fix restart command
restart-command.patch:
vino-main.c | 3 +++
1 file changed, 3 insertions(+)
--- NEW FILE restart-command.patch ---
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)
}
client = egg_sm_client_get ();
+ restart_command[0] = "/usr/libexec/vino-server";
+ egg_sm_client_set_restart_command (client, 1, restart_command);
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.107
retrieving revision 1.108
diff -u -p -r1.107 -r1.108
--- vino.spec 23 Sep 2009 22:39:04 -0000 1.107
+++ vino.spec 27 Sep 2009 23:15:49 -0000 1.108
@@ -10,11 +10,13 @@
Summary: A remote desktop system for GNOME
Name: vino
Version: 2.28.0
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/vino/2.28/%{name}-%{version}.tar.bz2
Patch0: vino-smclient.patch
+# https://bugzilla.gnome.org/show_bug.cgi?id=596548
+Patch1: restart-command.patch
License: GPLv2+
Group: User Interface/Desktops
@@ -52,6 +54,7 @@ connect to a running GNOME session using
%prep
%setup -q
%patch0 -p1 -b .smclient
+%patch1 -p1 -b .restart-command
autoreconf -i -f
@@ -129,6 +132,9 @@ fi
%{_sysconfdir}/xdg/autostart/vino-server.desktop
%changelog
+* Sun Sep 27 2009 Matthias Clasen <mclasen at redhat.com> - 2.28.0-2
+- Make vino-server set a proper restart command
+
* Wed Sep 23 2009 Matthias Clasen <mclasen at redhat.com> - 2.28.0-1
- Update to 2.28.0
More information about the scm-commits
mailing list