From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 06:37:11 2017 Received: (at submit) by debbugs.gnu.org; 8 Oct 2017 10:37:11 +0000 Received: from localhost ([127.0.0.1]:55509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e18xG-00044f-0T for submit@debbugs.gnu.org; Sun, 08 Oct 2017 06:37:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e18xE-00044A-74 for submit@debbugs.gnu.org; Sun, 08 Oct 2017 06:37:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e18x7-0007DZ-Ra for submit@debbugs.gnu.org; Sun, 08 Oct 2017 06:36:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e18x7-0007DT-Nt for submit@debbugs.gnu.org; Sun, 08 Oct 2017 06:36:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e18x6-00054u-7J for guix-patches@gnu.org; Sun, 08 Oct 2017 06:36:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e18x3-0007BS-3E for guix-patches@gnu.org; Sun, 08 Oct 2017 06:36:56 -0400 Received: from aibo.runbox.com ([91.220.196.211]:55142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e18x2-0007Ak-RY for guix-patches@gnu.org; Sun, 08 Oct 2017 06:36:53 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1e18x0-0000hm-Hy for guix-patches@gnu.org; Sun, 08 Oct 2017 12:36:50 +0200 Received: from tor-exit-relay-0.anonymizing-proxy.digitalcourage.de ([31.185.104.20] helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1e18wq-0003Lc-4R for guix-patches@gnu.org; Sun, 08 Oct 2017 12:36:40 +0200 Date: Sun, 8 Oct 2017 10:36:37 +0000 From: ng0 To: guix-patches@gnu.org Subject: guile-colorized Message-ID: <20171008103637.6vwpp5s75ixvbemz@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wq3goqhzskepc4g7" Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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 (/) --wq3goqhzskepc4g7 Content-Type: multipart/mixed; boundary="vp2ximesjx52bdww" Content-Disposition: inline --vp2ximesjx52bdww Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Colors for your REPL. In the light of recent github mismatches: should this use the git checkout instead? --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://dist.krosos.org/dist/keys/ https://www.infotropique.org https://krosos.org --vp2ximesjx52bdww Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-guile-colorized.patch" Content-Transfer-Encoding: quoted-printable =46rom d5160f7e3ca160dd6ee9336770fdf2d6dc7b279f Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 8 Oct 2017 10:30:39 +0000 Subject: [PATCH] gnu: Add guile-colorized. * gnu/packages/guile.scm (guile-colorized): New variable. --- gnu/packages/guile.scm | 49 ++++++++++++++++++++++++++++++++++++++++++++++= +++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 65d252617..caecd2b6b 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -14,6 +14,7 @@ ;;; Copyright =C2=A9 2017 David Thompson ;;; Copyright =C2=A9 2017 Mathieu Othacehe ;;; Copyright =C2=A9 2017 Theodoros Foradis +;;; Copyright =C2=A9 2017 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -1966,4 +1967,52 @@ HTML (via SXML) or any other format for rendering.") It has a nice, simple s-expression based syntax.") (license license:lgpl3+))) =20 +(define-public guile-colorized + (package + (name "guile-colorized") + (version "0.1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/NalaGinrut/guile-col= orized/" + "archive/v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16xhc3an6aglnca8xl3mvgi8hsqzqn68vsl5ga4bz8bvbap5fn4p")))) + (build-system gnu-build-system) + (arguments + `(#:modules ((system base compile) + ,@%gnu-build-system-modules) + #:tests? #f ;No tests included + #:phases + (modify-phases %standard-phases + (delete 'configure) ;No configure script + (replace 'install + (lambda* (#:key outputs inputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (module-dir (string-append out "/share/guile/site/2.2"= )) + (language-dir (string-append module-dir "/ice-9")) + (guild (string-append (assoc-ref inputs "guile") + "/bin/guild"))) + ;; The original 'make install' is too primitive. + (mkdir-p module-dir) + (mkdir-p language-dir) + + ;; copy the source + (copy-file "ice-9/colorized.scm" + (string-append language-dir "/colorized.scm")) + + ;; compile to the destination + (compile-file "ice-9/colorized.scm" + #:output-file (string-append + language-dir "/colorized.go")) + #t)))))) + (inputs + `(("guile" ,guile-2.2))) + (home-page "https://github.com/NalaGinrut/guile-colorized") + (synopsis "Colorized REPL for Guile") + (description + "Guile-colorized provides you with a colorized REPL for GNU Guile.") + (license license:gpl3+))) + ;;; guile.scm ends here --=20 2.14.2 --vp2ximesjx52bdww-- --wq3goqhzskepc4g7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnZ/7QACgkQ4i+bv+40 hYjEBA/7BbVoJAvflDxPS5mqhjyo3o78/PpaiYEhHEPPsZp6aa+hBgKAnYp1s3dA vzAb29qFZ0pT8ETUBkMfBO+HiouJYVLHZEID8f5vUNbxMVF81o1wwkDOWZK4br2K JP7PvGbDuoPlTPgGpUORqImYm59XW1Ja/zHIc+Ske9JU7IrofaavLwZR45QCz5bf kwkGgLDTsvyXh9dZEIUfVXJa+g9NgTS7Ktz6HRxO+YqG0jLgF1IJgWoUPUV213CC 6+ujTyoTO/MFqIbmhPq/JM/tJZsP3YQuJLn7sPLzgPHOLmcibBClhYE55rIMGfK0 8dyG39OcepriktPaZciTH0/PcCE9bPvPgPSyJ4Knk14YQ3BuYsivYfRxucGgxuc/ xjvNOay29ftSX4CitVcmQzEHHHypUljpP03GKkvccrcNkfiUgbDOIniBQ5t7uQrG q6qfgYCG4+6dBsvEsHO11TnTHDZbsTNu/P7jwc9R4tYjU9cJzkUb/a81NJ6Nh6rY 3pahghjUJugWIb+y7yi/3Okr3iUFix2dhUguU01q3VWdxl6jFI7tIu2Ot66Zsefk D4poeSlATsbUeC9GiOhEVBSegUO5AVXWzd+RAw7ed9QotDSCxKs6ektiD1E21uHh 1Qn6+sCrAOKhUZJygyotnwzv+t3tc3ILRYvQkhFc1lgOKBGeeUo= =IuUC -----END PGP SIGNATURE----- --wq3goqhzskepc4g7-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 08 15:51:20 2017 Received: (at 28744-done) by debbugs.gnu.org; 8 Oct 2017 19:51:21 +0000 Received: from localhost ([127.0.0.1]:56700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1Hbc-0004k2-N3 for submit@debbugs.gnu.org; Sun, 08 Oct 2017 15:51:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1HbZ-0004jp-Tw for 28744-done@debbugs.gnu.org; Sun, 08 Oct 2017 15:51:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1HbT-0001se-JP for 28744-done@debbugs.gnu.org; Sun, 08 Oct 2017 15:51:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1HbT-0001sS-Fi; Sun, 08 Oct 2017 15:51:11 -0400 Received: from vpn-0-27.aquilenet.fr ([2a01:474:4:27::]:40182 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e1HbS-0001wo-Rm; Sun, 08 Oct 2017 15:51:11 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: ng0 Subject: Re: [bug#28744] guile-colorized References: <20171008103637.6vwpp5s75ixvbemz@abyayala> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 08 Oct 2017 21:51:08 +0200 In-Reply-To: <20171008103637.6vwpp5s75ixvbemz@abyayala> (ng0@infotropique.org's message of "Sun, 8 Oct 2017 10:36:37 +0000") Message-ID: <87po9xbeqb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28744-done Cc: 28744-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: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! ng0 skribis: > Colors for your REPL. > > In the light of recent github mismatches: > should this use the git checkout instead? I think it=E2=80=99s (still) fine this way. > From d5160f7e3ca160dd6ee9336770fdf2d6dc7b279f Mon Sep 17 00:00:00 2001 > From: ng0 > Date: Sun, 8 Oct 2017 10:30:39 +0000 > Subject: [PATCH] gnu: Add guile-colorized. > > * gnu/packages/guile.scm (guile-colorized): New variable. Pushed with the slight simplification below. Thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index caecd2b6b..e32ca84a7 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -1995,12 +1995,9 @@ It has a nice, simple s-expression based syntax.") (guild (string-append (assoc-ref inputs "guile") "/bin/guild"))) ;; The original 'make install' is too primitive. - (mkdir-p module-dir) - (mkdir-p language-dir) ;; copy the source - (copy-file "ice-9/colorized.scm" - (string-append language-dir "/colorized.scm")) + (install-file "ice-9/colorized.scm" language-dir) ;; compile to the destination (compile-file "ice-9/colorized.scm" --=-=-=-- From unknown Tue Jun 17 01:48:30 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, 06 Nov 2017 12:24:04 +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