[packagekit] [PATCH 1/1] backends/alpm: update for pacman 4.2.0

Christian Hesse list at eworm.de
Mon Dec 29 22:43:07 PST 2014


Christian Hesse <list at eworm.de> on Sun, 2014/12/28 19:48:
> Richard Hughes <hughsient at gmail.com> on Sun, 2014/12/28 12:59:
> > On 28 December 2014 at 01:23, Christian Hesse <list at eworm.de> wrote:
> > > Pacman changed handling for questions and events. This updates the alpm
> > > backend for pacman v4.2.0 / libalpm v9.0.0.
> > 
> > I'm a bit concerned that libalpm is a bit loose with regard to API
> > versioning; although arch being a rolling distribution kinda mitigates
> > that. Either way, we'd need a bump in the version required in
> > configure.ac
> 
> Mh... You are right. I have to admit that I tried to make it compile and
> work
> - not thinking about versioning. Looking at the installed header files there
> is nothing for versioning, so no chance for some preprocessor macro magic...
> 
> I will reply with a patch for configure.ac.

I proposed a patch for pacman to add some version information to alpm.h:

https://lists.archlinux.org/pipermail/pacman-dev/2014-December/019759.html

This will take time to go into a release, though. For now we have to rely on
configure checking required libalpm version.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20141230/367726ea/attachment.sig>


More information about the PackageKit mailing list