From: ykonai via Guix-patches via <guix-patches@gnu.org>
To: 65149@debbugs.gnu.org
Subject: [bug#65149] [PATCH v2 4/4] gnu: Add sbcl-cl-gtk4.
Date: Tue, 15 Aug 2023 21:49:39 +0200 [thread overview]
Message-ID: <20230815194939.1180103-4-mail@ykonai.net> (raw)
In-Reply-To: <20230815194939.1180103-1-mail@ykonai.net>
* gnu/packages/lisp-xyz.scm (sbcl-cl-gtk4, cl-gtk4): New variables.
---
gnu/packages/lisp-xyz.scm | 57 +++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2a47a21b65..a13363f69a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9677,6 +9677,63 @@ (define-public cl-glib
(define-public ecl-cl-glib
(sbcl-package->ecl-package sbcl-cl-glib))
+(define-public sbcl-cl-gtk4
+ (let ((commit "d116905e7b68508d03681a50b3b24d63e7b111e4")
+ (revision "1"))
+ (package
+ (name "sbcl-cl-gtk4")
+ (version (git-version "1.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bohonghuang/cl-gtk4")
+ (commit commit)))
+ (file-name (git-file-name "cl-gtk4" version))
+ (sha256
+ (base32 "0mprmmvbagnflvhynn51l42nbwr08rld99ls0c48m5lpjn0ja4zc"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ '(#:asd-systems '("cl-gtk4" "cl-gdk4")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'copy-typelibs
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (dirs
+ (list (assoc-ref inputs "gtk")
+ (assoc-ref inputs "graphene")
+ (assoc-ref inputs "harfbuzz")
+ (assoc-ref inputs "pango")
+ (assoc-ref inputs "gdk-pixbuf"))))
+ (map
+ (lambda (d)
+ (copy-recursively
+ (string-append d "/lib/girepository-1.0")
+ (string-append out "/lib/girepository-1.0")))
+ dirs)))))))
+ (native-inputs
+ (list graphene pango harfbuzz gdk-pixbuf))
+ (inputs
+ (list
+ gtk
+ gobject-introspection
+ sbcl-cl-glib
+ sbcl-cl-gobject-introspection-wrapper))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "GI_TYPELIB_PATH")
+ (separator ":")
+ (files (list "lib/girepository-1.0")))))
+ (home-page "https://github.com/bohonghuang/cl-gtk4")
+ (synopsis "GTK4 bindings for Common Lisp.")
+ (description "Provides GTK4 bindings for Common Lisp via Gobject Introspection, in the
+cl-gtk4 ASDF system.")
+ (license license:lgpl3))))
+
+(define-public cl-gtk4
+ (sbcl-package->cl-source-package sbcl-cl-gtk4))
+
(define-public sbcl-cl-slug
(let ((commit "ffb229d10f0d3f7f54e706791725225e200bf749")
(revision "1"))
--
2.41.0
next prev parent reply other threads:[~2023-08-15 20:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 13:47 [bug#65149] [PATCH 0/4] Add sbcl-cl-gtk4 ykonai via Guix-patches via
2023-08-08 13:52 ` [bug#65149] [PATCH 1/4] gnu: sbcl-cl-gobject-introspection: Update to 0.3-2.c4fef07 ykonai via Guix-patches via
2023-08-08 13:52 ` [bug#65149] [PATCH 2/4] gnu: Add sbcl-cl-gobject-introspection-wrapper ykonai via Guix-patches via
2023-08-08 13:52 ` [bug#65149] [PATCH 3/4] gnu: Add sbcl-cl-glib ykonai via Guix-patches via
2023-08-08 13:52 ` [bug#65149] [PATCH 4/4] gnu: Add sbcl-cl-gtk4 ykonai via Guix-patches via
2023-08-10 12:00 ` Guillaume Le Vaillant
2023-08-10 22:15 ` ykonai via Guix-patches via
2023-08-15 19:49 ` [bug#65149] [PATCH v2 1/4] gnu: sbcl-cl-gobject-introspection: Update to 0.3-2.c4fef07 ykonai via Guix-patches via
2023-08-15 19:49 ` [bug#65149] [PATCH v2 2/4] gnu: Add sbcl-cl-gobject-introspection-wrapper ykonai via Guix-patches via
2023-08-15 19:49 ` [bug#65149] [PATCH v2 3/4] gnu: Add sbcl-cl-glib ykonai via Guix-patches via
2023-08-15 19:49 ` ykonai via Guix-patches via [this message]
2023-08-18 11:46 ` bug#65149: [PATCH 0/4] Add sbcl-cl-gtk4 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=20230815194939.1180103-4-mail@ykonai.net \
--to=guix-patches@gnu.org \
--cc=65149@debbugs.gnu.org \
--cc=mail@ykonai.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 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.