tags 630297 + pending
thanks

Hi, 

I have uploaded a NMU fixing this bug as part of the libnotify 0.7
transition effort. Attached are the changes used to fix it.

Jordi
-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[email protected]     [email protected]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/
diff -Nuar pomodoro-applet-0.4.1-1/debian/changelog pomodoro-applet-0.4.1/debian/changelog
--- pomodoro-applet-0.4.1-1/debian/changelog	2010-11-02 21:22:22.000000000 +0100
+++ pomodoro-applet-0.4.1/debian/changelog	2011-08-05 15:58:25.000000000 +0200
@@ -1,3 +1,11 @@
+pomodoro-applet (0.4.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload, for the libnotify 0.7 transition.
+  * Apply upstream patch to support the new libnotify API (closes: #630297).
+  * Require libnotify-dev (>= 0.7).
+
+ -- Jordi Mallach <[email protected]>  Fri, 05 Aug 2011 15:51:16 +0200
+
 pomodoro-applet (0.4.1-1) unstable; urgency=low
 
   * New upstream release.
diff -Nuar pomodoro-applet-0.4.1-1/debian/control pomodoro-applet-0.4.1/debian/control
--- pomodoro-applet-0.4.1-1/debian/control	2010-10-13 21:46:39.000000000 +0200
+++ pomodoro-applet-0.4.1/debian/control	2011-08-05 15:59:44.000000000 +0200
@@ -2,7 +2,7 @@
 Section: gnome
 Priority: extra
 Maintainer: John Stumpo <[email protected]>
-Build-Depends: debhelper (>= 7), autotools-dev, libpanel-applet2-dev, libnotify-dev, libgstreamer0.10-dev
+Build-Depends: debhelper (>= 7), autotools-dev, libpanel-applet2-dev, libnotify-dev (>= 0.7), libgstreamer0.10-dev
 Standards-Version: 3.9.1
 
 Package: pomodoro-applet
diff -Nuar pomodoro-applet-0.4.1-1/debian/patches/libnotify07.patch pomodoro-applet-0.4.1/debian/patches/libnotify07.patch
--- pomodoro-applet-0.4.1-1/debian/patches/libnotify07.patch	1970-01-01 01:00:00.000000000 +0100
+++ pomodoro-applet-0.4.1/debian/patches/libnotify07.patch	2011-08-05 15:53:40.000000000 +0200
@@ -0,0 +1,27 @@
+From: John Stumpo <[email protected]>
+Date: Mon, 13 Jun 2011 21:26:05 +0000 (-0400)
+Subject: Update call to notify_notification_new for libnotify 0.7.
+X-Git-Tag: v0.5~1
+X-Git-Url: http://git.jstump.com/gitweb/pomodoro-applet.git?a=commitdiff_plain;h=e89271b730849f44c1a6c38f317400a37f8c6187
+
+Update call to notify_notification_new for libnotify 0.7.
+---
+
+diff --git a/pomodoro.c b/pomodoro.c
+index dfd03d7..1a304b1 100644
+--- a/pomodoro.c
++++ b/pomodoro.c
+@@ -59,7 +59,12 @@ static void pom_set_timer(struct pom_state* state, int new_state, int seconds)
+ static void pom_notify(struct pom_state* state, const gchar* summary, const gchar* body, gboolean sound)
+ {
+   /* Show the libnotify notification. */
+-  NotifyNotification* note = notify_notification_new(summary, body, NULL, NULL);
++  NotifyNotification* note;
++#if !defined(NOTIFY_VERSION_MAJOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
++  note = notify_notification_new(summary, body, NULL, NULL);
++#else
++  note = notify_notification_new(summary, body, NULL);
++#endif
+   notify_notification_show(note, NULL);
+   g_object_unref(note);
+ 
diff -Nuar pomodoro-applet-0.4.1-1/debian/patches/series pomodoro-applet-0.4.1/debian/patches/series
--- pomodoro-applet-0.4.1-1/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ pomodoro-applet-0.4.1/debian/patches/series	2011-08-05 16:03:36.000000000 +0200
@@ -0,0 +1 @@
+libnotify07.patch

Reply via email to