From patchwork Wed Dec 28 15:17:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhu Zihao X-Patchwork-Id: 45627 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 338D527BBE9; Wed, 28 Dec 2022 15:19:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 32A5F27BBEB for ; Wed, 28 Dec 2022 15:19:32 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAYCw-0006lL-15; Wed, 28 Dec 2022 10:19:06 -0500 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 1pAYCs-0006ks-Mb for guix-patches@gnu.org; Wed, 28 Dec 2022 10:19:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAYCs-0003Fl-Et for guix-patches@gnu.org; Wed, 28 Dec 2022 10:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAYCr-0005kr-OD for guix-patches@gnu.org; Wed, 28 Dec 2022 10:19:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60380] [PATCH] gnu: Add emacs-eat. Resent-From: Zhu Zihao Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 28 Dec 2022 15:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60380 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60380@debbugs.gnu.org Cc: Zhu Zihao X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167224068322037 (code B ref -1); Wed, 28 Dec 2022 15:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Dec 2022 15:18:03 +0000 Received: from localhost ([127.0.0.1]:58448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAYBv-0005jN-DX for submit@debbugs.gnu.org; Wed, 28 Dec 2022 10:18:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:54382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAYBs-0005ix-Ix for submit@debbugs.gnu.org; Wed, 28 Dec 2022 10:18:02 -0500 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 1pAYBr-0006c5-JQ for guix-patches@gnu.org; Wed, 28 Dec 2022 10:18:00 -0500 Received: from m12.mail.163.com ([220.181.12.217]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAYBo-0001to-E9 for guix-patches@gnu.org; Wed, 28 Dec 2022 10:17:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version: Content-Type; bh=QmAieMpC+1xWPT4wOGZxGG92RErGPdrNXGMjyywdccc=; b=YUgkO1h7Vsuy0+7r83q/RG/Ulkb2W7SqvdZa5myc3ynVnQZQ1vnljRp5n1eZQf 5zPlyJDehB09xveuk2QOVtbfE0zVaJ90VrFzb70bePVhXyJ/HswSnCrqRqKJZRpb gbmRAFVA9PTMEVvuBT1w7v/3Qz7DkDwyE8BgoRn2FU4/A= Received: from localhost.localdomain (unknown [113.102.100.145]) by zwqz-smtp-mta-g0-1 (Coremail) with SMTP id _____wCHI2UKXqxjkeF1AA--.32482S2; Wed, 28 Dec 2022 23:17:33 +0800 (CST) From: Zhu Zihao Date: Wed, 28 Dec 2022 23:17:28 +0800 Message-Id: <20221228151728.17015-1-all_but_last@163.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-CM-TRANSID: _____wCHI2UKXqxjkeF1AA--.32482S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7Zr4Dtr1rWw47JF43Cw13XFb_yoW5Jr15pw 1rKw4ak3W5C3WxGa93XF4UJwn0qa1Sg347CwsIvw4Fyw4agr40qrWjqrWrAF9rAr48A3y8 Za1kt345WF48JFJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JU3WrJUUUUU= X-Originating-IP: [113.102.100.145] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBaxXlr1et7Siv2QAAs9 Received-SPF: pass client-ip=220.181.12.217; envelope-from=all_but_last@163.com; helo=m12.mail.163.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, SPF_HELO_NONE=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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-eat): New variable. --- gnu/packages/emacs-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8b0bb58275..9765ca2bbf 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -81,7 +81,7 @@ ;;; Copyright © 2020, 2021, 2022 Niklas Eklund ;;; Copyright © 2020 Marco Grassi ;;; Copyright © 2020 Tomás Ortín Fernández -;;; Copyright © 2020, 2021 Zhu Zihao +;;; Copyright © 2020, 2021, 2022 Zhu Zihao ;;; Copyright © 2020 Adam Kandur ;;; Copyright © 2020 Tim Howes ;;; Copyright © 2020 Noah Landis @@ -26592,6 +26592,52 @@ (define-public emacs-navigel tabulated-lists).") (license license:gpl3+))) +(define-public emacs-eat + (package + (name "emacs-eat") + (version "0.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://codeberg.org/akib/emacs-eat") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ha9qc8ll41bc187vzpnnwb06jywvfzh7kxy4rfcdj6dc21wvb87")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Remove generated terminfo database. + (delete-file-recursively "terminfo") + #t)))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #t + #:include #~(cons* "^term/" + "^terminfo/" + "^integration/" + "\\.ti$" + %default-include) + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'build-info + (lambda _ + (invoke "make" "info"))) + (add-before 'install 'build-terminfo-database + (lambda _ + (invoke "make" "terminfo")))))) + (native-inputs + (list ncurses texinfo)) + (home-page "https://codeberg.org/akib/emacs-eat") + (synopsis "Terminal emulator in Emacs") + (description + "This package provides a terminal emulator in Emacs, written in pure +Elisp. It has features like complete mouse support and shell integration.") + (license license:gpl3+))) + (define-public emacs-vterm (let ((version "0.0.1") (revision "1")