From patchwork Mon Oct 28 21:28:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 69602 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0F6C027BBEA; Mon, 28 Oct 2024 21:31:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 89DDB27BBE2 for ; Mon, 28 Oct 2024 21:31:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5XKT-0007c6-5O; Mon, 28 Oct 2024 17:31:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5XKN-0007bE-4k for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:11 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5XKM-0005vQ-Qy for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Fu8IKaaqA2Xat19t1pZa99eAuH1ODlprLw9jZLwmmys=; b=YC3iRSWjz0DsmMO/lIlPEJhTGTnCZLXHrg7ray6iyZ+EKCvcoT7Z6rN+nWkUozjKB7yirPmEcgHE24fDAjy1bmtO5yEMjT9clOH4VMBzbyfAm7SfyQCOU2iL3FNm7skN8bTcjHZJRcwumTFrJZ5PFNWq2qJtTvCoHPX4ltWWPA4Man6YwOihrihyRgFKQHbiC5DpRGtJwlv42P+AJmhhbW66Dh38W/vlTR/gmkpI2nPk0r51qSoqGTv0vOiJANf7KmjXUHihblXwp/awWxfmgH60Gcw8tJ6x2owaBqmhCKPTyfiPu5vSMViSlxe49Tzeq09viDGe2zRejfhF6bDFaA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5XKI-0005xX-GU; Mon, 28 Oct 2024 17:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73839] [PATCH v3 2/5] gnu: Add cl-xkb. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 21:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73839 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73839@debbugs.gnu.org Cc: Sharlatan Hellseher , Grigory Shepelev , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 73839-submit@debbugs.gnu.org id=B73839.173015101022369 (code B ref 73839); Mon, 28 Oct 2024 21:31:02 +0000 Received: (at 73839) by debbugs.gnu.org; 28 Oct 2024 21:30:10 +0000 Received: from localhost ([127.0.0.1]:54892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJO-0005o9-6p for submit@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:09 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:60925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJM-0005nr-2d for 73839@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:04 -0400 Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-37d50fad249so3565630f8f.1 for <73839@debbugs.gnu.org>; Mon, 28 Oct 2024 14:30:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730150943; x=1730755743; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Fu8IKaaqA2Xat19t1pZa99eAuH1ODlprLw9jZLwmmys=; b=GthIdvWbjnjSvLKf57I7ELUXNsV1cd/qbhRejYjfjXSyAo5EHv7s5ms0oBV11/UwVc vzaHQsVotHbrk1E9UVmr7cjRWiOLPTCSYcO2FNpZ9J0n71Rg3Rns4U6fvb6Y7G4G6uqJ ReweCFE/ot87WeGs+4gF91aBLXYMC2LhUWMtPZ2v0ib8Ux85i3VL0RVdtw7CmwL7Jo1a qc5MzoLd/fX/Dv8b/s8CEkLe8aJqAWaVeTGTMjNHiXwwJ+44JcOLm6u1f1UpRKtV9BA/ FHCmt6TlYyHJRB7PxnN87O9qqiNc9MGxfVHyZssWfIwIOUeo7cU3jTKnu0/ivA+pRcx8 Y9Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730150943; x=1730755743; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Fu8IKaaqA2Xat19t1pZa99eAuH1ODlprLw9jZLwmmys=; b=WX9gR7eyR8os2YyGoI/+QWApJoKz3AwDrh2E0PLU2uiFg3LwmSUw2AT/3vi8D7e2z+ pQi3fe7hqnWzDgRBwRDhRqOFYB8ugExJYeweKgP2DfxsMkWNL7QJB2bi0tffX5DbksjJ dFMbvaQDjuWhkziXK5pyfjpAaNZrCtHQBRKR8lgGVBs2XiTx6wOAg/azMU/E2JhCjSag hVurQijqUJ704uf5xRPsWVocX8NYYJZVAiVfx3dmlzmaJn1CyQ3d659NBgPgGy7l2Qsx znddDdS8/WAIVTsPkELo4M/11SZ8U6uEEsMRtzUEh9EAOLEPu1AbUFSIXvKLLoiWjNsB SklQ== X-Gm-Message-State: AOJu0YzQzzVJOPL2bmzGQp33iM80dcJPu0JPh9je10GKdqmwPfpSeGZz FVi3KsZr7jhuvYahzAg15wkPsJ8l4udhEe2Hd0/Ldei6vVD0WMZxJcCiTA6P X-Google-Smtp-Source: AGHT+IHTbLtm+2VVsf4pmlCMxCQDRdK//p3dqzAjvZha4aKHkRCs5dlkPy7usMPbD5oqKE/R6i3hoQ== X-Received: by 2002:adf:ea43:0:b0:37d:633a:b361 with SMTP id ffacd0b85a97d-38061206c0cmr7403652f8f.51.1730150943211; Mon, 28 Oct 2024 14:29:03 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b13246sm10583480f8f.11.2024.10.28.14.29.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2024 14:29:02 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 28 Oct 2024 21:28:56 +0000 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Grigory Shepelev * gnu/packages/lisp-xyz.scm (cl-xkb, ecl-cl-xkb, sbcl-cl-xkb): New variables. Change-Id: Iaced3e5e084cc320a076ffb81d10fd9dde6be4de Co-authored-by: Sharlatan Hellseher --- gnu/packages/lisp-xyz.scm | 56 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 429541e377..e6dfefc79b 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -31887,6 +31887,62 @@ (define-public cl-xkbcommon (define-public ecl-xkbcommon (sbcl-package->ecl-package sbcl-xkbcommon)) +(define-public sbcl-cl-xkb + (let ((commit "e69c0e85e59fd8271efa2e9659cfffa9b59d1ece") + (revision "0")) + (package + (name "sbcl-cl-xkb") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/malcolmstill/cl-xkb") + (commit commit))) + (file-name (git-file-name "cl-xkb" version)) + (sha256 + (base32 "01k4hf316xr2h149vf7sh45rrdkfppqnzakzn91i7lw46dwl57wh")))) + (build-system asdf-build-system/sbcl) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'add-xkbcommon + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "cl-xkb.lisp" + (("/usr/lib64/libxkbcommon.so.0") + (search-input-file inputs "/lib/libxkbcommon.so")))))))) + (native-inputs + (list pkg-config)) + (inputs + (list libxkbcommon + sbcl-cffi)) + (home-page "https://github.com/malcolmstill/cl-xkb") + (synopsis "Common Lisp wrapper for @code{libxkbcommon}") + (description + "@code{cl-xkb} started development to support +@url{https://github.com/malcolmstill/ulubis, ulubis} + +The library currently supports these xkb modules: + +@itemize +@item Keysyms +@item Library Context +@item Include Paths +@item Logging Handling +@item Keymap Creation +@item Keymap Components +@item Keyboard State +@item Compose and dead-keys support +@end itemize") + (license license:bsd-3)))) + +(define-public cl-xkb + (sbcl-package->cl-source-package sbcl-cl-xkb)) + +(define-public ecl-cl-xkb + (sbcl-package->ecl-package sbcl-cl-xkb)) + (define-public sbcl-xml-emitter (package (name "sbcl-xml-emitter")