[pacman-dev] Get the version-number of libalpm

Lukas Appelhans l.appelhans at gmx.de
Tue Mar 4 23:43:24 EST 2008


Hey!
Thanx for all the discussion around this. Was this patch ever applied?

Regards 

Lukas

Am Samstag, 1. März 2008 02:09:56 schrieb Nagy Gabor:
> > Well, I'm not on linux machine atm, but the patch is quite trivial:
> > to alpm.c:
> > const char SYMEXPORT *alpm_getversion() {
> >         return(LIB_VERSION)
> > }
> > And modify alpm.h accordingly :-P
> >
> > Anyway, thx for the question, LIB_VERSION is hardcoded to the front-end
> > now, grr...
> >
> > Bye
>
> It is attached in git format.
>
> PS: Later we could use a version struct (with major, minor, micro etc.
> fields) to help front-end decide hether libalpm is new enough.
>
> Bye
>
>
>
>
> ----------------------------------------------------
> SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu
> This mail sent through IMP: http://horde.org/imp/






More information about the pacman-dev mailing list