From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OKprKsNcGmR6VQAASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 02:41:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GJWmKcNcGmQY6gAAG6o9tA (envelope-from ) for ; Wed, 22 Mar 2023 02:41:23 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6A122622C for ; Wed, 22 Mar 2023 02:41:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1penTL-0002vf-U1; Tue, 21 Mar 2023 21:41:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1penTK-0002vQ-Vu for guix-patches@gnu.org; Tue, 21 Mar 2023 21:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1penTK-0000Qq-NX for guix-patches@gnu.org; Tue, 21 Mar 2023 21:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1penTK-0003oO-A3 for guix-patches@gnu.org; Tue, 21 Mar 2023 21:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61018] [PATCH 0/2] Add pcsc-tools, and missing dependency perl-pcsc Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Mar 2023 01:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jake Leporte Cc: 61018@debbugs.gnu.org Received: via spool by 61018-submit@debbugs.gnu.org id=B61018.167944925814633 (code B ref 61018); Wed, 22 Mar 2023 01:41:02 +0000 Received: (at 61018) by debbugs.gnu.org; 22 Mar 2023 01:40:58 +0000 Received: from localhost ([127.0.0.1]:33023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1penTG-0003nx-5h for submit@debbugs.gnu.org; Tue, 21 Mar 2023 21:40:58 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:35412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1penTD-0003nf-DI for 61018@debbugs.gnu.org; Tue, 21 Mar 2023 21:40:56 -0400 Received: by mail-qt1-f178.google.com with SMTP id ga7so2254009qtb.2 for <61018@debbugs.gnu.org>; Tue, 21 Mar 2023 18:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679449249; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=2Lp3X0kFWmqHU6MCo4FGC8WZ2T/PmsBta/fmvLcISWM=; b=hD1qtWCS9krp+eCNOl2RZh17xvlJJDJjih+prgXRiz0nA9+h7BsraADdFTLHgYuEln d92kPU3lk2InfelbIRA0MoYxytmI0+4nszOrJ2pcCZCES20LDyTCrjEWo+gm3B5b0/sd uVswhosuCBiWCbhYa7u5Hwwf/wND7HnVEIfYT0FkN7JP/jz04CXxnN9zgy71Qu7pcGMP LXjPXyIacyugT+Ts16ZXQN0tyWIFO80Mu0iq+nc4SyK+70L1swerR21Dmt6i3PxbRsRm YElTLwiHdxI0o0pEXyW0DyBIh5iJhq8w0HvqNyZWUuWcFzH15aBhOpcMhXE9zoHwHRNq Ll2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679449249; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2Lp3X0kFWmqHU6MCo4FGC8WZ2T/PmsBta/fmvLcISWM=; b=gkG7fnF8XdFzj9PwQ8T5VM1+3Ewv6CXme6UQsUjKCYhqvfKFyST/3zOTEm10Uyfwz0 HndrADfyLxijgRbiIzuUDcAoz5u+RAvbZYmKKzJxEkUs/sqIFfLWJNLYwdowqtPvi+CJ 6nPXmUCBj0E3xQJoTpdaC4hc0wGnhDhoNJTm+6wOhGlTp8WEsMSr5M6JRtmewMaini4T VQFm62wwApum2hUrfKpkvQME03wNlgrWLvwiFiy+FgUu8KsXPSB0I49y9Zw/H3HNugFt fqr4m4X4fw34NcCn4nCZGnTVcYkW/tc7bcuynkZqchmREj8wHqbcdmCXAVwh1c8M0gF0 yzlQ== X-Gm-Message-State: AO0yUKVxKK1R0VvMjNXiH6OlT6glNUTKAR3p/xvjAWXQ8NSXsPLFk5pF 8HwrXrU8VCEAneF3ZM4isuwSStU+fjNJfA== X-Google-Smtp-Source: AK7set9pimqOOORnkTCkoWani/t97+Oa/Kx+wMGfKDRSb1JvujaRaCml/EyZiik4hsZEgpNGMI2AXQ== X-Received: by 2002:ac8:5902:0:b0:3d2:90b1:d162 with SMTP id 2-20020ac85902000000b003d290b1d162mr2980085qty.59.1679449249678; Tue, 21 Mar 2023 18:40:49 -0700 (PDT) Received: from hurd (dsl-10-130-195.b2b2c.ca. [72.10.130.195]) by smtp.gmail.com with ESMTPSA id y126-20020a376484000000b007468765b411sm5198023qkb.45.2023.03.21.18.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 18:40:49 -0700 (PDT) From: Maxim Cournoyer References: Date: Tue, 21 Mar 2023 21:40:48 -0400 In-Reply-To: (Jake Leporte's message of "Sun, 5 Mar 2023 19:30:26 -0600") Message-ID: <87jzz9k1gf.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679449283; a=rsa-sha256; cv=none; b=XjRe/Z6dL6ksOzuzc6F8I0/kOMwE87hHh4hSaC7OYebigDMlH6rjbEVa9hFQ24tqfBhvzG OtXu7+CI6JKMHImmTuHegOa5m73mTQs9ftBpAw/phwvDlgOyR3GreWH7F0OYjowlwjGyeb 9oG++9DWvhPrTv651zMLR9mJA0Zi3JIX0AEjdwv3Xej1p5K/XqI7GAVpZuZS7u+bBYpELQ KES9Lu5yll4kvS/k0aoGjJ4akAoVs6Vy1E1qUdLd2Ek43kjM4v8Uf7iIJb0do+V3g1yqvz UH47KvP5pV7PGiwmpx+EGuv7yOpY3pQRXz6aYYvSRsYuhTvfBrRxHxJEELCQjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hD1qtWCS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679449283; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=2Lp3X0kFWmqHU6MCo4FGC8WZ2T/PmsBta/fmvLcISWM=; b=CG9/Zh4p5G1W+8/ywpmo+WJt/+hQvAaPDtB04HeOMmwdD7nW+VdDuPIABXZQWXJHyOnJRF 9MHYwxW1bZEPZ6ESKYH3ehGWsIbMuX58xAMikgGtclPwhUBgKS/GkFCL/Jr4HA5/SiIbYQ 9MR10198az6halhp9awruZTD0SzpyRo5pjoe5bk6ye+8fn+nJpTaL2um22bYZJ5q6+SGU2 eP3r/hN3dHTh+etxSM3sIlEvwY1lh5DtjiQWKXpX/Un4e9M6lphzu1tpNAJgz2v3oTwkhp xcZfiPnPeNbYySf5+dTFlYEty0e3PjA1EuPLveTI9OVazgymCCplbgrfXE5Qjg== X-Migadu-Spam-Score: 5.75 X-Spam-Score: 5.75 X-Migadu-Queue-Id: 6A122622C Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hD1qtWCS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-TUID: D3ZVxWae42Fk Hi, Jake Leporte writes: > * gnu/packages/perl.scm (perl-pcsc): New variable. > --- > gnu/packages/perl.scm | 36 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm > index b6fb81e..a1a9983 100644 > --- a/gnu/packages/perl.scm > +++ b/gnu/packages/perl.scm > @@ -86,6 +86,7 @@ (define-module (gnu packages perl) > #:use-module (gnu packages python) > #:use-module (gnu packages readline) > #:use-module (gnu packages sdl) > + #:use-module (gnu packages security-token) > #:use-module (gnu packages textutils) > #:use-module (gnu packages video) > #:use-module (gnu packages web) > @@ -12269,6 +12270,41 @@ (define-public perl-path-iterator-rule > arduous to type for one-liners.") > (license license:asl2.0))) > > +(define-public perl-pcsc > + (package > + (name "perl-pcsc") > + (version "1.4.14") > + (source (origin > + (method url-fetch) > + (uri (string-append > + "mirror://cpan/authors/id/W/WH/WHOM/pcsc-perl-" version > + ".tar.bz2")) > + (sha256 > + (base32 > + "17f6i16jv6ci6459vh6y3sz94vgcvykjjszcl4xsykryakjvf8i7")))) > + (build-system perl-build-system) > + (arguments > + (list > + ;; The tests for this package require access to a > + ;; card reader with a card inserted, so they won't be > + ;; possible to run in the build environment > + #:tests? #f > + #:phases #~(modify-phases %standard-phases > + (add-after 'unpack 'patch-dlopen > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "PCSCperl.h" > + (("libpcsclite.so.1") > + (search-input-file inputs > + "/lib/libpcsclite.so.1")))))))) > + (native-inputs (list pkg-config)) > + (inputs (list pcsc-lite)) > + (synopsis "Perl library for PC/SC") > + (description > + "This library allows communication with a smart card using PC/SC from a Perl > +script.") > + (home-page "https://pcsc-perl.apdu.fr/") > + (license license:gpl2+))) > + > (define-public perl-pod-constants > (package > (name "perl-pod-constants") I've installed this change with the following small modification (reword the comment and end it with a period): --8<---------------cut here---------------start------------->8--- modified gnu/packages/perl.scm @@ -12339,17 +12339,16 @@ (define-public perl-pcsc (build-system perl-build-system) (arguments (list - ;; The tests for this package require access to a - ;; card reader with a card inserted, so they won't be - ;; possible to run in the build environment - #:tests? #f - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'patch-dlopen - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "PCSCperl.h" - (("libpcsclite.so.1") - (search-input-file inputs - "/lib/libpcsclite.so.1")))))))) + ;; The test suite is disabled because it requires access to a card + ;; reader with a card inserted. + #:tests? #f + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-dlopen + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "PCSCperl.h" + (("libpcsclite.so.1") + (search-input-file inputs + "/lib/libpcsclite.so.1")))))))) (native-inputs (list pkg-config)) (inputs (list pcsc-lite)) (synopsis "Perl library for PC/SC") --8<---------------cut here---------------end--------------->8--- -- Thanks, Maxim