X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/e82e55e58c67b0215e768c4612ca542bc670f633..bdb1a3385df8b16ecdbded9142ed12c40b2a5954:/gnu/packages/dico.scm diff --git a/gnu/packages/dico.scm b/gnu/packages/dico.scm index 317eeeebea..ec897d1a8a 100644 --- a/gnu/packages/dico.scm +++ b/gnu/packages/dico.scm @@ -1,5 +1,8 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015 Ludovic Courtès +;;; Copyright © 2015, 2016, 2018 Ludovic Courtès +;;; Copyright © 2016, 2018 Efraim Flashner +;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice +;;; Copyright © 2020 Vincent Legoll ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,6 +27,7 @@ #:use-module (gnu packages) #:use-module (gnu packages readline) #:use-module (gnu packages m4) + #:use-module (gnu packages groff) #:use-module (gnu packages guile) #:use-module (gnu packages python) #:use-module (gnu packages pcre) @@ -35,17 +39,14 @@ (define-public dico (package (name "dico") - (version "2.2") + (version "2.10") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/dico/dico-" version ".tar.xz")) (sha256 (base32 - "04pjks075x20d19l623mj50bw64g8i41s63z4kzzqcbg9qg96x64")) - (patches (map search-patch - '("cpio-gets-undeclared.patch" - "dico-libtool-deterministic.patch"))))) + "0qag47mzs00d53hnrmh381r0jay42766vp5xrffmzmsn2307x8vl")))) (build-system gnu-build-system) (arguments '(#:configure-flags (list (string-append "--with-guile-site-dir=" %output @@ -58,18 +59,23 @@ ;; infrastructure. Gag it. (setenv "GUILE_AUTO_COMPILE" "0") (setenv "GUILE_WARN_DEPRECATED" "no") - #t))))) + #t)) + (replace 'check + (lambda _ + ;; Test '71: append + dooffs + env' fails if $V is not 2. + (invoke "make" "check" "V=2")))))) + (native-inputs `(("groff" ,groff))) (inputs `(("m4" ,m4) ;used at run time ("pcre" ,pcre) - ;; ("python" ,python-2) - ("guile" ,guile-2.0) + ("python" ,python-2) + ("guile" ,guile-2.2) ("gsasl" ,gsasl) - ("readline" ,readline-6.2) + ("readline" ,readline) ("zlib" ,zlib) - ;; ("wordnet" ,wordnet) ;FIXME: link failure + ("wordnet" ,wordnet) ("libltdl" ,libltdl))) - (home-page "http://www.gnu.org/software/dico/") + (home-page "https://www.gnu.org/software/dico/") (synopsis "Implementation of DICT server (RFC 2229)") (description "GNU Dico implements a flexible dictionary server and client according to