tags 630303 + pending thanks Dear maintainer,
I've prepared an NMU for synce-trayicon (versioned as 0.15-1.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer. Cheers, -- Jérémy Bobbio .''`. lu...@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-
diff -Nru synce-trayicon-0.15/debian/changelog synce-trayicon-0.15/debian/changelog --- synce-trayicon-0.15/debian/changelog 2010-05-12 17:35:14.000000000 +0200 +++ synce-trayicon-0.15/debian/changelog 2011-08-03 15:44:15.000000000 +0200 @@ -1,3 +1,10 @@ +synce-trayicon (0.15-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Add compatibility with libnotify 0.7 API. (Closes: #630303) + + -- Jérémy Bobbio <lu...@debian.org> Wed, 03 Aug 2011 14:43:26 +0200 + synce-trayicon (0.15-1) unstable; urgency=low * New upstream release. diff -Nru synce-trayicon-0.15/debian/patches/0001-Add-compatibility-with-libnotify-0.7-API.patch synce-trayicon-0.15/debian/patches/0001-Add-compatibility-with-libnotify-0.7-API.patch --- synce-trayicon-0.15/debian/patches/0001-Add-compatibility-with-libnotify-0.7-API.patch 1970-01-01 01:00:00.000000000 +0100 +++ synce-trayicon-0.15/debian/patches/0001-Add-compatibility-with-libnotify-0.7-API.patch 2011-08-03 15:44:13.000000000 +0200 @@ -0,0 +1,38 @@ +From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lu...@debian.org> +Date: Thu, 21 Jul 2011 17:04:31 +0200 +Subject: [PATCH] Add compatibility with libnotify 0.7 API + +Closes: #630303 +--- + src/synce-trayicon.c | 9 +++++++++ + 1 files changed, 9 insertions(+), 0 deletions(-) + +diff --git a/src/synce-trayicon.c b/src/synce-trayicon.c +index af66f21..e89038c 100644 +--- a/src/synce-trayicon.c ++++ b/src/synce-trayicon.c +@@ -36,6 +36,10 @@ IN THE SOFTWARE. + #include <synce.h> + #include <libnotify/notify.h> + ++#ifndef NOTIFY_CHECK_VERSION ++#define NOTIFY_CHECK_VERSION(x,y,z) 0 ++#endif ++ + #include "synce-trayicon.h" + #include "gtop_stuff.h" + #include "properties.h" +@@ -204,7 +208,12 @@ event_notification(SynceTrayIcon *self, const gchar *summary, const gchar *body) + } + + if (gtk_status_icon_is_embedded(GTK_STATUS_ICON(self))) { ++/* libnotify 0.7.0 and later has no support for attaching to widgets */ ++#if NOTIFY_CHECK_VERSION(0,7,0) ++ priv->notification = notify_notification_new (summary, body, NULL); ++#else + priv->notification = notify_notification_new_with_status_icon (summary, body, NULL, GTK_STATUS_ICON(self)); ++#endif + notify_notification_show (priv->notification, NULL); + } else { + g_debug("%s: not embedded", G_STRFUNC); +-- diff -Nru synce-trayicon-0.15/debian/patches/series synce-trayicon-0.15/debian/patches/series --- synce-trayicon-0.15/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ synce-trayicon-0.15/debian/patches/series 2011-08-03 15:44:13.000000000 +0200 @@ -0,0 +1 @@ +0001-Add-compatibility-with-libnotify-0.7-API.patch
signature.asc
Description: Digital signature