Hello community,

here is the log from the commit of package gnome-docker for openSUSE:Factory
checked in at Mon May 30 15:54:20 CEST 2011.



--------
--- GNOME/gnome-docker/gnome-docker.changes     2011-02-12 20:25:15.000000000 
+0100
+++ /mounts/work_src_done/STABLE/gnome-docker/gnome-docker.changes      
2011-05-22 19:31:52.000000000 +0200
@@ -1,0 +2,5 @@
+Sun May 22 17:31:26 UTC 2011 - dims...@opensuse.org
+
+- Add gnome-docker-libnotify0.7.patch: Fix build with libnotify 0.7
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  gnome-docker-libnotify0.7.patch

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

Other differences:
------------------
++++++ gnome-docker.spec ++++++
--- /var/tmp/diff_new_pack.RmgIQY/_old  2011-05-30 15:53:56.000000000 +0200
+++ /var/tmp/diff_new_pack.RmgIQY/_new  2011-05-30 15:53:56.000000000 +0200
@@ -22,14 +22,16 @@
 BuildRequires:  gnome-common hal-devel intltool libgnomeui-devel liblazy-devel 
libnotify-devel update-desktop-files
 BuildRequires:  translation-update-upstream
 Version:        0.1
-Release:        95
+Release:        100
 Url:            Stilllookingforurl
 Group:          System/GUI/GNOME
 License:        GPLv2
 Summary:        GNOME dock station applet
 Source:         %{name}-%{version}.tar.bz2
-Patch:          %{name}-use-capability.patch
+Patch0:         %{name}-use-capability.patch
 Patch1:         %{name}-consider-type.patch
+# PATCH-FIX-UPSTREAM gnome-docker-libnotify0.7.patch dims...@opensuse.org -- 
Fix build with libnotify 0.7. Patch already committed to git.
+Patch2:         gnome-docker-libnotify0.7.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -40,8 +42,9 @@
 %prep
 %setup -q
 translation-update-upstream
-%patch
+%patch0
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure

++++++ gnome-docker-libnotify0.7.patch ++++++
Index: gnome-docker-0.1/src/gd-notify.c
===================================================================
--- gnome-docker-0.1.orig/src/gd-notify.c
+++ gnome-docker-0.1/src/gd-notify.c
@@ -11,7 +11,12 @@
 # include "config.h"
 #endif /* HAVE_CONFIG_H */
 
+#include <gtk/gtk.h>
 #include <libnotify/notify.h>
+#ifndef NOTIFY_CHECK_VERSION
+#define NOTIFY_CHECK_VERSION(x,y,z) 0
+#endif
+
 
 #include "gd-notify.h"
 
@@ -29,7 +34,12 @@ static void gd_notify(const char *summar
                notify_init("gnome-docker");
 
        notify_icon = GTK_STOCK_NETWORK;
-       notify = notify_notification_new (summary, body, notify_icon, NULL);
+       notify = notify_notification_new (summary, body, notify_icon
+#if NOTIFY_CHECK_VERSION (0, 7, 0)
+                       );
+#else
+                       , NULL);
+#endif
        notify_notification_set_urgency(notify, urgency);
        notify_notification_show(notify, NULL);
 }

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



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