! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
compile error with libnotify 0.7.0
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Christoph Wickert editbugs 2010-11-06 22:15:46 CET
libnotify 0.7.0 includes a number of API changes, one of them is that '
notify_notification_new' has lost its widget argument.

The attached patch makes xfce4-sensors-plugin 1.0.0 build again, but it does not check the libnotify version. I'm just a lazy package maintainer and not a developer. ;)
Comment 1 Christoph Wickert editbugs 2010-11-06 22:16:30 CET
Created attachment 3177 
patch for xfce4-sensors-plugin to build with libnotify 0.7.0
Comment 2 Fabian Nowak editbugs 2010-12-10 21:03:09 CET
postponed to when libnotify 0.7 comes to debian unstable and I need it on my own. sorry.
Comment 3 Samuli Suominen 2011-01-29 16:23:16 CET
Created attachment 3441 
Same as prev. patch, but with some #ifdef

Same as previous patch but with some #ifdef's. Then you just need autotools code like in:

http://git.gnome.org/browse/network-manager-applet/commit/?id=68459b6b864ad45a842bfd1bdc80f126829ef596
Comment 4 Fabian Nowak editbugs 2011-05-07 18:11:58 CEST
fixed, but correctly with two ifdefs for the two possible libraries at als more locations

Bug #6785

Reported by:
Christoph Wickert
Reported on: 2010-11-06
Last modified on: 2011-05-07

People

Assignee:
Fabian Nowak
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information