diff --git a/ekiga.spec b/ekiga.spec index d0d3c25..e8404db 100644 --- a/ekiga.spec +++ b/ekiga.spec @@ -1,7 +1,7 @@ Summary: A Gnome based SIP/H323 teleconferencing application Name: ekiga Version: 3.2.7 -Release: 4%{?dist} +Release: 5%{?dist} URL: http://www.ekiga.org/ Source0: ftp://ftp.gnome.org/pub/gnome/sources/ekiga/3.1/%{name}-%{version}.tar.bz2 License: GPLv2+ @@ -43,6 +43,7 @@ Requires(post): scrollkeeper Requires(postun):scrollkeeper Patch0: ekiga-3.2.7-gtkflags.patch +Patch1: notify.patch %description Ekiga is a tool to communicate with video and audio over the internet. @@ -51,6 +52,7 @@ It uses the standard SIP and H323 protocols. %prep %setup -q %patch0 -p1 -b .gtkflags +%patch1 -p1 -b .notify # force regeneration to drop translations rm ekiga.schemas @@ -144,6 +146,9 @@ scrollkeeper-update -q || : %{_sysconfdir}/gconf/schemas/ekiga.schemas %changelog +* Fri Nov 5 2010 Matthias Clasen - 3.2.7-5 +- Rebuild against libnotify 0.7.0 + * Mon Jul 26 2010 Caolán McNamara - 3.2.7-4 - add gtk flags to notify plugin to rebuild diff --git a/notify.patch b/notify.patch new file mode 100644 index 0000000..f6fa11d --- /dev/null +++ b/notify.patch @@ -0,0 +1,17 @@ +diff -up ekiga-3.2.7/src/gui/main.cpp.notify ekiga-3.2.7/src/gui/main.cpp +--- ekiga-3.2.7/src/gui/main.cpp.notify 2010-11-05 16:37:16.355300004 -0400 ++++ ekiga-3.2.7/src/gui/main.cpp 2010-11-05 16:37:40.631300004 -0400 +@@ -2820,12 +2820,11 @@ ekiga_main_window_incoming_call_notify ( + + body = g_strdup_printf ("%s\n%s\n%s", uri, app, account); + +- notify = notify_notification_new (title, body, GM_ICON_LOGO, NULL); ++ notify = notify_notification_new (title, body, GM_ICON_LOGO); + notify_notification_add_action (notify, "accept", _("Accept"), notify_action_cb, mw, NULL); + notify_notification_add_action (notify, "reject", _("Reject"), notify_action_cb, mw, NULL); + notify_notification_set_timeout (notify, NOTIFY_EXPIRES_NEVER); + notify_notification_set_urgency (notify, NOTIFY_URGENCY_CRITICAL); +- notify_notification_attach_to_status_icon (notify, statusicon); + if (!notify_notification_show (notify, NULL)) { + ekiga_main_window_incoming_call_dialog_show (mw, call); + }