* [bug#54268] [PATCH 1/6] gnu: Add cl-template
2022-03-06 3:33 [bug#54268] [PATCH 0/6] Add cl-clog and its missing dependencies Aurora via Guix-patches via
@ 2022-03-06 3:33 ` Aurora via Guix-patches via
2022-03-06 3:33 ` [bug#54268] [PATCH 2/6] gnu: Add cl-fast-websocket Aurora via Guix-patches via
` (5 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Aurora via Guix-patches via @ 2022-03-06 3:33 UTC (permalink / raw)
To: 54268; +Cc: Aurora
---
gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index a4c0317..17acbc2 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20675,3 +20675,33 @@ change since last write.
(inputs
(cons (list "iolib" cl-iolib)
(package-inputs sbcl-nfiles)))))
+
+(define-public sbcl-cl-template
+ (let ((commit "46193a9a389bb950530e579eae7e6e5a18184832")
+ (revision "0"))
+ (package
+ (name "sbcl-cl-template")
+ (version (git-version "0.0.1" revision commit))
+ (home-page "https://github.com/alpha123/cl-template")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (sha256
+ (base32
+ "1rhg023a2nxsk5x6abd6i0a8sh36aj0bgsh80w60m3b7xlsva2x2"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ (list sbcl-fiveam))
+ (synopsis "Simple, output-agnostic template engine for Common Lisp, inspired by ERb")
+ (description "cl-template is yet another template engine for Common Lisp,
+taking inspiration from Ruby's ERb module.")
+ (license license:expat))))
+
+(define-public cl-template
+ (sbcl-package->cl-source-package sbcl-cl-template))
+
+(define-public ecl-cl-template
+ (sbcl-package->ecl-package sbcl-cl-template))
--
2.30.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 2/6] gnu: Add cl-fast-websocket
2022-03-06 3:33 [bug#54268] [PATCH 0/6] Add cl-clog and its missing dependencies Aurora via Guix-patches via
2022-03-06 3:33 ` [bug#54268] [PATCH 1/6] gnu: Add cl-template Aurora via Guix-patches via
@ 2022-03-06 3:33 ` Aurora via Guix-patches via
2022-03-06 3:33 ` [bug#54268] [PATCH 3/6] gnu: Add cl-event-emitter Aurora via Guix-patches via
` (4 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Aurora via Guix-patches via @ 2022-03-06 3:33 UTC (permalink / raw)
To: 54268; +Cc: Aurora
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 17acbc2..89b3474 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20705,3 +20705,43 @@ taking inspiration from Ruby's ERb module.")
(define-public ecl-cl-template
(sbcl-package->ecl-package sbcl-cl-template))
+
+(define-public sbcl-fast-websocket
+ (let ((commit "24c0217e7c0d25b6ef6ab799452cba0b9fb58f44")
+ (revision "0"))
+ (package
+ (name "sbcl-fast-websocket")
+ (version (git-version "0.1.0" revision commit))
+ (home-page "https://github.com/fukamachi/fast-websocket")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (sha256
+ (base32
+ "04sacrhpdp3ixvp6wjwxls5mv47g0q6542pd16yn199xjg0drw8a"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ ;; Test system must be loaded before, otherwise tests fail with:
+ ;; Component FAST-WEBSOCKET-ASD::FAST-WEBSOCKET-TEST not found, required by #<SYSTEM
+ ;; "fast-websocket">.
+ '(#:asd-systems '("fast-websocket-test"
+ "fast-websocket")))
+ (inputs
+ (list sbcl-fast-io
+ sbcl-babel
+ sbcl-alexandria))
+ (native-inputs
+ (list sbcl-prove
+ sbcl-trivial-utf-8))
+ (synopsis "Optimized low-level WebSocket protocol parser written in Common Lisp")
+ (description "Optimized low-level WebSocket protocol parser/composer.")
+ (license license:bsd-2))))
+
+(define-public cl-fast-websocket
+ (sbcl-package->cl-source-package sbcl-fast-websocket))
+
+(define-public ecl-fast-websocket
+ (sbcl-package->ecl-package sbcl-fast-websocket))
--
2.30.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 3/6] gnu: Add cl-event-emitter
2022-03-06 3:33 [bug#54268] [PATCH 0/6] Add cl-clog and its missing dependencies Aurora via Guix-patches via
2022-03-06 3:33 ` [bug#54268] [PATCH 1/6] gnu: Add cl-template Aurora via Guix-patches via
2022-03-06 3:33 ` [bug#54268] [PATCH 2/6] gnu: Add cl-fast-websocket Aurora via Guix-patches via
@ 2022-03-06 3:33 ` Aurora via Guix-patches via
2022-03-06 3:33 ` [bug#54268] [PATCH 4/6] gnu: Add cl-sha1 Aurora via Guix-patches via
` (3 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Aurora via Guix-patches via @ 2022-03-06 3:33 UTC (permalink / raw)
To: 54268; +Cc: Aurora
---
gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 89b3474..bdfea95 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20745,3 +20745,33 @@ taking inspiration from Ruby's ERb module.")
(define-public ecl-fast-websocket
(sbcl-package->ecl-package sbcl-fast-websocket))
+
+(define-public sbcl-event-emitter
+ (let ((commit "cb0e15f9de4c617cef3f5d5a22a41e28f9613d0b")
+ (revision "0"))
+ (package
+ (name "sbcl-event-emitter")
+ (version (git-version "0.0.1" revision commit))
+ (home-page "https://github.com/fukamachi/event-emitter")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (sha256
+ (base32
+ "1i18xzfr6334db9dzj0lsl7wxw1r1l0ixvn883mjbyqw0czp21h6"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ (list sbcl-prove))
+ (synopsis "Event mechanism for Common Lisp objects")
+ (description "Event Emitter provides an event mechanism like Node.js for
+Common Lisp objects. Mostly ported from Node.js 'events' module.")
+ (license license:bsd-2))))
+
+(define-public cl-event-emitter
+ (sbcl-package->cl-source-package sbcl-event-emitter))
+
+(define-public ecl-event-emitter
+ (sbcl-package->ecl-package sbcl-event-emitter))
--
2.30.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 4/6] gnu: Add cl-sha1
2022-03-06 3:33 [bug#54268] [PATCH 0/6] Add cl-clog and its missing dependencies Aurora via Guix-patches via
` (2 preceding siblings ...)
2022-03-06 3:33 ` [bug#54268] [PATCH 3/6] gnu: Add cl-event-emitter Aurora via Guix-patches via
@ 2022-03-06 3:33 ` Aurora via Guix-patches via
2022-03-06 3:33 ` [bug#54268] [PATCH 5/6] gnu: Add cl-websocket-driver Aurora via Guix-patches via
` (2 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Aurora via Guix-patches via @ 2022-03-06 3:33 UTC (permalink / raw)
To: 54268; +Cc: Aurora
---
gnu/packages/lisp-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index bdfea95..2c2c4a4 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20775,3 +20775,32 @@ Common Lisp objects. Mostly ported from Node.js 'events' module.")
(define-public ecl-event-emitter
(sbcl-package->ecl-package sbcl-event-emitter))
+
+(define-public sbcl-sha1
+ (let ((commit "be8b1b155c3a6ad3eb9b200212af6ff52f5611de")
+ (revision "0"))
+ (package
+ (name "sbcl-sha1")
+ (version (git-version "1.0.0" revision commit))
+ (home-page "https://github.com/massung/sha1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (sha256
+ (base32
+ "1cfn0j5yfwqkwr2dm73wr9hz8dmws3ngxlbk9886ahxkg544qx4z"))))
+ (build-system asdf-build-system/sbcl)
+ (synopsis "SHA1 Digest and HMAC for Common Lisp")
+ (description "A very simple implementation of SHA1 and HMAC-SHA1 for
+Common Lisp. The code is intended to be easy to follow and is therefore a
+little slower than it could be.")
+ (license license:asl2.0))))
+
+(define-public cl-sha1
+ (sbcl-package->cl-source-package sbcl-sha1))
+
+(define-public ecl-sha1
+ (sbcl-package->ecl-package sbcl-sha1))
--
2.30.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 5/6] gnu: Add cl-websocket-driver
2022-03-06 3:33 [bug#54268] [PATCH 0/6] Add cl-clog and its missing dependencies Aurora via Guix-patches via
` (3 preceding siblings ...)
2022-03-06 3:33 ` [bug#54268] [PATCH 4/6] gnu: Add cl-sha1 Aurora via Guix-patches via
@ 2022-03-06 3:33 ` Aurora via Guix-patches via
2022-03-08 18:35 ` Maxime Devos
2022-03-06 3:33 ` [bug#54268] [PATCH 6/6] gnu: Add cl-clog Aurora via Guix-patches via
[not found] ` <handler.54268.B.164653763126451.ack@debbugs.gnu.org>
6 siblings, 1 reply; 15+ messages in thread
From: Aurora via Guix-patches via @ 2022-03-06 3:33 UTC (permalink / raw)
To: 54268; +Cc: Aurora
---
gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2c2c4a4..964817b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20804,3 +20804,43 @@ little slower than it could be.")
(define-public ecl-sha1
(sbcl-package->ecl-package sbcl-sha1))
+
+(define-public sbcl-websocket-driver
+ (let ((commit "df94496ecb525d086eeada4f5875975515b7212e")
+ (revision "0"))
+ (package
+ (name "sbcl-websocket-driver")
+ (version (git-version "0.2.0" revision commit))
+ (home-page "https://github.com/fukamachi/websocket-driver")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (sha256
+ (base32
+ "0y852sqdnxfma6kw833by4wkgbgbv4ppzawjk8pk3y1pmh6is83y"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-babel
+ sbcl-clack
+ sbcl-fast-http
+ sbcl-fast-io
+ sbcl-fast-websocket
+ sbcl-event-emitter
+ sbcl-sha1
+ sbcl-cl-base64
+ sbcl-split-sequence
+ sbcl-bordeaux-threads
+ sbcl-quri))
+ (synopsis "Simple, output-agnostic template engine for Common Lisp, inspired by ERb")
+ (description "cl-template is yet another template engine for Common Lisp,
+taking inspiration from Ruby's ERb module.")
+ (license license:expat))))
+
+(define-public cl-websocket-driver
+ (sbcl-package->cl-source-package sbcl-websocket-driver))
+
+(define-public ecl-websocket-driver
+ (sbcl-package->ecl-package sbcl-websocket-driver))
--
2.30.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 5/6] gnu: Add cl-websocket-driver
2022-03-06 3:33 ` [bug#54268] [PATCH 5/6] gnu: Add cl-websocket-driver Aurora via Guix-patches via
@ 2022-03-08 18:35 ` Maxime Devos
2022-03-08 18:52 ` Guillaume Le Vaillant
0 siblings, 1 reply; 15+ messages in thread
From: Maxime Devos @ 2022-03-08 18:35 UTC (permalink / raw)
To: Aurora, 54268
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
Aurora via Guix-patches via schreef op zo 06-03-2022 om 03:33 [+0000]:
> + (version (git-version "0.2.0" revision commit))
What's the reason for picking a commit from git instead of using
a released version?
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 5/6] gnu: Add cl-websocket-driver
2022-03-08 18:35 ` Maxime Devos
@ 2022-03-08 18:52 ` Guillaume Le Vaillant
2022-03-08 19:59 ` Maxime Devos
0 siblings, 1 reply; 15+ messages in thread
From: Guillaume Le Vaillant @ 2022-03-08 18:52 UTC (permalink / raw)
To: Maxime Devos; +Cc: Aurora, 54268
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
Maxime Devos <maximedevos@telenet.be> skribis:
> Aurora via Guix-patches via schreef op zo 06-03-2022 om 03:33 [+0000]:
>> + (version (git-version "0.2.0" revision commit))
>
> What's the reason for picking a commit from git instead of using
> a released version?
>
> Greetings,
> Maxime.
As far as I can see, the repository for websocket-driver doesn't have
any tag or release. Did you see a released version somewhere?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 5/6] gnu: Add cl-websocket-driver
2022-03-08 18:52 ` Guillaume Le Vaillant
@ 2022-03-08 19:59 ` Maxime Devos
2022-03-09 20:51 ` Aurora via Guix-patches via
0 siblings, 1 reply; 15+ messages in thread
From: Maxime Devos @ 2022-03-08 19:59 UTC (permalink / raw)
To: Guillaume Le Vaillant; +Cc: Aurora, 54268
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
Guillaume Le Vaillant schreef op di 08-03-2022 om 18:52 [+0000]:
> As far as I can see, the repository for websocket-driver doesn't have
> any tag or release. Did you see a released version somewhere?
In websocket-driver.asd, there's a line 0.2.0, suggesting the use
of version numbers even if not tagged. It's from commit
<https://github.com/fukamachi/websocket-driver/commit/f97d3c39ae91a7b994315e740a93ef461c82e672>,
which is seven year olds, though, so I guess that picking the latest
commit from git instead would be reasonable.
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 5/6] gnu: Add cl-websocket-driver
2022-03-08 19:59 ` Maxime Devos
@ 2022-03-09 20:51 ` Aurora via Guix-patches via
0 siblings, 0 replies; 15+ messages in thread
From: Aurora via Guix-patches via @ 2022-03-09 20:51 UTC (permalink / raw)
To: Maxime Devos; +Cc: Guillaume Le Vaillant, 54268
Maxime Devos <maximedevos@telenet.be> writes:
> Guillaume Le Vaillant schreef op di 08-03-2022 om 18:52 [+0000]:
>> As far as I can see, the repository for websocket-driver doesn't have
>> any tag or release. Did you see a released version somewhere?
>
> In websocket-driver.asd, there's a line 0.2.0, suggesting the use
> of version numbers even if not tagged. It's from commit
> <https://github.com/fukamachi/websocket-driver/commit/f97d3c39ae91a7b994315e740a93ef461c82e672>,
> which is seven year olds, though, so I guess that picking the latest
> commit from git instead would be reasonable.
Yeah, the lack of proper version tagging & the presence of versioning
info in the ASD project files are why I manually added the 0.2.0 while
using a commit.
I added the commit plus the version info because a number of changes
occured since it switched versions.
That author's projects tend to remain fairly stable once they're done
with them, but they don't tag them as 1.0 or anything.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 6/6] gnu: Add cl-clog
2022-03-06 3:33 [bug#54268] [PATCH 0/6] Add cl-clog and its missing dependencies Aurora via Guix-patches via
` (4 preceding siblings ...)
2022-03-06 3:33 ` [bug#54268] [PATCH 5/6] gnu: Add cl-websocket-driver Aurora via Guix-patches via
@ 2022-03-06 3:33 ` Aurora via Guix-patches via
2022-03-08 18:29 ` Maxime Devos
[not found] ` <handler.54268.B.164653763126451.ack@debbugs.gnu.org>
6 siblings, 1 reply; 15+ messages in thread
From: Aurora via Guix-patches via @ 2022-03-06 3:33 UTC (permalink / raw)
To: 54268; +Cc: Aurora
---
gnu/packages/lisp-xyz.scm | 51 +++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 964817b..e25f3ef 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20844,3 +20844,54 @@ taking inspiration from Ruby's ERb module.")
(define-public ecl-websocket-driver
(sbcl-package->ecl-package sbcl-websocket-driver))
+
+(define-public sbcl-clog
+ (let ((commit "v1.2")
+ (revision "0"))
+ (package
+ (name "sbcl-clog")
+ (version "1.2")
+ (home-page "https://github.com/rabbibotton/clog")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "0f4i6571nm0j704zgnh60sc9slifs11byb2gs8gamqjcfh931dap"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-clack
+ sbcl-websocket-driver
+ sbcl-alexandria
+ sbcl-hunchentoot
+ sbcl-cl-ppcre
+ sbcl-bordeaux-threads
+ sbcl-trivial-open-browser
+ sbcl-parse-float
+ sbcl-quri
+ sbcl-lack
+ sbcl-mgl-pax
+ sbcl-cl-template
+ sbcl-closer-mop
+ sbcl-cl-sqlite
+ sbcl-dbi))
+ (native-inputs
+ (list sbcl-3bmd
+ sbcl-colorize))
+ (synopsis "CLOG - The Common Lisp Omnificent GUI")
+ (description "The Common Lisp Omnificent GUI, CLOG for short, uses web
+technology to produce graphical user interfaces for applications locally or
+remotely. CLOG can take the place, or work alongside, most cross-platform GUI
+frameworks and website frameworks. The CLOG package starts up the
+connectivity to the browser or other websocket client (often a browser
+embedded in a native template application.)")
+ (license license:bsd-3))))
+
+(define-public cl-clog
+ (sbcl-package->cl-source-package sbcl-clog))
+
+(define-public ecl-clog
+ (sbcl-package->ecl-package sbcl-clog))
--
2.30.2
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 6/6] gnu: Add cl-clog
2022-03-06 3:33 ` [bug#54268] [PATCH 6/6] gnu: Add cl-clog Aurora via Guix-patches via
@ 2022-03-08 18:29 ` Maxime Devos
2022-03-09 20:59 ` Aurora via Guix-patches via
0 siblings, 1 reply; 15+ messages in thread
From: Maxime Devos @ 2022-03-08 18:29 UTC (permalink / raw)
To: Aurora, 54268
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]
Aurora via Guix-patches via schreef op zo 06-03-2022 om 03:33 [+0000]:
> +(define-public sbcl-clog
> + (let ((commit "v1.2")
> + (revision "0"))
> + (package
> + (name "sbcl-clog")
> + (version "1.2")
> + (home-page "https://github.com/rabbibotton/clog")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url home-page)
> + (commit (string-append "v" version))))
> + (sha256
> + (base32
The variables 'commit' and 'revision' seem unused. Can they be
removed?
Greetings,
Maxime.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* [bug#54268] [PATCH 6/6] gnu: Add cl-clog
2022-03-08 18:29 ` Maxime Devos
@ 2022-03-09 20:59 ` Aurora via Guix-patches via
0 siblings, 0 replies; 15+ messages in thread
From: Aurora via Guix-patches via @ 2022-03-09 20:59 UTC (permalink / raw)
To: Maxime Devos; +Cc: 54268
Maxime Devos <maximedevos@telenet.be> writes:
> The variables 'commit' and 'revision' seem unused. Can they be
> removed?
They could, I think that's an artifact of the package definition I used
as an example & forgot to remove. Sorry about that.
However I don't think I'll going ahead with packaging Clog right away
for now anyway. Noticing the jQuery vendoring was the start of the
troubles.
It has strong dependencies on Bootstrap (and so jQuery, despite not
using all that much directly by itself) & w3.css, which have significant
dependency chains to work through (a few hundred items). Currently it
vendors some of these dependencies and fetches some of those dynamically
online (it does use HTML integrity hashes but it's still not ideal).
It'll take some time to wrangle that.
Regards,
Aurora
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <handler.54268.B.164653763126451.ack@debbugs.gnu.org>]