lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] upgrade to xmlwrapp-0.6.0


From: Vaclav Slavik
Subject: Re: [lmi] upgrade to xmlwrapp-0.6.0
Date: Thu, 23 Apr 2009 18:47:40 +0200

On Thu, 2009-04-23 at 16:31 +0000, Greg Chicares wrote:
> Is that because GTK requires (or at least strongly encourages)
> libxml2,
> and it's safe to assume these days that no older versions than
>   libxml2-2.6.0  2003-10-20
>   libxslt-1.1.0  2003-11-04
> would be current on any reasonable system?

It's because checking for xmlwrapp and xsltwrapp:

   PKG_CHECK_MODULES(XMLWRAPP, xmlwrapp >= 0.6.0 xsltwrapp)

also checks (and includes libraries and/or cflags as needed) for its
dependencies libxml2 and libxslt and because we don't use
libxml2/libxslt directly, we shouldn't need to check for their presence
anymore.

What I didn't realize was that the version check could be for non-API
reasons (e.g. some bug fixes or XSLT features). I couldn't find any
information about that in commit logs, would you remember that by a
chance? The commit that added it was

        timestamp: Thu 2006-11-02 19:37:36 +0000
        message:
          [lmi @ 2006-11-02 19:37:36 by chicares]
          Import autotools files from 'gnome-xml-branch'
        
which simply added versioned check without explanation, so I assume it
was simply to get 2.6's API (i.e. something not relevant anymore,
because we only use xmlwrapp API now).

Anyway, xmlwrapp-0.6.0 itself requires libxslt >= 1.1.6, so this part is
covered. By libxml-2.0 is only required to be >= 2.4.28 -- I inherited
this check, I never tested compilation with libxml2 this old.

Regards,
Vaclav





reply via email to

[Prev in Thread] Current Thread [Next in Thread]