emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#26890: closed ([PATCH] gnu: Add agrep.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#26890: closed ([PATCH] gnu: Add agrep.)
Date: Thu, 22 Jun 2017 20:11:02 +0000

Your message dated Thu, 22 Jun 2017 22:10:04 +0200
with message-id <address@hidden>
and subject line Re: bug#26890: [PATCH] gnu: Add agrep.
has caused the debbugs.gnu.org bug report #26890,
regarding [PATCH] gnu: Add agrep.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
26890: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26890
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add agrep. Date: Thu, 11 May 2017 21:30:45 +0200
* gnu/packages/base.scm (agrep): New variable.
---
 gnu/packages/base.scm | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 59a9acd67..a07638c38 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2016 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
 ;;; Copyright © 2017 Marius Bakke <address@hidden>
+;;; Copyright © 2017 Ricardo Wurmus <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,7 +27,7 @@
 
 (define-module (gnu packages base)
   #:use-module ((guix licenses)
-                #:select (gpl3+ lgpl2.0+ lgpl3+ public-domain))
+                #:select (gpl2+ gpl3+ lgpl2.0+ lgpl3+ public-domain))
   #:use-module (gnu packages)
   #:use-module (gnu packages acl)
   #:use-module (gnu packages bash)
@@ -116,6 +117,36 @@ including, for example, recursive directory searching.")
    (license gpl3+)
    (home-page "https://www.gnu.org/software/grep/";)))
 
+(define-public agrep
+  (package
+    (name "agrep")
+    (version "3.41")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://www.tgries.de/agrep/agrep-";
+                                  version ".tgz"))
+              (sha256
+               (base32
+                "0ki3gbvc7lh8alks9zm48f216l2gp8r6vssmr5yccpvjz7xfl205"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; no "check" target
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+               (mkdir-p bin)
+               (install-file "agrep" bin)
+               #t))))))
+    (home-page "https://www.tgries.de/agrep/";)
+    (synopsis "Approximate grep for fast fuzzy string searching")
+    (description "Agrep is a tool for fast searching of files for a string or
+regular expression, with approximate matching capabilities and user-definable
+records.")
+    (license gpl2+)))
+
 (define-public sed
   (package
    (name "sed")
-- 
2.12.2





--- End Message ---
--- Begin Message --- Subject: Re: bug#26890: [PATCH] gnu: Add agrep. Date: Thu, 22 Jun 2017 22:10:04 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Ricardo Wurmus <address@hidden> skribis:

> Leo Famulari <address@hidden> writes:
>
>> On Thu, May 11, 2017 at 05:04:08PM -0400, Kei Kebreau wrote:
>>> Quote from copying.agrep in the source directory:
>>>   4. Redistribution for profit requires the express, written permission
>>>      of the authors.
>>
>> Unfortunately, this clause makes agrep not free software. Indeed, Debian
>> distributes it from their non-free repos:
>>
>> https://packages.debian.org/sid/agrep
>
> This is confusing.  Debian has version 4.17-9 but I don’t even know
> where they got it from.  The home page that’s linked there only has 2.x
> tarballs.
>
> And this clashes with the declaration of the ICS version in the git
> repo.
>
> Weird!  I really don’t mind dropping this patch (I just packaged it
> while demonstrating Guix), but it’s sad that the license situation here
> is so contradictory.

So I’m closing this entry if you don’t mind.  :-)

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]