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

Nagy Gabor ngaba at bibl.u-szeged.hu
Sat Mar 1 05:09:56 EST 2008


> 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-New-alpm_version-function.patch
Type: application/octet-stream
Size: 1779 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080301/278d96c1/attachment.obj>


More information about the pacman-dev mailing list