[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project |
Date: |
Tue, 22 Sep 2015 13:06:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 30/08/2015 13:29, address@hidden wrote:
> From: Marc-André Lureau <address@hidden>
>
> As previously discussed in the thread "libcacard: use the library?",
> make libcacard a standalone library and use it if --enable-smartcard.
>
> I made the following repo out of a qemu filter-branch and added autofoo
> build-sys: https://github.com/elmarco/libcacard. Since the original qemu
> git tags are there, I think the first release version should be v2.5,
> but there is no need to follow the same versions as qemu later on.
>
> libcacard could use the same infrastructure as the qemu project (mailing
> list, git server, reviews etc). I have some experience with libcacard,
> and I would be willing to maintain it, however I don't expect to do
> more development with it in the near future.
>
> Signed-off-by: Marc-André Lureau <address@hidden>
I tested I could build QEMU with smartcard support after installing
Fedora's libcacard-devel from QEMU 2.4, and "ldd" points to
/lib64/libcacard.so.0.
So, at least for Fedora users, there is no dependency on the distro
packaging the new standalone libcacard.
Just a small nit:
diff --git a/configure b/configure
index 6eb553c..0cb88c4 100755
--- a/configure
+++ b/configure
@@ -3863,11 +3863,12 @@ if test "$smartcard" != "no"; then
libcacard_libs=$($pkg_config --libs libcacard)
QEMU_CFLAGS="$QEMU_CFLAGS $libcacard_cflags"
libs_softmmu="$libs_softmmu $libcacard_libs"
+ smartcard="yes"
else
- if test "$libcacard" = "yes"; then
- feature_not_found "libcacard" "Install libcacard devel"
+ if test "$smartcard" = "yes"; then
+ feature_not_found "smartcard" "Install libcacard-devel"
fi
- libcacard="no"
+ smartcard="no"
fi
fi
Paolo
- Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project, Jeremy White, 2015/09/10
- Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project, Marc-André Lureau, 2015/09/15
- Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project, Daniel P. Berrange, 2015/09/15
- Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project, Peter Maydell, 2015/09/15
- Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project, Paolo Bonzini, 2015/09/15
- Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project, Daniel P. Berrange, 2015/09/15
- Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project, Dave Airlie, 2015/09/15
- Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project, Gerd Hoffmann, 2015/09/16
- Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project,
Paolo Bonzini <=