[systemd-devel] [PATCH] buildsys: allow building without libnotify

Lennart Poettering lennart at poettering.net
Wed Nov 24 12:20:01 PST 2010


On Wed, 24.11.10 11:57, Kay Sievers (kay.sievers at vrfy.org) wrote:

> 
> On Wed, Nov 24, 2010 at 08:36, Thierry Reding
> <thierry.reding at avionic-design.de> wrote:
> > This patch makes the libnotify dependency optional and doesn't build the
> > systemd-gnome-ask-password-agent utility if libnotify is not available.
> >
> > Since libnotify >= 0.7.0 requires gtk+-3.0, this patch may be useful for
> > environments where upgrading Gtk is not an option.
> 
> Yeah, would be good to solve that. Maybe that's the simplest way to do it.
> 
> One other option would be to use some #ifdef in vala und also support
> the still common older libnotify.

I'd be happy to take a patch which uses vala's new ifdef support to
make the gtk stuff buildable on both old and new libnotify. If somebody
cares enough.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list