Red Hat Bugzilla – Bug 177487
evolution doesn't compile against libnotify
Last modified: 2007-11-30 17:11:20 EST
Description of problem:
If you have libnotify  installed when trying to rebuild evolution, the build
fails owing to some new stuff added to notify.h which upstream are making use of:
Error is in calendar/gui/alarm-notify:
alarm-queue.c: In function 'popup_notification':
alarm-queue.c:1463: error: 'NotifyIcon' undeclared (first use in this function)
alarm-queue.c:1463: error: (Each undeclared identifier is reported only once
alarm-queue.c:1463: error: for each function it appears in.)
alarm-queue.c:1463: error: 'icon' undeclared (first use in this function)
alarm-queue.c:1474: error: implicit declaration of function
alarm-queue.c:1514: error: implicit declaration of function
HEAD appears to contain the necessary API stuff:
but 0.3.0 doesn't:
So it looks like upstream are working with svn snapshots of libnotify; I'll try
to patch around this within evolution, or else we could use a more
 as opposed to libnotify-devel; I filed bug 177484 about this
Version-Release number of selected component (if applicable):
Should also add the necessary Requires/BuildRequires to evolution so that we're
deterministic about which notification implementation gets built
Okay, so we can either disable libnotify support or port to the new api.
We gotta do one or the other before fc5 if evolution isn't building.
Port it. Dave if you send me the file(s) I'll do the initial diff then we can
Have committed a patch to package CVS; building as evolution-2.5.4-4; ought to
at least compile, though the calendar's crashing quite a lot for me ATM which
makes it difficult to test this part of the code, alas.
I've reported this upstream here: http://bugzilla.gnome.org/show_bug.cgi?id=326757
Upstream report was marked as a dup of
which has a slightly different patch from Ubuntu attached
This has been fixed upstream. We will get the fix in the next evolution update.