From: Artyom Bologov <mail@aartaka.me>
To: Guillaume Le Vaillant <glv@posteo.net>
Cc: 59193@debbugs.gnu.org, Artyom Bologov <mail@aartaka.me>
Subject: [bug#59193] [PATCH] gnu: sbcl-njson: Update to 0.2.1.
Date: Fri, 18 Nov 2022 22:42:41 +0400 [thread overview]
Message-ID: <8735ag6qza.fsf@aartaka.me> (raw)
In-Reply-To: <87a64oct0l.fsf@kitej>
[-- 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.
next prev parent reply other threads:[~2022-11-18 18:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2022-11-19 11:59 ` bug#59193: " Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8735ag6qza.fsf@aartaka.me \
--to=mail@aartaka.me \
--cc=59193@debbugs.gnu.org \
--cc=glv@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).