unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59193] [PATCH] gnu: sbcl-njson: Update to 0.2.1.
@ 2022-11-11 12:49 Artyom Bologov
  2022-11-15  9:56 ` Guillaume Le Vaillant
  0 siblings, 1 reply; 6+ messages in thread
From: Artyom Bologov @ 2022-11-11 12:49 UTC (permalink / raw)
  To: 59193

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

Hello Guix,

This updates sbcl-njson to the current latest 0.2.1.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Update sbcl-njson to 0.2.1 --]
[-- Type: text/x-patch, Size: 1618 bytes --]

From 9de165a20da14c46e344722760c832685cd2f73c Mon Sep 17 00:00:00 2001
From: Artyom Bologov <mail@aartaka.me>
Date: Fri, 11 Nov 2022 16:45:41 +0400
Subject: [PATCH] gnu: sbcl-njson: Update to 0.2.1.

* gnu/packages/lisp-xyz.scm (sbcl-njson): Update to 0.2.1.
---
 gnu/packages/lisp-xyz.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index b3c5eec050..0ef0d11603 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22540,7 +22540,7 @@ (define-public ecl-nkeymaps
 (define-public sbcl-njson
   (package
     (name "sbcl-njson")
-    (version "0.1.0")
+    (version "0.2.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -22549,7 +22549,7 @@ (define-public sbcl-njson
               (file-name (git-file-name "cl-njson" version))
               (sha256
                (base32
-                "0lv3q1841s4avii1jp89r91jq21sids2ycpy2id0kzhrljzhmy6j"))))
+                "0ax3l53rizqlfyazqa899mplr2snmwgv873z9lbjjplm6brld0hf"))))
     (build-system asdf-build-system/sbcl)
     (inputs (list sbcl-cl-json))
     (native-inputs (list sbcl-lisp-unit2))
@@ -22576,6 +22576,10 @@ (define-public sbcl-njson
 @item @code{jif}, @code{jwhen}, @code{jor}, @code{jand}, and other macros
 mimicking Lisp ones, while using truth values of JSON-decoded data.
 
+@item @code{njson/aliases} package to nickname to @code{j} for all the
+forms conveniently accessible as @code{j:rem}, @code{j:get},
+@code{j:if} etc.
+
 @end itemize\n")
     (license license:bsd-3)))
 
-- 
2.37.1


[-- Attachment #3: Type: text/plain, Size: 28 bytes --]


Thanks,
--
Artyom Bologov.

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

* [bug#59193] [PATCH] gnu: sbcl-njson: Update to 0.2.1.
  2022-11-11 12:49 [bug#59193] [PATCH] gnu: sbcl-njson: Update to 0.2.1 Artyom Bologov
@ 2022-11-15  9:56 ` Guillaume Le Vaillant
  2022-11-18 11:34   ` Artyom Bologov
  0 siblings, 1 reply; 6+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-15  9:56 UTC (permalink / raw)
  To: Artyom Bologov; +Cc: 59193

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

Artyom Bologov <mail@aartaka.me> skribis:

> Hello Guix,
>
> This updates sbcl-njson to the current latest 0.2.1.

The sbcl-nactivitypub package fails to build with sbcl-njson 0.2.1.
Could you take a look at it?

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

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

* [bug#59193] [PATCH] gnu: sbcl-njson: Update to 0.2.1.
  2022-11-15  9:56 ` Guillaume Le Vaillant
@ 2022-11-18 11:34   ` Artyom Bologov
  2022-11-18 12:47     ` Guillaume Le Vaillant
  0 siblings, 1 reply; 6+ messages in thread
From: Artyom Bologov @ 2022-11-18 11:34 UTC (permalink / raw)
  To: Guillaume Le Vaillant; +Cc: 59193, Artyom Bologov

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

Hello Guillaume,

> The sbcl-nactivitypub package fails to build with sbcl-njson 0.2.1.
> Could you take a look at it?

Yes, see the attached patch updating sbcl-nactivitypub too!


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Update cl-nactivitypub. --]
[-- Type: text/x-patch, Size: 1233 bytes --]

From cdb35daac895239ae6a7ec3d6bad5472f078630c Mon Sep 17 00:00:00 2001
From: Artyom Bologov <mail@aartaka.me>
Date: Fri, 18 Nov 2022 15:32:41 +0400
Subject: [PATCH] gnu: Update cl-nactivitypub to 0.0.3.

