From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8J+eMKICIGeyEwAA62LTzQ:P1 (envelope-from ) for ; Mon, 28 Oct 2024 21:31:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8J+eMKICIGeyEwAA62LTzQ (envelope-from ) for ; Mon, 28 Oct 2024 22:31:14 +0100 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=LZ9Q020A; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=igZAWhx6; 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=1730151074; a=rsa-sha256; cv=none; b=nQgmjUFg0mP4fNhQ9Rl62LEfz0SoX/pqPS4NOGZGZ9D3AUlDtNlJfFXhiE3muMWyYx30rP BSUAIVe5ssIYeFkaNhdgEC/lZ8HpF4szw9F4zimNCBj/kLUB6Uy7DBWvZrckxwl+szuF9M E7sNA3sINS3pYeXJFQJi0ouW2AVY/JdWH0+Rddj/L13jfM/UhupKZARCbwLlmmYZWzz/Uy e1sqg7EE3CX4Mgiv9Az1BPLBZfZivMd91gJgNh/Wjtgc3VjvY8Ck9ywk17N5O3SEBRflhW ZeVA1oofJ1uH3cKSYzUsVuIizhuEzd/ytERic49vBFdnymFWX0h9VvlFkJSkDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LZ9Q020A; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=igZAWhx6; 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=1730151074; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=T17InkOk3x+5k4cREJHpDM4mgiDTg288uQyd2A89Q9s=; b=qVtug4u43W6U+3o/L2svxn601tudXdW4aDqV6m7M8hoxYc3/7etDUHsXf78qW0uxIk98kn ufuub8YwMmPDDcaCubDC/SiYKWgEbXxijMm8ZBY3ZgwEy2uM7lbjgk64m462q0AgRKJNYj sjDNGiP760RhA7ZNEAhKYiV+YCia7KLqCDSfW91uXO23erIA5z8GrGO6hvV6uZW9zVXl6c dMeiDfrH1MW5lHUvxF74XwFhQZdBlUrrHOS2+io8b/8Ml7EiiSrWJIMrqiqchgReHdw1pl 9oZm2JBDAYSMRKBiHhWW3yfMhPZjKpGipWG0BBDRjbJ8CZ+Ha8NQsmrlnkfLDw== 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 615DB649B1 for ; Mon, 28 Oct 2024 22:31:14 +0100 (CET) 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 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.47 X-Spam-Score: 1.47 X-Migadu-Queue-Id: 615DB649B1 X-Migadu-Scanner: mx12.migadu.com X-TUID: ndM3wH7U7Xgw 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") -- 2.46.0