Bug#549057: mail-notification: diff for NMU version 5.4.dfsg.1-2.3

2011-03-02 Thread LIU Qi
Hi Stephen,

Thanks for the NMU. I will back to maintain this package later this
month. Thanks again for your love on this package.

Regards,
Qi

On Wed, Mar 02, 2011 at 09:17:58AM +0100, Stephen Kitt wrote:
 > 
 > 
 > Dear maintainer,
 > 
 > I've prepared an NMU for mail-notification (versioned as
 > 5.4.dfsg.1-2.3) have requested its sponsorship. Please feel free to
 > tell me if I should delay it longer.
 > 
 > Regards,
 > 
 > Stephen




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#549057: mail-notification: diff for NMU version 5.4.dfsg.1-2.3

2011-03-02 Thread Stephen Kitt
Hi Qi,

On Wed, Mar 02, 2011 at 05:40:48PM +0800, LIU Qi wrote:
> Thanks for the NMU. I will back to maintain this package later this
> month. Thanks again for your love on this package.

That's great news! You're very welcome for the NMUs.

Regards,

Stephen



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#549057: mail-notification: diff for NMU version 5.4.dfsg.1-2.3

2011-03-02 Thread Stephen Kitt


Dear maintainer,

I've prepared an NMU for mail-notification (versioned as
5.4.dfsg.1-2.3) have requested its sponsorship. Please feel free to
tell me if I should delay it longer.

Regards,

