GNU bug report logs - #73056
[PATCH 1/2] gnu: cl-ciel: Update to 0.2.1

Previous Next

Package: guix-patches;

Reported by: Konrad Hinsen <konrad.hinsen <at> fastmail.net>

Date: Thu, 5 Sep 2024 20:04:02 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73056 in the body.
You can then email your comments to 73056 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#73056; Package guix-patches. (Thu, 05 Sep 2024 20:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konrad Hinsen <konrad.hinsen <at> fastmail.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 05 Sep 2024 20:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
To: guix-patches <at> gnu.org
Subject: [PATCH 1/2] gnu: cl-ciel: Update to 0.2.1
Date: Thu, 05 Sep 2024 21:42:36 +0200
* gnu/packages/lisp-xyz.scm (sbcl-ciel, cl-ciel, ecl-ciel): Update to 0.2.1

Change-Id: Ie0a122ebdba4f9b5bb83275cc349864d0306c080
---
 gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++----------
 1 file changed, 22 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 64ffd93e60..c22d5f6565 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -3462,20 +3462,20 @@ (define-public ecl-chunga
   (sbcl-package->ecl-package sbcl-chunga))
 
 (define-public sbcl-ciel
-  (let ((commit "6cc1cef5e37e9f495c8163271a5de48de99f348a")
-        (revision "0"))
+  (let ((commit "0b26d64dcd91a3a2aa962842629a853261dd30fe")
+        (version "0.2.1"))
     (package
       (name "sbcl-ciel")
-      (version (git-version "0.1.0" revision commit))
+      (version version)
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
                (url "https://github.com/ciel-lang/CIEL")
                (commit commit)))
-         (file-name (git-file-name "ciel" version))
+         (file-name (git-file-name name version))
          (sha256
-          (base32 "1bwafbbsppxqvijf43dii55mpzrklh6faj2m5dhajg2f2m8qckgi"))))
+          (base32 "0gm8slnz4jw98rkijnh2dp6x629xdnfk8z7j35g03j6ypr56v06h"))))
       (build-system asdf-build-system/sbcl)
       (native-inputs
        (list sbcl-fiveam))
