diff --git a/notify.patch b/notify.patch new file mode 100644 index 0000000..e6f8119 --- /dev/null +++ b/notify.patch @@ -0,0 +1,30 @@ +diff -up vino-2.32.0/server/vino-status-icon.c.notify vino-2.32.0/server/vino-status-icon.c +--- vino-2.32.0/server/vino-status-icon.c.notify 2010-11-03 11:10:04.174241996 -0400 ++++ vino-2.32.0/server/vino-status-icon.c 2010-11-03 11:10:29.007241854 -0400 +@@ -622,10 +622,9 @@ vino_status_icon_show_new_client_notific + } + + icon->priv->new_client_notification = +- notify_notification_new_with_status_icon (summary, +- body, +- "preferences-desktop-remote-desktop", +- GTK_STATUS_ICON (icon)); ++ notify_notification_new (summary, ++ body, ++ "preferences-desktop-remote-desktop"); + + g_free (body); + +diff -up vino-2.32.0/server/vino-status-tube-icon.c.notify vino-2.32.0/server/vino-status-tube-icon.c +--- vino-2.32.0/server/vino-status-tube-icon.c.notify 2010-11-03 11:10:45.413241925 -0400 ++++ vino-2.32.0/server/vino-status-tube-icon.c 2010-11-03 11:11:11.579242013 -0400 +@@ -405,8 +405,7 @@ vino_status_tube_icon_show_notif (VinoSt + filename = "stock_person"; + + icon->priv->new_client_notification = +- notify_notification_new_with_status_icon (summary, body, +- filename, GTK_STATUS_ICON (icon)); ++ notify_notification_new (summary, body, filename); + + notify_notification_set_timeout (icon->priv->new_client_notification, + NOTIFICATION_TIMEOUT * 1000); diff --git a/vino.spec b/vino.spec index 513c807..8da9535 100644 --- a/vino.spec +++ b/vino.spec @@ -10,11 +10,14 @@ Summary: A remote desktop system for GNOME Name: vino Version: 2.32.0 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.gnome.org #VCS: git:git://git.gnome.org/vino Source0: http://download.gnome.org/sources/vino/2.32/%{name}-%{version}.tar.bz2 +# https://bugzilla.gnome.org/show_bug.cgi?id=631948 +Patch0: notify.patch + License: GPLv2+ Group: User Interface/Desktops @@ -49,6 +52,7 @@ connect to a running GNOME session using VNC. %prep %setup -q +%patch0 -p1 -b .notify %build %configure \ @@ -120,6 +124,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_sysconfdir}/xdg/autostart/vino-server.desktop %changelog +* Wed Nov 3 2010 Matthias Clasen - 2.32.0-2 +- Rebuild against libnotify 0.7.0 + * Wed Sep 29 2010 Matthias Clasen - 2.32.0-1 - Update to 2.32.0