From: Paolo Bonzini <pbonzini@redhat.com>
To: marcandre.lureau@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project
Date: Tue, 22 Sep 2015 13:06:31 +0200 [thread overview]
Message-ID: <56013637.3070602@redhat.com> (raw)
In-Reply-To: <1440934175-9971-1-git-send-email-marcandre.lureau@redhat.com>
On 30/08/2015 13:29, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> 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 <marcandre.lureau@redhat.com>
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
next prev parent reply other threads:[~2015-09-22 11:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-30 11:29 [Qemu-devel] [RFC PATCH] libcacard: move it to a standalone project marcandre.lureau
2015-09-10 17:47 ` Jeremy White
2015-09-15 11:50 ` Marc-André Lureau
2015-09-15 13:28 ` Daniel P. Berrange
2015-09-15 13:37 ` Paolo Bonzini
2015-09-15 13:46 ` Daniel P. Berrange
2015-09-15 21:53 ` Dave Airlie
2015-09-16 6:29 ` Gerd Hoffmann
2015-09-15 13:40 ` Peter Maydell
2015-09-22 11:06 ` Paolo Bonzini [this message]
2015-09-22 11:25 ` Marc-André Lureau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56013637.3070602@redhat.com \
--to=pbonzini@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).