tags 630281 + patch
thanks

Dear maintainer,

I've prepared an NMU for gsql (versioned as 0.2.2-1.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
diff -u gsql-0.2.2/debian/control gsql-0.2.2/debian/control
--- gsql-0.2.2/debian/control
+++ gsql-0.2.2/debian/control
@@ -3,7 +3,7 @@
 Section: gnome
 Priority: optional
 Build-Depends: cdbs, debhelper (>= 7.0.50~), autotools-dev, automake,
- libgtksourceview2.0-dev, libnotify-dev, libgtk2.0-dev,
+ libgtksourceview2.0-dev, libnotify-dev (>= 0.7), libgtk2.0-dev,
  libgnomeui-dev, libvte-dev, libmysqlclient-dev, libpq-dev, libssh-dev,
  libglade2-dev
 Standards-Version: 3.9.1
diff -u gsql-0.2.2/debian/changelog gsql-0.2.2/debian/changelog
--- gsql-0.2.2/debian/changelog
+++ gsql-0.2.2/debian/changelog
@@ -1,3 +1,11 @@
+gsql (0.2.2-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * libgsql/notify.c: Add libnotify 0.7 compatibility (Closes: #630281)
+  * debian/control: Bump libnotify build-dependency to 0.7
+
+ -- Laurent Bigonville <bi...@debian.org>  Mon, 08 Aug 2011 10:16:50 +0200
+
 gsql (0.2.2-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- gsql-0.2.2.orig/libgsql/notify.c
+++ gsql-0.2.2/libgsql/notify.c
@@ -21,6 +21,9 @@
 
  
 #include <libnotify/notify.h>
+#ifndef NOTIFY_CHECK_VERSION
+#define NOTIFY_CHECK_VERSION(x,y,z) 0
+#endif
 #include <session.h>
 #include <common.h>
 #include <stock.h>
@@ -46,7 +49,11 @@
        if (!notify_is_initted())
                notify_init (PROJECT_NAME);
        
+#if NOTIFY_CHECK_VERSION(0,7,0)
+       notify = notify_notification_new (subj, message, NULL);
+#else
        notify = notify_notification_new (subj, message, NULL, NULL);
+#endif 
        
        notify_notification_set_icon_from_pixbuf(notify, create_pixbuf 
("gsql.png"));
        notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT);



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/debian-bugs-dist

Reply via email to