From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: [PATCH 1/4] gnu: Add mlocate. Date: Tue, 23 Aug 2016 01:15:09 -0500 Message-ID: <20160823061512.13024-1-ericbavier@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bc4zh-0006rp-PV for guix-devel@gnu.org; Tue, 23 Aug 2016 02:15:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bc4ze-0005rD-HL for guix-devel@gnu.org; Tue, 23 Aug 2016 02:15:29 -0400 Received: from mail2.openmailbox.org ([62.4.1.33]:51325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bc4ze-0005qX-7a for guix-devel@gnu.org; Tue, 23 Aug 2016 02:15:26 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org From: Eric Bavier * gnu/packages/search.scm (mlocate): New variable. --- gnu/packages/search.scm | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index 9b01909..9a7bc76 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2014 Mark H Weaver -;;; Copyright =C2=A9 2015 Eric Bavier +;;; Copyright =C2=A9 2015, 2016 Eric Bavier ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,7 +19,7 @@ =20 (define-module (gnu packages search) #:use-module ((guix licenses) - #:select (gpl2+ gpl3+ bsd-3 x11)) + #:select (gpl2 gpl2+ gpl3+ bsd-3 x11)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) @@ -148,4 +148,27 @@ accounting for new lines and paragraph changes. It = also has robust support for parsing HTML files.") (license gpl3+))) =20 +(define-public mlocate + (package + (name "mlocate") + (version "0.26") + (source (origin + (method url-fetch) + (uri (string-append "https://fedorahosted.org/releases/m/l= /" + "mlocate/mlocate-" version ".tar.xz")) + (sha256 + (base32 + "0gi6y52gkakhhlnzy0p6izc36nqhyfx5830qirhvk3qrzrwxyqrh"))= )) + (build-system gnu-build-system) + (home-page "https://fedorahosted.org/mlocate/") + (synopsis "Locate files on the filesystem") + (description + "mlocate is a locate/updatedb implementation. The 'm' stands for +\"merging\": @code{updatedb} reuses the existing database to avoid rerea= ding +most of the file system, which makes it faster and does not trash the sy= stem +caches as much. The locate(1) utility is intended to be completely comp= atible +with slocate, and attempts to be compatible to GNU locate when it does n= ot +conflict with slocate compatibility.") + (license gpl2))) + ;;; search.scm ends here --=20 2.9.2