From unknown Sat Sep 06 02:03:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#30353 <30353@debbugs.gnu.org> To: bug#30353 <30353@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add colormake. Reply-To: bug#30353 <30353@debbugs.gnu.org> Date: Sat, 06 Sep 2025 09:03:50 +0000 retitle 30353 [PATCH] gnu: Add colormake. reassign 30353 guix-patches submitter 30353 Oleg Pykhalov severity 30353 normal tag 30353 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 01:31:13 2018 Received: (at submit) by debbugs.gnu.org; 5 Feb 2018 06:31:13 +0000 Received: from localhost ([127.0.0.1]:57621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eiaJ3-0000dG-3W for submit@debbugs.gnu.org; Mon, 05 Feb 2018 01:31:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eiaIz-0000ck-0u for submit@debbugs.gnu.org; Mon, 05 Feb 2018 01:31:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiaIs-0001oP-El for submit@debbugs.gnu.org; Mon, 05 Feb 2018 01:30:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eiaIs-0001oL-BM for submit@debbugs.gnu.org; Mon, 05 Feb 2018 01:30:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiaIq-00033o-Jq for guix-patches@gnu.org; Mon, 05 Feb 2018 01:30:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiaIn-0001me-2U for guix-patches@gnu.org; Mon, 05 Feb 2018 01:30:56 -0500 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:34588) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eiaIm-0001m6-M2 for guix-patches@gnu.org; Mon, 05 Feb 2018 01:30:52 -0500 Received: by mail-lf0-x236.google.com with SMTP id k19so40166969lfj.1 for ; Sun, 04 Feb 2018 22:30:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xwdAVNFuqXQtCVR/+dG15fwnA6Gq5zcgXq3tzQn0woQ=; b=gLbko3ZCOPDoYBpg6SCHqTdtQl2ySjUWAyFKO2+1lDgULvi1KMcm1/pfrJJOwXEUih C8Dk8tsdT2l3Brju2GR6k9RPBE8Has8181Jk+3ZN+9o9LV38darCcejH6Khx4SqESmWv iWxFN+2UsILHzg6Q+gQaIgXs2HLv6eA6Su/RlLjZU6pvRgbC0G78YDJYJx/Z3nbTPKM7 G5d28TRKS53woedH5HBPmk0UEftZb/fK/X7PBAb9tfMK28+UK4snSy6VQPVDKkaJv3hC 7IETD4khx4dieD0jN6cL7IECVKa49J/zeqV2scKnIG2dlC70o4pm2uOCHu2ozpz/Q3OC HnoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xwdAVNFuqXQtCVR/+dG15fwnA6Gq5zcgXq3tzQn0woQ=; b=YNmgMlab/mfTzvsY5Mg5FKBvd9ddtdgYZTnUl6Bcuim+N2q4yVHfbI5wOzb7hwOMUn wk8qhZ07gGZ8cTjHLWx++PJa9n4xqzaJS79W9ndOD+30JB3zkAwrPWYvdDvQljz7Qt4N iZpw/lnAN1ceAV1ZOEWRYfuQ3FdNJVuXfdPSKOKyhznPrs8EKKSJz7qQ/a6CtcgSJlyZ DtYTNRjLtzfcwYbxu6kuBZhQJTA+xbC9yqGUJrN65kyCh3JulwIMp+Bk+ruJJH4rjf9Y e0mS7ALI55q/OT7tJRNNNDAwWHgNtsGWlMalwz7+eaph1kjZfN2fQo/t1p8j8ac5zILH N0RQ== X-Gm-Message-State: AKwxyteHIZwLx9KyEpDtg2Yr6OI2voLiyz29cz2OEDOQNwsARBauQx45 f6Zo/sGUGPIE9HgyJU7wy+NT7w== X-Google-Smtp-Source: AH8x225mE9R6ANvX1fdoJJf9pvBaQZfdyWk23cV3VvROt4QdRzvuWlihYx/3EcbykOF8fUWOm4rI0g== X-Received: by 10.25.18.208 with SMTP id 77mr29336670lfs.63.1517812250412; Sun, 04 Feb 2018 22:30:50 -0800 (PST) Received: from localhost.localdomain (92-100-138-76.dynamic.avangarddsl.ru. [92.100.138.76]) by smtp.gmail.com with ESMTPSA id a189sm1708291lfb.32.2018.02.04.22.30.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Feb 2018 22:30:49 -0800 (PST) From: Oleg Pykhalov To: guix-patches@gnu.org Subject: [PATCH] gnu: Add colormake. Date: Mon, 5 Feb 2018 09:30:21 +0300 Message-Id: <20180205063021.20989-1-go.wigust@gmail.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: Oleg Pykhalov 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: -4.0 (----) * gnu/packages/colorize.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add this. --- gnu/local.mk | 1 + gnu/packages/colorize.scm | 83 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 gnu/packages/colorize.scm diff --git a/gnu/local.mk b/gnu/local.mk index 6fdea16c8..b8c860bc2 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -102,6 +102,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/conkeror.scm \ %D%/packages/conky.scm \ %D%/packages/connman.scm \ + %D%/packages/colorize.scm \ %D%/packages/cook.scm \ %D%/packages/cpio.scm \ %D%/packages/cpp.scm \ diff --git a/gnu/packages/colorize.scm b/gnu/packages/colorize.scm new file mode 100644 index 000000000..75e47d9a8 --- /dev/null +++ b/gnu/packages/colorize.scm @@ -0,0 +1,83 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Oleg Pykhalov +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages colorize) + #:use-module (gnu packages base) + #:use-module (gnu packages bash) + #:use-module (gnu packages compression) + #:use-module (gnu packages perl) + #:use-module (gnu packages) + #:use-module (guix build-system trivial) + #:use-module (guix download) + #:use-module (guix licenses) + #:use-module (guix packages)) + +(define-public colormake + (package + (name "colormake") + (version "0.9.20140503") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/pagekite/Colormake/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08ldss9zd8ls6bjahvxhffpsjcysifr720yf3jz9db2mlklzmyd3")))) + (build-system trivial-build-system) + (native-inputs + `(("bash" ,bash) + ("gzip" ,gzip) + ("perl" ,perl) + ("tar" ,tar))) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + ;; bootstrap + (setenv "PATH" (string-append + (assoc-ref %build-inputs "tar") "/bin" ":" + (assoc-ref %build-inputs "gzip") "/bin")) + (invoke "tar" "xvf" (assoc-ref %build-inputs "source")) + (chdir (string-append (string-capitalize ,name) "-" ,version)) + (patch-shebang "colormake.pl" + (list (string-append (assoc-ref %build-inputs "perl") + "/bin"))) + (let* ((out (assoc-ref %outputs "out")) + (bin (string-append out "/bin")) + (doc (string-append out "/share/doc")) + (install-files (lambda (files directory) + (for-each (lambda (file) + (install-file file directory)) + files)))) + (substitute* "colormake" + (("colormake\\.pl") (string-append bin "/colormake.pl")) + (("/bin/bash") + (string-append (assoc-ref %build-inputs "bash") "/bin/sh"))) + (install-file "colormake.1" (string-append doc "/man/man1")) + (install-files '("AUTHORS" "BUGS" "ChangeLog" "README") doc) + (install-files '("colormake" "colormake-short" "clmake" + "clmake-short" "colormake.pl") + bin))))) + (home-page "http://bre.klaki.net/programs/colormake/") + (synopsis "Simple wrapper around make to make it's output more readable") + (description "This package provides a simple wrapper around make to make +it's output more readable.") + (license gpl2+))) -- 2.15.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 09 05:12:03 2018 Received: (at 30353) by debbugs.gnu.org; 9 Feb 2018 10:12:03 +0000 Received: from localhost ([127.0.0.1]:34693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ek5f1-00020M-4j for submit@debbugs.gnu.org; Fri, 09 Feb 2018 05:12:03 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:46452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ek5ew-0001zu-U5 for 30353@debbugs.gnu.org; Fri, 09 Feb 2018 05:12:01 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7BEF210BF9; Fri, 9 Feb 2018 11:11:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wBVtMcgtGayb; Fri, 9 Feb 2018 11:11:57 +0100 (CET) Received: from ribbon (unknown [193.50.110.130]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 011458421; Fri, 9 Feb 2018 11:11:56 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Oleg Pykhalov Subject: Re: [bug#30353] [PATCH] gnu: Add colormake. References: <20180205063021.20989-1-go.wigust@gmail.com> Date: Fri, 09 Feb 2018 11:11:56 +0100 In-Reply-To: <20180205063021.20989-1-go.wigust@gmail.com> (Oleg Pykhalov's message of "Mon, 5 Feb 2018 09:30:21 +0300") Message-ID: <87d11e4glv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30353 Cc: 30353@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: 1.0 (+) Oleg Pykhalov skribis: > * gnu/packages/colorize.scm: New file. > * gnu/local.mk (GNU_SYSTEM_MODULES): Add this. [...] > + (home-page "http://bre.klaki.net/programs/colormake/") > + (synopsis "Simple wrapper around make to make it's output more reada= ble") Rather: =E2=80=9CWrapper around @command{make} to produce colored output=E2= =80=9D. > + (description "This package provides a simple wrapper around make to = make > +it's output more readable.") Likewise. Rather than create a new file, perhaps put it in code.scm? OK with these changes, thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 09 15:50:13 2018 Received: (at 30353) by debbugs.gnu.org; 9 Feb 2018 20:50:13 +0000 Received: from localhost ([127.0.0.1]:35734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekFcb-0005sY-EC for submit@debbugs.gnu.org; Fri, 09 Feb 2018 15:50:13 -0500 Received: from mail-lf0-f41.google.com ([209.85.215.41]:43294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekFca-0005sH-9B; Fri, 09 Feb 2018 15:50:12 -0500 Received: by mail-lf0-f41.google.com with SMTP id a25so3657908lfg.10; Fri, 09 Feb 2018 12:50:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=IYZEfkgPuoceLG4gRdUDo/BECdKeRQvAztIK8iMBFz0=; b=d5JvI/90pFzEsQItYLwyrlzoedyVbcZ+HcaD2B6uTVVM/WsVGHy9F0fJWbRwqLpfZm ZX+2zWh1WP5AKtKq4Rn1ec/bg74KbItxK8NxLEww/4dQwbYPK2aEFaUQrwpqj9Rlwf7W 6F4iivU9p8By7+Fyc2w3eo3DR5VhpwhbE7VNfCYy4aYPzW3kDTjuft2FalRbkiQMzz8n rRNZg8zCLnTOolptK4X2TFI8SxvjEXuyi4v0B+xxY/eejIiJNsUPBeqeIIMX/JhqBRbk lGynSEGuSFGhkrvNhYXvMBZilre8t0gZAAQecwKt9gEz2DHdQJ5h9vm6Q2UAXqUQteZ8 YR2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=IYZEfkgPuoceLG4gRdUDo/BECdKeRQvAztIK8iMBFz0=; b=SlrqWX9TtHmxmEj80R4jNJ7qFXIWVuPG3t1CSID/dshMcpopkxlo8OM3MP39/zGF0k 3YviRM4wOUkgMLHsycCBK7Nk/tmjK4p6Z5TOdpysefSIUgR4cdRtykcfe1OdiaXozjbD QU0Wkdzk11uR01V7b9wHJZiyeMsLwHHUl+SP2syN9FIjBUhpaYtJhMZiDE2EigQeGZmx GWaCnRErj/UOPrMgY3cFwKnyfTaxR4RWF4S4ljzAK6UVD41ERdKTXWE9tim7ZomuQav8 R4x9iyazSUAUVGVxjAMBrcPzrkbaUiF0x0zUBynZBLfqoLrNaD9rfS3VEEMn5Z1bxhAT 1VXw== X-Gm-Message-State: APf1xPCnQ8wja0aVU+Vh6057qic8oDdRURad+pkeWbZio6w1Kox878sB tnjcmELAaOzN/VcfXMEDJHKEhQ== X-Google-Smtp-Source: AH8x225ph9Fbbm2ZbQMau8/kwNp8lVJy6A1OBGcImaUcXO6UYsqsIdQFLf48zU70bZwbuRiIojwVxg== X-Received: by 10.25.162.72 with SMTP id l69mr2899217lfe.38.1518209405935; Fri, 09 Feb 2018 12:50:05 -0800 (PST) Received: from magnolia (pppoe.95-55-146-219.dynamic.avangarddsl.ru. [95.55.146.219]) by smtp.gmail.com with ESMTPSA id 39sm558378ljb.86.2018.02.09.12.50.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Feb 2018 12:50:04 -0800 (PST) From: Oleg Pykhalov To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [bug#30353] [PATCH] gnu: Add colormake. References: <20180205063021.20989-1-go.wigust@gmail.com> <87d11e4glv.fsf@gnu.org> Date: Fri, 09 Feb 2018 23:50:01 +0300 In-Reply-To: <87d11e4glv.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 09 Feb 2018 11:11:56 +0100") Message-ID: <87vaf53n2e.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30353 Cc: 30353@debbugs.gnu.org, 30353-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: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Ludovic, Thank you for review. ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> + (synopsis "Simple wrapper around make to make it's output more re= adable") > Rather: =E2=80=9CWrapper around @command{make} to produce colored outpu= t=E2=80=9D. >> + (description "=E2=80=A6") > Likewise. > Rather than create a new file, perhaps put it in code.scm? OK. > OK with these changes, thank you! OK, I pushed as dc993847f1a2eed3c0e2b573ee7ad1974ffc3bd0 but I forgot about description of the commit (is the same as the patch before). :-\ Apologies. I'll close the bug report. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlp+CXkACgkQckbhHGm3 lWlguA/+KPjHlyuAnOSDdWwZm95p8xGuPYPo1x7Oru5+vVVX/c2kZk/lJ3Kcm1+y Nkbt6obXyGJLxWrwxn6JgVD5ugMjVl/dcGy7nzDCbgu8NxO7XzkWGPK0ZUYNsZW9 EGVnr6aSHwd6rZGp9isWQh4oupcKZhQ/Ll2CGIiM6ZHE3epCLjVUcBTjSIvD7AY/ 3+k29a1BWfmJFJ4R0XpIYgHaGeTZ6K+ozzfTkphTSAQCKi43roJMc/T1MjZTp7lv 8tX7A01eRzTCkpmn7iXXT/BXTSAvSCD/X9+8FmCCOK8eSyKjIZ+MEeKl3+c7OfSy gvojIK5YMWoIxJZ3StwhoDMa1ASPykWWiJh2dADoykOR0v8LTG7reG/hgvd1XxES n7xUJYLvb+tWkr4CWCy97RZEsBTAv11O1hhoEQ2lYCLNtLrzOnYHW50lrYnYWd4h FKDL/1dOqjkCXOjxQCDwpJui1HhFQsiMnqjsH28X0uHYaTqHwN/aNcPjEcBcUiyC dpV0jDqq71fU6hS8VR2g5U0ZVBjZ7I2/E2LA+2JDDjHPcKUQd9XDNVTB1PfC4WMr q2boJ6opE/7KOBI4ZX2qQvcr1OaS/USdZtqPKn7pYTBWp5lXrKWGJHvfH8Vh21oI w74IhSxiKN6NMUVnxex1C5fK7+p8z+bffsGNcIgC5AmYV9iCZOc= =a77q -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Sep 06 02:03:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 10 Mar 2018 12:24:06 +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