tags 630259 + patch tags 630259 + pending thanks Dear maintainer,
I've prepared an NMU for alarm-clock (versioned as 1.2.5-1.2) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer. Regards. diff -u alarm-clock-1.2.5/debian/control alarm-clock-1.2.5/debian/control --- alarm-clock-1.2.5/debian/control +++ alarm-clock-1.2.5/debian/control @@ -2,7 +2,7 @@ Section: utils Priority: optional Maintainer: Ryan Niebur <r...@debian.org> -Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7), automake, intltool, libgstreamer0.10-dev, libgtk2.0-dev, libnotify-dev, libglib2.0-dev +Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7), automake, intltool, libgstreamer0.10-dev, libgtk2.0-dev, libnotify-dev (>= 0.7), libglib2.0-dev Standards-Version: 3.8.3 Homepage: http://gnome-automate.net/ Vcs-Git: git://git.ryan52.info/git/alarm-clock diff -u alarm-clock-1.2.5/debian/changelog alarm-clock-1.2.5/debian/changelog --- alarm-clock-1.2.5/debian/changelog +++ alarm-clock-1.2.5/debian/changelog @@ -1,3 +1,11 @@ +alarm-clock (1.2.5-1.2) unstable; urgency=low + + * Non-maintainer upload. + * debian/patches/libnotify0.7.patch: Transition to libnotify 0.7 (Closes: + #630259) + + -- Laurent Bigonville <bi...@debian.org> Tue, 02 Aug 2011 22:24:24 +0200 + alarm-clock (1.2.5-1.1) unstable; urgency=low * Non-maintainer upload. diff -u alarm-clock-1.2.5/debian/patches/series alarm-clock-1.2.5/debian/patches/series --- alarm-clock-1.2.5/debian/patches/series +++ alarm-clock-1.2.5/debian/patches/series @@ -3,0 +4 @@ +libnotify0.7.patch only in patch2: unchanged: --- alarm-clock-1.2.5.orig/debian/patches/libnotify0.7.patch +++ alarm-clock-1.2.5/debian/patches/libnotify0.7.patch @@ -0,0 +1,29 @@ +Descripton: Add support for libnotify 0.7 +Author: Laurent Bigonville <bi...@debian.org> +Date: Tue, 02 Aug 2011 22:25:18 +0200 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630259 + +--- a/src/alarm_runner.c ++++ b/src/alarm_runner.c +@@ -24,6 +24,9 @@ + #include "modify_alarm.h" + + #include <libnotify/notify.h> ++#ifndef NOTIFY_CHECK_VERSION ++#define NOTIFY_CHECK_VERSION(x,y,z) 0 ++#endif + #include <gst/gst.h> + + void +@@ -212,7 +215,11 @@ + text = g_key_file_get_string(loaded_alarms, name, "PassivePopupText", NULL); + + if (notify != NULL) notify_notification_close(notify, NULL); ++#if NOTIFY_CHECK_VERSION(0,7,0) ++ notify = notify_notification_new(title, text, NULL); ++#else + notify = notify_notification_new_with_status_icon(title, text, NULL, status_icon); ++#endif + + notify_notification_set_urgency(notify, type); + notify_notification_set_timeout(notify, timeout * 1000); -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/debian-bugs-rc