From patchwork Mon Oct 28 21:28:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 69601 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 0643527BBE9; Mon, 28 Oct 2024 21:31:33 +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 0E34227BBE2 for ; Mon, 28 Oct 2024 21:31:32 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5XKR-0007bB-TK; Mon, 28 Oct 2024 17:31:11 -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 1t5XKL-0007aI-4F for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:05 -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 1t5XKK-0005vA-M5 for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:04 -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=5Ko5tgYkLKbNcn1nx8Skq3EjwphRVdvy61TUNqifbQY=; b=mT5IMGjsS+na7Y7jl9xmdEOv7F1w1Y3K9opj3xLlvO2LbQhHh/BAoyxAwk4cVz7HvHG2R/0O11qiQEdBQK70S5+bfPc0ibhqG9VyWHrnYg5Oegig5sw1QwU2ZK9dDcSZLAhn/pAfCxtFYzJI5JCwSW44PTw+SRhS5CVQ8CYAHkveoJcnaFTiCkWzT7RHd2+wAd8x/rFEbzaf6SjOQStkYKbK++WBHfZVuQ76Ds1bZRiYSQEFlD60NTcySPDI0aNORZM7NYQG2uUeEn5rmIaY/zsWDg78wGkowW4hO2/8zXv7wJY3sOo0oRG7wxcE5ahSVYNCaJqyUOVEeQS+W7lXLA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5XKK-0005y6-FH; Mon, 28 Oct 2024 17:31:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73839] [PATCH v3 1/5] gnu: Add cl-posix-shm. 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:04 +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.173015101322480 (code B ref 73839); Mon, 28 Oct 2024 21:31:04 +0000 Received: (at 73839) by debbugs.gnu.org; 28 Oct 2024 21:30:13 +0000 Received: from localhost ([127.0.0.1]:54906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJU-0005qH-Sj for submit@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:13 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:45081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJQ-0005nn-8X for 73839@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:08 -0400 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-43161e7bb25so46229075e9.2 for <73839@debbugs.gnu.org>; Mon, 28 Oct 2024 14:30:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730150942; x=1730755742; 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=5Ko5tgYkLKbNcn1nx8Skq3EjwphRVdvy61TUNqifbQY=; b=nLg7omYkGzwHlOY3B54cq1jLpYT9rgkLBYPdLQqsrI2XQcH5GHATDC/PRx6/EsdKLP UCrdkxlxx11KgqEWZE9reudaXR2N5THReaqxh7Q1SC3dgo90y2SKHGqv9Wc60nPoj2+d EhCcuuki4eGIgbVOBDHKEX51IAjP7C29C6bWCziIfKFuJRttA2/R9spf4TJO6B0ifSAb jHL2Hj8qBOBc94XPYiyXDubuM3nuob6U3ULnil5l/Q4hAgn02qYkIsGz/4OZpBzSInxi Ria5aNGH0UkpQwNJR1wIvCT2gJwYX7SVjXHqwWPBwsoisr8ZQafUgNl5zajjAuQT/L/8 OaQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730150942; x=1730755742; 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=5Ko5tgYkLKbNcn1nx8Skq3EjwphRVdvy61TUNqifbQY=; b=Doq4dCTcaTjHoKBwf4bvARDs9EtV7NswCF91NLQvbim0JLxY2aZfwxth8qA0JNxrDc AHEpCxTBDPH/+vP2BpV28iOzqvroycLMO8d/vuujsW5+jKkFFbkzj3lQJSeEH2DGgubJ KIKpWGNXCy4WBDBp7HlMvxL0QYRhHF/tU6oc8sqBfUc5DddM70Ial5vkTqcoXdeuig2k 9wscTvnKp021bS/zRfb5SfBaA8dK3kRh/85rP7luPc9GkS8buRplSiX0vgirkluzwVmQ TzLZDBRbPBKkzDYf+5QLnwwMBv6HBd8tP3WW9hWP3VQlF3ssNqJnv0UE9c2ysRipgFOM tX9g== X-Gm-Message-State: AOJu0YwHyLwXsUi5rDNG4Dzt4gLW2k6avNuonljZjpW/t8UYQe+4PfdC t4HbYjKrnncJjZcq/duLqV9kB3okJFBAhLu00xhE6KCl3AbMFXq5LU5esdHY X-Google-Smtp-Source: AGHT+IE+/+AHWjVj/coS0Md9EoKEzbPhtVBmgRnq9ABhJeoO++k7FgDMUzp2kHkFQRsvGu6PdxUGfg== X-Received: by 2002:a05:600c:4708:b0:431:5187:28dd with SMTP id 5b1f17b1804b1-4319ad0c2ddmr79676185e9.28.1730150942462; Mon, 28 Oct 2024 14:29:02 -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:55 +0000 Message-ID: <9de791b66a21303bf55d7cadcde5945bba79827b.1730150632.git.sharlatanus@gmail.com> 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-posix-shm, ecl-posix-shm, sbcl-shm): New variables. Change-Id: I5ac9a3751977bf98d817acd8b98d1a2ad9d393f7 Co-authored-by: Sharlatan Hellseher --- gnu/packages/lisp-xyz.scm | 75 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index d93c67ca5d..429541e377 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -30217,6 +30217,81 @@ (define-public cl-trivial-raw-io (define-public ecl-trivial-raw-io (sbcl-package->ecl-package sbcl-trivial-raw-io)) +(define-public sbcl-posix-shm + (package + (name "sbcl-posix-shm") + (version "0.0.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~shunter/posix-shm") + (commit (string-append "v" version)))) + (file-name (git-file-name "posix-shm" version)) + (sha256 + (base32 "1lk8sach64zgj81988q3z8i153gi3dkda3fkb11cxgsmymawddk9")))) + (build-system asdf-build-system/sbcl) + (arguments + (list + #:asd-systems ''("posix-shm" "posix-shm/ffi" "posix-shm/test") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "ffi/ffi.lisp" + (("libc.so.6") + (search-input-file inputs "/lib/libc.so.6")) + (("librt.so.1") + (search-input-file inputs "/lib/librt.so.1")))))))) + (native-inputs + (list sbcl-osicat + sbcl-parachute)) + (inputs + (list sbcl-cffi + sbcl-alexandria + sbcl-trivial-features)) + (home-page "https://git.sr.ht/~shunter/posix-shm") + (synopsis "Common Lisp bindings and wrapper for the POSIX shared memory API") + (description + "This library provides two strata to access the POSIX shm API: + +@itemize +@item the package @code{posix-shm/ffi}, a collection of slim bindings to the +POSIX API + +@item the package @code{posix-shm}, a lispy wrapper around the FFI that +integrates more closely to the features of Common Lisp, and provides a handful +of utilities and macros +@end itemize + +Features include: + +@itemize +@item open, close, create, resize, change ownership of, change permissions of, +and memory map to shared memory objects +@item @code{open-shm} appears more like @code{open} from the standard library +@item @code{open-shm*}, for creating anonymous shm objects +@item @code{with-open-shm}, @code{with-mmap} and similar @code{with-} macros +for safely accessing resources with dynamic extent +@end itemize") + (license license:bsd-3))) + +(define-public cl-posix-shm + (sbcl-package->cl-source-package sbcl-posix-shm)) + +(define-public ecl-posix-shm + (let ((pkg (sbcl-package->ecl-package sbcl-posix-shm))) + (package + (inherit pkg) + ;; XXX: An error occurred during initialization: Attempt to redefine + ;; function FTRUNCATE in locked package.. + (arguments + (substitute-keyword-arguments (package-arguments pkg) + ((#:phases phases) + `(modify-phases ,phases + (delete 'build) + (delete 'check)))))))) + (define-public sbcl-trivial-rfc-1123 (let ((commit "9ef59c3fdec08b0e3c9ed02d39533887b6d1b8e3") (revision "0")) 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") From patchwork Mon Oct 28 21:28:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 69603 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 64E7227BBEA; Mon, 28 Oct 2024 21:31:40 +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 6E1D227BBE2 for ; Mon, 28 Oct 2024 21:31:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5XKT-0007cf-Vy; Mon, 28 Oct 2024 17:31:14 -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-0007bH-U9 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 1t5XKN-0005vY-LJ for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:07 -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=clyvOWPh3lhcPN5yj/FrX7kifogbkBbURfzaAlOgCPM=; b=Oe6Tx7z9reik8KW/qWUi6C+o+Wn0teLfKJpI2Uokk5IvWytnho9U9TtIO2u/frbMZV6qh3fgeCTRmxepBnSINpK49J2RmtT7+N1DFsZLF1XnJG8N7WFmnZrQfndNRiyWsyu7+YeDTOhI4qY8gYppAeITUEAs2RM6BB3nC+PFUE6YDbSW4TpoQsHvj8V0la19KKSlc4t+PjHgwB2tdTzUymf5OIm9hDKJWD6pRJhe3X9zIgoUZBQaRAmVS7bjyOTvIJHsFwwqAIWdI2jfMP6twMUXVxkQLe22nApmyPZ/QRuXso6tfONYC/8BA91g3bK3Paxz47m8ajqR27hDPpMqEA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5XKJ-0005xo-HC; Mon, 28 Oct 2024 17:31:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73839] [PATCH v3 3/5] gnu: Add cl-pango. 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:03 +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.173015101222403 (code B ref 73839); Mon, 28 Oct 2024 21:31:03 +0000 Received: (at 73839) by debbugs.gnu.org; 28 Oct 2024 21:30:12 +0000 Received: from localhost ([127.0.0.1]:54901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJT-0005p3-EK for submit@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:11 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:56527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJM-0005nx-Tx for 73839@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:06 -0400 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-43193678216so35093425e9.0 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=1730150944; x=1730755744; 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=clyvOWPh3lhcPN5yj/FrX7kifogbkBbURfzaAlOgCPM=; b=b+tQCf+HYfDKL2s7l6CLDc5bzB+kmGow1/VbfH0NXSgZ4WyKFCZMLtfs+5Ay1rZV81 n88VVnJ1ID/sPrqbMbj+ABoXYgXqkOYKkyh2OpzPcE1jmW7E20WrTEjg0Rwp4eBZURQo Jp+4RGgEZSQfgAEuighuZnAW7kI5J4mwkTDXlHo4i6wbN0jB8N4QHGN0Tf2NXKXsgo2p CmvONGuH7A5xw+tAcT10I5t/Y9vHIeZ37si62qt5Vm7/GbIv+p3tofPRdXs/dxMAN1m2 /l+gOgoS6GRvfM3diT3M9uGQ+TY5S5ywYnRTuHl7+WXp9R8ye64Y5OeiDq3wrUcf1J61 l9kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730150944; x=1730755744; 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=clyvOWPh3lhcPN5yj/FrX7kifogbkBbURfzaAlOgCPM=; b=EHa7fzLKJsUQRMU/9VJg4Gburuy42oFCI3ak9g4M3XTTQpeW8vTvktQsTKIAgiRP2N j5ZC2r6ldK/s7q/7BVvkDvmSD1s51FQvfmPeWgRdnh6YH7q/8tadbhujmjDsI9dZwRCY BYujwKT/YNrKy6GmZS9Voy+aPb39AzxaL4E1/9q/u/h+IucSwzdWI+mvJ+iRk1tEaBUN z3VP/ODPvTn+Uuuo0XD/NneiDchHkMzTaJY5GAnSOjdibvbuKM8VP9dG/aCilXzbklEr P1mwgsxhze8ULParq32UFpsX6Hr0fiPfB12BbHfPl12ViDnIYuwQNyJFXUDInTvsxFJq Y8MQ== X-Gm-Message-State: AOJu0YxVdA6oUJjvGQhC064eCs65XHsA/Xpc+AB43xmR6HoWZgEXKjoE KD3GSFY5gneYCW3gYSJbFCbQ7r+qgtNGvfsMkJv81GPKMvjPXIsYgDg11bvc X-Google-Smtp-Source: AGHT+IGCYjS5q33tdFc0tS3xGshz3Hv5SXWJrXiNQJAFzgp2j2VboAvpC3L3pCR7YCqilrpqt3TxNg== X-Received: by 2002:a05:600c:4510:b0:431:3927:d1bc with SMTP id 5b1f17b1804b1-4319ac70767mr86774115e9.2.1730150944004; Mon, 28 Oct 2024 14:29:04 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2024 14:29:03 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 28 Oct 2024 21:28:57 +0000 Message-ID: <3fa9387ba3f1415585338662ecbdd73f462e88da.1730150632.git.sharlatanus@gmail.com> 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-pango, ecl-cl-pango, sbcl-cl-pango): New variables. Change-Id: I3615ef64197e8bee5cbb733bc427a54607bae4b2 Co-authored-by: Sharlatan Hellseher --- gnu/packages/lisp-xyz.scm | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index e6dfefc79b..ab15e3b901 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -4496,6 +4496,65 @@ (define-public cl-cairo2 (define-public ecl-cl-cairo2 (sbcl-package->ecl-package sbcl-cl-cairo2)) +(define-public sbcl-cl-pango + (let ((commit "ee4904d19ce22d00eb2fe17a4fe42e5df8ac8701") + (revision "0")) + (package + (name "sbcl-cl-pango") + (version (git-version "0.5" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/BradWBeer/cl-pango") + (commit commit))) + (file-name (git-file-name "cl-pango" version)) + (sha256 + (base32 "0zkn4yn8nkkjr0x1vcy856cvbmnyhdidqz0in8xvd2i93jvw5w0i")))) + (build-system asdf-build-system/sbcl) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "library.lisp" + (("libpango-1.0.so") + (search-input-file inputs "/lib/libpango-1.0.so")) + (("libpangocairo-1.0.so") + (search-input-file inputs "/lib/libpangocairo-1.0.so.0")))))))) + (inputs + (list pango + sbcl-cffi + sbcl-cl-cairo2 + sbcl-xmls)) + (home-page "https://github.com/BradWBeer/cl-pango") + (synopsis "Pango bindings for Common Lisp") + (description "Bindings to the pango text layout library") + (license license:expat)))) + +(define-public cl-pango + (sbcl-package->cl-source-package sbcl-cl-pango)) + +(define-public ecl-cl-pango + (let ((pkg (sbcl-package->ecl-package sbcl-cl-pango))) + (package + (inherit pkg) + (inputs + (list pango + sbcl-alexandria + sbcl-cffi + sbcl-cl-cairo2 + sbcl-xmls)) + ;; XXX: It tries to recompile sbcl-cl-colours for some reasone and + ;; failes: C library error: Permission denied. + (arguments + (substitute-keyword-arguments (package-arguments pkg) + ((#:phases phases) + `(modify-phases ,phases + (delete 'build) + (delete 'check)))))))) + (define-public sbcl-cl-cffi-gtk (let ((commit "1700fe672c65455c1fc33061ec92a3df84287ec7") (revision "3")) From patchwork Mon Oct 28 21:28:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 69600 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 8D8FF27BBEA; Mon, 28 Oct 2024 21:31:31 +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 1936527BBE2 for ; Mon, 28 Oct 2024 21:31:31 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5XKS-0007bm-7S; Mon, 28 Oct 2024 17:31:12 -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 1t5XKL-0007aP-E3 for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:05 -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 1t5XKL-0005vE-55 for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:05 -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=glvvX2C2Dk/vln1mOo49KvSuaE9XpSdCYl6+YMCBIrE=; b=IxppFUI73019DDPWaAyp1G1+EMRAeF/y7KiduLmv26YHS+wS3qypIdGF5Glmja6NxHUIIHaEQXm91v9MPD1tZM9p1Xl4VgUCk/pOpoK7L2NkpI0R/1Ie9SPYiFpFYhZ3X1aZFo0h9ogxcLARJtKMTb3pI3Vqws2WtWurCFqOilzd8rh/WikOtouJf06EmU4vSlWjipG/0shKnHwmqWf5npEuaEcCYyvEBCArbxnTLLoOwTJ7GV/AUg2TNeT7WvCe3gIXdVGzFmYdef+VBG9d8MLOPGkUgkfB07m575NNg/aasT/mU40wlk2M9aY3W/ddErwSX2IkYI4S2+mCa+mr/w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5XKI-0005xe-W9; Mon, 28 Oct 2024 17:31:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73839] [PATCH v3 4/5] gnu: Add cl-input-event-codes. 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.173015101122388 (code B ref 73839); Mon, 28 Oct 2024 21:31:02 +0000 Received: (at 73839) by debbugs.gnu.org; 28 Oct 2024 21:30:11 +0000 Received: from localhost ([127.0.0.1]:54899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJS-0005ox-W4 for submit@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:11 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:48497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJN-0005o4-Ls for 73839@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:06 -0400 Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-37d5aedd177so3205179f8f.1 for <73839@debbugs.gnu.org>; Mon, 28 Oct 2024 14:30:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730150945; x=1730755745; 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=glvvX2C2Dk/vln1mOo49KvSuaE9XpSdCYl6+YMCBIrE=; b=cBxktnorzq66lpIJSMAXKv52uDrRM7zPPq9DkvwPDFBFeC44CBWOsOybmLNToPb5fZ hbtFaUR2aWG08YZOe4SSkS1Q85NmaGC+SkeuH+o0MqLGh6fCodeyCociLhcaqlnpKjkg oYI1Ta4RoFdDN6vHIlraihroIiITv6lnF5Vqa/k8Tx1827sU/2g1zFgM4pS+pvl2o0l0 TyLjnlxhpV3UpCOj3Ywr9/oQU0lROA4BEZo/CQNbJ9RABtrHOLqQuElPfdagJKURfjAq FBbnGEj9kH+sDd7QI67ii2uT/6gbU5pzycpkGlSAc01BY8xhYn/NNKqcQt/qnBnyqld6 Dr7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730150945; x=1730755745; 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=glvvX2C2Dk/vln1mOo49KvSuaE9XpSdCYl6+YMCBIrE=; b=OsHQeFoy0C/FEbcDuPCm9Qg5RHPMv/kywV+Ug/LZ+4MwSmlETd9vZYD9L9GX1ZQRBJ l0mbCIeXqxSOVF3afDE7XOkwlgvJLQFp3nhpkKeKLtWm+j/I27n0tVKa+ld1RNydLbyh /GB6n4GFI7LeA8sOTYOeDtw/ry80fcGzEPllglzw9Eqr06UztkXvHSBRvp2fXT5UjSP7 nggOVOrlwiyuIjEZbsbVcYX5t+CT7+ZItdirglH5bLb3geFVaTrcG7Z9Hiyo46+Jb0OS ST902pY1d3XMAAP+CJ2bYfWxGvGTeHc+XLFYopQw3if+C35TvgORw6Fe1ic/y7jZiHs+ 0Hfg== X-Gm-Message-State: AOJu0YzJrWhJeoi1QT/ODpFR8usRZ0P60jXixyCNfy9F1PWRlltQIJSl kk6oYVyq/Gr/hDI8T6tNb0ipuhE1cWSKHUUgbg9eV1ckQb/qeu00gfHE2cen X-Google-Smtp-Source: AGHT+IEOdUh37C/enuWfFyFXtBGWnUR1GPQw6MzgOKC5O0AeYGg8pk6OwaLzgQa5UGpu++LuyJnJlQ== X-Received: by 2002:a5d:474a:0:b0:374:c911:7756 with SMTP id ffacd0b85a97d-38061206187mr6917652f8f.38.1730150944736; Mon, 28 Oct 2024 14:29:04 -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.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2024 14:29:04 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 28 Oct 2024 21:28:58 +0000 Message-ID: <841b5e82afaa66a5192d57f81e613c4b079a1dab.1730150632.git.sharlatanus@gmail.com> 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-input-event-codes, ecl-input-event-codes, sbcl-input-event-codes): New variables. Change-Id: I47e65729f907e46d9deeb7dc0219ac9b1ba1a291 Co-authored-by: Sharlatan Hellseher --- gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index ab15e3b901..bae84e8345 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -32002,6 +32002,38 @@ (define-public cl-xkb (define-public ecl-cl-xkb (sbcl-package->ecl-package sbcl-cl-xkb)) +(define-public sbcl-input-event-codes + (package + (name "sbcl-input-event-codes") + (version "0.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~shunter/input-event-codes") + (commit (string-append "v" version)))) + (file-name (git-file-name "input-event-codes" version)) + (sha256 + (base32 "0bygspj84jzyiy06z4q64z1nzsmvvrviqxw73wzqaq2wk2p56vs6")))) + (build-system asdf-build-system/sbcl) + (native-inputs + (list pkg-config + sbcl-parachute)) + (inputs + (list sbcl-trivial-features)) + (home-page "https://git.sr.ht/~shunter/input-event-codes") + (synopsis "Common Lisp port of all constants from event code header file") + (description + "There is currently only support for Linux and FreeBSD. The library +uses trivial-features to conditionally load the appropriate constant set.") + (license license:expat))) + +(define-public cl-input-event-codes + (sbcl-package->cl-source-package sbcl-input-event-codes)) + +(define-public ecl-input-event-codes + (sbcl-package->ecl-package sbcl-input-event-codes)) + (define-public sbcl-xml-emitter (package (name "sbcl-xml-emitter") From patchwork Mon Oct 28 21:28:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 69599 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 6D03A27BBE9; Mon, 28 Oct 2024 21:31:15 +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=unavailable 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 59B5627BBE2 for ; Mon, 28 Oct 2024 21:31:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5XKL-0007aY-R1; Mon, 28 Oct 2024 17:31:05 -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 1t5XKK-0007a8-FR for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:04 -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 1t5XKK-0005v2-5r for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:04 -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=T17InkOk3x+5k4cREJHpDM4mgiDTg288uQyd2A89Q9s=; b=LZ9Q020AZK/w1yLpnxjQQi34SGSEVN9etn8Wd71LZ6aI4NUcK8XNDSJxfjZGQXJXvCXAzhK7IlOE7cAIqfSOgfhWMVssZjDEE1L4sHnmSRGpg9w3LxdvV1s32NSKRGFHvA6GZgDqh1oNWdsWsF9APmzjHiZG4zv2sqn7qqCXMT5O8elMKU3xNDGY5B13uirblfsRoUG1kLXJqaOocQz3iR9Sb/Hqqvi2UIjNA3W2YTngspiVWj1IPHWaFnKGL4cqABlwXIj1VIZYiYc8YDNHp0AMvq2ik9TamslxZTSs/3vi8Mj3xfeMRSuP+ryHbRjuoCehkBh52xAPXZa1NYQ9Pg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5XKJ-0005xx-W0; Mon, 28 Oct 2024 17:31:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73839] [PATCH v3 5/5] gnu: Add cl-wayflan. 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:03 +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.173015101322469 (code B ref 73839); Mon, 28 Oct 2024 21:31:03 +0000 Received: (at 73839) by debbugs.gnu.org; 28 Oct 2024 21:30:13 +0000 Received: from localhost ([127.0.0.1]:54904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJU-0005pF-21 for submit@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:12 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:51292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJO-0005o8-8d for 73839@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:07 -0400 Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-37d43a9bc03so3363179f8f.2 for <73839@debbugs.gnu.org>; Mon, 28 Oct 2024 14:30:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730150945; x=1730755745; 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=T17InkOk3x+5k4cREJHpDM4mgiDTg288uQyd2A89Q9s=; b=igZAWhx6fLTIO9yPOUTyAmsRnJ+EzOJ0C9nBHX9JLDd0Kgul9NzuuNhjTa0ywp2qHZ UoXBNJO2QkKeJEksVwFpBybkVGbod1WQbitisOwYM33blwgj/jyuiJdDOGZgjKlfCTI6 ef2+/7n4+2FbTN/AvA/D8mNwF7iBnHQ7HzPzEbY3DUUh+alMSHHnkjuFZ13N+DGCumpK UyXCVcZ+Um1EkqF5jHN1RjRGSxUFUqsxK2KAB/LrzEZZZWlKYLpzv3Dm2M35OvUCGqjd 9OoczTW1L7fpc4r/FscM+NDie9O8H+Kkfn9Feyxe5J9Vq20qb1DqFTRgp1GyuQ/Vpbor oD8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730150945; x=1730755745; 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=T17InkOk3x+5k4cREJHpDM4mgiDTg288uQyd2A89Q9s=; b=HkrUZfa9oOprMUIzZGXcLwHgtyCQYnM5KHVLm+MYXq3ObinssYJlmTmoO5DN+wy8RM X/zbvOhqIusSsg9UqxbqNrnLBIWqhqSaKnjmXTPYuLMFT+UXDM5S4wFAc7l2ssG+KHsC 0d7csCWZ3OAz7uboZrG3sNLY40bFJ0crJUEdDZPtFy4GuPrcHy3xXG7nisTBJ4Se8iHQ dIkEJ1KtZTO+7P77uf8SiHrQ1oDTbbLGYu8iNyBr9P+++njnfRChxupct/13uVo7Dn56 16vtupUV9Qs5GfH0+txtgI2eQJlXzudSLbVJuKM9GT13AvHkKvl8DSPyvqat6LoEn7ry fwpA== X-Gm-Message-State: AOJu0YwjbFUmQVtD0EIMpV+ijLWQseVdxtM2vg+5rbfc+XU3sg0MoBK9 Nk23Vdskq/hL3RpyKDV0rJaTXoD0udSwD0Z4+RhCwqhrC4pUPBduu0NEV1K7 X-Google-Smtp-Source: AGHT+IEJ5Lpu4mSvuIlgX1JqgNEdrzZJvcRpwIzlm7RSiBPDsyLXyUpZlonvlpyT7KpCZGkzG1BmkA== X-Received: by 2002:adf:f884:0:b0:37c:d1bc:2666 with SMTP id ffacd0b85a97d-380610f9e30mr7171893f8f.4.1730150945488; Mon, 28 Oct 2024 14:29:05 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2024 14:29:05 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 28 Oct 2024 21:28:59 +0000 Message-ID: <9b100535d6cacf41eb16797f0ab4f173f3829fcb.1730150632.git.sharlatanus@gmail.com> 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-wayflan, ecl-wayflan, sbcl-wayflan): New variables. Change-Id: I65982ad6f5c034f611292d4f660b15e4e42f8da0 Co-authored-by: Sharlatan Hellseher --- gnu/packages/lisp-xyz.scm | 83 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index bae84e8345..f2d4d640df 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -10477,6 +10477,89 @@ (define-public cl-wayland (define-public ecl-cl-wayland (sbcl-package->ecl-package sbcl-cl-wayland)) +(define-public sbcl-wayflan + (package + (name "sbcl-wayflan") + (version "0.0.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~shunter/wayflan") + (commit (string-append "v" version)))) + (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"))) + (native-inputs + (list sbcl-parachute)) + (inputs + (list sbcl-alexandria + sbcl-babel + sbcl-cffi + sbcl-cl-cairo2 + sbcl-cl-colors + sbcl-cl-pango + sbcl-cl-xkb + sbcl-closer-mop + sbcl-input-event-codes + sbcl-plump + sbcl-posix-shm + wayland)) + (home-page "https://git.sr.ht/~shunter/wayflan") + (synopsis "Wayland communication library for Common 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 cl-wayflan + (sbcl-package->cl-source-package sbcl-wayflan)) + +(define-public ecl-wayflan + (let ((pkg (sbcl-package->ecl-package sbcl-wayflan))) + (package + (inherit pkg) + (outputs '("out")) + ;; XXX: Error detected: The function CMSG-ALIGN is undefined.An error + ;; occurred during initialization: COMPILE-FILE-ERROR while compiling + ;; #. + (arguments + (substitute-keyword-arguments (package-arguments pkg) + ((#:phases phases) + `(modify-phases ,phases + (delete 'build) + (delete 'check)))))))) + (define-public sbcl-cl-webkit (package (name "sbcl-cl-webkit")