tags 630291 + pending
thanks

Dear maintainer,

I've prepared an NMU for minbar (versioned as 0.2.1-5.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 minbar-0.2.1/debian/changelog minbar-0.2.1/debian/changelog
--- minbar-0.2.1/debian/changelog
+++ minbar-0.2.1/debian/changelog
@@ -1,3 +1,11 @@
+minbar (0.2.1-5.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix compatibility with libnotify 0.7. Patch courtesy of Ahmed El-Mahmoudy.
+    (Closes: #630291)
+
+ -- Jérémy Bobbio <lu...@debian.org>  Wed, 03 Aug 2011 13:51:09 +0200
+
 minbar (0.2.1-5) unstable; urgency=low
 
   * Split package to create a minbar-data package.
diff -u minbar-0.2.1/debian/patches/series minbar-0.2.1/debian/patches/series
--- minbar-0.2.1/debian/patches/series
+++ minbar-0.2.1/debian/patches/series
@@ -5,0 +6 @@
+fix-libnotify0.7.diff
only in patch2:
unchanged:
--- minbar-0.2.1.orig/debian/patches/fix-libnotify0.7.diff
+++ minbar-0.2.1/debian/patches/fix-libnotify0.7.diff
@@ -0,0 +1,20 @@
+Description: Fix FTBFS with libnotify0.7
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630291
+Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmo...@sabily.org>
+--- a/src/main.c
++++ b/src/main.c
+@@ -1239,9 +1239,13 @@
+ 	notification = notify_notification_new
+                                             (program_name,
+                                              NULL,
++#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
+                                              NULL,
+-					     NULL);
++                                             NULL);
+ 	notify_notification_attach_to_status_icon (notification, status_icon );
++#else
++                                             NULL);
++#endif
+ 	notify_notification_set_timeout (notification, 8000);
+ }
+ #endif

Attachment: signature.asc
Description: Digital signature

Reply via email to