From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UEQEMPqrD2doQAEA62LTzQ:P1 (envelope-from ) for ; Wed, 16 Oct 2024 12:05:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UEQEMPqrD2doQAEA62LTzQ (envelope-from ) for ; Wed, 16 Oct 2024 14:05:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=aLlYK3Eb; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=DC5WiO4l; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729080314; a=rsa-sha256; cv=none; b=cG0psgzITvHUIZGptvtMA26C9d4OlYVA0PoqeSBDNXV1MINGRiT/96cdafkZ1bUujtikKi SXCmBeRfdkB6nTbhn/qwx93LyicjxHIAbvx98peh44UiuL1c13IJDVgqsOFEjMF3d6YUUB jE+QG0mgwaLv0/kbd/FVcBORGL2BajBgdf2jA4NjZWfbYgrzB6SDxhVOHvv6HyAYRJNNwI caE/fzeK5isDf8ID2vHQpeOx8ZGR3LVuaRamTKUmiwmPGrzzDt/5lMvdSvXEpnAs9bgQyE RUqnPuSNGfg9wWiamqmyNZvIP1JL9P52BR+eIsyhYhqKKRkng1AJGvpqDiFQBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=aLlYK3Eb; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=DC5WiO4l; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729080314; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WiYxoYmpL0gvEMsXzLwhakKCusv64iyL9GLsPVwEokk=; b=NFbWcNoFOF8TXj1LHo8EvNcFkMnflUvX0mDJfYIbImneZg5zBUvn5g39eb/tOFf0HEs1Ei teP/hYx3EoXOdBzRN0MBTftKMsgDxpPL9IUmJ42OOG57DukL/22CYpgtrfKJn3mnQ5W/ds nebd94GqwBBpX1n+yYQcQbjuNR08MOTAp8Q3MV4qEsUhz1B0i5kIlzT3CvjpJLGDHKmcmS QeflKbbUEKC7goTKqB8ljIOrMLXS4/jKMn4tXuRfFbPRgKDnL5HkiEO/StqJSQP7LwAmg8 KCK/OzZOeCnRc+VVoDHgmZdWOMng1L5vP184l6jANUOzfCq2BSM5Q15x1txs6A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7B54933DB8 for ; Wed, 16 Oct 2024 14:05:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t12lh-00080p-KA; Wed, 16 Oct 2024 08:04:45 -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 1t12lf-00080d-HR for guix-patches@gnu.org; Wed, 16 Oct 2024 08:04:43 -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 1t12lf-0007ja-1z for guix-patches@gnu.org; Wed, 16 Oct 2024 08:04:43 -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:Date:From:To:Subject; bh=WiYxoYmpL0gvEMsXzLwhakKCusv64iyL9GLsPVwEokk=; b=aLlYK3EbAMjv639E1r7pYKkDFbDb+hacnrz4aIUbH/MStA9ikK+Vgk4dOUVuolXjtGNB1OB6DWSXvK3LBukHNnD6/0bXafc1KEsNP3w6juwFPDkIRi6xd/K00ENkAf4OVqVrniWo9x1fnwW/UQoNk8sCjYnzpBSFShU6H6Qy83kKriaza+Jy8xdpGLi15YD/RbGEZmgdoew/cM6sBuYaFziVg8f/4K4e0HDH4+GH5howDOUdlbe4kyHMuymXEFjlawT9GkET5s3o+qQCXq/JxVgntxvGvHocmJYoVO4jA2q5+3GmFtBoji13SLtQUwKho38NtMuPRuEcpBSwCWj2vA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t12ly-0005W1-FK for guix-patches@gnu.org; Wed, 16 Oct 2024 08:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73839] [PATCH 1/5] lisp-xyz: + sbcl-posix-shm Resent-From: Grigory Shepelev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Oct 2024 12:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73839 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73839@debbugs.gnu.org Cc: Grigory Shepelev X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172908025121112 (code B ref -1); Wed, 16 Oct 2024 12:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Oct 2024 12:04:11 +0000 Received: from localhost ([127.0.0.1]:58855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t12l8-0005UR-Qd for submit@debbugs.gnu.org; Wed, 16 Oct 2024 08:04:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:44014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t12l6-0005UK-Vu for submit@debbugs.gnu.org; Wed, 16 Oct 2024 08:04:09 -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 1t12km-0007js-2A for guix-patches@gnu.org; Wed, 16 Oct 2024 08:03:48 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t12kj-0007fk-Lc for guix-patches@gnu.org; Wed, 16 Oct 2024 08:03:47 -0400 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2fb5f647538so9586671fa.0 for ; Wed, 16 Oct 2024 05:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729080223; x=1729685023; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=WiYxoYmpL0gvEMsXzLwhakKCusv64iyL9GLsPVwEokk=; b=DC5WiO4l9PQ1qn/WTz3PAk0DKlMRVRoyGaErHwK9h6LkLCLtETNuMkbi/iGmJuC8SG RVJcEES/Kbwcwg5lGsjJpLddZHsgKNM8vCu/2VZH4hdBuI22IiU4VNLJrPKPfehLP1vV gu+OUPvWAa+Ivhlunh6b14Rg4Lkba8pkgy1yo6BMKvSln9IjgivwIW3NDX+6wcGLs6eI J4nPfT+MqSlbB3sMEddINRCngDbTQccZNrVkiaVaXB7nYzwGxuXZTSBV8dekNC/fUTmP NOyatRkMPa+3oTuiV1LnOifO0DcFIxYcC/IdkLcsgC1xd4KSA3AhNPA1IGm4Z2G78wll 1EKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729080223; x=1729685023; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WiYxoYmpL0gvEMsXzLwhakKCusv64iyL9GLsPVwEokk=; b=StNfqBoHxZegLedGYBpjVLYi3oPSz/C8r2/8dTCslaZrxhOu5y5Vbdaf2z/zLKO36l 5A4LDgRX039nDzhET9eJJ8XrtywqwBn0hT+Kw2Hoakxo17U3RMql9FDY2fFb3zIZio9/ jgrrZz0+3W9jgYdWeShIfglOjwzM+Z7gRkt0Lsxxlkhd8FPKNad7bv8Cr8UNnyqJIaHj wOsZwuV3suHoRMeUEQYZp/owt6eY9AH4+9FeQk95PEL6ZcQPTU29+n3FDJruTLCicR2j JEWQizk9eZwHvYLxcgm8QxdeP68SM6YvF95pAaE/9ygWGGDdy++m+eV4ZR6eBMfDqULA Ktaw== X-Gm-Message-State: AOJu0Yyag11sK0h4qJ14c5VMrcDZqT7jTFgin5WRjeQ+4gKZaXFJ+rOc Wo09BCGpkz7XC/p+gsQksL71azkx4X5NcDV0kFf7L0W4SCt5H5rsc13WU8AxDbc= X-Google-Smtp-Source: AGHT+IEH/1jb0J1xOz6/paZmavERwXp1+mMQ1wAWgB1elRG+G+rM9V+ig5+a9H4GWUs9RH/1TEXZ2w== X-Received: by 2002:a05:651c:249:b0:2fb:607b:4cd1 with SMTP id 38308e7fff4ca-2fb61bb1ca7mr12674221fa.21.1729080222865; Wed, 16 Oct 2024 05:03:42 -0700 (PDT) Received: from localhost ([46.172.4.246]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2fb5d0fe141sm4180781fa.16.2024.10.16.05.03.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 05:03:41 -0700 (PDT) From: Grigory Shepelev Date: Wed, 16 Oct 2024 15:02:42 +0300 Message-ID: <20241016120244.12778-1-shegeley@gmail.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=shegeley@gmail.com; helo=mail-lj1-x236.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.08 X-Spam-Score: 0.08 X-Migadu-Queue-Id: 7B54933DB8 X-Migadu-Scanner: mx10.migadu.com X-TUID: OkOjqVkkcIPw diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 16b1b8d873..7fb3141aaa 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -30226,6 +30226,43 @@ (define-public sbcl-trivial-raw-io Lisp.") (license license:bsd-2)))) +(define-public sbcl-posix-shm + (let ((commit "9443da23bcda0a2bd727aed675f92ee7d3c51802") + (revision "0.0.7") + (hash "0ah7xh7dxvdk58slic60gx7k56idjw5x30q5ifg90hxfhd32qz6l")) + (package + (name "sbcl-posix-shm") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~shunter/posix-shm") + (commit commit))) + (file-name (git-file-name "sbcl-posix-shm" version)) + (sha256 (base32 hash)))) + (build-system asdf-build-system/sbcl) + (arguments (list #:asd-systems ''("posix-shm" "posix-shm/ffi" "posix-shm/test"))) + (inputs (list sbcl-cffi sbcl-alexandria sbcl-trivial-features + ;;↓ for tests + sbcl-osicat sbcl-parachute)) + (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 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-trivial-raw-io (sbcl-package->cl-source-package sbcl-trivial-raw-io)) -- 2.46.0 >From fe238bc3f5ce2342e58e1b98ee829cf970102b94 Mon Sep 17 00:00:00 2001 From: Grigory Shepelev Date: Fri, 11 Oct 2024 11:20:39 +0300 Subject: [PATCH 2/5] lisp-xyz: + sbcl-xkb (from @malcolmstill) --- gnu/packages/lisp-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 7fb3141aaa..933e4d48eb 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -31864,6 +31864,50 @@ (define-public cl-xkbcommon (define-public ecl-xkbcommon (sbcl-package->ecl-package sbcl-xkbcommon)) +(define-public sbcl-xkb + (let ((commit "e69c0e85e59fd8271efa2e9659cfffa9b59d1ece") + (revision "0") + (hash "01k4hf316xr2h149vf7sh45rrdkfppqnzakzn91i7lw46dwl57wh")) + (package + (name "sbcl-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 hash)))) + (build-system asdf-build-system/sbcl) + (native-inputs (list pkg-config)) + (arguments + (list + #:asd-systems ''("cl-xkb") + #: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")))))))) + (inputs (list libxkbcommon sbcl-cffi)) + (home-page "https://github.com/malcolmstill/cl-xkb") + (synopsis "@code{cl-xkb} is a Common Lisp wrapper for @code{libxkbcommon}") + (description "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 sbcl-xml-emitter (package (name "sbcl-xml-emitter") -- 2.46.0 >From 697fe999051f1a51c11170f4a8b44367e418213c Mon Sep 17 00:00:00 2001 From: Grigory Shepelev Date: Fri, 11 Oct 2024 12:16:50 +0300 Subject: [PATCH 3/5] lisp-xyz: + sbcl-cl-pango --- gnu/packages/lisp-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 933e4d48eb..c7274e1f43 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -4496,6 +4496,40 @@ (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 "1") + (hash "0zkn4yn8nkkjr0x1vcy856cvbmnyhdidqz0in8xvd2i93jvw5w0i")) + (package + (name "sbcl-cl-pango") + (version revision) + (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 hash)))) + (build-system asdf-build-system/sbcl) + (arguments + (list + #:asd-systems ''("cl-pango") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "library.lisp" + (("libpango-[0-9.]*\\.so" all) + (search-input-file inputs (string-append "/lib/" all))) + (("libpangocairo-[0-9.]*\\.so" all) + (search-input-file inputs (string-append "/lib/" all))))))))) + (inputs (list sbcl-cffi sbcl-cl-cairo2 sbcl-xmls pango cairo)) + (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 sbcl-cl-cffi-gtk (let ((commit "1700fe672c65455c1fc33061ec92a3df84287ec7") (revision "3")) -- 2.46.0 >From f59728ef1d12e4eeebcab9fbb7ac10f6ca41f17a Mon Sep 17 00:00:00 2001 From: Grigory Shepelev Date: Sat, 12 Oct 2024 19:22:57 +0300 Subject: [PATCH 4/5] lisp-xyz: + sbcl-input-event-codes Change-Id: Ib063f55a32c570741a05957139452de2b1514558 --- gnu/packages/lisp-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index c7274e1f43..ee99e213c3 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -31942,6 +31942,30 @@ (define-public sbcl-xkb @end itemize") (license license:bsd-3)))) +(define-public sbcl-input-event-codes + (let ((commit "9804fe1e8fcfaab51097ea30e1045b7cc5e0ef3e") + (revision "1") + (hash "1m96m9ia4frcn2xqaw4mfspjjzwl8gyj4k4rv0lq28va4s6mkgii")) + (package + (name "sbcl-input-event-codes") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~shunter/input-event-codes") + (commit commit))) + (file-name (git-file-name "sbcl-input-event-codes" version)) + (sha256 (base32 hash)))) + (build-system asdf-build-system/sbcl) + (native-inputs (list pkg-config)) + (arguments (list #:asd-systems ''("input-event-codes" "input-event-codes/test"))) + (inputs (list sbcl-trivial-features sbcl-parachute)) + (home-page "https://git.sr.ht/~shunter/input-event-codes") + (synopsis "This little library is a port of all constants found in input-event-codes.h, an event code header file found on both Linux and FreeBSD") + (description "") + (license license:expat)))) + (define-public sbcl-xml-emitter (package (name "sbcl-xml-emitter") -- 2.46.0 >From 0446be519d70817768b8b1e229a82759ac36a510 Mon Sep 17 00:00:00 2001 From: Grigory Shepelev Date: Fri, 11 Oct 2024 12:25:42 +0300 Subject: [PATCH 5/5] lisp-xyz: + wayflan --- gnu/packages/lisp-xyz.scm | 58 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index ee99e213c3..5ede6a4ace 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -10452,6 +10452,64 @@ (define-public cl-wayland (define-public ecl-cl-wayland (sbcl-package->ecl-package sbcl-cl-wayland)) +(define-public sbcl-wayflan + (let ((commit "3fbd2164e96aece3993929c7076593a2ee594f50") + (revision "1") + (hash "0y6hzskp1vgaigzj5b3i695sc6dn5mk7nlxs21nh5ybzmf4chhyy")) + (package + (name "sbcl-wayflan") + (version (git-version "0.0.4" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~shunter/wayflan") + (commit commit))) + (file-name (git-file-name "wayflan" version)) + (sha256 (base32 hash)))) + (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 cos xkb not required verbosely, just used as "xkb:…" + "wayflan" + "wayflan/common" + "wayflan/test"))) + (inputs + (list sbcl-cffi + sbcl-alexandria + sbcl-babel + sbcl-plump + sbcl-parachute + sbcl-cl-colors + sbcl-cl-cairo2 + sbcl-closer-mop + + sbcl-input-event-codes + sbcl-xkb + sbcl-cl-pango + sbcl-posix-shm + + wayland)) + (home-page "https://git.sr.ht/~shunter/wayflan") + (synopsis "Wayflan is a from-scratch Wayland communication library for Common Lisp. It is not a binding or a wrapper around libwayland, but a re-implementation of the Wayland protocol. This unties Lisp applications from per-proxy manual memory allocation, toplevel-only C callbacks, and enables a closer interface with 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-imp}l 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 sbcl-cl-webkit (package (name "sbcl-cl-webkit") -- 2.46.0