unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#71701] [PATCH]: Update sbcl-fset to 1.4.0
@ 2024-06-21 12:22 André A. Gomes
  2024-06-21 21:29 ` jgart via Guix-patches via
  0 siblings, 1 reply; 5+ messages in thread
From: André A. Gomes @ 2024-06-21 12:22 UTC (permalink / raw)
  To: 71701

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

Attached, thanks.

-- 
André A. Gomes
"You cannot even find the ruins..."

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-sbcl-fset-Update-to-1.4.0.patch --]
[-- Type: text/x-patch, Size: 3285 bytes --]

From a2af63010b5d3063b0a94678f0ef2b9c82a988b4 Mon Sep 17 00:00:00 2001
From: "Andre A. Gomes" <andremegafone@gmail.com>
Date: Fri, 21 Jun 2024 15:22:12 +0300
Subject: [PATCH] gnu: sbcl-fset: Update to 1.4.0.

* gnu/packages/lisp-xyz.scm (sbcl-fset): Update to 1.4.0.
---
 gnu/packages/lisp-xyz.scm | 54 +++++++++++++++------------------------
 1 file changed, 20 insertions(+), 34 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2a1687be40..58df036241 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -15654,44 +15654,30 @@ (define-public ecl-formgrep
   (sbcl-package->ecl-package sbcl-formgrep))
 
 (define-public sbcl-fset
-  (let ((commit "a75a4ec713277780d9e15bfaa486b56949142d35")
-        (revision "1"))
-    (package
-      (name "sbcl-fset")
-      (version (git-version "1.3.3" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/slburson/fset")
-               (commit commit)))
-         (file-name (git-file-name "cl-fset" version))
-         (sha256
-          (base32 "0bah0z8zrcykvnbi2wcdlbx902r818xg5dvd3384wf75kr2ccxvv"))
-         (snippet '(begin
-                     ;; Remove obsolete copy of system definition.
-                     (delete-file "Code/fset.asd")))))
-      (build-system asdf-build-system/sbcl)
-      (inputs
-       (list sbcl-misc-extensions sbcl-mt19937 sbcl-named-readtables))
-      (arguments
-       (list #:phases
-             #~(modify-phases %standard-phases
-                 (add-after 'unpack 'fix-build
-                   (lambda _
-                     ;; Fix for SBCL > 2.4.4
-                     (substitute* "Code/port.lisp"
-                       (("sb-ext::once-only")
-                        "sb-int:once-only")))))))
-      (synopsis "Functional set-theoretic collections library")
-      (description
-       "FSet is a functional set-theoretic collections library for Common Lisp.
+  (package
+    (name "sbcl-fset")
+    (version "1.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/slburson/fset")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name "cl-fset" version))
+       (sha256
+        (base32 "16a3g9av8rvhvnhv5vfq2shim7b7i062wzyz6xwjk9sp9q9bqlva"))))
+    (build-system asdf-build-system/sbcl)
+    (inputs
+     (list sbcl-misc-extensions sbcl-mt19937 sbcl-named-readtables))
+    (synopsis "Functional set-theoretic collections library")
+    (description
+     "FSet is a functional set-theoretic collections library for Common Lisp.
 Functional means that all update operations return a new collection rather than
 modifying an existing one in place.  Set-theoretic means that collections may
 be nested arbitrarily with no additional programmer effort; for instance, sets
 may contain sets, maps may be keyed by sets, etc.")
-      (home-page "https://common-lisp.net/project/fset/Site/index.html")
-      (license license:llgpl))))
+    (home-page "https://common-lisp.net/project/fset/Site/index.html")
+    (license license:llgpl)))
 
 (define-public cl-fset
   (sbcl-package->cl-source-package sbcl-fset))
-- 
2.41.0


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

* [bug#71701] [PATCH]: Update sbcl-fset to 1.4.0
  2024-06-21 12:22 [bug#71701] [PATCH]: Update sbcl-fset to 1.4.0 André A. Gomes
@ 2024-06-21 21:29 ` jgart via Guix-patches via
  2024-06-25 10:19   ` André A. Gomes
  0 siblings, 1 reply; 5+ messages in thread
From: jgart via Guix-patches via @ 2024-06-21 21:29 UTC (permalink / raw)
  To: 71701; +Cc: andremegafone

Hi André,

Thanks for the patch.

When I try to apply your patch I get the below error.

Would you mind sharing how you sent the patch so I can debug this issue a bit.

Did you use git send-email or something else?

Thanks!

jgart


jgart@unknown1ee35e825799:~/Code/guix-latest [env]$ mumi am -- -s -S
Patch is empty.
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To record the empty patch as an empty commit, run "git am --allow-empty".
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Backtrace:
           2 (primitive-load "/gnu/store/p3xfvin2a76618144l39i4nn17a…")
In srfi/srfi-1.scm:
    634:9  1 (for-each #<procedure 7fd6f46c69c0 at mumi/client.scm:…> …)
In mumi/client.scm:
   249:12  0 (call-with-output-pipe* _ _ . _)

mumi/client.scm:249:12: In procedure call-with-output-pipe*:
Command invocation failed failed ("git" "am" "-s" "-S")




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

* [bug#71701] [PATCH]: Update sbcl-fset to 1.4.0
  2024-06-21 21:29 ` jgart via Guix-patches via
