From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 10 08:42:21 2021 Received: (at submit) by debbugs.gnu.org; 10 Nov 2021 13:42:21 +0000 Received: from localhost ([127.0.0.1]:37387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mknrl-0006U7-HJ for submit@debbugs.gnu.org; Wed, 10 Nov 2021 08:42:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:55410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mknrd-0006Th-AW for submit@debbugs.gnu.org; Wed, 10 Nov 2021 08:42:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mknrY-0003Zh-MR for guix-patches@gnu.org; Wed, 10 Nov 2021 08:42:05 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:29075) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mknrW-0003nh-1L for guix-patches@gnu.org; Wed, 10 Nov 2021 08:42:04 -0500 Date: Wed, 10 Nov 2021 13:41:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636551718; bh=bdv1l3U3Wti2vwoKyM6GKwtgmRchOyfxGpL9beb91OE=; h=Date:To:From:Cc:Reply-To:Subject:From; b=KUb6kicurLL2tn0oryZOO6AZ27qxZp8rkJz6WfLZ1MFODzG3MyMt+CbnSZDzS7/ah 1Yh0J6hMEAoZ0DhIZgjQ+pwQRMtZMDx66dj2OMNK3m3Cf/thlNDqEad/7FAGPZpuK+ 5CaR3IvartVsJjsL+SsirUWgml9quX/vw6pztWyY= To: Nicolas Goaziou From: phodina Subject: [PATCH v2] gnu: Add mtm. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.43.16; envelope-from=phodina@protonmail.com; helo=mail-4316.protonmail.ch 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.3 (++) 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: Hi Nicolas, here's updated patch. The mtm package is placed in terminals.scm with the suggestions you mentioned above. --- Kind regards Petr Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (phodina[at]protonmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] 1.3 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit Cc: "45130@debbugs.gnu.org" <45130@debbugs.gnu.org>, phodina via Guix-patches via 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: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Nicolas, here's updated patch. The mtm package is placed in terminals.scm with the s= uggestions you mentioned above. --- Kind regards Petr * gnu/packages/terminals.scm (mtm): New variable. diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 8d751f6cce..b2c214275e 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -23,11 +23,13 @@ ;;; Copyright =C2=A9 2020, 2021 Marius Bakke ;;; Copyright =C2=A9 2020, 2021 Nicolas Goaziou ;;; Copyright =C2=A9 2020 Leo Famulari +;;; Copyright @ 2020 luhux ;;; Copyright =C2=A9 2021 Ekaitz Zarraga ;;; Copyright =C2=A9 2021 Rapha=C3=ABl M=C3=A9lotte ;;; Copyright =C2=A9 2021 ikasero ;;; Copyright =C2=A9 2021 Brice Waegeneire ;;; Copyright =C2=A9 2021 Solene Rapenne +;;; Copyright =C2=A9 2021 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -424,6 +426,64 @@ (define-public mlterm Vietnamese, and bi-directional scripts like Arabic and Hebrew.") (license license:bsd-3))) +(define-public mtm + (package + (name "mtm") + (version "1.2.1") + (source + (origin + (uri (git-reference + (url "https://github.com/deadpixi/mtm") + (commit version))) + (method git-fetch) + (sha256 + (base32 "0gibrvah059z37jvn1qs4b6kvd4ivk2mfihmcpgx1vz6yg70zghv")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (inputs + `(("ncurses" ,ncurses))) + (arguments + `(#:tests? #f ; no tests + #:make-flags + (list (string-append "CC=3D" ,(cc-for-target)) + (string-append "DESTDIR=3D" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (add-before 'build 'fix-headers + (lambda _ + (substitute* "config.def.h" + (("ncursesw/curses.h") + "curses.h")))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + ;; install binary + (mkdir-p (string-append out "bin/")) + (install-file "mtm" (string-append out "/bin")) + ;; install manpage + (mkdir-p (string-append out "share/man/man1")) + (install-file "mtm.1" (string-append out "/share/man/man1")= ) + ;; install terminfo + (mkdir-p (string-append out "share/terminfo")) + (invoke (string-append (assoc-ref inputs "ncurses") "/bin/t= ic") + "-x" "-s" "-o" + (string-append + out "/share/terminfo") + "mtm.ti")))) + (delete 'configure)))) ; no configure script + ;; FIXME: This should only be located in 'ncurses'. Nonetheless it is + ;; provided for usability reasons. See . + (native-search-paths + (list (search-path-specification + (variable "TERMINFO_DIRS") + (files '("share/terminfo"))))) + (home-page "https://github.com/deadpixi/mtm") + (synopsis "Micro Terminal Multiplexer") + (description + "This package provides multiplexer for the terminal focused on simpli= city, +compatibility, size and stability.") + (license license:gpl3+))) + (define-public picocom (package (name "picocom") -- 2.33.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 15 05:28:15 2021 Received: (at submit) by debbugs.gnu.org; 15 Nov 2021 10:28:15 +0000 Received: from localhost ([127.0.0.1]:52702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmZDj-0006y5-CW for submit@debbugs.gnu.org; Mon, 15 Nov 2021 05:28:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:52008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmZDh-0006xv-KP for submit@debbugs.gnu.org; Mon, 15 Nov 2021 05:28:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmZDh-0006W9-Ca for guix-patches@gnu.org; Mon, 15 Nov 2021 05:28:13 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:58237) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmZDe-0000wr-TY for guix-patches@gnu.org; Mon, 15 Nov 2021 05:28:13 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 13239200006; Mon, 15 Nov 2021 10:28:07 +0000 (UTC) From: Nicolas Goaziou To: phodina via Guix-patches via Subject: Re: [bug#51752] [PATCH v2] gnu: Add mtm. References: Date: Mon, 15 Nov 2021 11:27:58 +0100 In-Reply-To: (phodina via Guix-patches via's message of "Wed, 10 Nov 2021 13:41:57 +0000") Message-ID: <87ilwtiuhd.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.232; envelope-from=mail@nicolasgoaziou.fr; helo=relay12.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: 45130-done@debbugs.gnu.org, phodina , 51752-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: -2.6 (--) Hello, phodina via Guix-patches via writes: > here's updated patch. The mtm package is placed in terminals.scm with > the suggestions you mentioned above. Thank you. I applied it with the minor modifications below. > + (build-system gnu-build-system) > + (inputs > + `(("ncurses" ,ncurses))) I moved inputs field after arguments. > + (license license:gpl3+))) I added bsd-3 for vtparser.c Regards, -- Nicolas Goaziou From unknown Fri Aug 15 21:23:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 13 Dec 2021 12:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator