unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#54460] [PATCH] gnu: sbcl-printv: Update to e717a7f.
@ 2022-03-19  6:55 jgart via Guix-patches via
  2022-03-19  7:47 ` [bug#54460] [PATCH v2] " jgart via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: jgart via Guix-patches via @ 2022-03-19  6:55 UTC (permalink / raw)
  To: 54460; +Cc: jgart

* gnu/packages/lisp-xyz.scm (sbcl-printv): Update to e717a7f.
---
 gnu/packages/lisp-xyz.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 0c99518e82..7c952ddcab 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -5039,8 +5039,8 @@ (define-public ecl-log4cl
   (sbcl-package->ecl-package sbcl-log4cl))
 
 (define-public sbcl-printv
-  (let ((commit "646d31978dbbb460fffb160fd65bb2be9a5a434e")
-        (revision "1"))
+  (let ((commit "e717a7fe076dae861a96117b2f9af29db8d2294d")
+        (revision "2"))
     (package
       (name "sbcl-printv")
       (version (git-version "0.1.0" revision commit))
@@ -5052,7 +5052,7 @@ (define-public sbcl-printv
                (commit commit)))
          (file-name (git-file-name "printv" version))
          (sha256
-          (base32 "08jvy82abm7qi3wrxh6gvmwg9gy0zzhg4cfqajdwrggbah8mj5a6"))))
+          (base32 "07agyzkwp3w2r4d2anrmr8h00yngpr5dq9mjd3m4kzhn1jcmilfb"))))
       (build-system asdf-build-system/sbcl)
       (home-page "https://github.com/danlentz/printv")
       (synopsis "Common Lisp tracing and debug-logging macro")
-- 
2.34.0





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

* [bug#54460] [PATCH v2] gnu: sbcl-printv: Update to e717a7f.
  2022-03-19  6:55 [bug#54460] [PATCH] gnu: sbcl-printv: Update to e717a7f jgart via Guix-patches via
@ 2022-03-19  7:47 ` jgart via Guix-patches via
  2022-03-19  9:58   ` Maxime Devos
  0 siblings, 1 reply; 4+ messages in thread
From: jgart via Guix-patches via @ 2022-03-19  7:47 UTC (permalink / raw)
  To: 54460; +Cc: jgart

* gnu/packages/lisp-xyz.scm (sbcl-printv): Update to e717a7f.
[inputs]: Add missing figlet input.
[arguments]: Patch figlet executable.

Hi,

Here is v2.

I discovered that sbcl-printv calls figlet so I patched figlet.

all best,

jgart

---
 gnu/packages/lisp-xyz.scm | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 0c99518e82..21958528bc 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -69,6 +69,7 @@ (define-module (gnu packages lisp-xyz)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages enchant)
+  #:use-module (gnu packages figlet)
   #:use-module (gnu packages file)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
@@ -5039,8 +5040,8 @@ (define-public ecl-log4cl
   (sbcl-package->ecl-package sbcl-log4cl))
 
 (define-public sbcl-printv
-  (let ((commit "646d31978dbbb460fffb160fd65bb2be9a5a434e")
-        (revision "1"))
+  (let ((commit "e717a7fe076dae861a96117b2f9af29db8d2294d")
+        (revision "2"))
     (package
       (name "sbcl-printv")
       (version (git-version "0.1.0" revision commit))
@@ -5052,8 +5053,17 @@ (define-public sbcl-printv
                (commit commit)))
          (file-name (git-file-name "printv" version))
          (sha256
-          (base32 "08jvy82abm7qi3wrxh6gvmwg9gy0zzhg4cfqajdwrggbah8mj5a6"))))
+          (base32 "07agyzkwp3w2r4d2anrmr8h00yngpr5dq9mjd3m4kzhn1jcmilfb"))))
       (build-system asdf-build-system/sbcl)
+      (inputs
+        (list figlet))
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch-figlet-executable
+             (lambda* (#:key inputs #:allow-other-keys)
+               (substitute* "printv.lisp"
+                 (("\"figlet") (string-append "\"" (which "figlet")))))))))
       (home-page "https://github.com/danlentz/printv")
       (synopsis "Common Lisp tracing and debug-logging macro")
       (description
-- 
2.34.0





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

* [bug#54460] [PATCH v2] gnu: sbcl-printv: Update to e717a7f.
  2022-03-19  7:47 ` [bug#54460] [PATCH v2] " jgart via Guix-patches via
@ 2022-03-19  9:58   ` Maxime Devos
  2022-03-21  9:00     ` bug#54460: " Guillaume Le Vaillant
  0 siblings, 1 reply; 4+ messages in thread
From: Maxime Devos @ 2022-03-19  9:58 UTC (permalink / raw)
  To: jgart, 54460

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

jgart via Guix-patches via schreef op za 19-03-2022 om 03:47 [-0400]:
> +         (modify-phases %standard-phases
> +           (add-after 'unpack 'patch-figlet-executable
> +             (lambda* (#:key inputs #:allow-other-keys)
> +               (substitute* "printv.lisp"
> +                 (("\"figlet") (string-append "\"" (which "figlet")))))))))

'which' looks in 'native-inputs', not 'inputs', so when cross-
compilation this is probably broken.  I suggest
(search-input-file inputs "bin/figlet") instead.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* bug#54460: [PATCH v2] gnu: sbcl-printv: Update to e717a7f.
  2022-03-19  9:58   ` Maxime Devos
@ 2022-03-21  9:00     ` Guillaume Le Vaillant
  0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Le Vaillant @ 2022-03-21  9:00 UTC (permalink / raw)
  To: jgart; +Cc: 54460-done, Maxime Devos

[-- Attachment #1: Type: text/plain, Size: 91 bytes --]

Patch pushed as a47b4da09945610080ed9f436e8717a3a4c02664 with Maxime's
suggestion.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

end of thread, other threads:[~2022-03-21  9:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-19  6:55 [bug#54460] [PATCH] gnu: sbcl-printv: Update to e717a7f jgart via Guix-patches via
2022-03-19  7:47 ` [bug#54460] [PATCH v2] " jgart via Guix-patches via
2022-03-19  9:58   ` Maxime Devos
2022-03-21  9:00     ` bug#54460: " Guillaume Le Vaillant

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).