Hello community,

here is the log from the commit of package gnome-gmail-notifier for 
openSUSE:Factory
checked in at Mon May 30 15:56:10 CEST 2011.



--------
--- GNOME/gnome-gmail-notifier/gnome-gmail-notifier.changes     2011-02-12 
20:25:05.000000000 +0100
+++ 
/mounts/work_src_done/STABLE/gnome-gmail-notifier/gnome-gmail-notifier.changes  
    2011-05-19 21:32:57.000000000 +0200
@@ -1,0 +2,6 @@
+Thu May 19 19:30:11 UTC 2011 - dims...@opensuse.org
+
+- Add gnome-gmail-notifier-libnotify-0.7.patch: fix build with
+  libnotify 0.7.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  gnome-gmail-notifier-libnotify-0.7.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-gmail-notifier.spec ++++++
--- /var/tmp/diff_new_pack.f2bSU4/_old  2011-05-30 15:54:28.000000000 +0200
+++ /var/tmp/diff_new_pack.f2bSU4/_new  2011-05-30 15:54:28.000000000 +0200
@@ -19,12 +19,14 @@
 
 Name:           gnome-gmail-notifier
 Version:        0.10.1
-Release:        2
+Release:        8
 License:        GPLv2+
 Summary:        Gmail Notifier for GNOME
 Url:            http://code.google.com/p/gnome-gmail-notifier/
 Group:          System/GUI/GNOME
 Source:         %{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM gnome-gmail-notifier-libnotify-0.7.patch issue#86 
dims...@opensuse.org -- Fix build with libnotify 0.7.
+Patch0:         gnome-gmail-notifier-libnotify-0.7.patch
 BuildRequires:  fdupes
 BuildRequires:  gstreamer-0_10-plugins-good
 BuildRequires:  gstreamer-0_10-utils
@@ -49,6 +51,7 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++++++ gnome-gmail-notifier-libnotify-0.7.patch ++++++
Fix build with libnotify 0.7

Reported in upstream bug tracker at 
http://code.google.com/p/gnome-gmail-notifier/issues/detail?id=86
Patch attached as 
http://gnome-gmail-notifier.googlecode.com/issues/attachment?aid=7808802110135663959&name=gnome-gmail-notifier-libnotify-0.7.patch&token=553edde5089734ddb9c57a04399095b8

Index: gnome-gmail-notifier-0.10.1/src/ggn-icon.c
===================================================================
--- gnome-gmail-notifier-0.10.1.orig/src/ggn-icon.c
+++ gnome-gmail-notifier-0.10.1/src/ggn-icon.c
@@ -32,6 +32,10 @@
 #include <main.h>
 #include "ggn-icon-priv.h"
 
+#ifndef NOTIFY_CHECK_VERSION
+#define NOTIFY_CHECK_VERSION(x,y,z) 0
+#endif
+
 /*
  * forward function definitions.
  */
@@ -566,12 +570,17 @@ gpointer ggn_icon_show_notification_thre
   /* create a new notification. */
   icon->priv->note = notify_notification_new (icon->priv->title,
                                               icon->priv->summary,
-                                              icon->priv->icon_file,
-                                              NULL);
+                                              icon->priv->icon_file
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
+                                              );
+  /* notify_notification_attach_to_status_icon dropped */
+#else
+                                              ,NULL);
 
   /* attach the notification to our icon. */
   notify_notification_attach_to_status_icon (icon->priv->note,
                                              icon->priv->icon);
+#endif
 
   /* set the notification timeout. */
   notify_notification_set_timeout (icon->priv->note, (4 * 1000));

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to