From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wIKEJAtEZWFsuAAAgWs5BA (envelope-from ) for ; Tue, 12 Oct 2021 10:15:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yD4+HwtEZWGpOAAAbx9fmQ (envelope-from ) for ; Tue, 12 Oct 2021 08:15:07 +0000 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 EA5192FED6 for ; Tue, 12 Oct 2021 10:15:06 +0200 (CEST) Received: from localhost ([::1]:53108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maCwE-00028j-19 for larch@yhetil.org; Tue, 12 Oct 2021 04:15:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maCnS-0002AP-EM for guix-patches@gnu.org; Tue, 12 Oct 2021 04:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50078) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maCnS-0006cT-4T for guix-patches@gnu.org; Tue, 12 Oct 2021 04:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1maCnR-0004cX-W9 for guix-patches@gnu.org; Tue, 12 Oct 2021 04:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51153] [PATCH] gnu: Add cl-readline Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Oct 2021 08:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51153@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163402593917728 (code B ref -1); Tue, 12 Oct 2021 08:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Oct 2021 08:05:39 +0000 Received: from localhost ([127.0.0.1]:33391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maCn4-0004br-Ua for submit@debbugs.gnu.org; Tue, 12 Oct 2021 04:05:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:43760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maCn3-0004bk-72 for submit@debbugs.gnu.org; Tue, 12 Oct 2021 04:05:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maCmw-0001iI-Nw for guix-patches@gnu.org; Tue, 12 Oct 2021 04:05:34 -0400 Received: from mail-oln040092253066.outbound.protection.outlook.com ([40.92.253.66]:6375 helo=APC01-SG2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maCmt-0006CH-1B for guix-patches@gnu.org; Tue, 12 Oct 2021 04:05:28 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aS0SBgQ+fQtj5AvgXNU6fLPDTWPUc8wTFRJo8obuBQ/+NZOyr7mIfQEpV+Y5C32E1oBfgeaXHrU4j7bvVFlpO1xr9oLPYpRdtZuuf1KvZx7efIczLAXlb+VpjC9AtXV41EWf3mzIkFY6377rfImtkZl+9hG/fJV1+W8gW8PAdiMTjxwxz4w7V55mkr9zOlvHeA8fkrx6eU6aCoRnlzR7KYuhrTsgcwP/njziE+I9vXUjlfKLRGF0MG/TooQ30Hglg+GsMVC9B4kYeXNuxum8x3h/5McN8y6E6EtfHrPHwxbAZulQ3SOX4Ymw7qse9dpPceplgk1p3rAkVy/Mq+vc+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DST1vrla2Wqn0kvbXo2ejMX4ZXc3xrhY0YtFTNYqgxA=; b=nyVY/8ROWiok8dDkYsg+PBsSdW0Hvl7CUwsmfP5WY2NyKZadMF7LHx6G6P1CWJxjMtSrjEplgBPUY0XaJaFogISsLGxWTNBAYFwbEF6bbE5ulhTrIitr9IPHQx6n8JBPBIVI8du8fCwR91cFV4uoypERgMmP0IRMBLok8o1GiTfRCDvwOinlz+zhR+TPF/XXf3jn1JBSqZN0QwowuiI+KUf0EUG9qArqw2KcSWMNbltgoOE2QXU6Ed1dtKFqbgwq8FtQ2x6TrNX8jYLXAry+sIxQtwLwXrTQuU+I9c7N/fk33n2jo3jR3I9lN6FzjoN9JZrkyInPHqfvarS037zvpg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DST1vrla2Wqn0kvbXo2ejMX4ZXc3xrhY0YtFTNYqgxA=; b=SDL7Z7nkWxzsQm9VJeGqtqQHF9ir+7/guleRTLMPrsdlpTzMlp6ZhiHEjy4ibmzHItJHoNTZ4j+13bUx6yDU+T7+tXFilPLiUnAC4S+f8G/eAPvpAv31PpY/cll2X9WJWg6xgdPURaRChwYBdnZ5WPEWlMHPInxqYSlk7hjUVXvg/Qzq3n285+gdpnjF0nuEn9uqy9yk4DBpY876SmrssQip3luv0AKzeP60S2I5WplklFyaa8ZYFCYIQJ+CM5EpNgyEAF2k6FyIJmQAZvm+/vXOuhve2t4torU5Wl8QenlTSO1uT2h4pDbm3zEfD3nYBQOfSb4EsVMI2xXI6Ilqlw== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PSAPR01MB3973.apcprd01.prod.exchangelabs.com (2603:1096:301:4a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Tue, 12 Oct 2021 08:05:22 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::b81b:9b11:fede:9015]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::b81b:9b11:fede:9015%6]) with mapi id 15.20.4587.026; Tue, 12 Oct 2021 08:05:22 +0000 Date: Tue, 12 Oct 2021 07:48:05 +0000 From: Foo Chuan Wei Message-ID: Mail-Followup-To: guix-patches@gnu.org Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-TMN: [OeZu5M5hySj00A2Gjcaax7qHnLDCuSi0] X-ClientProxiedBy: HK0PR01CA0064.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::28) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211012074805.pxiz64zcdz3tbbxu@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (202.160.34.160) by HK0PR01CA0064.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25 via Frontend Transport; Tue, 12 Oct 2021 08:05:21 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e633a7ac-b2bb-487d-4b8d-08d98d570a0a X-MS-TrafficTypeDiagnostic: PSAPR01MB3973: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vxt3Hd/0DWuusqERtDS+eF+n26DXcDanAWWJbRtKwbBI5AovwQHaaOVWmBvpTWOnegZpfnu41Dufk/nW6fbWICexVWiEUd+SSguN3h6J88nMd2ovR4lsW6PrWCxz3KSoF4FXHPlML/NBNmNxoYumRGG1r8p333y8va1M1PnCHP3THo+lmlWReAA9/V9/Ri5+4oUlLdR7Vg4er+x0rVgxl5JyPY8a6YTE7kkp+0uvJhahyD34zi7vuhoXk2lWg/iUvfYJt+oI7QAcAnBzocgVTMvnAl5AG30d1pZmsNTAhgC2HoTN7WT1k44sujiZWB0RUZxR1RbOtoH/yghW9NSPf2vdqX0tbp9UDLT7vtRFCIwKY4MwrnBDrtEcLba50WjWghkP7K8kq5Xp7doJjiqtlXFCoaoA3J5NdtTPfnnJEiWwK7trmWT5UC1uVWQzYs7Isqsnv5JxWyzmlx3r8qnpBMqLdSSpOOlxIXs9A8S5m1c= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3uA8p1tiXHmhMLTCygKN4iywkdUpSiOeivbsPhtjKPum8q64/2Bub/xfnPL92hnc/tnJ6O7QE5B9c+yuNUbsAv0aRHVFB/LXutEwca+ctBpiVdq1nY4SvxVj7bpOTDs/uqVpPkzHvKQGRhfoaKFNsQ== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-5c337.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: e633a7ac-b2bb-487d-4b8d-08d98d570a0a X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2021 08:05:22.2292 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR01MB3973 Received-SPF: pass client-ip=40.92.253.66; envelope-from=chuanwei.foo@hotmail.com; helo=APC01-SG2-obe.outbound.protection.outlook.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634026507; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=DST1vrla2Wqn0kvbXo2ejMX4ZXc3xrhY0YtFTNYqgxA=; b=CrnJNyqevN1cGyR+WIzLtVO2dQV1QQHQdApxxnQkovuu1+qi+Ru0DrtOlICEPzbCnkZgQw axp+XskPX+a2HjNO3Til/WjQ1YsJ9UfT+xQuKCneLkvvUM6l3hlVNVznuOybYkYfPlNFcb L7hC4WKsBdigh8NnPLps11ng+zTB/jJBwWyHqsJfBxFv7GcXw3TtckjqkOXFCDtYs0V3Yf CSjlzkyRH5rZ0hkVCh+qYacSTBZfBfZye842mH4b8h5tJ1wootjZPROm0z24NwxlDRjRPS 6VEppsEiXTIJWAw6sCL9qSqu9J60CrV/yGN3bqyBOvM8b+/s33rgE+0+7rianQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1634026507; a=rsa-sha256; cv=fail; b=TeQU+HTK8TSRECjX4zWa9rooc3QzvZY5Zu9BMtOct0DlAAGIuXo19U19fD2RT3U/dUIHSP e7nePKetY+FmU8kRQ8pXc4bb2Yw3ik4gXXajm0ovw2sUz0RraCP7dxVsbVG8IGRfTvEzGC /S4Uy/1OeCQz+y+6SH8x6g82fzeopIchPIUHl/+IyXFic/daTeG+xYhmU06ckoAZfMbSyF ucI5fPVDKPaSdmodGNjdP/JSzhDy/ZWJisn9G98xvFVtsAtQ3OrTmWIMIrWJMTthq/FeOm cv9gWwGzOesBSSyNWXEwbkaBijv6HcZicGyrPPLR2AQFXQ99gt1KEV6C8OjlaA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=SDL7Z7nk; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=SDL7Z7nk; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EA5192FED6 X-Spam-Score: 0.09 X-Migadu-Scanner: scn1.migadu.com X-TUID: rQnnsiGDm+0Z * gnu/packages/lisp-xyz.scm (sbcl-readline, cl-readline, ecl-readline): New variables. --- gnu/packages/lisp-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 5d9db448d0..24a409f78c 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -84,6 +84,7 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages readline) #:use-module (gnu packages sdl) #:use-module (gnu packages sqlite) #:use-module (gnu packages tcl) @@ -18841,3 +18842,48 @@ formats within this framework.") (define-public cl-feeder (sbcl-package->cl-source-package sbcl-feeder)) + +(define-public sbcl-readline + (let ((commit "8438c9ebd92ccc95ebab9cc9cbe6c72d44fccc58") + (revision "1")) + (package + (name "sbcl-readline") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vindarel/cl-readline") + (commit commit))) + (sha256 + (base32 + "14iskvqfw71ssaav483vmqw62lrpznysjs800gjjppxs785p1fa0")))) + (build-system asdf-build-system/sbcl) + (inputs `(("alexandria" ,sbcl-alexandria) + ("cffi" ,sbcl-cffi) + ("readline" ,readline))) + (arguments '(#:asd-systems '("cl-readline") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "cl-readline.lisp" + (("libreadline.so") + (string-append (assoc-ref inputs "readline") + "/lib/libreadline.so"))) + #t))))) + (home-page "https://github.com/vindarel/cl-readline") + (synopsis "Common Lisp bindings to the GNU Readline library") + (description + "The Readline library provides a set of functions for use by +applications that allow users to edit command lines as they are typed in. Both +Emacs and vi editing modes are available. The Readline library includes +additional functions to maintain a list of previously-entered command lines, to +recall and perhaps reedit those lines, and perform csh-like history expansion on +previous commands.") + (license license:gpl3)))) + +(define-public cl-readline + (sbcl-package->cl-source-package sbcl-readline)) + +(define-public ecl-readline + (sbcl-package->ecl-package sbcl-readline)) base-commit: 35aaf1fe10488ae9ed732fb2c383d09a70c109c0 -- 2.25.1