all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Karl Hallsby via Guix-patches via <guix-patches@gnu.org>
To: 66623@debbugs.gnu.org
Cc: Karl Hallsby <karl@hallsby.com>,
	Guillaume Le Vaillant <glv@posteo.net>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
	jgart <jgart@dismail.de>
Subject: [bug#66623] [PATCH 1/3] gnu: Add sbcl-xkbcommon package
Date: Thu, 19 Oct 2023 00:06:01 -0500	[thread overview]
Message-ID: <95701221bfe259fbb2aa52b684cdc4d928aea4a2.1697691783.git.karl@hallsby.com> (raw)
In-Reply-To: <cover.1697691783.git.karl@hallsby.com>

* gnu/packages/lisp-xyz.scm (New variable): Add sbcl-xkbcommon package
at most recent revision.
---
 gnu/packages/lisp-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index f2c581e65f..1ac43e7e3a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -40,6 +40,7 @@
 ;;; Copyright © 2023 Roman Scherer <roman@burningswell.com>
 ;;; Copyright © 2023 ykonai <mail@ykonai.net>
 ;;; Copyright © 2023 Gabriel Hondet <gabriel.hondet@cominety.net>
+;;; Copyright © 2023 Raven Hallsby <karl@hallsby.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26738,6 +26739,51 @@ (define-public cl-nkeymaps
 (define-public ecl-nkeymaps
   (sbcl-package->ecl-package sbcl-nkeymaps))
 
+(define-public sbcl-xkbcommon
+  (let ((commit "aa9513d93f42d7816f88dd1bd8bd21375e7d7512")
+        (revision "0"))
+    (package
+      (name "sbcl-xkbcommon")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/sdilts/cl-xkbcommon")
+               (commit commit)))
+         (file-name (git-file-name "sbcl-xkbcommon" version))
+         (sha256
+          (base32 "02zdbkh7yliw9vg8i8wx2xgcpfni0fr4z0w19kkxvaib8xm9rx1q"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'fix-paths
+             (lambda* (#:key inputs #:allow-other-keys)
+               (substitute* "xkbcommon.lisp"
+                 (("\\(define-foreign-library libxkbcommon" all)
+                  (string-append all "\n"
+                                 "  (:unix \""
+                                 (assoc-ref inputs "libxkbcommon")
+                                 "/lib/libxkbcommon.so\")"))))))))
+      (native-inputs
+       (list pkg-config))
+      (inputs
+       (list libxkbcommon
+             sbcl-cffi))
+      (home-page "https://github.com/sdilts/cl-xkbcommon")
+      (synopsis "Common Lisp FFI bindings for xkbcommon (libxkbcommon)")
+      (description
+       "Common Lisp FFI bindings for xkbcommon (libxkbcommon) using
+cffi-grovel.")
+      (license license:expat))))
+
+(define-public cl-xkbcommon
+  (sbcl-package->cl-source-package sbcl-xkbcommon))
+
+(define-public ecl-xkbcommon
+  (sbcl-package->ecl-package sbcl-xkbcommon))
+
 (define-public sbcl-njson
   (package
     (name "sbcl-njson")
-- 
2.41.0





  reply	other threads:[~2023-10-19  5:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-19  5:04 [bug#66623] [PATCH 0/3] Add Mahogany Window Manager Karl Hallsby via Guix-patches via
2023-10-19  5:06 ` Karl Hallsby via Guix-patches via [this message]
2023-10-19  5:06 ` [bug#66623] [PATCH 2/3] gnu: Add sbcl-wayland package Karl Hallsby via Guix-patches via
2023-10-19  5:06 ` [bug#66623] [PATCH 3/3] gnu: Add mahogany Karl Hallsby via Guix-patches via
2023-10-19  5:16   ` Raven Hallsby via Guix-patches via
2023-10-19 12:08 ` [bug#66623] [PATCH 0/3] Add Mahogany Window Manager Guillaume Le Vaillant
2023-11-12 15:54 ` [bug#66623] [PATCH] gnu: Add mahogany Karl Hallsby via Guix-patches via
2023-11-12 16:27   ` Karl G. Hallsby via Guix-patches via
2023-11-15 13:37     ` Guillaume Le Vaillant
2023-11-22 14:44       ` Ludovic Courtès
2023-11-22 17:34         ` Karl G. Hallsby via Guix-patches via
2023-11-12 15:59 ` Karl Hallsby via Guix-patches via

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=95701221bfe259fbb2aa52b684cdc4d928aea4a2.1697691783.git.karl@hallsby.com \
    --to=guix-patches@gnu.org \
    --cc=66623@debbugs.gnu.org \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=glv@posteo.net \
    --cc=jgart@dismail.de \
    --cc=karl@hallsby.com \
    /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.