On 03/15/11 14:14, Alon Levy wrote: > On Tue, Mar 15, 2011 at 01:42:56PM +0100, Jes Sorensen wrote: >> Alternatively the external apps that build against it should be taught >> to link with the QEMU version. >> > > That would require me to teach qemu's configure to build libcacard, possibly > only libcacard (even though qemu doesn't need a lot of packages by itself, > I still wouldn't want apt-get install spice-client to drag in qemu-kvm).
Hi Alon, I am a little confused as to what the library really does. Is it a library to manage iso7816 cards, or is it an emulation library? If it is hw emulation the library really should be part of qemu.git, but there is nothing that prevents us to expanding the qemu Makefile to build the library and then have a separate RPM called qemu-libs or something that can be installed without the main qemu RPM being installed. Can you elaborate a bit on how spice uses libcacard? I can understand it relying on a library to access/manage smartcards, but the emulation bit puzzles me? If libcacard does both card management and emulation, my next question is whether it wouldn't make more sense to split the two into two separate packages? Cheers, Jes