[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73839] [PATCH 5/5] lisp-xyz: + sbcl-wayflan
From: |
Grigory Shepelev |
Subject: |
[bug#73839] [PATCH 5/5] lisp-xyz: + sbcl-wayflan |
Date: |
Tue, 22 Oct 2024 11:51:06 +0300 |
Change-Id: I65982ad6f5c034f611292d4f660b15e4e42f8da0
---
gnu/packages/lisp-xyz.scm | 55 +++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index aea0530802..73ceb84223 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10453,6 +10453,61 @@ (define-public cl-wayland
(define-public ecl-cl-wayland
(sbcl-package->ecl-package sbcl-cl-wayland))
+(define-public sbcl-wayflan
+ (let ((commit "3fbd2164e96aece3993929c7076593a2ee594f50")
+ (revision "1"))
+ (package
+ (name "sbcl-wayflan")
+ (version (git-version "0.0.4" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~shunter/wayflan")
+ (commit commit)))
+ (file-name (git-file-name "wayflan" version))
+ (sha256
+ (base32 "0y6hzskp1vgaigzj5b3i695sc6dn5mk7nlxs21nh5ybzmf4chhyy"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ (list
+ #:tests? #f ;tries to look for wayflan-client/test
+ #:asd-systems ''("wayflan-client"
+ ;; "wayflan-client/examples" fails on
wayland-keyboard-demo.lisp because xkb used as :xkb, not required properly
+ "wayflan" "wayflan/common" "wayflan/test")))
+ (inputs (list sbcl-cffi
+ sbcl-alexandria
+ sbcl-babel
+ sbcl-plump
+ sbcl-cl-colors
+ sbcl-cl-cairo2
+ sbcl-closer-mop
+ sbcl-input-event-codes
+ sbcl-xkb
+ sbcl-cl-pango
+ sbcl-posix-shm
+ wayland))
+ (native-inputs (list sbcl-parachute))
+ (home-page "https://git.sr.ht/~shunter/wayflan")
+ (synopsis
+ "Wayflan is a from-scratch Wayland communication library for Common
Lisp. It is not a binding or a wrapper around libwayland, but a
re-implementation of the Wayland protocol. This unties Lisp applications from
per-proxy manual memory allocation, toplevel-only C callbacks, and enables a
closer interface with lisp")
+ (description
+ "Wayflan makes a good-faith effort to mimic @code{libwayland} behavior
not defined in the Wayland spec, to keep compatibility between the two
libraries.
+
+Wayflan is not a compositor nor a GUI toolkit. Its purpose is to parse Wayland
protocol XML documents and exchange Wayland messages between other processes.
+
+Wayflan is an ongoing project. Things may change to make Wayflan the best
client for Common Lisp projects, such as iterating on a better API. If you use
Wayflan in any projects, let me know! I'd love to give a heads up and help
transition projects to any breaking changes I make along the way.
+
+Features:
+@itemize
+@item Client support
+@item All implementation done in Common Lisp from the socket up
+@item Enum values are translated into keywords
+@item Wayland protocol introspection
+@item ASDF component @code{:wayflan-client-impl} generates code from XML.
ASDF's extensible components make it possible to teach your program new
protocols for Wayland without the need of a special build system.
+@end itemize")
+ (license license:bsd-3))))
+
(define-public sbcl-cl-webkit
(package
(name "sbcl-cl-webkit")
--
2.46.0
- [bug#73839] [PATCH 1/5] lisp-xyz: + sbcl-posix-shm, Grigory Shepelev, 2024/10/16
- [bug#73839] Clarification, Grigory Shepelev, 2024/10/16
- [bug#73839] [PATCH 1/5] lisp-xyz: + sbcl-posix-shm, Sharlatan Hellseher, 2024/10/18
- [bug#73839] [PATCH 1/5] lisp-xyz: + sbcl-posix-shm, Grigory Shepelev, 2024/10/22
- [bug#73839] comment on the new patchest, Grigory Shepelev, 2024/10/22
- [bug#73839] [PATCH v3 0/5] gnu: Add cl-wayflan., Sharlatan Hellseher, 2024/10/28
- [bug#73839] [PATCH v3 5/5] gnu: Add cl-wayflan., Sharlatan Hellseher, 2024/10/28
- [bug#73839] [PATCH v3 1/5] gnu: Add cl-posix-shm., Sharlatan Hellseher, 2024/10/28
- [bug#73839] [PATCH v3 4/5] gnu: Add cl-input-event-codes., Sharlatan Hellseher, 2024/10/28
- [bug#73839] [PATCH v3 2/5] gnu: Add cl-xkb., Sharlatan Hellseher, 2024/10/28
- [bug#73839] [PATCH v3 3/5] gnu: Add cl-pango., Sharlatan Hellseher, 2024/10/28
- bug#73839: [PATCH v3 0/5] gnu: Add cl-wayflan., Guillaume Le Vaillant, 2024/10/29