X-Loop: help-debbugs@HIDDEN Subject: [bug#49942] [PATCH] gnu: Add shell-color-scripts Resent-From: phodina <phodina@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Sun, 08 Aug 2021 11:51:01 +0000 Resent-Message-ID: <handler.49942.B.16284234573736 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 49942 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49942 <at> debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@HIDDEN" <guix-patches@HIDDEN> Reply-To: phodina <phodina@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.16284234573736 (code B ref -1); Sun, 08 Aug 2021 11:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Aug 2021 11:50:57 +0000 Received: from localhost ([127.0.0.1]:53767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mChKN-0000y5-Us for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 07:50:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:34258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <phodina@HIDDEN>) id 1mChKJ-0000xv-Gy for submit <at> debbugs.gnu.org; Sun, 08 Aug 2021 07:50:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <phodina@HIDDEN>) id 1mChKI-0004lb-VF for guix-patches@HIDDEN; Sun, 08 Aug 2021 07:50:47 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:59209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <phodina@HIDDEN>) id 1mChKE-0001fL-TJ for guix-patches@HIDDEN; Sun, 08 Aug 2021 07:50:45 -0400 Date: Sun, 08 Aug 2021 11:50:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1628423439; bh=JnVJlG3muDgm8LDb6/w+mKUiV1zLAv6NWuYN3KLbJ+Y=; h=Date:To:From:Reply-To:Subject:From; b=AmOrxMvo4XEQ4fEZV+Itc0c9Nimx/yxMF09N4qF80etGHNNkqW7pabl3JPFa7AIJ3 TmZlSlDRVXwTvTVXTKwp1GQQbcl/m2C3HLqdBjEViM8Vy/g/ldviDqcPxhCHC5WNGz SGxspFKiWj7tZaHtJh+n3UAX4Us58z1y1n/TB2/M= From: phodina <phodina@HIDDEN> Message-ID: <j8v3TScCyT2ee_PoedHUN88Wwq32xEEoM11Asud9wWugE58sgw1tSxrWz7rtR9O-rJjZyZDk5xP7LkTJFLkwn8ZQgj9rFI75SGEsb8D3cw4=@protonmail.com> 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.40.22; envelope-from=phodina@HIDDEN; helo=mail2.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) * gnu/packages/terminals.scm (shell-color-scripts): New variable. diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 9377e5622b..c2028956fd 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -25,6 +25,7 @@ ;;; Copyright =C2=A9 2020 Leo Famulari <leo@HIDDEN> ;;; Copyright =C2=A9 2021 Ekaitz Zarraga <ekaitz@HIDDEN> ;;; Copyright =C2=A9 2021 Rapha=C3=ABl M=C3=A9lotte <raphael.melotte@mind.= be> +;;; Copyright =C2=A9 2021 Petr Hodina <phodina@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,6 +46,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system go) @@ -766,6 +768,36 @@ It's a terminal emulator with few dependencies, so you= don't need a full GNOME desktop installed to have a decent terminal emulator.") (license license:gpl2))) +(define-public shell-color-scripts + (package + (name "colorscript") + (version "3dbdfac24bb629238fdc3e1c8909e2c8577f8735") ; no tags + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/dwt1/shell-color-scripts") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0lkiz6fkrqryr1vh0lh067q7hp8ba8887pkk8caipqphjswp2z16")))) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("colorscript.sh" "bin/colorscript.sh") + ("colorscripts" "colorscripts")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-colorscipts-location + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "colorscript.sh" + (("/opt/shell-color-scripts/colorscripts") + (string-append (assoc-ref outputs "out") "/colorscripts")))= ))))) + (inputs `(("ncurses" ,ncurses))) + (synopsis "Collection of terminal color scripts") + (description "Collection of terminal color scripts") + (home-page "https://gitlab.com/dwt1/shell-color-scripts") + (license license:expat))) ; MIT + (define-public go-github.com-nsf-termbox-go (let ((commit "288510b9734e30e7966ec2f22b87c5f8e67345e3") (revision "1")) -- 2.32.0
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: phodina <phodina@HIDDEN> Subject: bug#49942: Acknowledgement ([PATCH] gnu: Add shell-color-scripts) Message-ID: <handler.49942.B.16284234573736.ack <at> debbugs.gnu.org> References: <j8v3TScCyT2ee_PoedHUN88Wwq32xEEoM11Asud9wWugE58sgw1tSxrWz7rtR9O-rJjZyZDk5xP7LkTJFLkwn8ZQgj9rFI75SGEsb8D3cw4=@protonmail.com> X-Gnu-PR-Message: ack 49942 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 49942 <at> debbugs.gnu.org Date: Sun, 08 Aug 2021 11:51:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 49942 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 49942: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49942 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: [bug#49942] Patch status References: <j8v3TScCyT2ee_PoedHUN88Wwq32xEEoM11Asud9wWugE58sgw1tSxrWz7rtR9O-rJjZyZDk5xP7LkTJFLkwn8ZQgj9rFI75SGEsb8D3cw4=@protonmail.com> In-Reply-To: <j8v3TScCyT2ee_PoedHUN88Wwq32xEEoM11Asud9wWugE58sgw1tSxrWz7rtR9O-rJjZyZDk5xP7LkTJFLkwn8ZQgj9rFI75SGEsb8D3cw4=@protonmail.com> Resent-From: phodina <phodina@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Sat, 18 Sep 2021 08:10:01 +0000 Resent-Message-ID: <handler.49942.B49942.163195256431199 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 49942 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "49942 <at> debbugs.gnu.org" <49942 <at> debbugs.gnu.org> Reply-To: phodina <phodina@HIDDEN> Received: via spool by 49942-submit <at> debbugs.gnu.org id=B49942.163195256431199 (code B ref 49942); Sat, 18 Sep 2021 08:10:01 +0000 Received: (at 49942) by debbugs.gnu.org; 18 Sep 2021 08:09:24 +0000 Received: from localhost ([127.0.0.1]:33485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mRVPX-000878-U0 for submit <at> debbugs.gnu.org; Sat, 18 Sep 2021 04:09:24 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:52567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <phodina@HIDDEN>) id 1mRVPV-00086r-EC for 49942 <at> debbugs.gnu.org; Sat, 18 Sep 2021 04:09:22 -0400 Date: Sat, 18 Sep 2021 08:09:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631952555; bh=s2gWxgS8jmLesrM+keUh1bhokP9MG2uPKM3i9oGYdAE=; h=Date:To:From:Reply-To:Subject:From; b=K4LOOzfukjrQthtA5guhvwLrwnRLs0RteR8N15GwGUuQgTzzkaL7j9ELuMlyhyyLc Xi46P7qqDpUMFC1bne69Vch1N9TI4S8KO3XGWFoaMLHMK/R5pj8VD3UQ9e9Iau5ZZM vtTuOpF/Qssg11x3xgDHzUElNDZWct2wjvf8EsZM= From: phodina <phodina@HIDDEN> Message-ID: <rXN_KFHHIhVD7i1DFAqfffLYODOAmIBUBsHXi_NkjnVeDLInIhYF7esDwSeaBsxiscg3UoHuUvND4PuwIHWzr5roOglA8wApPofqE9OdLTI=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_WAcxfH0hY7yPB6YmpbtcUgcBizbLlYR1hIhSZ1oGSI" 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,HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --b1_WAcxfH0hY7yPB6YmpbtcUgcBizbLlYR1hIhSZ1oGSI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 SGkhCklzIHRoZXJlIGFueXRoaW5nIHRvIGJlIGltcHJvdmVkIHRvIHVwc3RyZWFtIHRoaXMgcGF0 Y2g/ --b1_WAcxfH0hY7yPB6YmpbtcUgcBizbLlYR1hIhSZ1oGSI Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 PGRpdj48c3BhbiBzdHlsZT0iYm94LXNpemluZzogYm9yZGVyLWJveDsgbWFyZ2luOiAwcHg7IHBh ZGRpbmc6IDBweDsgYm9yZGVyOiAwcHg7IGZvbnQtc3R5bGU6IG5vcm1hbDsgZm9udC12YXJpYW50 LWxpZ2F0dXJlczogbm9ybWFsOyBmb250LXZhcmlhbnQtY2Fwczogbm9ybWFsOyBmb250LXZhcmlh bnQtbnVtZXJpYzogaW5oZXJpdDsgZm9udC12YXJpYW50LWVhc3QtYXNpYW46IGluaGVyaXQ7IGZv bnQtd2VpZ2h0OiA0MDA7IGZvbnQtc3RyZXRjaDogaW5oZXJpdDsgbGluZS1oZWlnaHQ6IGluaGVy aXQ7IHZlcnRpY2FsLWFsaWduOiBiYXNlbGluZTsgd2hpdGUtc3BhY2U6IHByZS13cmFwOyBkaXNw bGF5OiBibG9jazsgY29sb3I6IHJnYigzMywgMzcsIDQxKTsgbGV0dGVyLXNwYWNpbmc6IG5vcm1h bDsgb3JwaGFuczogMjsgdGV4dC1hbGlnbjogbGVmdDsgdGV4dC1pbmRlbnQ6IDBweDsgdGV4dC10 cmFuc2Zvcm06IG5vbmU7IHdpZG93czogMjsgd29yZC1zcGFjaW5nOiAwcHg7IC13ZWJraXQtdGV4 dC1zdHJva2Utd2lkdGg6IDBweDsgYmFja2dyb3VuZC1jb2xvcjogcmdiKDI1NSwgMjU1LCAyNTUp OyB0ZXh0LWRlY29yYXRpb24tdGhpY2tuZXNzOiBpbml0aWFsOyB0ZXh0LWRlY29yYXRpb24tc3R5 bGU6IGluaXRpYWw7IHRleHQtZGVjb3JhdGlvbi1jb2xvcjogaW5pdGlhbDsiIGNsYXNzPSJsaW5l Ij48c3BhbiBjbGFzcz0iZm9udCIgc3R5bGU9ImZvbnQtZmFtaWx5Om1vbm9zcGFjZSI+PHNwYW4g Y2xhc3M9InNpemUiIHN0eWxlPSJmb250LXNpemU6MTZweCI+SGkhPC9zcGFuPjwvc3Bhbj48L3Nw YW4+PGJyPjwvZGl2PjxkaXY+PHNwYW4gc3R5bGU9ImJveC1zaXppbmc6IGJvcmRlci1ib3g7IG1h cmdpbjogMHB4OyBwYWRkaW5nOiAwcHg7IGJvcmRlcjogMHB4OyBmb250LXN0eWxlOiBub3JtYWw7 IGZvbnQtdmFyaWFudC1saWdhdHVyZXM6IG5vcm1hbDsgZm9udC12YXJpYW50LWNhcHM6IG5vcm1h bDsgZm9udC12YXJpYW50LW51bWVyaWM6IGluaGVyaXQ7IGZvbnQtdmFyaWFudC1lYXN0LWFzaWFu OiBpbmhlcml0OyBmb250LXdlaWdodDogNDAwOyBmb250LXN0cmV0Y2g6IGluaGVyaXQ7IGxpbmUt aGVpZ2h0OiBpbmhlcml0OyB2ZXJ0aWNhbC1hbGlnbjogYmFzZWxpbmU7IHdoaXRlLXNwYWNlOiBw cmUtd3JhcDsgZGlzcGxheTogYmxvY2s7IGNvbG9yOiByZ2IoMzMsIDM3LCA0MSk7IGxldHRlci1z cGFjaW5nOiBub3JtYWw7IG9ycGhhbnM6IDI7IHRleHQtYWxpZ246IGxlZnQ7IHRleHQtaW5kZW50 OiAwcHg7IHRleHQtdHJhbnNmb3JtOiBub25lOyB3aWRvd3M6IDI7IHdvcmQtc3BhY2luZzogMHB4 OyAtd2Via2l0LXRleHQtc3Ryb2tlLXdpZHRoOiAwcHg7IGJhY2tncm91bmQtY29sb3I6IHJnYigy NTUsIDI1NSwgMjU1KTsgdGV4dC1kZWNvcmF0aW9uLXRoaWNrbmVzczogaW5pdGlhbDsgdGV4dC1k ZWNvcmF0aW9uLXN0eWxlOiBpbml0aWFsOyB0ZXh0LWRlY29yYXRpb24tY29sb3I6IGluaXRpYWw7 IiBjbGFzcz0ibGluZSI+PHNwYW4gY2xhc3M9ImZvbnQiIHN0eWxlPSJmb250LWZhbWlseTptb25v c3BhY2UiPjxzcGFuIGNsYXNzPSJzaXplIiBzdHlsZT0iZm9udC1zaXplOjE2cHgiPklzIHRoZXJl IGFueXRoaW5nIHRvIGJlIGltcHJvdmVkIHRvIHVwc3RyZWFtIHRoaXMgcGF0Y2g/PC9zcGFuPjwv c3Bhbj48L3NwYW4+PGJyPjwvZGl2Pg== --b1_WAcxfH0hY7yPB6YmpbtcUgcBizbLlYR1hIhSZ1oGSI--
X-Loop: help-debbugs@HIDDEN Subject: [bug#49942] [PATCH] gnu: Add shell-color-scripts Resent-From: Maxime Devos <maximedevos@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Sat, 18 Sep 2021 13:10:02 +0000 Resent-Message-ID: <handler.49942.B49942.16319705613130 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 49942 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: phodina <phodina@HIDDEN>, 49942 <at> debbugs.gnu.org Received: via spool by 49942-submit <at> debbugs.gnu.org id=B49942.16319705613130 (code B ref 49942); Sat, 18 Sep 2021 13:10:02 +0000 Received: (at 49942) by debbugs.gnu.org; 18 Sep 2021 13:09:21 +0000 Received: from localhost ([127.0.0.1]:33836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mRa5p-0000oQ-6v for submit <at> debbugs.gnu.org; Sat, 18 Sep 2021 09:09:21 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:48022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1mRa5l-0000oE-LG for 49942 <at> debbugs.gnu.org; Sat, 18 Sep 2021 09:09:20 -0400 Received: from butterfly.local ([213.119.235.61]) by andre.telenet-ops.be with bizsmtp id vR9E2500F1L9TAD01R9FVt; Sat, 18 Sep 2021 15:09:15 +0200 Message-ID: <975a441334b97bb04d18e2fc39f98d1cfffa5ccc.camel@HIDDEN> From: Maxime Devos <maximedevos@HIDDEN> Date: Sat, 18 Sep 2021 15:09:07 +0200 In-Reply-To: <j8v3TScCyT2ee_PoedHUN88Wwq32xEEoM11Asud9wWugE58sgw1tSxrWz7rtR9O-rJjZyZDk5xP7LkTJFLkwn8ZQgj9rFI75SGEsb8D3cw4=@protonmail.com> References: <j8v3TScCyT2ee_PoedHUN88Wwq32xEEoM11Asud9wWugE58sgw1tSxrWz7rtR9O-rJjZyZDk5xP7LkTJFLkwn8ZQgj9rFI75SGEsb8D3cw4=@protonmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-j8xeQhVxRf3evXxByNWO" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1631970556; bh=91iaajeZke+wmz4/56QSrBHKAmYpK7V53jrbx3rpWQQ=; h=Subject:From:To:Date:In-Reply-To:References; b=ZA8okmqkoIHdckm/HJaoRSyEClELI2CGBtOvKs/Du79uioy5ttW32nl5bBrYJ1erK aFlKcwnl59RaYZHI7ueHgXR82stwB1U57jqpzL0JsbpQ7vp3cf+UstYDaVdOvv98cf Jfthvwxpwd0dxmz3fkT5udGsXJvxS6CjTsftQjgrPJFz4f7Zecp42jdV+gofgo3WtA 5ZHCJjhZI4Uvhfiz4TrnRnfs3r/38UKykLlcwC4n8BCrXwKUNiUYl4XWnOwHe/m7pM 1DEPW7PY5n3BrtPHfcvvwQa6xXMyaiXoortm2TP4QSP/trQDChHEDubFPEteu5IvEt hc7uAF01fazzw== X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-j8xeQhVxRf3evXxByNWO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, > +(define-public shell-color-scripts > + (package > + (name "colorscript") > + (version "3dbdfac24bb629238fdc3e1c8909e2c8577f8735") ; no tags > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://gitlab.com/dwt1/shell-color-scripts") > + (commit version))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "0lkiz6fkrqryr1vh0lh067q7hp8ba8887pkk8caipqphjswp2z16")))) > + (build-system copy-build-system) > + (arguments > + `(#:install-plan '(("colorscript.sh" "bin/colorscript.sh") > + ("colorscripts" "colorscripts")) > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'fix-colorscipts-location > + (lambda* (#:key outputs #:allow-other-keys) > + (substitute* "colorscript.sh" > + (("/opt/shell-color-scripts/colorscripts") > + (string-append (assoc-ref outputs "out") "/colorscripts")= ))))))) > + (inputs `(("ncurses" ,ncurses))) Missing: 'awk', 'sed' and 'coreugils'. The colorscript.sh needs some =E2=80=98absolutification=E2=80=99, e.g. usin= g 'substitute*', to refer to awk, sed, tr, wc ... by their absolute path instead of using whatever is in the profile. Some script in =E2=80=98colorscripts=E2=80=99 may need changes as well > + (synopsis "Collection of terminal color scripts") > + (description "Collection of terminal color scripts") > + (home-page "https://gitlab.com/dwt1/shell-color-scripts") > + (license license:expat))) ; MIT "; MIT" isn't necessary, as license:expat is unambigious, whereas MIT is sometimes used for the X11 license and can theoretically refer to any license ever used by MIT. (Though in practice =E2=80=98the MI= T license=E2=80=99 either refers to the X11 or the expat license.) Greetings, Maxime --=-j8xeQhVxRf3evXxByNWO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYUXk9BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7nd7AP4uN4dHRnXPYsyp2Pr/3Mrfrygi sFQc4fYpLeITbbZVVgEA323KLu18QmzeGZpo3V26rYIJYD2aR93k1Tx3RoxEYAM= =YkUX -----END PGP SIGNATURE----- --=-j8xeQhVxRf3evXxByNWO--
X-Loop: help-debbugs@HIDDEN Subject: [bug#49942] [PATCH v2] gnu: Add shell-color-scripts. References: <j8v3TScCyT2ee_PoedHUN88Wwq32xEEoM11Asud9wWugE58sgw1tSxrWz7rtR9O-rJjZyZDk5xP7LkTJFLkwn8ZQgj9rFI75SGEsb8D3cw4=@protonmail.com> In-Reply-To: <j8v3TScCyT2ee_PoedHUN88Wwq32xEEoM11Asud9wWugE58sgw1tSxrWz7rtR9O-rJjZyZDk5xP7LkTJFLkwn8ZQgj9rFI75SGEsb8D3cw4=@protonmail.com> Resent-From: phodina <phodina@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Sat, 18 Sep 2021 14:11:02 +0000 Resent-Message-ID: <handler.49942.B49942.163197423911691 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 49942 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos <maximedevos@HIDDEN> Cc: 49942 <at> debbugs.gnu.org Reply-To: phodina <phodina@HIDDEN> Received: via spool by 49942-submit <at> debbugs.gnu.org id=B49942.163197423911691 (code B ref 49942); Sat, 18 Sep 2021 14:11:02 +0000 Received: (at 49942) by debbugs.gnu.org; 18 Sep 2021 14:10:39 +0000 Received: from localhost ([127.0.0.1]:36353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mRb35-00032R-AZ for submit <at> debbugs.gnu.org; Sat, 18 Sep 2021 10:10:39 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:27619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <phodina@HIDDEN>) id 1mRb31-000327-Em for 49942 <at> debbugs.gnu.org; Sat, 18 Sep 2021 10:10:33 -0400 Date: Sat, 18 Sep 2021 14:10:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631974224; bh=/jWvDv3ZNZQBGv/1vl+ygibVyUUyEYvpUSCc+mzOvrw=; h=Date:To:From:Cc:Reply-To:Subject:From; b=BQxqHtwReK/gYHdwXL9Z9tJbL/ktn6NTr+bGF6xmi1t5YdlaoJgfD9JiDc6Q0pR8n 98nnVEJyW6X4Ra+gt/5nClXkgcWyz8EuHwsk5AHtlI5NFzKJhdZMHEoOkg6+YurCbs untfy0vYfMufOce49uIfQ5Nc070j+mADNq5wqyIE= From: phodina <phodina@HIDDEN> Message-ID: <8r1GXqISfNJpN9TzGPo7yBAkgpq6gthRXhZYLjQkU-kWQkNvdsDZ-uXem9rTlugAAVzJLZ9zzmeaBioQzUdY8GSN1o3Tu3pwlofd6ccxTD4=@protonmail.com> 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 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Maxime, thanks for hints on improvements! --8<---------------cut here---------------start------------->8-- * gnu/packages/terminals.scm (shell-color-scripts): New variable. diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index de9bec9e66..d7e3199606 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -27,6 +27,7 @@ ;;; Copyright =C2=A9 2021 Rapha=C3=ABl M=C3=A9lotte <raphael.melotte@mind.= be> ;;; Copyright =C2=A9 2021 ikasero <ahmed@HIDDEN> ;;; Copyright =C2=A9 2021 Brice Waegeneire <brice@HIDDEN> +;;; Copyright =C2=A9 2021 Petr Hodina <phodina@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -47,6 +48,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system go) @@ -58,6 +60,7 @@ #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages autotools) + #:use-module (gnu packages base) #:use-module (gnu packages build-tools) ;for meson-0.55 #:use-module (gnu packages check) #:use-module (gnu packages cmake) @@ -69,6 +72,7 @@ #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages fribidi) + #:use-module (gnu packages gawk) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) @@ -810,6 +814,57 @@ It's a terminal emulator with few dependencies, so you= don't need a full GNOME desktop installed to have a decent terminal emulator.") (license license:gpl2))) +(define-public shell-color-scripts + (let ((commit "3dbdfac24bb629238fdc3e1c8909e2c8577f8735") + (revision "1")) + (package + (name "colorscript") + (version commit) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/dwt1/shell-color-scripts") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0lkiz6fkrqryr1vh0lh067q7hp8ba8887pkk8caipqphjswp2z16"))= )) + (build-system copy-build-system) + (arguments + `(#:install-plan '(("colorscript.sh" "bin/colorscript.sh") + ("colorscripts" "colorscripts")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-colorscipts-location + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "colorscript.sh" + (("/opt/shell-color-scripts/colorscripts") + (string-append (assoc-ref outputs "out") "/colorscripts"= )) + (("sed") (string-append + (assoc-ref %build-inputs "sed") "/bin/sed")) + (("awk") (string-append + (assoc-ref %build-inputs "gawk") "/bin/awk")) + (("wc") (string-append + (assoc-ref %build-inputs "coreutils") "/bin/wc"= )) + (("nl") (string-append + (assoc-ref %build-inputs "coreutils") "/bin/nl"= )) + (("cut") (string-append + (assoc-ref %build-inputs "coreutils") "/bin/cu= t")) + (("echo") (string-append + (assoc-ref %build-inputs "coreutils") "/bin/ec= ho")) + (("printf") (string-append + (assoc-ref %build-inputs "coreutils") "/bin/printf")) + (("tr") (string-append + (assoc-ref %build-inputs "coreutils") "/bin/tr")))))))= ) + (inputs `(("ncurses" ,ncurses) + ("gawk" ,gawk) + ("sed" ,sed) + ("coreutils" ,coreutils))) + (synopsis "Collection of terminal color scripts") + (description "Collection of terminal color scripts") + (home-page "https://gitlab.com/dwt1/shell-color-scripts") + (license license:expat)))) + (define-public go-github.com-nsf-termbox-go (let ((commit "288510b9734e30e7966ec2f22b87c5f8e67345e3") (revision "1")) -- 2.32.0
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.