From unknown Fri Jun 13 11:19:21 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#37566] [PATCH] gnu: Add chanl. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Oct 2019 08:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37566 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37566@debbugs.gnu.org Cc: Guillaume Le Vaillant X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156992016728581 (code B ref -1); Tue, 01 Oct 2019 08:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Oct 2019 08:56:07 +0000 Received: from localhost ([127.0.0.1]:60855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFDx1-0007Qu-70 for submit@debbugs.gnu.org; Tue, 01 Oct 2019 04:56:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:41730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFDwx-0007Qh-6T for submit@debbugs.gnu.org; Tue, 01 Oct 2019 04:56:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58951) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFDwv-0004Mt-FD for guix-patches@gnu.org; Tue, 01 Oct 2019 04:56:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFDwu-0003GJ-2p for guix-patches@gnu.org; Tue, 01 Oct 2019 04:56:01 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42871) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iFDwt-0003FJ-KD for guix-patches@gnu.org; Tue, 01 Oct 2019 04:56:00 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D89682400FC for ; Tue, 1 Oct 2019 10:55:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1569920156; bh=XC4ye/fRk0hGNbgLubWPvskUHpyTa27rs6u8RCqSUJ0=; h=From:To:Cc:Subject:Date:From; b=IzaXdTrEnEmKPcmfArIpAb73FIDL5nyww9pREbNqc2blR1b82+2LkE+K28ea++u9T uCPsG+KJMTDkZle8NRtuyXNvUwRjzidBq33nbeJxxX4WXkIfPAHr0Ny7Tp6n91P9sA MZUJPNatZ0EIzdao7oNCYg2ILgFke2WNuysQRUCrqpUvUB2siImUPjxH1hduo4xTpO qy+qcYMoVelB18i1e4ZxHDTFoKum07fvWjHGDxaamU2cdk5fWmUGti9EUcOBX3vKZK /56Z7c+zMm/eKIk2ouXXKN4Psx3cGySSvkchghzJskMLaibToTH1GewVXVLOVAe7Lo 4pryq6CMUQxgw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46jCm80plCz9rxM; Tue, 1 Oct 2019 10:55:50 +0200 (CEST) From: Guillaume Le Vaillant Date: Tue, 1 Oct 2019 10:55:24 +0200 Message-Id: <20191001085524.22204-1-glv@posteo.net> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/lisp.scm (sbcl-chanl, cl-chanl, ecl-chanl): New variables. --- gnu/packages/lisp.scm | 54 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index ba009bb7a6..fd46b967e7 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -7360,3 +7360,57 @@ compression/decompression using bindings to the lz= lib C library.") =20 (define-public ecl-lzlib (sbcl-package->ecl-package sbcl-lzlib)) + +(define-public sbcl-chanl + (let ((commit "2362b57550c2c9238cc882d03553aaa1040b7340") + (revision "0")) + (package + (name "sbcl-chanl") + (version (git-version "0.4.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zkat/chanl.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ag3wz7yrqwp0s5069wwda98z3rrqd25spg8sa8rdqghj084w28w")))) + (build-system asdf-build-system/sbcl) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (inputs + `(("bordeaux-threads" ,sbcl-bordeaux-threads))) + (synopsis "Portable channel-based concurrency for Common Lisp") + (description "Common Lisp library for channel-based concurrency. = In +a nutshell, you create various threads sequentially executing tasks you = need +done, and use channel objects to communicate and synchronize the state o= f these +threads.") + (home-page "https://github.com/zkat/chanl") + (license (list license:expat license:bsd-3))))) + +(define-public cl-chanl + (sbcl-package->cl-source-package sbcl-chanl)) + +(define-public ecl-chanl + (let ((base (sbcl-package->ecl-package sbcl-chanl))) + (package + (inherit base) + (arguments + (substitute-keyword-arguments (package-arguments base) + ;; The CHANL.ACTORS package uses the :ARGUMENTS option of + ;; DEFINE-METHOD-COMBINATION, which is not implemented in ECL y= et + ;; (see https://gitlab.com/embeddable-common-lisp/ecl/issues/30= 5). + ;; So let's disable it for now, as it allows compiling the libr= ary + ;; and using the rest of it. + ((#:phases phases '%standard-phases) + `(modify-phases ,phases + (add-after 'unpack 'disable-chanl-actors + (lambda _ + (substitute* "chanl.asd" + (("\\(:file \"actors\"\\)") "")) + #t)))) + ;; Disable the tests for now, as the SEND-SEQUENCE test seems t= o + ;; never end. + ((#:tests? _ #f) #f)))))) --=20 2.23.0 From unknown Fri Jun 13 11:19:21 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#37566] [PATCH] gnu: Add chanl. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Oct 2019 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37566 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Guillaume Le Vaillant Cc: 37566@debbugs.gnu.org Received: via spool by 37566-submit@debbugs.gnu.org id=B37566.157036449032101 (code B ref 37566); Sun, 06 Oct 2019 12:22:02 +0000 Received: (at 37566) by debbugs.gnu.org; 6 Oct 2019 12:21:30 +0000 Received: from localhost ([127.0.0.1]:45721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iH5XV-0008Lf-Mj for submit@debbugs.gnu.org; Sun, 06 Oct 2019 08:21:29 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:35347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iH5XT-0008LW-BQ for 37566@debbugs.gnu.org; Sun, 06 Oct 2019 08:21:28 -0400 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 4200EFF803; Sun, 6 Oct 2019 12:21:25 +0000 (UTC) From: Pierre Neidhardt References: <20191001085524.22204-1-glv@posteo.net> Date: Sun, 06 Oct 2019 14:21:24 +0200 In-Reply-To: <20191001085524.22204-1-glv@posteo.net> (Guillaume Le Vaillant's message of "Tue, 1 Oct 2019 10:55:24 +0200") Message-ID: <87imp2gj3v.fsf@ambrevar.xyz> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Merged in d3287fc157e98a0f5d13f2e12e06fb8660711e73, thanks! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2Z3EQACgkQm9z0l6S7 zH/HuggAoOMa1yOpKh5UoUxOreeVYKCJhb0biknznwHqu9Wpuy14bVeeuENwHI8a GUhcQmdpwLbV2KhZT93c+KaINDgrh+/8iqGCR4uutHRfNoTWd9jZClsX7smzbZZ7 7+c7/RBxX3Xozf0FFuXuyIjCisJ8LwtWUZetuZdN/IPsr4F+0lFZ8Yjx0kzmRUAT n5juSy42EF2espxnGxPkW64fZgWEMyV3gyUi9xNQhjj4MHkH+zKkdgq/GyrGsinU HIMVT4K90JHtDYYkB/npkm5SPwlJRKnFhNW/oFaWtf6cvK3FmpDbNYyT9JL3yYqh 8VplLTRALZJfYCI/cutovQMpxDhbDQ== =4UCc -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 06 08:21:45 2019 Received: (at control) by debbugs.gnu.org; 6 Oct 2019 12:21:45 +0000 Received: from localhost ([127.0.0.1]:45724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iH5Xl-0008M8-G2 for submit@debbugs.gnu.org; Sun, 06 Oct 2019 08:21:45 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:52029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iH5Xj-0008Ly-2T for control@debbugs.gnu.org; Sun, 06 Oct 2019 08:21:43 -0400 X-Originating-IP: 92.169.151.76 Received: from bababa (lfbn-1-4156-76.w92-169.abo.wanadoo.fr [92.169.151.76]) (Authenticated sender: pierre@atlas.engineer) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 502ED1C0004 for ; Sun, 6 Oct 2019 12:21:41 +0000 (UTC) From: Pierre Neidhardt To: control@debbugs.gnu.org Subject: control message for bug #37566 Date: Sun, 06 Oct 2019 14:21:40 +0200 Message-ID: <87ftk6gj3f.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 37566 quit Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.197 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) close 37566 quit