Hello community,

here is the log from the commit of package padevchooser for openSUSE:Factory
checked in at Fri May 27 15:46:03 CEST 2011.



--------
--- padevchooser/padevchooser.changes   2011-02-12 20:26:35.000000000 +0100
+++ /mounts/work_src_done/STABLE/padevchooser/padevchooser.changes      
2011-05-22 22:07:00.000000000 +0200
@@ -1,0 +2,6 @@
+Sun May 22 20:04:46 UTC 2011 - [email protected]
+
+- Add padevchooser-libnotify-0.7.patch: fix build with libnotify
+  version 0.7.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  padevchooser-libnotify-0.7.patch

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

Other differences:
------------------
++++++ padevchooser.spec ++++++
--- /var/tmp/diff_new_pack.vBLRaX/_old  2011-05-27 15:45:09.000000000 +0200
+++ /var/tmp/diff_new_pack.vBLRaX/_new  2011-05-27 15:45:09.000000000 +0200
@@ -19,7 +19,7 @@
 
 Name:           padevchooser
 Version:        0.9.4
-Release:        141
+Release:        146
 License:        GPLv2+
 Summary:        PulseAudio Device Chooser
 Url:            http://0pointer.de/lennart/projects/padevchooser/
@@ -31,6 +31,8 @@
 Patch:          padevchooser-desktop-fix.diff
 # PATCH-FIX-UPSTREAM padevchooser-no-symlinks.patch 
http://pulseaudio.org/ticket/279 [email protected]
 Patch1:         padevchooser-no-symlinks.patch
+# PATCH-FIX-UPSTREAM padevchooser-libnotify-0.7.patch [email protected] -- 
Fix build with libnotify 0.7 (no interest by upstream)
+Patch2:         padevchooser-libnotify-0.7.patch
 BuildRequires:  desktop-file-utils
 BuildRequires:  gcc-c++
 BuildRequires:  lynx
@@ -62,6 +64,7 @@
 %setup -q
 %patch
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure

++++++ padevchooser-libnotify-0.7.patch ++++++
Index: padevchooser-0.9.4/src/padevchooser.c
===================================================================
--- padevchooser-0.9.4.orig/src/padevchooser.c
+++ padevchooser-0.9.4/src/padevchooser.c
@@ -36,6 +36,10 @@
 #include <libgnome/gnome-desktop-item.h>
 #include <libgnomeui/gnome-ui-init.h>
 #include <libnotify/notify.h>
+#ifndef NOTIFY_CHECK_VERSION
+#define NOTIFY_CHECK_VERSION(x,y,z) 0
+#endif
+
 
 #include <pulse/pulseaudio.h>
 #include <pulse/browser.h>
@@ -171,7 +175,12 @@ static void notify_event(const char *tit
 
     if (!notification) {
         s = g_strdup_printf("<i>%s</i>\n%s", title, text);
-        notification = notify_notification_new_with_status_icon(title, s, 
"audio-card", tray_icon);
+        notification = notify_notification_new(title, s, "audio-card"
+#if  NOTIFY_CHECK_VERSION (0, 7, 0)
+                       );
+#else
+                       , tray_icon);
+#endif
         notify_notification_set_category(notification, "device.added");
         notify_notification_set_urgency(notification, NOTIFY_URGENCY_LOW);
         g_signal_connect_swapped(G_OBJECT(notification), "closed", 
G_CALLBACK(notification_closed), NULL);


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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to