From unknown Tue Aug 19 05:26:27 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73057] [PATCH 2/2] gnu: Add sbcl-ciel-repl. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Sep 2024 20:04:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73057@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172556660322142 (code B ref -1); Thu, 05 Sep 2024 20:04:03 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2024 20:03:23 +0000 Received: from localhost ([127.0.0.1]:38291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smIhO-0005ky-O7 for submit@debbugs.gnu.org; Thu, 05 Sep 2024 16:03:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:33168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smIhN-0005kb-6w for submit@debbugs.gnu.org; Thu, 05 Sep 2024 16:03:21 -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 1smIOR-0007uE-Gd for guix-patches@gnu.org; Thu, 05 Sep 2024 15:43:47 -0400 Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smIOP-0003Qk-PC for guix-patches@gnu.org; Thu, 05 Sep 2024 15:43:47 -0400 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id CE56D1140216; Thu, 5 Sep 2024 15:43:44 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Thu, 05 Sep 2024 15:43:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1725565424; x=1725651824; bh=qaMrFpLOEieYn98qLf+NCcp1czJGnPn0 Rtg2x8TqD4Y=; b=oQx4vRFvsdVjDBP9ivN4R3zLYelvqwyphF6r7rMWiMl0pOXx kEso7WrK+gRfsMPiuJpSlfepf9oN9pRpPdYV7+I4uGH4ap/5eI6FYfQRVeLjpP3z hJMFAUxlnVyssXxDQJAJVrY+wewdm/4zYDbjp5GaX1z4AWQwzOHykBndhuPVFNNN snvTJ2Y29UY8NpvF1vq0IGP5qMBWaweDGCLCEC/ad8do2utqTfXxsUcqnsV0Dwhm YAMaer8gwoK2+jY1sMYOErejyBMwm2Y7QgpD4bz70B7T+tZ6gNn+vOJ+6xe9myzd AObwzusmY01wBQCkuAvJ3HO7HOatB/FGeETRNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1725565424; x=1725651824; bh=qaMrFpLOEieYn98qLf+NCcp1czJGnPn0Rtg 2x8TqD4Y=; b=NhJWNtJoPObffIAhc/nbLU81BpRWxmkeepwHnKFKIPkbzytrtBo 8IBP1xzS++aEH7A9m7Ph+eL311OoycAZZzgL9JNBCWaMGtQWyS4ebOVFxJ+Zrx0j n34hVfqKW+efqe4W4CqBC4r38weshQWDPH2hByNxx+bwgeVi7ITEEUm83vG/J1gb CuZA+4K///pn0tYkct0MCcRWe0uN9G86mQ01KLclPB5D9XLXYQ47UUs4fqT9Oj/Q ACKjhXAUMlazn8sZ4OR9+Vxd+NyqP3SlJI8l4kccpclXo7pVU3ruhyFsrUgxldgY 4qImvq92cXNNmKKOjT/LAtls7D33chMacZg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudehledgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf ffkfggtgesthdtredttddttdenucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehk ohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvg hrnhepueehfedukeelueehffdvtdekkedtfeejvefgjeduudevveeigedtgeekgfeuhfeu necuffhomhgrihhnpehgihhthhhusgdrtghomhdptghivghlqdhlrghnghdrohhrghenuc evlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgr ugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvthdpnhgspghrtghpthhtohepvddpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepsggttgeskhhhihhnshgvnhdrfhgrshht mhgrihhlrdhnvghtpdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorh hg X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 5 Sep 2024 15:43:44 -0400 (EDT) From: Konrad Hinsen Date: Thu, 05 Sep 2024 21:43:43 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.154; envelope-from=konrad.hinsen@fastmail.net; helo=fhigh3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-xyz.scm (sbcl-ciel-repl): New variable. Change-Id: I85eabe27d35a6d540a634f4121209b59a6c7085b --- gnu/packages/lisp-xyz.scm | 69 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index c22d5f6565..536b4029dc 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -3563,6 +3563,75 @@ (define-public cl-ciel (define-public ecl-ciel (sbcl-package->ecl-package sbcl-ciel)) +(define-public sbcl-ciel-repl + (let ((commit "0b26d64dcd91a3a2aa962842629a853261dd30fe") + (version "0.2.1")) + (package + (name "sbcl-ciel-repl") + (version version) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/khinsen/CIEL") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gm8slnz4jw98rkijnh2dp6x629xdnfk8z7j35g03j6ypr56v06h")) + (patches (search-patches "ciel-repl.patch")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-ciel + sbcl-cl-readline + sbcl-lisp-critic + sbcl-magic-ed)) + (arguments + (list + #:asd-systems ''("ciel/repl") + #:phases + #~(modify-phases %standard-phases + ;; The built-in scripts require special care. They are + ;; read from src/scripts in the current directory. + ;; When the binary is built, the current directory is + ;; {out}/bin, so the scripts have to be copied there, + ;; but that copy must be deleted after the binary has been + ;; built, otherwise it would end up in the package. + (add-after 'create-asdf-configuration 'install-scripts + (lambda _ + (let ((dir (string-append #$output "/bin/src/scripts"))) + (for-each (lambda (file) + (install-file file dir)) + (find-files "src/scripts" "\\.lisp$"))))) + (add-after 'install-scripts 'build-program + (lambda* (#:key outputs #:allow-other-keys) + (build-program + (string-append #$output "/bin/ciel") + outputs + #:entry-program '((ciel::main)) + #:dependencies '("ciel/repl") + #:compress? #t))) + (add-after 'build-program 'delete-scripts + (lambda _ + (let ((dir (string-append #$output "/bin/src"))) + (delete-file-recursively dir)))) + ;; Remove everything except the binary. + (add-after 'delete-scripts 'delete-lisp-files + (lambda _ + (let ((dir (string-append #$output "/etc"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/lib"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/share"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/.asd-files"))) + (delete-file-recursively dir))))))) + (home-page "http://ciel-lang.org/") + (synopsis "Terminal REPL for CIEL") + (description + "CIEL as a precompiled binary and a full-featured REPL +for the terminal.") + (license license:expat)))) + (define-public sbcl-circular-streams (let ((commit "e770bade1919c5e8533dd2078c93c3d3bbeb38df") (revision "1")) -- 2.45.2 From unknown Tue Aug 19 05:26:27 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73057] [PATCH 2/2] gnu: Add sbcl-ciel-repl. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 Sep 2024 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Konrad Hinsen Cc: 73057@debbugs.gnu.org Received: via spool by 73057-submit@debbugs.gnu.org id=B73057.17256236517016 (code B ref 73057); Fri, 06 Sep 2024 11:55:02 +0000 Received: (at 73057) by debbugs.gnu.org; 6 Sep 2024 11:54:11 +0000 Received: from localhost ([127.0.0.1]:52358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smXXX-0001p6-A8 for submit@debbugs.gnu.org; Fri, 06 Sep 2024 07:54:11 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smXXV-0001os-Cu for 73057@debbugs.gnu.org; Fri, 06 Sep 2024 07:54:10 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 32E65240103 for <73057@debbugs.gnu.org>; Fri, 6 Sep 2024 11:25:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1725614749; bh=SFsz0Fq5KJ6cxm/4W2bT5kFcGx+0AXZ49FcC1Io+QtQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=GhgH6UhUNiTkOob1qV1LDggaqBnQzXFl6OmLsvhHwC35HfeQNbjx7d+078OrxY94a JpUDbqXZMyM6BN+xxvJtw2s0RyGHsTZ+97eRZLkRH7cYvgYwY/Z8cilzq2bBCbSWgq FFgZdAPyysazEYrlt9nr6as8PzmFDnY/dbhDiko3F4sdB3CagmjhkhMvbPUg0CJP5M pTYXCO80ZQt5pj6e3x+Ai2iNuSRDKdmw/8hhLvrHlkUL5+Y9fMUG+b5tS6+FLzMgcR 8Sa054IB+9GH/ulkNalihhzddyawDhAKYCV0JUEuiGLmvPhSsBqn6UHjywpnOenEeo uwI2d3ovOeopw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X0W700kpCz9rxM; Fri, 6 Sep 2024 11:25:48 +0200 (CEST) From: Guillaume Le Vaillant In-Reply-To: (Konrad Hinsen's message of "Thu, 05 Sep 2024 21:43:43 +0200") References: Date: Fri, 06 Sep 2024 09:25:47 +0000 Message-ID: <871q1xjfqc.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.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: -3.3 (---) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Konrad Hinsen skribis: > diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm > index c22d5f6565..536b4029dc 100644 > --- a/gnu/packages/lisp-xyz.scm > +++ b/gnu/packages/lisp-xyz.scm > @@ -3563,6 +3563,75 @@ (define-public cl-ciel > (define-public ecl-ciel > (sbcl-package->ecl-package sbcl-ciel)) >=20=20 > +(define-public sbcl-ciel-repl > + (let ((commit "0b26d64dcd91a3a2aa962842629a853261dd30fe") > + (version "0.2.1")) > + (package > + (name "sbcl-ciel-repl") > + (version version) > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/khinsen/CIEL") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "0gm8slnz4jw98rkijnh2dp6x629xdnfk8z7j35g03j6ypr56v06h"= )) > + (patches (search-patches "ciel-repl.patch")))) Is there a reason to take the sources from instead of the upstream repository at ? The "ciel-repl.patch" referenced in the 'source' field is missing. Could you send an updated patch? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZtrKmw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/SoAD/e0frZacerI4eOSsdKqVlsQDIUIPNUYahS9NB RoiAYosBAKU80lIyEbjJnUDpy1ogTPEXWeezsGfl7hPKNziOhu9C =xc1P -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Aug 19 05:26:27 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73057] [PATCH 2/2] gnu: Add sbcl-ciel-repl. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 Sep 2024 12:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Guillaume Le Vaillant Cc: 73057@debbugs.gnu.org Received: via spool by 73057-submit@debbugs.gnu.org id=B73057.172562558414453 (code B ref 73057); Fri, 06 Sep 2024 12:27:02 +0000 Received: (at 73057) by debbugs.gnu.org; 6 Sep 2024 12:26:24 +0000 Received: from localhost ([127.0.0.1]:52423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smY2i-0003kw-FZ for submit@debbugs.gnu.org; Fri, 06 Sep 2024 08:26:24 -0400 Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]:56207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smY2g-0003kk-Eg for 73057@debbugs.gnu.org; Fri, 06 Sep 2024 08:26:23 -0400 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id DE4311140262; Fri, 6 Sep 2024 08:26:17 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Fri, 06 Sep 2024 08:26:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1725625577; x=1725711977; bh=GaKlS4JDBF UCPjPmOvFjz/iWtHT6B6oNXH/DaFiblzA=; b=B6izykAZy2CBjFE/4L6h/yEK7A xI0JpGUNaBvrBQTjdNd/S9/pbOrugqgN0JUUmvH0f7vZncJYijpIbV2KAQy3sppy su2mc4RJEq2VarXhm8+BYu8A2Hwq1YrR9MsX0dOrIcWD5QjRqUnbw0FqHqX+oCZU t8BF6tyAHoqbpmG1W0K+Xca2eAz8FbFvloagdaMSAaFCzO14pArXGwyLlyL/P9KE zw/Gl8y+XDzKKeJl4ul26OJahzvPsbT58oQq/8jqMmJMD9IiV2fjywPQKLfL7fiQ tabEEhwi1q+6PAqvR2aYfA1urGzrlkCdMAXC7uU7rJGO9XpJEUcgdiEJCM6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1725625577; x=1725711977; bh=GaKlS4JDBFUCPjPmOvFjz/iWtHT6 B6oNXH/DaFiblzA=; b=VNxNU+wlY5KmSaZ5CFWiDkyCiMyD12QNhQivMHIxckID dxY5Bq/hiamQhkgUrNa2PasWM+mGPyj8bmISFr7gB4Lro4Hvom1HPVth5OH/HFLu eZQ7H43qENsxhgXXmLqSWyARMQDbRwGaLiBQOV6crINPfqNHLLbdOVmXRiU6Hn4U NWABK7Z8aM+AM/e8EiB1BhVEhO90k8dt2/mHswosO2uJKqpYzL1eTolw8QmiczWv HRBZ3VFUpQ2byMm50/DcGFPlVIYG2TqoKn42aQ1hnyCX2da+9NN70GBQvmMZvFud W2m877znDGn9jscOhzJhNBvPl1zSTmpGSwYQJkGrMQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeiuddgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf gjfhffkfggtgesthdtredttddttdenucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcu oehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrth htvghrnhepiedvkedvleeggeelleekkeeuueehvddvkeehtddufeetffeggfelvdevudek hedtnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghnsehfrghs thhmrghilhdrnhgvthdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepsggttgeskhhhihhnshgvnhdrfhgrshhtmhgrihhlrdhnvghtpdhrtghp thhtohepjeeftdehjeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehglh hvsehpohhsthgvohdrnhgvth X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 6 Sep 2024 08:26:17 -0400 (EDT) From: Konrad Hinsen In-Reply-To: <871q1xjfqc.fsf@kitej> References: <871q1xjfqc.fsf@kitej> Date: Fri, 06 Sep 2024 14:26:16 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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.7 (-) Guillaume Le Vaillant writes: > Is there a reason to take the sources from > instead of the upstream repository at > ? Oops, sorry! I used my own fork for testing, but it is no longer relevant for the final package version. > The "ciel-repl.patch" referenced in the 'source' field is missing. > Could you send an updated patch? Oops again... I'll send a new patch in a few seconds! Cheers, Konrad. From unknown Tue Aug 19 05:26:27 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#73057] [PATCH 2/2] gnu: Add sbcl-ciel-repl. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 Sep 2024 12:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73057@debbugs.gnu.org Received: via spool by 73057-submit@debbugs.gnu.org id=B73057.172562567014642 (code B ref 73057); Fri, 06 Sep 2024 12:28:01 +0000 Received: (at 73057) by debbugs.gnu.org; 6 Sep 2024 12:27:50 +0000 Received: from localhost ([127.0.0.1]:52430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smY45-0003o6-Sz for submit@debbugs.gnu.org; Fri, 06 Sep 2024 08:27:50 -0400 Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]:51839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smY43-0003np-2C for 73057@debbugs.gnu.org; Fri, 06 Sep 2024 08:27:47 -0400 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 8846911401D4; Fri, 6 Sep 2024 08:27:42 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Fri, 06 Sep 2024 08:27:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1725625662; x=1725712062; bh=nkqCynggYL 2OLjug+w18kkjMLp6ka0nsQGcQbjzgF30=; b=CxInoNrGYeXZ27bHw6aXENiLBa Dxu5QFtY11LnjIxGzkMgkrKzYzAa+hZbbxuQQolFeW/WNyMfbQ9YYd3oD/lVIBBa mDnp78Dnn908HjDMq9HiQD4oGRcAhn8HXCFAH6jn432SsakiPBvBPM3ikqL1jjAH yWlRgircCtRPImcbr9rzlYjEHkwBCr623wJr5wsHBpxbxD1qxeQPXER/nI4DIaqD o9SYxs2soVvIGCcjIhyGxDaXX4N0nhFm57G+sG0UcwU8L93qZMdHvvZ8q0yLh0RM 40YkURylj9ecKaqCbiZN1O0ZH4GqIF3bRynFw6yzfFn4IrOigryGMk22ogwQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1725625662; x=1725712062; bh=nkqCynggYL2OLjug+w18kkjMLp6k a0nsQGcQbjzgF30=; b=l0LIOmPoBXyYYSPTMGvyqzPpa/Gf7ISDAAWGhQVMFMne wHga9rRQs2QN4eMKL1vBa8oPY6GjDN4uE53A5apcbDCUNqlxXmGqTd9W6fn1gPn3 YW8TlVisn86/xdfUV1idORmWo2Fg4q6rMMnZP75lEg+P93i5GFpCkvp19bzf+qtD k68EAwsXy3XkZiR44jwcaaSZydnrCkGwmcLz7agZ3JTKrDXdLU2Yzmo14b9Lb8Qu mv8bvcPReWnfbOzMSaVglR/hetDaHC6OD6QmDfF4zvrYP/cQ2/a8+eKBIAQND27n iKxRb8yGcpE8Rs5n4BpXsVhE8aTVO2vHVarQcomXJA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeiuddgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujg hffffkgggtsehttdertddttddtnecuhfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceo khhonhhrrggurdhhihhnshgvnhesfhgrshhtmhgrihhlrdhnvghtqeenucggtffrrghtth gvrhhnpeelleehtddugfelhfegvdeuvdevteeltdffieetieekffdtheevgedugefgheej tdenucffohhmrghinhepghhithhhuhgsrdgtohhmpdgtihgvlhdqlhgrnhhgrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhonhhr rggurdhhihhnshgvnhesfhgrshhtmhgrihhlrdhnvghtpdhnsggprhgtphhtthhopedvpd hmohguvgepshhmthhpohhuthdprhgtphhtthhopegstggtsehkhhhinhhsvghnrdhfrghs thhmrghilhdrnhgvthdprhgtphhtthhopeejfedtheejseguvggssghughhsrdhgnhhurd horhhg X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 6 Sep 2024 08:27:41 -0400 (EDT) From: Konrad Hinsen In-Reply-To: <871q1xjfqc.fsf@kitej> References: <871q1xjfqc.fsf@kitej> Date: Fri, 06 Sep 2024 14:27:40 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) 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.7 (-) * gnu/packages/lisp-xyz.scm (sbcl-ciel-repl): New variable. Change-Id: I85eabe27d35a6d540a634f4121209b59a6c7085b --- gnu/packages/lisp-xyz.scm | 69 ++++++++++++++++++++++++++++ gnu/packages/patches/ciel-repl.patch | 31 +++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 gnu/packages/patches/ciel-repl.patch diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index c22d5f6565..3427dbec0f 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -3563,6 +3563,75 @@ (define-public cl-ciel (define-public ecl-ciel (sbcl-package->ecl-package sbcl-ciel)) +(define-public sbcl-ciel-repl + (let ((commit "0b26d64dcd91a3a2aa962842629a853261dd30fe") + (version "0.2.1")) + (package + (name "sbcl-ciel-repl") + (version version) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ciel-lang/CIEL") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gm8slnz4jw98rkijnh2dp6x629xdnfk8z7j35g03j6ypr56v06h")) + (patches (search-patches "ciel-repl.patch")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-ciel + sbcl-cl-readline + sbcl-lisp-critic + sbcl-magic-ed)) + (arguments + (list + #:asd-systems ''("ciel/repl") + #:phases + #~(modify-phases %standard-phases + ;; The built-in scripts require special care. They are + ;; read from src/scripts in the current directory. + ;; When the binary is built, the current directory is + ;; {out}/bin, so the scripts have to be copied there, + ;; but that copy must be deleted after the binary has been + ;; built, otherwise it would end up in the package. + (add-after 'create-asdf-configuration 'install-scripts + (lambda _ + (let ((dir (string-append #$output "/bin/src/scripts"))) + (for-each (lambda (file) + (install-file file dir)) + (find-files "src/scripts" "\\.lisp$"))))) + (add-after 'install-scripts 'build-program + (lambda* (#:key outputs #:allow-other-keys) + (build-program + (string-append #$output "/bin/ciel") + outputs + #:entry-program '((ciel::main)) + #:dependencies '("ciel/repl") + #:compress? #t))) + (add-after 'build-program 'delete-scripts + (lambda _ + (let ((dir (string-append #$output "/bin/src"))) + (delete-file-recursively dir)))) + ;; Remove everything except the binary. + (add-after 'delete-scripts 'delete-lisp-files + (lambda _ + (let ((dir (string-append #$output "/etc"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/lib"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/share"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/.asd-files"))) + (delete-file-recursively dir))))))) + (home-page "http://ciel-lang.org/") + (synopsis "Terminal REPL for CIEL") + (description + "CIEL as a precompiled binary and a full-featured REPL +for the terminal.") + (license license:expat)))) + (define-public sbcl-circular-streams (let ((commit "e770bade1919c5e8533dd2078c93c3d3bbeb38df") (revision "1")) diff --git a/gnu/packages/patches/ciel-repl.patch b/gnu/packages/patches/ciel-repl.patch new file mode 100644 index 0000000000..ab4dfdd793 --- /dev/null +++ b/gnu/packages/patches/ciel-repl.patch @@ -0,0 +1,31 @@ +The standard CIEL REPL includes Quicklisp. We remove it for packaging +with Guix. + +The default Quicklisp-based build procedure removes one dependency +relation from the system definition for ciel/repl and replaces it by +an explicit load command using Quicklisp, as a workaround to some build +issue. Fortunately we don't have this issue with Guix, so we go back +to letting ASDF manage this dependency relation. + +--- a/repl.lisp ++++ b/repl.lisp +@@ -1,8 +1,5 @@ + ;; #!/usr/bin/sbcl --script +-(load "~/quicklisp/setup") + +-(let ((*standard-output* (make-broadcast-stream))) +- (ql:quickload "cl-readline")) + (uiop:define-package :sbcli + (:use :common-lisp :trivial-package-local-nicknames) + (:import-from :magic-ed +--- a/ciel.asd ++++ b/ciel.asd +@@ -179,7 +179,7 @@ + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + (asdf:defsystem "ciel/repl" + :description "readline REPL for CIEL with quality of life improvements." +- :depends-on (;; :ciel ;; let's avoid, it could run side effects twice (like a defparameter set then reset). ++ :depends-on (:ciel + ;; deps + :cl-readline + :lisp-critic ;; it would be nice to integrate it with Slime. -- 2.45.2 From unknown Tue Aug 19 05:26:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Konrad Hinsen Subject: bug#73057: closed (Re: [bug#73057] [PATCH 2/2] gnu: Add sbcl-ciel-repl.) Message-ID: References: <87h6ary9vn.fsf@kitej> X-Gnu-PR-Message: they-closed 73057 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 73057@debbugs.gnu.org Date: Sat, 07 Sep 2024 11:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1725708962-23963-1" This is a multi-part message in MIME format... ------------=_1725708962-23963-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #73057: [PATCH 2/2] gnu: Add sbcl-ciel-repl. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 73057@debbugs.gnu.org. --=20 73057: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73057 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1725708962-23963-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 73057-done) by debbugs.gnu.org; 7 Sep 2024 11:35:36 +0000 Received: from localhost ([127.0.0.1]:55054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smtj6-0006DU-61 for submit@debbugs.gnu.org; Sat, 07 Sep 2024 07:35:36 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smtj3-0006D5-EU for 73057-done@debbugs.gnu.org; Sat, 07 Sep 2024 07:35:34 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5831E240104 for <73057-done@debbugs.gnu.org>; Sat, 7 Sep 2024 13:35:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1725708926; bh=ukTM9OKpwrw4xWfKHCmtlWqGbJw5oWfmLp+TXyF9NMQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=r/uVKaVHjgpX/TUr7Zev2yjdY0VD5xbotJ1hAbSei7ab1cM2uK6/rDjRGSL2oXrYH v5WUFeKqahabUdWOQiZHbyUCRdbOGe+WALRlhEzM2RaV2jM3IKQ2x3pz/w/uNW5qHK wzhjHRl8iWyNbK9Siq6zlZw3Fr4rx7M7PRMm0ymTC1FgLlQ2x/6IzSR4CVHqv/EaL6 8fAIm8M6rGJVJEYOgeY7XpFUl9ZwxRvqDdVesyIV78LSyDXr9AW+2Gx7cw0EzBNNJH 4Eavrt+ixmwFanU8Ig4IOjN6xgb1YxtD/158EMCl+fMIRSwNEk29yk59gYTjC9IkjV 12E/CoLkuR9PA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X19y53wgSz6tm4; Sat, 7 Sep 2024 13:35:25 +0200 (CEST) From: Guillaume Le Vaillant To: Konrad Hinsen Subject: Re: [bug#73057] [PATCH 2/2] gnu: Add sbcl-ciel-repl. In-Reply-To: (Konrad Hinsen's message of "Fri, 06 Sep 2024 14:27:40 +0200") References: <871q1xjfqc.fsf@kitej> Date: Sat, 07 Sep 2024 11:35:24 +0000 Message-ID: <87h6ary9vn.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73057-done Cc: 73057-done@debbugs.gnu.org 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: -3.3 (---) --=-=-= Content-Type: text/plain I registered the new patch file in "gnu/local.mk" and I applied the patch as 683cbb283a9fce9ef8ed9ef71ba9a79d0a467670. Thanks. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZtw6fA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8rMQEAgxiO3y2Oasyd5IbjoLJfsQxyQcIYnhrW14rz aShGIn4A/j7PutOlrzp0JqHf9n4LrZZxCfPTAVO2nZj4aAzE99Yv =wYPb -----END PGP SIGNATURE----- --=-=-=-- ------------=_1725708962-23963-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Sep 2024 20:03:23 +0000 Received: from localhost ([127.0.0.1]:38291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smIhO-0005ky-O7 for submit@debbugs.gnu.org; Thu, 05 Sep 2024 16:03:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:33168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smIhN-0005kb-6w for submit@debbugs.gnu.org; Thu, 05 Sep 2024 16:03:21 -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 1smIOR-0007uE-Gd for guix-patches@gnu.org; Thu, 05 Sep 2024 15:43:47 -0400 Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smIOP-0003Qk-PC for guix-patches@gnu.org; Thu, 05 Sep 2024 15:43:47 -0400 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id CE56D1140216; Thu, 5 Sep 2024 15:43:44 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Thu, 05 Sep 2024 15:43:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1725565424; x=1725651824; bh=qaMrFpLOEieYn98qLf+NCcp1czJGnPn0 Rtg2x8TqD4Y=; b=oQx4vRFvsdVjDBP9ivN4R3zLYelvqwyphF6r7rMWiMl0pOXx kEso7WrK+gRfsMPiuJpSlfepf9oN9pRpPdYV7+I4uGH4ap/5eI6FYfQRVeLjpP3z hJMFAUxlnVyssXxDQJAJVrY+wewdm/4zYDbjp5GaX1z4AWQwzOHykBndhuPVFNNN snvTJ2Y29UY8NpvF1vq0IGP5qMBWaweDGCLCEC/ad8do2utqTfXxsUcqnsV0Dwhm YAMaer8gwoK2+jY1sMYOErejyBMwm2Y7QgpD4bz70B7T+tZ6gNn+vOJ+6xe9myzd AObwzusmY01wBQCkuAvJ3HO7HOatB/FGeETRNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1725565424; x=1725651824; bh=qaMrFpLOEieYn98qLf+NCcp1czJGnPn0Rtg 2x8TqD4Y=; b=NhJWNtJoPObffIAhc/nbLU81BpRWxmkeepwHnKFKIPkbzytrtBo 8IBP1xzS++aEH7A9m7Ph+eL311OoycAZZzgL9JNBCWaMGtQWyS4ebOVFxJ+Zrx0j n34hVfqKW+efqe4W4CqBC4r38weshQWDPH2hByNxx+bwgeVi7ITEEUm83vG/J1gb CuZA+4K///pn0tYkct0MCcRWe0uN9G86mQ01KLclPB5D9XLXYQ47UUs4fqT9Oj/Q ACKjhXAUMlazn8sZ4OR9+Vxd+NyqP3SlJI8l4kccpclXo7pVU3ruhyFsrUgxldgY 4qImvq92cXNNmKKOjT/LAtls7D33chMacZg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudehledgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf ffkfggtgesthdtredttddttdenucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehk ohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvg hrnhepueehfedukeelueehffdvtdekkedtfeejvefgjeduudevveeigedtgeekgfeuhfeu necuffhomhgrihhnpehgihhthhhusgdrtghomhdptghivghlqdhlrghnghdrohhrghenuc evlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgr ugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvthdpnhgspghrtghpthhtohepvddpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepsggttgeskhhhihhnshgvnhdrfhgrshht mhgrihhlrdhnvghtpdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorh hg X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 5 Sep 2024 15:43:44 -0400 (EDT) From: Konrad Hinsen To: guix-patches@gnu.org Subject: [PATCH 2/2] gnu: Add sbcl-ciel-repl. Date: Thu, 05 Sep 2024 21:43:43 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.154; envelope-from=konrad.hinsen@fastmail.net; helo=fhigh3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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-xyz.scm (sbcl-ciel-repl): New variable. Change-Id: I85eabe27d35a6d540a634f4121209b59a6c7085b --- gnu/packages/lisp-xyz.scm | 69 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index c22d5f6565..536b4029dc 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -3563,6 +3563,75 @@ (define-public cl-ciel (define-public ecl-ciel (sbcl-package->ecl-package sbcl-ciel)) +(define-public sbcl-ciel-repl + (let ((commit "0b26d64dcd91a3a2aa962842629a853261dd30fe") + (version "0.2.1")) + (package + (name "sbcl-ciel-repl") + (version version) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/khinsen/CIEL") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gm8slnz4jw98rkijnh2dp6x629xdnfk8z7j35g03j6ypr56v06h")) + (patches (search-patches "ciel-repl.patch")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-ciel + sbcl-cl-readline + sbcl-lisp-critic + sbcl-magic-ed)) + (arguments + (list + #:asd-systems ''("ciel/repl") + #:phases + #~(modify-phases %standard-phases + ;; The built-in scripts require special care. They are + ;; read from src/scripts in the current directory. + ;; When the binary is built, the current directory is + ;; {out}/bin, so the scripts have to be copied there, + ;; but that copy must be deleted after the binary has been + ;; built, otherwise it would end up in the package. + (add-after 'create-asdf-configuration 'install-scripts + (lambda _ + (let ((dir (string-append #$output "/bin/src/scripts"))) + (for-each (lambda (file) + (install-file file dir)) + (find-files "src/scripts" "\\.lisp$"))))) + (add-after 'install-scripts 'build-program + (lambda* (#:key outputs #:allow-other-keys) + (build-program + (string-append #$output "/bin/ciel") + outputs + #:entry-program '((ciel::main)) + #:dependencies '("ciel/repl") + #:compress? #t))) + (add-after 'build-program 'delete-scripts + (lambda _ + (let ((dir (string-append #$output "/bin/src"))) + (delete-file-recursively dir)))) + ;; Remove everything except the binary. + (add-after 'delete-scripts 'delete-lisp-files + (lambda _ + (let ((dir (string-append #$output "/etc"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/lib"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/share"))) + (delete-file-recursively dir)) + (let ((dir (string-append #$output "/.asd-files"))) + (delete-file-recursively dir))))))) + (home-page "http://ciel-lang.org/") + (synopsis "Terminal REPL for CIEL") + (description + "CIEL as a precompiled binary and a full-featured REPL +for the terminal.") + (license license:expat)))) + (define-public sbcl-circular-streams (let ((commit "e770bade1919c5e8533dd2078c93c3d3bbeb38df") (revision "1")) -- 2.45.2 ------------=_1725708962-23963-1--