From debbugs-submit-bounces@debbugs.gnu.org Sun May 03 07:09:31 2020 Received: (at submit) by debbugs.gnu.org; 3 May 2020 11:09:31 +0000 Received: from localhost ([127.0.0.1]:54783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVCV0-0000m1-R9 for submit@debbugs.gnu.org; Sun, 03 May 2020 07:09:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:35672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVCUy-0000lt-DF for submit@debbugs.gnu.org; Sun, 03 May 2020 07:09:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVCUy-0007s7-5X for guix-patches@gnu.org; Sun, 03 May 2020 07:09:28 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:55310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVCUw-0001Kc-Mq for guix-patches@gnu.org; Sun, 03 May 2020 07:09:27 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1jVCUs-0003C7-5y; Sun, 03 May 2020 13:09:22 +0200 Received: from [192.168.1.8] (helo=chuwi) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jVCUr-0007R4-Jl for guix-patches@gnu.org; Sun, 03 May 2020 13:09:21 +0200 From: Michael Rohleder To: guix-patches@gnu.org Subject: [PATCH] gnu: Add lesspipe X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Sun, 03 May 2020 13:09:15 +0200 Message-ID: <87mu6p46n8.fsf@rohleder.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1588504166;963b23d6; X-HE-SMSGID: 1jVCUs-0003C7-5y Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/03 07:09:22 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) 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: -3.3 (---) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain At least debian and gentoo include their own version of lesspipe in the less package. Nor sure if we should do the same or include this package here. I use this since a week or so and it works well so far. I'm not very creative on creating descriptions. Please feel free to change it. ;) --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-packages-less.scm-lesspipe-New-variable.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: Add lesspipe From=209ee7d976ffa6cd6d8375fac2df0f50940f9d4877 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Sun, 3 May 2020 12:31:43 +0200 Subject: [PATCH] gnu: Add lesspipe * gnu/packages/less.scm (lesspipe): New variable. =2D-- gnu/packages/less.scm | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/less.scm b/gnu/packages/less.scm index 91c269a67e..92e20a3705 100644 =2D-- a/gnu/packages/less.scm +++ b/gnu/packages/less.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2012 Nikita Karetnikov ;;; Copyright =C2=A9 2019 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2020 Michael Rohleder ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,8 +21,11 @@ (define-module (gnu packages less) #:use-module (guix licenses) #:use-module (gnu packages ncurses) + #:use-module (gnu packages perl) + #:use-module (gnu packages file) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu)) =20 (define-public less @@ -48,3 +52,49 @@ backwards and forwards movement through the document. I= t also does not have to read the entire input file before starting, so it starts faster than mo= st text editors.") (license gpl3+))) ; some files are under GPLv2+ + +(define-public lesspipe + (package + (name "lesspipe") + (version "1.84") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wofr06/lesspipe.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "124ffhzrikr88ab14rk6753n8adxijpmg7q3zx7nmqc52wpkfd8q")))) + (build-system gnu-build-system) + (arguments + '(#:tests? #f ; no tests + #:phases (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (delete-file "Makefile") ; force generating + (invoke "./configure" + (string-append "--prefix=3D" out) + "--yes") + #t)))))) + (inputs + `(("file" ,file) + ("ncurses" ,ncurses))) ; for tput + (native-inputs `(("perl" ,perl))) + (home-page "https://github.com/wofr06/lesspipe") + (synopsis "Input filter for less") + (description "To browse files under UNIX the excellent viewer less +can be used. By setting the environment variable LESSOPEN, less can be +enhanced by external filters to become even more powerful. Most Linux +distributions come already with a \"lesspipe.sh\" that covers the most +common situations. +The input filter for less described here is called +\"lesspipe.sh\". It is able to process a wide variety of file +formats. It enables users to deeply inspect archives and to display +the contents of files in archives without having to unpack them +before. That means file contents can be properly interpreted even if +the files are compressed and contained in a hierarchy of +archives (often found in RPM or DEB archives containing source +tarballs). The filter is easily extensible for new formats.") + (license gpl2))) =2D-=20 2.26.2 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Murphy was an optimist. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl6uplsACgkQfHr/vv7y yyWnMAf6A6dqzo1Y6D7XPm7FMPT5GS8L1uL6dCfKlL98pCZ+4W3XeACFInp8EzVW oaJqfYPlY7Xdg/9IxnBPTD4qjswSXl3iTANnWmxwvTW2EAmQThiIbN+gvP96FJZh 7y1JmHLgjL05gnD7Md4W1/vbae6wbWu8DnFJVJISaeKF2SSfk3QWHXyqsXpKjSoM Ek9/CHdy75Nla7Bp6rcM3lLeRmiXczn+1xw42EGpxJlJqdan2bqIEW+fV+mgxuhV H22yFX4nPBXt5t/lYH6zwNLi5Hq7jG7V2nvgNqBJO2bP1YrVBILeDintTmKmxKDx mgvpro6rtgkuHHDxtKCNFbw1TTgKzA== =HDBS -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 04 16:46:17 2020 Received: (at 41047-done) by debbugs.gnu.org; 4 May 2020 20:46:17 +0000 Received: from localhost ([127.0.0.1]:34100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVhya-0006i1-2g for submit@debbugs.gnu.org; Mon, 04 May 2020 16:46:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVhyZ-0006hT-FL for 41047-done@debbugs.gnu.org; Mon, 04 May 2020 16:46:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40292) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVhyT-00088j-4K; Mon, 04 May 2020 16:46:01 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54832 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jVhyS-0006SE-7A; Mon, 04 May 2020 16:46:00 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Michael Rohleder Subject: Re: [bug#41047] [PATCH] gnu: Add lesspipe References: <87mu6p46n8.fsf@rohleder.de> Date: Mon, 04 May 2020 22:45:57 +0200 In-Reply-To: <87mu6p46n8.fsf@rohleder.de> (Michael Rohleder's message of "Sun, 03 May 2020 13:09:15 +0200") Message-ID: <87lfm7pgxm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41047-done Cc: 41047-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: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Michael Rohleder skribis: > I'm not very creative on creating descriptions. Please feel free to > change it. ;) Heheh. > From 9ee7d976ffa6cd6d8375fac2df0f50940f9d4877 Mon Sep 17 00:00:00 2001 > From: Michael Rohleder > Date: Sun, 3 May 2020 12:31:43 +0200 > Subject: [PATCH] gnu: Add lesspipe > > * gnu/packages/less.scm (lesspipe): New variable. Applied with the following changes. Note that the license is GPLv2+ because there=E2=80=99s nothing stating =E2=80=9Cversion 2 only=E2=80=9D. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/less.scm b/gnu/packages/less.scm index 92e20a3705..76a4d42dfd 100644 --- a/gnu/packages/less.scm +++ b/gnu/packages/less.scm @@ -84,17 +84,11 @@ text editors.") (native-inputs `(("perl" ,perl))) (home-page "https://github.com/wofr06/lesspipe") (synopsis "Input filter for less") - (description "To browse files under UNIX the excellent viewer less -can be used. By setting the environment variable LESSOPEN, less can be -enhanced by external filters to become even more powerful. Most Linux -distributions come already with a \"lesspipe.sh\" that covers the most -common situations. -The input filter for less described here is called -\"lesspipe.sh\". It is able to process a wide variety of file -formats. It enables users to deeply inspect archives and to display -the contents of files in archives without having to unpack them -before. That means file contents can be properly interpreted even if -the files are compressed and contained in a hierarchy of -archives (often found in RPM or DEB archives containing source -tarballs). The filter is easily extensible for new formats.") - (license gpl2))) + (description "To browse files, the excellent viewer @code{less} can be +used. By setting the environment variable @code{LESSOPEN}, less can be +enhanced by external filters to become more powerful. The input filter for +less described here is called @code{lesspipe.sh}. It is able to process a +wide variety of file formats. It enables users to inspect archives and +display their contents without having to unpack them before. The filter is +easily extensible for new formats.") + (license gpl2+))) --=-=-=-- From unknown Sun Jun 22 04:34:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 02 Jun 2020 11:24:05 +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