guix-patches
[Top][All Lists]
Advanced

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

[bug#51979] [PATCH] Add fsearch


From: Nicolas Goaziou
Subject: [bug#51979] [PATCH] Add fsearch
Date: Fri, 19 Nov 2021 21:08:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

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

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

>From e23e8d45b9bc7c8279dc0edabb07f263b15d3a90 Mon Sep 17 00:00:00 2001
Message-Id: 
<e23e8d45b9bc7c8279dc0edabb07f263b15d3a90.1637352458.git.mail@nicolasgoaziou.fr>
From: Nicolas Goaziou <mail@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@crazy-compilers.com>
 ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2021 Nicolas Goaziou <mail@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


reply via email to

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