@ 2024-06-25 10:19   ` André A. Gomes
  2024-06-25 16:35     ` jgart via Guix-patches via
  0 siblings, 1 reply; 5+ messages in thread
From: André A. Gomes @ 2024-06-25 10:19 UTC (permalink / raw)
  To: jgart; +Cc: glv, 71701

"jgart" <jgart@dismail.de> writes:

> When I try to apply your patch I get the below error.
>
> Would you mind sharing how you sent the patch so I can debug this issue a bit.
>
> Did you use git send-email or something else?

Hi jgart,

I sent the patch as an email attachment.  I am not very comfortable
doing it via git send-email but can look into it if it's a hard
requirement.

Usually Guillaume tests my patches since I mainly contribute to the lisp
effort, and it has been working for him.

Thanks.


-- 
André A. Gomes
"You cannot even find the ruins..."




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

* [bug#71701] [PATCH]: Update sbcl-fset to 1.4.0
  2024-06-25 10:19   ` André A. Gomes
@ 2024-06-25 16:35     ` jgart via Guix-patches via
  2024-06-26  9:09       ` bug#71701: " Guillaume Le Vaillant
  0 siblings, 1 reply; 5+ messages in thread
From: jgart via Guix-patches via @ 2024-06-25 16:35 UTC (permalink / raw)
  To: André A. Gomes, 71701; +Cc: Guillaume Le Vaillant

> I sent the patch as an email attachment. I am not very comfortable
> 
> doing it via git send-email but can look into it if it's a hard requirement.

It's currently not a hard requirement but it makes my job harder for my workflow of using the `mumi am` tool to apply patches.

I'll let Guillaume review this one if Guillaume is able to. It would be much appreciated.

In the meantime, I'll try to work on getting `mumi am` to accept and support email-sent patches if I am going to review patches like this one in the future that don't apply via `mumi am`.

Thanks for the report and for your contribution.

all the best,

jgart




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

* bug#71701: [PATCH]: Update sbcl-fset to 1.4.0
  2024-06-25 16:35     ` jgart via Guix-patches via
@ 2024-06-26  9:09       ` Guillaume Le Vaillant
  0 siblings, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2024-06-26  9:09 UTC (permalink / raw)
  To: André A. Gomes; +Cc: jgart, 71701-done

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

Patch applied as c32b31ecfcb7e6c51bfe457cce70d7b6b36b9cca with
a completed commit message.
Thanks.

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

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

end of thread, other threads:[~2024-06-26  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-21 12:22 [bug#71701] [PATCH]: Update sbcl-fset to 1.4.0 André A. Gomes
2024-06-21 21:29 ` jgart via Guix-patches via
2024-06-25 10:19   ` André A. Gomes
2024-06-25 16:35     ` jgart via Guix-patches via
2024-06-26  9:09       ` bug#71701: " 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).