* gnu/packages/lisp-xyz.scm (sbcl-nactivitypub): Update to 0.0.3.
---
 gnu/packages/lisp-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 360196bc49..b52bea9811 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22588,7 +22588,7 @@ (define-public ecl-njson
 (define-public sbcl-nactivitypub
   (package
     (name "sbcl-nactivitypub")
-    (version "0.0.1")
+    (version "0.0.3")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -22597,7 +22597,7 @@ (define-public sbcl-nactivitypub
               (file-name (git-file-name "cl-nactivitypub" version))
               (sha256
                (base32
-                "07n8a9cfzc96kwsb6z4v5ns09ad2qyq45bjb779azcs7ds144a6r"))))
+                "0iyspb0nvqhqpzygj2fw85p0ya9gaz85q9vhdrvvrqzaxakp0dhz"))))
     (build-system asdf-build-system/sbcl)
     (inputs (list sbcl-cl-str
                   sbcl-dexador
-- 
2.37.1


[-- Attachment #3: Type: text/plain, Size: 20 bytes --]


Thanks,
--
Artyom.

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

* [bug#59193] [PATCH] gnu: sbcl-njson: Update to 0.2.1.
  2022-11-18 11:34   ` Artyom Bologov
@ 2022-11-18 12:47     ` Guillaume Le Vaillant
  2022-11-18 18:42       ` Artyom Bologov
  0 siblings, 1 reply; 6+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-18 12:47 UTC (permalink / raw)
  To: Artyom Bologov; +Cc: 59193


[-- Attachment #1.1: Type: text/plain, Size: 921 bytes --]

Artyom Bologov <mail@aartaka.me> skribis:

> Hello Guillaume,
>
>> The sbcl-nactivitypub package fails to build with sbcl-njson 0.2.1.
>> Could you take a look at it?
>
> Yes, see the attached patch updating sbcl-nactivitypub too!
>
> [2. Update cl-nactivitypub. --- text/x-patch; 0001-gnu-Update-cl-nactivitypub-to-0.0.3.patch]...
>
>
> Thanks,

Hi,

The sbcl-nactivitypub-0.0.3 package still fails to build.

The first error I got was: "The name NJSON/ALIASES does not designate
any package." I was able to get a bit further by applying the attached
patch to build the missing njson/aliases subsystem and adding it to
the 'depends-on' field in "nactivitypub.asd".

I then hit another error: "nactivitypub.lisp" is trying to use
a njson/aliases:truep symbol that doesn't exist. I took a look at
exported symbols of njson and njson/aliases, and I think nactivitypub
should use either njson:jtruep or njson/aliases:true.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-cl-njson-Build-extra-systems.patch --]
[-- Type: text/x-patch, Size: 988 bytes --]

From 1896223a12fb5713a12b81fb683232ddc8a06b61 Mon Sep 17 00:00:00 2001
From: Guillaume Le Vaillant <glv@posteo.net>
Date: Fri, 18 Nov 2022 13:34:32 +0100
Subject: [PATCH] gnu: cl-njson: Build extra systems.

* gnu/packages/lisp-xyz.scm (sbcl-njson)[arguments]: Add "njson/aliases" and
  "njson/cl-json" to 'asd-systems'.
---
 gnu/packages/lisp-xyz.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1c0100bbe4..b3abe264f0 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22804,6 +22804,8 @@ (define-public sbcl-njson
     (build-system asdf-build-system/sbcl)
     (inputs (list sbcl-cl-json))
     (native-inputs (list sbcl-lisp-unit2))
+    (arguments
+     '(#:asd-systems '("njson" "njson/aliases" "njson/cl-json")))
     (home-page "https://github.com/atlas-engineer/njson")
     (synopsis "JSON handling framework for Common Lisp")
     (description
-- 
2.38.1


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

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

* [bug#59193] [PATCH] gnu: sbcl-njson: Update to 0.2.1.
  2022-11-18 12:47     ` Guillaume Le Vaillant
@ 2022-11-18 18:42       ` Artyom Bologov
  2022-11-19 11:59         ` bug#59193: " Guillaume Le Vaillant
  0 siblings, 1 reply; 6+ messages in thread
From: Artyom Bologov @ 2022-11-18 18:42 UTC (permalink / raw)
  To: Guillaume Le Vaillant; +Cc: 59193, Artyom Bologov

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

Hi,

> The sbcl-nactivitypub-0.0.3 package still fails to build.
>
> The first error I got was: "The name NJSON/ALIASES does not designate
> any package." I was able to get a bit further by applying the attached
> patch to build the missing njson/aliases subsystem and adding it to
> the 'depends-on' field in "nactivitypub.asd".
>
> I then hit another error: "nactivitypub.lisp" is trying to use
> a njson/aliases:truep symbol that doesn't exist. I took a look at
> exported symbols of njson and njson/aliases, and I think nactivitypub
> should use either njson:jtruep or njson/aliases:true.

Indeed! Thanks for taking the look at it and pointing me in the right
direction! I've updated both njson and nactivitypub and now they should
be mutually compatible, see the attached patches.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Update cl-njson to 0.2.3. --]
[-- Type: text/x-patch, Size: 1837 bytes --]

From 26bda1e9fef83142b53a29c8168fb548dbc68594 Mon Sep 17 00:00:00 2001
From: Artyom Bologov <mail@aartaka.me>
Date: Fri, 18 Nov 2022 22:41:09 +0400
Subject: [PATCH] gnu: Update cl-njson to 0.2.3.

* gnu/package/lisp-xyz.scm (sbcl-njson): Update to 0.2.3.
---
 gnu/packages/lisp-xyz.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 360196bc49..cc5e8085ae 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22540,7 +22540,7 @@ (define-public ecl-nkeymaps
 (define-public sbcl-njson
   (package
     (name "sbcl-njson")
-    (version "0.1.0")
+    (version "0.2.3")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -22549,10 +22549,12 @@ (define-public sbcl-njson
               (file-name (git-file-name "cl-njson" version))
               (sha256
                (base32
-                "0lv3q1841s4avii1jp89r91jq21sids2ycpy2id0kzhrljzhmy6j"))))
+                "11s6qq719zlrpy0kb1id9qnrm73yrc3xi560k4s8cj79fy4nj0ib"))))
     (build-system asdf-build-system/sbcl)
     (inputs (list sbcl-cl-json))
     (native-inputs (list sbcl-lisp-unit2))
+    (arguments
+     '(#:asd-systems '("njson" "njson/aliases" "njson/cl-json")))
     (home-page "https://github.com/atlas-engineer/njson")
     (synopsis "JSON handling framework for Common Lisp")
     (description
@@ -22576,6 +22578,10 @@ (define-public sbcl-njson
 @item @code{jif}, @code{jwhen}, @code{jor}, @code{jand}, and other macros
 mimicking Lisp ones, while using truth values of JSON-decoded data.
 
+@item @code{njson/aliases} package to nickname to @code{j} for all the
+forms conveniently accessible as @code{j:rem}, @code{j:get},
+@code{j:if} etc.
+
 @end itemize\n")
     (license license:bsd-3)))
 
