Hello community, here is the log from the commit of package xfce4-panel-plugin-sensors for openSUSE:Factory checked in at Mon May 16 12:06:19 CEST 2011.
-------- --- xfce4-panel-plugin-sensors/xfce4-panel-plugin-sensors.changes 2011-05-02 11:56:43.000000000 +0200 +++ /mounts/work_src_done/STABLE/xfce4-panel-plugin-sensors/xfce4-panel-plugin-sensors.changes 2011-05-04 10:31:00.000000000 +0200 @@ -1,0 +2,6 @@ +Wed May 4 08:18:22 UTC 2011 - g...@opensuse.org + +- added xfce4-panel-plugin-sensors-1.0.0-fix-libnotify-0.7.patch + in order to adapt to libnotify 0.7.0 API changes + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- xfce4-panel-plugin-sensors-1.0.0-fix-libnotify-0.7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfce4-panel-plugin-sensors.spec ++++++ --- /var/tmp/diff_new_pack.IMwNph/_old 2011-05-16 12:05:41.000000000 +0200 +++ /var/tmp/diff_new_pack.IMwNph/_new 2011-05-16 12:05:41.000000000 +0200 @@ -22,7 +22,7 @@ Name: xfce4-panel-plugin-sensors License: GPLv2+ Version: 1.0.0 -Release: 6 +Release: 8 Summary: Hardware sensor plugin for the Xfce panel Url: http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin Source0: xfce4-sensors-plugin-1.0.0.tar.bz2 @@ -34,6 +34,8 @@ Patch2: xfce4-panel-plugin-sensors-1.0.0-fix-uninitialized-memory.patch # PATCH-FIX-UPSTREAM xfce4-panel-plugin-sensors-1.0.0-fix-ldflags.patch g...@opensuse.org bxo#7563 -- Fix LDFLAGS for use with gcc 4.6 Patch3: xfce4-panel-plugin-sensors-1.0.0-fix-ldflags.patch +# PATCH-FIX-UPSTREAM xfce4-panel-plugin-sensors-1.0.0-fix-libnotify-0.7.patch g...@opensuse.org -- Adapt to libnotify 0.7.0 API changes +Patch4: xfce4-panel-plugin-sensors-1.0.0-fix-libnotify-0.7.patch Group: System/GUI/XFCE BuildRequires: intltool BuildRequires: fdupes @@ -73,6 +75,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build xdt-autogen ++++++ xfce4-panel-plugin-sensors-1.0.0-fix-libnotify-0.7.patch ++++++ diff -urNp xfce4-sensors-plugin-1.0.0.orig/lib/sensors-interface.c xfce4-sensors-plugin-1.0.0/lib/sensors-interface.c --- xfce4-sensors-plugin-1.0.0.orig/lib/sensors-interface.c 2010-03-27 16:11:48.000000000 +0100 +++ xfce4-sensors-plugin-1.0.0/lib/sensors-interface.c 2011-05-04 10:12:43.000000000 +0200 @@ -41,6 +41,10 @@ #include <sensors-interface.h> #include <middlelayer.h> +#ifndef NOTIFY_CHECK_VERSION +#define NOTIFY_CHECK_VERSION(x,y,z) 0 +#endif + /* forward declaration to not make gcc 4.3 -Wall complain */ void produce_min_max_values (t_chipfeature *chipfeature, t_tempscale scale, float *minval, float *maxval); @@ -105,7 +109,11 @@ fill_gtkTreeStore (GtkTreeStore *model, if (!notify_is_initted()) notify_init(PACKAGE); /* NOTIFY_APPNAME */ +#if !NOTIFY_CHECK_VERSION(0,7,0) nn = notify_notification_new(summary, body, icon, NULL); +#else + nn = notify_notification_new(summary, body, icon); +#endif notify_notification_show(nn, &error); #else DBG("%s\n%s", summary, body); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org