gnu: recoll: Update to 1.37.5.
* gnu/packages/search.scm (recoll): Update to 1.37.5. [source]: Get tarball from new home page. [arguments]: Use G-expressions; add phase 'set-LDFLAGS. [native-inputs]: Add qttools-5. [home-page]: Update. Change-Id: Ia20f40450918659dd28d1e5f8df36c6362fafb63
This commit is contained in:
parent
53ac27b5c5
commit
da0ca860d7
|
@ -2,7 +2,7 @@
|
||||||
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
||||||
;;; Copyright © 2017, 2021 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2017, 2021, 2024 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com>
|
;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com>
|
||||||
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
|
@ -422,35 +422,36 @@ Search Engine. It is written in C and based on GTK3.")
|
||||||
(define-public recoll
|
(define-public recoll
|
||||||
(package
|
(package
|
||||||
(name "recoll")
|
(name "recoll")
|
||||||
(version "1.34.0")
|
(version "1.37.5")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://www.lesbonscomptes.com/recoll/"
|
(uri (string-append "https://www.recoll.org/recoll-" version ".tar.gz"))
|
||||||
"recoll-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0s26b737brxp5hpqcwfxg19z40w6acnnr63ghrnzzjwxqz1ambkv"))))
|
(base32 "0m9ibpa27xrngk31kxhgqv878knw2xpigckx8pqvfzmfvqr81zdy"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
(list
|
||||||
(list "--disable-webkit"
|
#:configure-flags
|
||||||
"--disable-python-module"
|
#~(list "--disable-webkit"
|
||||||
"--without-systemd"
|
"--disable-python-module"
|
||||||
"--with-inotify"
|
"--without-systemd"
|
||||||
"--enable-recollq"
|
"--with-inotify"
|
||||||
(string-append "QMAKEPATH=" (assoc-ref %build-inputs "qtbase")
|
"--enable-recollq"
|
||||||
"/bin/qmake"))
|
(string-append "QMAKEPATH=" #$(this-package-input "qtbase")
|
||||||
#:phases
|
"/bin/qmake"))
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'patch-default-data-dir
|
#~(modify-phases %standard-phases
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(add-before 'configure 'set-LDFLAGS
|
||||||
(substitute* "python/recoll/recoll/rclconfig.py"
|
(lambda _
|
||||||
(("/opt/local")
|
(setenv "LDFLAGS" (string-append "-Wl,-rpath=" #$output "/lib"))))
|
||||||
(assoc-ref outputs "out")))))
|
(add-after 'unpack 'patch-default-data-dir
|
||||||
(add-after 'install 'wrap-filters
|
(lambda _
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(substitute* "python/recoll/recoll/rclconfig.py"
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(("/opt/local") #$output))))
|
||||||
(mapping
|
(add-after 'install 'wrap-filters
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((mapping
|
||||||
'(("rclps"
|
'(("rclps"
|
||||||
"poppler")
|
"poppler")
|
||||||
("rclpdf.py"
|
("rclpdf.py"
|
||||||
|
@ -471,19 +472,19 @@ Search Engine. It is written in C and based on GTK3.")
|
||||||
"sed")
|
"sed")
|
||||||
("rclscribus"
|
("rclscribus"
|
||||||
"grep" "gawk" "sed"))))
|
"grep" "gawk" "sed"))))
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (program packages)
|
(lambda (program packages)
|
||||||
(wrap-program (string-append out "/share/recoll/filters/" program)
|
(wrap-program (string-append #$output "/share/recoll/filters/" program)
|
||||||
`("PATH" ":" prefix
|
`("PATH" ":" prefix
|
||||||
,(map (lambda (i)
|
,(map (lambda (i)
|
||||||
(string-append (assoc-ref inputs i) "/bin"))
|
(string-append (assoc-ref inputs i) "/bin"))
|
||||||
packages))))
|
packages))))
|
||||||
(map car mapping)
|
(map car mapping)
|
||||||
(map cdr mapping))
|
(map cdr mapping))
|
||||||
|
|
||||||
(wrap-program (string-append out "/share/recoll/filters/rclimg")
|
(wrap-program (string-append #$output "/share/recoll/filters/rclimg")
|
||||||
`("PERL5LIB" ":" prefix
|
`("PERL5LIB" ":" prefix
|
||||||
(,(getenv "PERL5LIB"))))))))))
|
(,(getenv "PERL5LIB"))))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list aspell
|
(list aspell
|
||||||
chmlib
|
chmlib
|
||||||
|
@ -507,8 +508,8 @@ Search Engine. It is written in C and based on GTK3.")
|
||||||
sed
|
sed
|
||||||
tar))
|
tar))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config which))
|
(list pkg-config qttools-5 which))
|
||||||
(home-page "https://www.lesbonscomptes.com/recoll/")
|
(home-page "https://www.recoll.org")
|
||||||
(synopsis "Find documents based on their contents or file names")
|
(synopsis "Find documents based on their contents or file names")
|
||||||
(description "Recoll finds documents based on their contents as well as
|
(description "Recoll finds documents based on their contents as well as
|
||||||
their file names. It can search most document formats, but you may need
|
their file names. It can search most document formats, but you may need
|
||||||
|
|
Loading…
Reference in New Issue