-- 
2.37.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: Update cl-nactivitypub to 0.0.4. --]
[-- Type: text/x-patch, Size: 1232 bytes --]

From 11e0197f8c708addb422597d9ef86f5c4942135d Mon Sep 17 00:00:00 2001
From: Artyom Bologov <mail@aartaka.me>
Date: Fri, 18 Nov 2022 22:36:55 +0400
Subject: [PATCH] gnu: Update cl-nactivitypub to 0.0.4

* gnu/packages/lisp-xyz.scm (sbcl-nactivitypub): Update to 0.0.4.
---
 gnu/packages/lisp-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 360196bc49..4ec0871f88 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22588,7 +22588,7 @@ (define-public ecl-njson
 (define-public sbcl-nactivitypub
   (package
     (name "sbcl-nactivitypub")
-    (version "0.0.1")
+    (version "0.0.4")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -22597,7 +22597,7 @@ (define-public sbcl-nactivitypub
               (file-name (git-file-name "cl-nactivitypub" version))
               (sha256
                (base32
-                "07n8a9cfzc96kwsb6z4v5ns09ad2qyq45bjb779azcs7ds144a6r"))))
+                "06vzaqwwc9j8r89ld3fd6bbbfd5bl0jh132rlf9wxmr0xcaqwkrl"))))
     (build-system asdf-build-system/sbcl)
     (inputs (list sbcl-cl-str
                   sbcl-dexador
-- 
2.37.1


[-- Attachment #4: Type: text/plain, Size: 20 bytes --]


Thanks,
--
Artyom.

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

* bug#59193: [PATCH] gnu: sbcl-njson: Update to 0.2.1.
  2022-11-18 18:42       ` Artyom Bologov
@ 2022-11-19 11:59         ` Guillaume Le Vaillant
  0 siblings, 0 replies; 6+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-19 11:59 UTC (permalink / raw)
  To: Artyom Bologov; +Cc: 59193-done

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

Patches pushed as 337fe45544c2e89127d79557f9a05a0fa237c779 and
following.
Thanks.

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

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

end of thread, other threads:[~2022-11-19 12:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11 12:49 [bug#59193] [PATCH] gnu: sbcl-njson: Update to 0.2.1 Artyom Bologov
2022-11-15  9:56 ` Guillaume Le Vaillant
2022-11-18 11:34   ` Artyom Bologov
2022-11-18 12:47     ` Guillaume Le Vaillant
2022-11-18 18:42       ` Artyom Bologov
2022-11-19 11:59         ` bug#59193: " 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).