From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:33766) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTMXu-0005mZ-LA for guix-patches@gnu.org; Tue, 28 Apr 2020 05:30:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTMUz-0007ob-N4 for guix-patches@gnu.org; Tue, 28 Apr 2020 05:28:54 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTMEf-0003k6-W4 for guix-patches@gnu.org; Tue, 28 Apr 2020 05:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTMEf-0000TE-QE for guix-patches@gnu.org; Tue, 28 Apr 2020 05:09:01 -0400 Subject: [bug#40631] [PATCH 0/4] Build QEMU with smartcard support, to get GNOME Boxes working References: <877dyh7tcn.fsf@cbaines.net> In-Reply-To: <877dyh7tcn.fsf@cbaines.net> Resent-Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 28 Apr 2020 09:07:59 +0000 From: Brice Waegeneire Message-ID: <0d9b8d67ec45e445eac9b5ecbae268ad@waegenei.re> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: mail@cbaines.net Cc: 40631@debbugs.gnu.org Hello Christopher, I was thinking of packaging libcacard the other day, thankfully you've already done it. If I understand correctly softhsm is needed to test libcacard, but it's tests can't be enabled because our gnutls is missing some features and rebuilding it would rebuild the world, right? > + (name "softhsm") > + (version "2.5.0") > + (source (origin > + (method url-fetch) > + (uri (string-append > + "https://dist.opendnssec.org/source/" > + "softhsm-" version ".tar.gz")) The latest version is 2.6.0, even though the home-page don't list it, it's present in the source you defined or in their Github page[0]. > + (add-after 'unpack 'patch > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "tests/setup-softhsm2.sh" > + (("\\/usr\\/lib64\\/pkcs11\\/libsofthsm2\\.so") > + (string-append (assoc-ref inputs "softhsm") > + "/lib/softhsm/libsofthsm2.so"))) > + #t))))) Instead of 'patch' 'patch-tests' would be more descriptive. LGTM otherwise, building and linting is successful. [0]: https://github.com/opendnssec/SoftHSMv2/releases - Brice