@@ -3485,12 +3485,11 @@ (define-public sbcl-ciel
              sbcl-arrow-macros
              sbcl-bordeaux-threads
              sbcl-cl-ansi-text
-             sbcl-cl-ansi-text
              sbcl-cl-cron
              sbcl-cl-csv
+             sbcl-cl-ftp
              sbcl-cl-json-pointer
              sbcl-cl-ppcre
-             sbcl-cl-punch
              sbcl-cl-reexport
              sbcl-cl-str
              sbcl-clesh
@@ -3499,12 +3498,11 @@ (define-public sbcl-ciel
              sbcl-cmd
              sbcl-dbi
              sbcl-defstar
-             sbcl-deploy
              sbcl-dexador
              sbcl-dissect
              sbcl-easy-routes
+             sbcl-file-finder
              sbcl-file-notify
-             sbcl-fn
              sbcl-for
              sbcl-fset
              sbcl-generic-cl
@@ -3515,20 +3513,23 @@ (define-public sbcl-ciel
              sbcl-lquery
              sbcl-metabang-bind
              sbcl-modf
+             sbcl-moira
              sbcl-named-readtables
-             sbcl-nodgui
              sbcl-parse-float
              sbcl-parse-number
              sbcl-printv
+             sbcl-progressons
              sbcl-pythonic-string-reader
              sbcl-quicksearch
              sbcl-quri
              sbcl-repl-utilities
+             sbcl-secret-values
              sbcl-serapeum
              sbcl-shasht
              sbcl-shlex
              sbcl-spinneret
              sbcl-sxql
+             sbcl-termp
              sbcl-trivia
              sbcl-trivial-arguments
              sbcl-trivial-do
@@ -3537,6 +3538,17 @@ (define-public sbcl-ciel
              sbcl-trivial-types
              sbcl-vgplot
              sbcl-which))
+      (outputs '("out" "image"))
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'create-asdf-configuration 'build-image
+              (lambda* (#:key outputs #:allow-other-keys)
+                (build-image
+                 (string-append (assoc-ref outputs "image") "/bin/ciel")
+                 outputs
+                 #:dependencies '("ciel")))))))
       (home-page "http://ciel-lang.org/")
       (synopsis "CIEL Is an Extended Lisp")
       (description

base-commit: 386a1c77aff0fe8e298feac5187553c20e47d56e
-- 
2.45.2




Information forwarded to guix-patches <at> gnu.org:
bug#73056; Package guix-patches. (Fri, 06 Sep 2024 11:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 73056 <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
Cc: 73056 <at> debbugs.gnu.org
Subject: Re: [bug#73056] [PATCH 1/2] gnu: cl-ciel: Update to 0.2.1
Date: Fri, 06 Sep 2024 09:15:59 +0000
[Message part 1 (text/plain, inline)]
Konrad Hinsen <konrad.hinsen <at> fastmail.net> skribis:

> diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
> index 64ffd93e60..c22d5f6565 100644
> --- a/gnu/packages/lisp-xyz.scm
> +++ b/gnu/packages/lisp-xyz.scm
> @@ -3462,20 +3462,20 @@ (define-public ecl-chunga
>    (sbcl-package->ecl-package sbcl-chunga))
>  
>  (define-public sbcl-ciel
>  [...]
> +      (outputs '("out" "image"))
> +      (arguments
> +       (list
> +        #:phases
> +        #~(modify-phases %standard-phases
> +            (add-after 'create-asdf-configuration 'build-image
> +              (lambda* (#:key outputs #:allow-other-keys)
> +                (build-image
> +                 (string-append (assoc-ref outputs "image") "/bin/ciel")
> +                 outputs
> +                 #:dependencies '("ciel")))))))
>        (home-page "http://ciel-lang.org/")
>        (synopsis "CIEL Is an Extended Lisp")
>        (description

Hi.
Is building the core image useful, given that the sbcl-ciel-repl package
will contain the binary with the same included features?
If yes, it would be better to put it in the "lib/" directory instead of
"bin/" (e.g. SBCL puts the default core image in "lib/sbcl/").
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#73056; Package guix-patches. (Fri, 06 Sep 2024 12:25:02 GMT) Full text and rfc822 format available.

Message #11 received at 73056 <at> debbugs.gnu.org (full text, mbox):

From: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
To: Guillaume Le Vaillant <glv <at> posteo.net>
Cc: 73056 <at> debbugs.gnu.org
Subject: Re: [bug#73056] [PATCH 1/2] gnu: cl-ciel: Update to 0.2.1
Date: Fri, 06 Sep 2024 14:24:48 +0200
Guillaume Le Vaillant <glv <at> posteo.net> writes:

> Is building the core image useful, given that the sbcl-ciel-repl package
> will contain the binary with the same included features?

The CIEL REPL is specifically meant for use in the terminal, whereas the
core image is recommended by upstream for use with Emacs/Slime and
similar environments.

> If yes, it would be better to put it in the "lib/" directory instead of
> "bin/" (e.g. SBCL puts the default core image in "lib/sbcl/").

I have no strong opinions on the location. There is only one other
package in Guix that builds a core image. That's sbcl-slynk, and it
puts the image under /bin, so I did the same.

There is some justification to this choice because the images are
actually executable. You can use either

   bin/ciel.image

or

   sbcl --core bin/ciel.image

with the same effect.

As I said, I don't care much, but I think it would be preferable to have
a uniform policy about this in Guix, now that we have two packages that
build images :-)

Cheers,
  Konrad.




Reply sent to Guillaume Le Vaillant <glv <at> posteo.net>:
You have taken responsibility. (Sat, 07 Sep 2024 11:34:01 GMT) Full text and rfc822 format available.

Notification sent to Konrad Hinsen <konrad.hinsen <at> fastmail.net>:
bug acknowledged by developer. (Sat, 07 Sep 2024 11:34:01 GMT) Full text and rfc822 format available.

Message #16 received at 73056-done <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
Cc: 73056-done <at> debbugs.gnu.org
Subject: Re: [bug#73056] [PATCH 1/2] gnu: cl-ciel: Update to 0.2.1
Date: Sat, 07 Sep 2024 11:33:15 +0000
Konrad Hinsen <konrad.hinsen <at> fastmail.net> skribis:

> Guillaume Le Vaillant <glv <at> posteo.net> writes:
>
>> Is building the core image useful, given that the sbcl-ciel-repl package
>> will contain the binary with the same included features?
>
> The CIEL REPL is specifically meant for use in the terminal, whereas the
> core image is recommended by upstream for use with Emacs/Slime and
> similar environments.
>
>> If yes, it would be better to put it in the "lib/" directory instead of
>> "bin/" (e.g. SBCL puts the default core image in "lib/sbcl/").
>
> I have no strong opinions on the location. There is only one other
> package in Guix that builds a core image. That's sbcl-slynk, and it
> puts the image under /bin, so I did the same.
>
> There is some justification to this choice because the images are
> actually executable. You can use either
>
>    bin/ciel.image
>
> or
>
>    sbcl --core bin/ciel.image
>
> with the same effect.
>
> As I said, I don't care much, but I think it would be preferable to have
> a uniform policy about this in Guix, now that we have two packages that
> build images :-)
>
> Cheers,
>   Konrad.

Ok. Patch applied as 904f871378337b7c9e6ffa2b62d9a62a6d1e937d.
Thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 06 Oct 2024 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.