Stephen
diff -Nru mail-notification-5.4.dfsg.1/debian/changelog mail-notification-5.4.dfsg.1/debian/changelog
--- mail-notification-5.4.dfsg.1/debian/changelog	2010-05-26 08:09:41.0 +0200
+++ mail-notification-5.4.dfsg.1/debian/changelog	2011-02-28 00:50:50.0 +0100
@@ -1,3 +1,15 @@
+mail-notification (5.4.dfsg.1-2.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build with gmime 2.4 (closes: #549057). Thanks to Götz Watsch for
+the original patch, adapted here to modify the gob sources.
+  * Build with evolution-data-server 2.32.
+  * Link in libX11 explicitly to build with strict linking dependencies.
+  * Document all patches (minimally).
+  * Standards-Version 3.9.1, no change required.
+
+ -- Stephen Kitt   Mon, 28 Feb 2011 00:14:07 +0100
+
 mail-notification (5.4.dfsg.1-2.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru mail-notification-5.4.dfsg.1/debian/control mail-notification-5.4.dfsg.1/debian/control
--- mail-notification-5.4.dfsg.1/debian/control	2010-05-26 06:55:55.0 +0200
+++ mail-notification-5.4.dfsg.1/debian/control	2011-02-28 00:50:20.0 +0100
@@ -2,8 +2,8 @@
 Section: gnome
 Priority: optional
 Maintainer: LIU Qi 
-Build-Depends: debhelper (>= 7), scrollkeeper, gnome-pkg-tools, libxml-parser-perl, libglade2-dev (>= 2.6.0), libsasl2-dev (>= 2.0.0), libgmime-2.0-2-dev (>= 2.2.3), evolution-dev (>= 2.11.0), evolution-plugins (>= 2.6.0), evolution-data-server-dev (>= 1.6.0), libgnomeprintui2.2-dev, libnotify-dev (>= 0.4.3), intltool (>= 0.35), gob2 (>= 2.0.16)
-Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7), scrollkeeper, gnome-pkg-tools, libxml-parser-perl, libglade2-dev (>= 2.6.0), libsasl2-dev (>= 2.0.0), libgmime-2.4-dev, evolution-dev (>= 2.11.0), evolution-plugins (>= 2.6.0), evolution-data-server-dev (>= 1.6.0), libgnomeprintui2.2-dev, libnotify-dev (>= 0.4.3), intltool (>= 0.35), gob2 (>= 2.0.16), libx11-dev
+Standards-Version: 3.9.1
 
 Package: mail-notification
 Architecture: any
diff -Nru mail-notification-5.4.dfsg.1/debian/patches/camel-includes.patch mail-notification-5.4.dfsg.1/debian/patches/camel-includes.patch
--- mail-notification-5.4.dfsg.1/debian/patches/camel-includes.patch	1970-01-01 01:00:00.0 +0100
+++ mail-notification-5.4.dfsg.1/debian/patches/camel-includes.patch	2011-02-28 00:47:54.0 +0100
@@ -0,0 +1,36 @@
+Include camel/camel.h instead of specific headers; the latter is
+forbidden in evolution-data-server 2.32.
+
+--- mail-notification-5.4.dfsg.1.orig/src/mn-evolution-message.gob
 mail-notification-5.4.dfsg.1/src/mn-evolution-message.gob
+@@ -23,7 +23,7 @@
+ 
+ %{
+ #include 
+-#include 
++#include 
+ #include "mn-evolution-mailbox.h"
+ #include "mn-message-private.h"
+ #include "mn-evolution-client.h"
+--- mail-notification-5.4.dfsg.1.orig/src/mn-evolution-plugin.c
 mail-notification-5.4.dfsg.1/src/mn-evolution-plugin.c
+@@ -24,7 +24,7 @@
+ #include 
+ #include 
+ #include 
+-#include 
++#include 
+ #include 
+ #include 
+ #include "mn-evolution.h"
+--- mail-notification-5.4.dfsg.1.orig/src/mn-evolution-server.gob
 mail-notification-5.4.dfsg.1/src/mn-evolution-server.gob
+@@ -26,7 +26,7 @@
+ #include 
+ #include 
+ #include 
+-#include 
++#include 
+ #if EDS_CHECK_VERSION(2,29,0)
+ #include 
+ #include 
diff -Nru mail-notification-5.4.dfsg.1/debian/patches/mail-notification-5.4-gmime.patch mail-notification-5.4.dfsg.1/debian/patches/mail-notification-5.4-gmime.patch
--- mail-notification-5.4.dfsg.1/debian/patches/mail-notification-5.4-gmime.patch	1970-01-01 01:00:00.0 +0100
+++ mail-notification-5.4.dfsg.1/debian/patches/mail-notification-5.4-gmime.patch	2011-02-28 00:47:00.0 +0100
@@ -0,0 +1,63 @@
+Build with gmime 2.4. Patch taken from
+http://launchpadlibrarian.net/54265412/mail-notification-5.4-gmime.patch
+and adapted to fix the gob sources rather than the generated C.
+
+--- mail-notification-5.4.dfsg.1.orig/jbsrc/jb.c
 mail-notification-5.4.dfsg.1/jbsrc/jb.c
+@@ -166,7 +166,7 @@
+   jb_require_packages("GNOME", "gnome", "glib-2.0 >= 2.14 gthread-2.0 gconf-2.0 >= 2.4.0 gtk+-2.0 >= 2.12 libgnomeui-2.0 >= 2.14.0 gnome-vfs-2.0 libglade-2.0 libxml-2.0 libnotify >= 0.4.1");
+   jb_require_packages("D-Bus", "dbus", "dbus-glib-1");
+ 
+-  jb_check_packages_for_options("GMime", "gmime", "gmime-2.0 >= 2.2.7",
++  jb_check_packages_for_options("GMime", "gmime", "gmime-2.4",
+ "hotmail",
+ "imap",
+ "maildir",
+--- mail-notification-5.4.dfsg.1.orig/src/mn-message-mime.c
 mail-notification-5.4.dfsg.1/src/mn-message-mime.c
+@@ -33,12 +33,12 @@
+   g_return_val_if_fail(GMIME_IS_MESSAGE(mime_message), FALSE);
+ 
+   /* SpamAssassin */
+-  spam = g_mime_message_get_header(mime_message, "X-Spam-Status");
++  spam = g_mime_object_get_header(mime_mess