unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#71035] [PATCH 0/2] Update opensc
@ 2024-05-18 11:34 Timotej Lazar
  2024-05-18 11:39 ` [bug#71035] [PATCH 1/2] gnu: opensc: Update to 0.25.1 Timotej Lazar
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Timotej Lazar @ 2024-05-18 11:34 UTC (permalink / raw)
  To: 71035; +Cc: Timotej Lazar

This updates opensc to latest version and switches it to new package
style. All dependents still build (at least) on aarch64 except hw-probe,
which is not supported on that platform. Thanks!

Timotej Lazar (2):
  gnu: opensc: Update to 0.25.1.
  gnu: opensc: Switch to new package style.

 gnu/packages/security-token.scm | 31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)


base-commit: e9b25a6c6c626a560d28a1f732e6e5d362d584a4
-- 
2.41.0





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#71035] [PATCH 1/2] gnu: opensc: Update to 0.25.1.
  2024-05-18 11:34 [bug#71035] [PATCH 0/2] Update opensc Timotej Lazar
@ 2024-05-18 11:39 ` Timotej Lazar
  2024-05-18 11:39 ` [bug#71035] [PATCH 2/2] gnu: opensc: Switch to new package style Timotej Lazar
  2024-06-24  3:12 ` bug#71035: [PATCH 0/2] Update opensc Maxim Cournoyer
  2 siblings, 0 replies; 4+ messages in thread
From: Timotej Lazar @ 2024-05-18 11:39 UTC (permalink / raw)
  To: 71035; +Cc: Timotej Lazar

* gnu/packages/security-token.scm (opensc): Update to 0.25.1.

Change-Id: I16dbf047671115274a25c3b1fba0285952f9f41d
---
 gnu/packages/security-token.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 35a8d4e216..a376db3bc0 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -355,7 +355,7 @@ (define-public ykclient
 (define-public opensc
   (package
     (name "opensc")
-    (version "0.25.0")
+    (version "0.25.1")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -363,7 +363,7 @@ (define-public opensc
                     version "/opensc-" version ".tar.gz"))
               (sha256
                (base32
-                "0bv2sq3k8bl712yi1gi7f8km8g2x09is8ynnr5x3g2jh59pbdmz6"))))
+                "0yxk97aj29pybvya6r9ix9xh00hdzcfrc2lcns4vb3kwpplamjr3"))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#71035] [PATCH 2/2] gnu: opensc: Switch to new package style.
  2024-05-18 11:34 [bug#71035] [PATCH 0/2] Update opensc Timotej Lazar
  2024-05-18 11:39 ` [bug#71035] [PATCH 1/2] gnu: opensc: Update to 0.25.1 Timotej Lazar
@ 2024-05-18 11:39 ` Timotej Lazar
  2024-06-24  3:12 ` bug#71035: [PATCH 0/2] Update opensc Maxim Cournoyer
  2 siblings, 0 replies; 4+ messages in thread
From: Timotej Lazar @ 2024-05-18 11:39 UTC (permalink / raw)
  To: 71035; +Cc: Timotej Lazar

* gnu/packages/security-token.scm (opensc)[arguments]: Use g-exps.

Change-Id: I3e59323deb804ba98669d51771ccfa05a92723e3
---
 gnu/packages/security-token.scm | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index a376db3bc0..00426d6d99 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -366,20 +366,19 @@ (define-public opensc
                 "0yxk97aj29pybvya6r9ix9xh00hdzcfrc2lcns4vb3kwpplamjr3"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         ;; By setting an absolute path here, we arrange for OpenSC to
-         ;; successfully dlopen libpcsclite.so.1 by default.  The user can
-         ;; still override this if they want to, by specifying a custom OpenSC
-         ;; configuration file at runtime.
-         (add-after 'unpack 'set-default-libpcsclite.so.1-path
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((libpcsclite (search-input-file inputs
-                                                   "/lib/libpcsclite.so.1")))
-               (substitute* "configure"
-                 (("DEFAULT_PCSC_PROVIDER=\"libpcsclite\\.so\\.1\"")
-                  (string-append
-                   "DEFAULT_PCSC_PROVIDER=\"" libpcsclite "\"")))))))))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; By setting an absolute path here, we arrange for OpenSC to
+          ;; successfully dlopen libpcsclite.so.1 by default.  The user can
+          ;; still override this if they want to, by specifying a custom OpenSC
+          ;; configuration file at runtime.
+          (add-after 'unpack 'set-default-libpcsclite.so.1-path
+            (lambda* (#:key inputs #:allow-other-keys)
+              (let ((libpcsclite (search-input-file inputs "/lib/libpcsclite.so.1")))
+                (substitute* "configure"
+                  (("DEFAULT_PCSC_PROVIDER=\"libpcsclite\\.so\\.1\"")
+                   (string-append "DEFAULT_PCSC_PROVIDER=\"" libpcsclite "\"")))))))))
     (inputs
      (list readline openssl-1.1 pcsc-lite ccid))
     (native-inputs
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#71035: [PATCH 0/2] Update opensc
  2024-05-18 11:34 [bug#71035] [PATCH 0/2] Update opensc Timotej Lazar
  2024-05-18 11:39 ` [bug#71035] [PATCH 1/2] gnu: opensc: Update to 0.25.1 Timotej Lazar
  2024-05-18 11:39 ` [bug#71035] [PATCH 2/2] gnu: opensc: Switch to new package style Timotej Lazar
@ 2024-06-24  3:12 ` Maxim Cournoyer
  2 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2024-06-24  3:12 UTC (permalink / raw)
  To: Timotej Lazar; +Cc: 71035-done

Hello,

Timotej Lazar <timotej.lazar@araneo.si> writes:

> This updates opensc to latest version and switches it to new package
> style. All dependents still build (at least) on aarch64 except hw-probe,
> which is not supported on that platform. Thanks!
>
> Timotej Lazar (2):
>   gnu: opensc: Update to 0.25.1.
>   gnu: opensc: Switch to new package style.

Applied, thank you!

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-24  3:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-18 11:34 [bug#71035] [PATCH 0/2] Update opensc Timotej Lazar
2024-05-18 11:39 ` [bug#71035] [PATCH 1/2] gnu: opensc: Update to 0.25.1 Timotej Lazar
2024-05-18 11:39 ` [bug#71035] [PATCH 2/2] gnu: opensc: Switch to new package style Timotej Lazar
2024-06-24  3:12 ` bug#71035: [PATCH 0/2] Update opensc Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).