From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8GKUIMiWlGHY4AAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 06:44:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CAy3G8iWlGFLNQAAB5/wlQ (envelope-from ) for ; Wed, 17 Nov 2021 05:44:40 +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 35F05AD66 for ; Wed, 17 Nov 2021 06:44:40 +0100 (CET) Received: from localhost ([::1]:60246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnDkN-0007gs-CU for larch@yhetil.org; Wed, 17 Nov 2021 00:44:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnDjn-0007fn-1q for guix-patches@gnu.org; Wed, 17 Nov 2021 00:44:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnDjm-0003Pm-Kd for guix-patches@gnu.org; Wed, 17 Nov 2021 00:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnDjm-0004Qx-IS for guix-patches@gnu.org; Wed, 17 Nov 2021 00:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51908] [PATCH] gnu: Add cl-terminal-size. Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Nov 2021 05:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51908 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51908@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163712778716900 (code B ref -1); Wed, 17 Nov 2021 05:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Nov 2021 05:43:07 +0000 Received: from localhost ([127.0.0.1]:59706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnDit-0004OU-6F for submit@debbugs.gnu.org; Wed, 17 Nov 2021 00:43:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:60820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnDir-0004OG-Pe for submit@debbugs.gnu.org; Wed, 17 Nov 2021 00:43:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnDir-0006j9-8h for guix-patches@gnu.org; Wed, 17 Nov 2021 00:43:05 -0500 Received: from mail-psaapc01olkn2097.outbound.protection.outlook.com ([40.92.52.97]:32097 helo=APC01-PSA-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 1mnDio-0003Hk-Vq for guix-patches@gnu.org; Wed, 17 Nov 2021 00:43:04 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EPHN11QRQ5QYwAieVRivnTaB4K9wyhbASFyRMQgBnmPBN7ZkGWUTMhS7H4fgX+x3QgCVIgfstrfQic41MfHW00+FrkccVXxhsdLpHT2+VmX5NSGyEGzIjrnai3J+bWZLF30UvlR02sFmSBiIob+YHYUimyeoafFSHNnTiplVTU6PnWNRy5BPTYwxPexRHGFhGhOigZ1agRH4+aUjKK/hgdM19GsccM3QU6XaO9MBu5w049yflicf9oMaURg76EFjckhds25HiZezWv2Ky1UDKxbeSJ4513hyE+9NglXPTOcQmhTmuKe6FAwb45tMIllkxIUQ3+un165ma9jUyLIf4A== 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=LGDFTDwCWUNkJQnMMz6zbKDayrJKN1QYs+iWKEtGu84=; b=Yj3eCoc898bFFSoWB/FCGwNSqDJ/d0JE4PzCUI5Q8SGZIwivuVAz6SB0nONiPwBjEAlsUSslFd9zBdHDD0P3SRGJuoorrO+osMcAkvrZaCXWakIG33b2qEn97FXk1RBjPO45sh28avXIRY9oWXlZnzepceKh9a6GM6v5wFfmwtxQkmNs245MDYazmDU6zMm5rabrl0xAiZFcyKt1XWj/BpuRYbZMAAFViyxtYMKGJMpfqGAnKI5y2UrbiLc06IwNyCEmlqR94UEGg2/0IusYEpMdebKYq4kbY7Q3rDj/awqHPWhoRqTI5DBUB8KamcivYwCML/POwBRLdB64SjbLQA== 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=LGDFTDwCWUNkJQnMMz6zbKDayrJKN1QYs+iWKEtGu84=; b=lzvUBLqccbx04IxiQWfv0XkHstUFQX93hUtE3tbOB+DqG1nFR3mTvjPeOBDz8xdJYKffKcRU4NB1cumF2Y/BeBzRUFZohty4bEFvoJkDqupXMP0CO5tioPVFi/C99USo+P6cOgxACwiz71hZvZO+/w1wB7Fd5o6sbZXhBiyNNHsoI8EM0chLXLpytnfU824CzT/AKMco0aybeVeLo2DtJgIFWMXHaaLWcqQ23P+diNokLwS2ycjepmP2JtZv19MV2j5NEAnzf3YZ7Nt0TBWvJXgpvxhm9NEOlJuP/iu61CRRc0vUb4q8qdnKfRK8QSBjgya1tcjk4zCeZM1sgiUbTg== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PSAPR01MB3813.apcprd01.prod.exchangelabs.com (2603:1096:301:4c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Wed, 17 Nov 2021 05:42:52 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee%7]) with mapi id 15.20.4690.027; Wed, 17 Nov 2021 05:42:51 +0000 Date: Wed, 17 Nov 2021 05:42:48 +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: [XbALCzTPU8DgL678SrF7x/4Yv2ogTnxZ] X-ClientProxiedBy: SI2P153CA0028.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::9) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211117054248.l4evdq3llqh7u3x2@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (202.160.33.53) by SI2P153CA0028.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.5 via Frontend Transport; Wed, 17 Nov 2021 05:42:51 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ee851bb1-6601-4c3d-127f-08d9a98d1885 X-MS-TrafficTypeDiagnostic: PSAPR01MB3813: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e3akkajAPiFv07ah9hLz7oY+G9vpZjW4JNtaD1tva0/cStMq6i3pIJOXAK31ELaMPMYcZp8D7duRqESFTuDs46o4VijTA5EBPr1A/7d5E5otErJ793uhcoKTl+rtbr4Pd3KmLc/p6sEGe/Y99niV00d3AHmgDQiJ8M8XJA6rW8+SeyE8gVWLkwmxotnApBUdWTC+Rq0agntfwz1Hc5mEu0H5z2P63sPf51TqlFFUpbgid6VdiUju532/+MlyL5YJVcVSGdqvArEeXiDobLD0YRch4cvOsqiuq2XufirVFwrNh5SGSW+CSezombDci1SnOwfVHrjpZHlS9ejxwXsNThSqCa6B44LlixSxIW4rdsx09KzbVA5rGEbwqgx3O1jDT7ru1xC+AhrfIJ1r7qQ6FbdCLc7riX7924wdB6/uJJPqIA0or0leR4dMA9sTORWo2ADuiibuQGUuI0eMrJnbSz4Zy0KuhwmHdGHc7x6f+lydAKqOnshYySHVSwWaBfVwPlhKe2SZ/yzpjuECGgzOCj6+t47DRheKSuLVb7aY/RrxmvDEUh/t+QD/go7H3Ks1PJZRG1oCZUfALWZDZf1+yA== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yVAERjjxfHS9vbUqXVr+4Yz01dPEdSj0RYjY1w60sGlFOswjxFSqEF7Bufpu8FEQlLVi1v0qI+YLscx/93lXGwddnGqc2xdyePpbGIe7poerlqUVSl79mKMd2LcwyHyyu32Zf4UZQvnH3fUDjgycCSQGxwD6tWSa6YgJ0mI2JXXVsGFBw6OCfExTfaxP/MqGar+EsK5VZX2afNtF3XXEMTThV5p0scnl6dY91nVcGonfVYq9y9K0GInUGHuGdAJNc/Qutanj5KSKBwWUQNgWtSDWW/TRwcyI7kpVemsEACrVaU8ofYj4Gjyboz4WKhxA2q0GOV6AxoiM8ZHp+hiHj7l5b0Yae5r0uAY6n2lvqTByI2i4THfrjI8SLmXoQWUxvxE94WGAIF//9A9o3ilCn7gm0sc66dLM4O7v1iKbmHfggIA7KNrJT+vb1hHTqog0ktdm5n7sx6NHJCiOgDx97vDZgdaNNn/cSEODmDvPx2zc6w+6rqSnsr1+oNmxB8axxQbvzb658ACDf1t5BkNtQFm5/BvN3hX5c3sP2mmir/OosHnckmWnZuOa7SxdkniMEEgj1U9f8lw6L3pnD6XmEphYf8ttm1VtjSh8W0KHBtfcvByYXLUPlBtOj3j1Nrl7zNtyjEA21i/xfMqEn9h/syQsNck76qEbbE+KtG7yyMkV2ky5dnX4UWmkyTBcc8vQMkjXIufX+UCrLUiLeaPu6Q== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-5c337.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: ee851bb1-6601-4c3d-127f-08d9a98d1885 X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2021 05:42:51.8831 (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: PSAPR01MB3813 Received-SPF: pass client-ip=40.92.52.97; envelope-from=chuanwei.foo@hotmail.com; helo=APC01-PSA-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_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 X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637127880; 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=LGDFTDwCWUNkJQnMMz6zbKDayrJKN1QYs+iWKEtGu84=; b=f42iLPteaelOeA+CPUuAtJSqLRpz4rTPk9v2a0puLWKuo3w1vRcEeBuP+2XuvwfZBdmty2 k+ozi87XjY3MUpwVNsEM79QIg7J/OF0k8FNHSjtLaYWSzsu1Bsyhk5XXthynxRzKJ/C9NW PVBUh7js50n4+UZF6DnpHu/MfhU28R1QSm+x8h+6iDQIpHhvoQYSYKjl5kI3rGopnjAZdU cbc0o5c0SeZA2Qp4OoX+SGB7xcqNMGS2mP96OQRK0KYxLgdhSQX/KXSZEc80uai11BJNp9 FFUc/tQxYREfoD9z+yBfl6Wr1NrjYeIHg8zNp8oUTZazh53d5Vm/Khgh/T/y6w== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1637127880; a=rsa-sha256; cv=fail; b=n3lrLE5U3lEL7c0OlstfrqxRyQvPUpZnPPdEATC9+rsjxBrXJs6OPNk88MmUdirrUzcckD 3Aa4vd2lTtyuMCIDXEe64dB5BnH15qfv3Gs1d1c2EgbrC5EGUYtzuZxHW4ZbHBm/wpK+mS 1HDhKLlbgnWQ9pb7Cz7MG3CW3YNLLg06scjxhk9VnWJCfV95fjpxOsMWgOCQWxkmNZDvaq JUAl9SBCuLZ8mDoWtLV0FsqEPnfi0lm+ISQFGvgxlH1iJK/4/nHLU5bkzyQIptpBNrdW6S HggyaGLOgiSljhICAkEbuJqnnmdkboVoWxiW1anS7eSkMZr9FET68EpYUnqa9Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=lzvUBLqc; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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" X-Migadu-Spam-Score: -1.05 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=lzvUBLqc; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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" X-Migadu-Queue-Id: 35F05AD66 X-Spam-Score: -1.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: Hs8STQlFqmV6 * gnu/packages/lisp-xyz.scm (cl-terminal-size, ecl-terminal-size, sbcl-terminal-size): New variables. --- gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 4b17c173c9..9fef9ed153 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -18347,6 +18347,39 @@ tasks in Common Lisp. It is fork of SWANK-BACKEND.") (define-public ecl-conium (sbcl-package->ecl-package sbcl-conium)) +(define-public sbcl-terminal-size + (let ((commit "e0b3d56a9dd3366baf2a05d84381da5747a2ef4a") + (revision "1")) + (package + (name "sbcl-terminal-size") + (version (git-version "0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eudoxia0/terminal-size") + (commit commit))) + (file-name (git-file-name "cl-terminal-size" version)) + (sha256 + (base32 "1212wbadms9jzrqgarpj3d9xh9w4dab8jhx4k2aryqgf116zs42h")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("cffi" ,sbcl-cffi) + ("osicat" ,sbcl-osicat))) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (home-page "https://github.com/eudoxia0/terminal-size") + (synopsis "Get the size of the terminal from Common Lisp") + (description + "Get the size of the terminal using @{(terminal-size:size)}.") + (license license:expat)))) + +(define-public cl-terminal-size + (sbcl-package->cl-source-package sbcl-terminal-size)) + +(define-public ecl-terminal-size + (sbcl-package->ecl-package sbcl-terminal-size)) + (define-public sbcl-cl-readline (let ((commit "8438c9ebd92ccc95ebab9cc9cbe6c72d44fccc58") (revision "1")) base-commit: 02a67810e566e8402e0b927c81ae39391762767d -- 2.25.1