GNU bug report logs - #51979
[PATCH] Add fsearch

Previous Next

Package: guix-patches;

Reported by: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Date: Fri, 19 Nov 2021 19:58:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 51979 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: 51979 <at> debbugs.gnu.org
Subject: Re: [bug#51979] [PATCH] Add fsearch
Date: Fri, 19 Nov 2021 21:08:36 +0100
[Message part 1 (text/plain, inline)]
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:

> The following patch adds FSearch to "search.scm".

Oops. Now with a correct patch, including necessary headers…

[v2-0001-gnu-Add-fsearch.patch (text/x-diff, inline)]
From e23e8d45b9bc7c8279dc0edabb07f263b15d3a90 Mon Sep 17 00:00:00 2001
Message-Id: <e23e8d45b9bc7c8279dc0edabb07f263b15d3a90.1637352458.git.mail <at> nicolasgoaziou.fr>
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Date: Fri, 19 Nov 2021 20:55:04 +0100
Subject: [PATCH v2] gnu: Add fsearch.

* gnu/packages/search.scm (fsearch): New variable.
---
 gnu/packages/search.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 8c5e5f7cdf..811620a2a9 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2020 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
 ;;; Copyright © 2021 Vinicius Monego <monego <at> posteo.net>
 ;;; Copyright © 2021 Alexandr Vityazev <avityazev <at> posteo.org>
+;;; Copyright © 2021 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -37,6 +38,7 @@ (define-module (gnu packages search)
   #:use-module (guix build-system meson)
   #:use-module (gnu packages)
   #:use-module (gnu packages aspell)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages check)
@@ -44,7 +46,11 @@ (define-module (gnu packages search)
   #:use-module (gnu packages ebook)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gawk)
+  #:use-module (gnu packages gettext)
+  #:use-module (gnu packages glib)
   #:use-module (gnu packages groff)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages icu4c)
   #:use-module (gnu packages less)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pcre)
@@ -293,6 +299,39 @@ (define-public bool
 for parsing HTML files.")
     (license gpl3+)))
 
+(define-public fsearch
+  (package
+    (name "fsearch")
+    (version "0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/cboxdoerfer/fsearch")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1jr0rrndq9iyz76yb67i3a9vz8bdasw9qcsvdid2sq0vfgvrrqbb"))))
+    (build-system meson-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("gettext" ,gettext-minimal)
+       ("glib" ,glib "bin")             ;for glib-compile-resources
+       ("intltool" ,intltool)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("icu4c" ,icu4c)
+       ("pcre" ,pcre)))
+    (home-page "https://github.com/cboxdoerfer/fsearch")
+    (synopsis "Fast file search utility")
+    (description
+     "FSearch is a fast file search utility, inspired by Everything
+Search Engine.  It is written in C and based on GTK3.")
+    (license gpl2+)))
+
 (define-public recoll
   (package
     (name "recoll")
-- 
2.33.1


This bug report was last modified 3 years and 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.