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

Andrey Borzenkov arvidjaar at mail.ru
Wed Nov 24 06:45:04 PST 2010


On Wed, Nov 24, 2010 at 5:21 PM, Matthias Clasen
<matthias.clasen at gmail.com> wrote:
> On Wed, Nov 24, 2010 at 9:20 AM, Thierry Reding
> <thierry.reding at avionic-design.de> wrote:
>> * Matthias Clasen wrote:
>>> On Wed, Nov 24, 2010 at 5:57 AM, 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.
>>> >
>>> > Unfortunately libnotify just broke and both versions can't be parallel
>>> > installed. And Fedora seems to be the only distro at the moment, which
>>> > can use the new libnotify, and does not require the old one to be
>>> > around.
>>> >
>>>
>>> libnotify 0.7 does not require gtk at all.
>>

I was explained that libnotify 0.7 requires glib 2.27. And it is not
compatible with gtk2 and/or Gnome2 - it was accidentally updated in
Madriva and had to be reverted to 2.26 because things started to
break. And glib 2.26/2.27 apparently cannot be installed in parallel.

Personally I find it easier to revert single commit than maintain
patch to enable build on top of this one. One ends up with additional
patch both ways.


More information about the systemd-devel mailing list