From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 61772@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#61772] [PATCH 4/5] gnu: Add sbcl-cl-cairo2.
Date: Fri, 24 Feb 2023 22:23:48 +0000 [thread overview]
Message-ID: <20230224222349.26750-4-sharlatanus@gmail.com> (raw)
In-Reply-To: <20230224222349.26750-1-sharlatanus@gmail.com>
* gnu/packages/lisp-xyz.scm (cl-cairo2, ecl-cl-cairo2, sbcl-cl-cairo2):
New variables.
---
gnu/packages/lisp-xyz.scm | 50 +++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 808fdb9391..e37a386232 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -3567,6 +3567,56 @@ (define-public cl-let-plus
(define-public ecl-let-plus
(sbcl-package->ecl-package sbcl-let-plus))
+(define-public sbcl-cl-cairo2
+ (let ((commit "41ae45aac86553c46f4bb460f80e1fb620930f5b")
+ (revision "1"))
+ (package
+ (name "sbcl-cl-cairo2")
+ (version (git-version "1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rpav/cl-cairo2")
+ (commit commit)))
+ (file-name (git-file-name "cl-cairo2" version))
+ (sha256
+ (base32 "0cpfgyxw6pz7y033dlya8c4vjmkpw127zdq3a9xclp9q8jbdlb7q"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ `(#:asd-systems '(;; "cl-cairo2-gtk2" ; cl-gtk2 is not packed and quite old.
+ ;; "cl-cairo2-quartz" ; Failing when enabled.
+ ;; "cl-cairo2-xlib" ; cl-xcb-xlib is not packed yet and quite old.
+ ;; "cl-cairo2-xcb"
+ "cl-cairo2")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/load-libraries.lisp"
+ (("libcairo.so.2")
+ (search-input-file inputs "/lib/libcairo.so.2"))))))))
+ (inputs
+ (list cairo
+ sbcl-cffi
+ sbcl-cl-colors
+ sbcl-cl-freetype2
+ sbcl-cl-utilities
+ sbcl-metabang-bind
+ sbcl-trivial-features
+ sbcl-trivial-garbage))
+ (home-page "https://github.com/rpav/cl-cairo2")
+ (synopsis "Cairo bindings for Common Lisp")
+ (description
+ "This packages provides a CFFI bindings for Common Lisp to cairo C library.")
+ (license license:boost1.0))))
+
+(define-public ecl-cl-cairo2
+ (sbcl-package->ecl-package sbcl-cl-cairo2))
+
+(define-public cl-cairo2
+ (sbcl-package->cl-source-package sbcl-cl-cairo2))
+
(define-public sbcl-cl-colors
(let ((commit "827410584553f5c717eec6182343b7605f707f75"))
(package
--
2.39.1
next prev parent reply other threads:[~2023-02-24 22:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-24 22:22 [bug#61772] [PATCH 0/5] gnu: Add cl-calm Sharlatan Hellseher
2023-02-24 22:23 ` [bug#61772] [PATCH 1/5] gnu: cl-sdl2: Update to 0.0.0-2.80410b5 Sharlatan Hellseher
2023-02-24 22:23 ` [bug#61772] [PATCH 2/5] gnu: cl-sdl2: Remove input labels Sharlatan Hellseher
2023-02-24 22:23 ` [bug#61772] [PATCH 3/5] gnu: Add cl-sdl2-mixer Sharlatan Hellseher
2023-02-24 22:23 ` Sharlatan Hellseher [this message]
2023-02-24 22:23 ` [bug#61772] [PATCH 5/5] gnu: Add cl-calm Sharlatan Hellseher
2023-02-27 13:17 ` bug#61772: [PATCH 0/5] " 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230224222349.26750-4-sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=61772@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.