tags 630289 + pending thanks Dear maintainer,
I've prepared an NMU for lxmusic (versioned as 0.4.4+git20100802-2.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 -u lxmusic-0.4.4+git20100802/debian/changelog lxmusic-0.4.4+git20100802/debian/changelog --- lxmusic-0.4.4+git20100802/debian/changelog +++ lxmusic-0.4.4+git20100802/debian/changelog @@ -1,3 +1,10 @@ +lxmusic (0.4.4+git20100802-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Add compatibility with libnotify 0.7. (Closes: #630289) + + -- Jérémy Bobbio <lu...@debian.org> Wed, 03 Aug 2011 13:17:51 +0200 + lxmusic (0.4.4+git20100802-2) unstable; urgency=low * Enable the hotfix (Closes: 592162) diff -u lxmusic-0.4.4+git20100802/debian/patches/00list lxmusic-0.4.4+git20100802/debian/patches/00list --- lxmusic-0.4.4+git20100802/debian/patches/00list +++ lxmusic-0.4.4+git20100802/debian/patches/00list @@ -1,0 +2 @@ +20_add_libnotify0.7_compatibility.dpatch only in patch2: unchanged: --- lxmusic-0.4.4+git20100802.orig/debian/patches/20_add_libnotify0.7_compatibility.dpatch +++ lxmusic-0.4.4+git20100802/debian/patches/20_add_libnotify0.7_compatibility.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20_add_libnotify0.7_compatibility.dpatch by Jérémy Bobbio <lu...@debian.org> +## +## DP: Add compatibility with libnotify 0.7 + +@DPATCH@ +--- lxmusic-0.4.4+git20100802.orig/src/lxmusic-notify.c ++++ lxmusic-0.4.4+git20100802/src/lxmusic-notify.c +@@ -21,6 +21,9 @@ + #include <gtk/gtk.h> + #include <glib/gi18n.h> + #include <libnotify/notify.h> ++#ifndef NOTIFY_CHECK_VERSION ++#define NOTIFY_CHECK_VERSION(x,y,z) 0 ++#endif + #include "lxmusic-notify.h" + + #define LXMUSIC_NOTIFY_NOTIFICATION_SHOW( notify ) do { GError *error = NULL; \ +@@ -70,9 +73,13 @@ + else + g_string_append( message, title ); + struct _LXMusicNotification *lxn = g_new ( struct _LXMusicNotification, 1); ++#if NOTIFY_CHECK_VERSION(0,7,0) ++ lxn->notify = notify_notification_new (summary, message->str, NULL); ++#else + lxn->notify = notify_notification_new (summary, message->str, NULL, NULL); +- notify_notification_set_urgency (lxn->notify, NOTIFY_URGENCY_NORMAL); + notify_notification_attach_to_status_icon( lxn->notify, status_icon ); ++#endif ++ notify_notification_set_urgency (lxn->notify, NOTIFY_URGENCY_NORMAL); + notify_notification_set_timeout (lxn->notify, NOTIFY_EXPIRES_DEFAULT); + g_string_free( message, TRUE ); + return lxn;
signature.asc
Description: Digital signature