Add patch to fix FTBFS with libnotify 0.7
authorJulien Valroff <julien@kirya.net>
Sun, 12 Jun 2011 20:27:12 +0000 (22:27 +0200)
committerJulien Valroff <julien@kirya.net>
Sun, 12 Jun 2011 20:27:12 +0000 (22:27 +0200)
debian/changelog
debian/patches/012_libnotify-0.7.diff [new file with mode: 0644]
debian/patches/series

index 30bd41b..be4835e 100644 (file)
@@ -1,8 +1,9 @@
 pino (0.2.11-6) unstable; urgency=low
 
   * Improve copyright information 
+  * Add patch to fix FTBFS with libnotify 0.7 (Closes: #630296)
 
- -- Julien Valroff <julien@debian.org>  Sun, 12 Jun 2011 22:17:03 +0200
+ -- Julien Valroff <julien@debian.org>  Sun, 12 Jun 2011 22:26:17 +0200
 
 pino (0.2.11-5) unstable; urgency=low
 
diff --git a/debian/patches/012_libnotify-0.7.diff b/debian/patches/012_libnotify-0.7.diff
new file mode 100644 (file)
index 0000000..67ba7da
--- /dev/null
@@ -0,0 +1,26 @@
+Description: Remove the widget argument removed from notify_notification_new in 
+ libnotify 0.7 
+Author: Julien Valroff <julien@debian.org>
+Last-Updated: 2011-06-12
+Bug-Debian: http://bugs.debian.org/630296
+
+--- a/src/popups.vala
++++ b/src/popups.vala
+@@ -76,7 +76,7 @@
+                       head = "%s %s %s".printf(_("Direct message"), _("from"), head);
+               
+               Notification popup = new Notification(GLib.Markup.escape_text(head),
+-                      GLib.Markup.escape_text(status.text), null, null);
++                      GLib.Markup.escape_text(status.text), null);
+               
+               string av_path = cache.get_or_download(status.user_avatar,
+                       Cache.Method.ASYNC, false);
+@@ -92,7 +92,7 @@
+       
+       private void show_short_popup(string text) {
+               Notification popup = new Notification(_("Updates"),
+-                      text, null, null);
++                      text, null);
+               popup.set_icon_from_pixbuf(logo);
+               popup.set_timeout(5000);
+               popup.set_urgency(Notify.Urgency.NORMAL);
index 85c5626..57e10ae 100644 (file)
@@ -3,3 +3,4 @@
 003_es-translation.diff
 010_construct-only-properties.diff
 011_get_style_property-fix.diff
+012_libnotify-0.7.diff