ANNOUNCE: xfce4-sensors-plugin 1.2.0 released

Christoph Mende angelos at gentoo.org
Tue May 10 09:15:00 CEST 2011


On Mon, 2011-05-09 at 22:16 +0200, Fabian Nowak wrote:
> Am Montag, den 09.05.2011, 21:38 +0200 schrieb Christoph Mende:
> > On Mon, 2011-05-09 at 21:06 +0200, Fabian Nowak wrote:
> > > This release fixes several bugs when configuring and making, especially
> > > support for GCC 4.6 came along and newer versions of libnotify are
> > > supported.
> > 
> > Unfortunately (detection of) the latter is broken:
> > Support for libnotify < 0.7 will be built in.
> > Support for libnotify >= 0.7 will be built in.
> > which results in build failures because LIBNOTIFY4 is defined.
> > Instead of using your own macros you could also check for
> > NOTIFY_CHECK_VERSION and use its result.
> 
> thanks for reporting, couldn't try out explicitly because I don't have
> version 0.7 unless I would install manually whih I am currently out of
> time for.
> 
> a quick fix has been applied, set --disable-notification4 should work,
> at least I don't have libnotify support then. Will investigate the
> NOTIFY_CHECK_VERSION later, thanks again.

Thanks, but I think I do have to disappoint you ;)
There's a tiny typo that makes the build fail at exactly the same point:
sensors-interface.c: In function 'fill_gtkTreeStore':
sensors-interface.c:110:2: error: invalid preprocessing directive
#elseif
sensors-interface.c:111:17: error: too many arguments to function
'notify_notifi
cation_new'
That should've been #elif.
Don't worry though, I've added 1.2.1 to Gentoo (already had 1.2.0 too)
and fixed patched that for us with a simple sed. I'll try to find the
time to write a patch based on NOTIFY_CHECK_VERSION.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20110510/0808e46b/attachment.pgp>


More information about the Xfce mailing list