From 6760578c89bfbc32b55f860dc63a0b1513dd95d3 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Fri, 11 Dec 2020 13:23:38 +0000 Subject: gnu: GnuCash: Update to 4.2. * gnu/packages/gnucash.scm (gnucash): Update to 4.2. [inputs]: Replace guile-2.0 with guile-3.0. Remove libgnomecanvas. Add swig. [arguments]: Adjust the 'fix-finance-quote-check' substitution. (gnucash-docs)[source]: Update hash. Signed-off-by: Leo Famulari --- gnu/packages/gnucash.scm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm index dcee4dc166..455c791816 100644 --- a/gnu/packages/gnucash.scm +++ b/gnu/packages/gnucash.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2019 Maxim Cournoyer ;;; Copyright © 2019 Guillaume Le Vaillant ;;; Copyright © 2020 Prafulla Giri +;;; Copyright © 2020 Christopher Lam ;;; ;;; This file is part of GNU Guix. ;;; @@ -51,6 +52,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages swig) #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages webkit) @@ -61,28 +63,28 @@ ;; directory. (package (name "gnucash") - (version "3.8") + (version "4.2") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/" - version "/gnucash-" version "b" ".tar.bz2")) + version "/gnucash-" version ".tar.bz2")) (sha256 (base32 - "0dvzm3bib7jcj685sklpzyy9mrak9mxyvih2k9fk4sl3v21wlphg")))) + "020k1mm909dcgs52ls4v7xx3yn8gqazi9awyr81l6y7pkq1spn2n")))) (build-system cmake-build-system) (inputs - `(("guile" ,guile-2.2) + `(("guile" ,guile-3.0) ("boost" ,boost) ("icu4c" ,icu4c) ("glib" ,glib) ("gtk" ,gtk+) ("libdbi" ,libdbi) ("libdbi-drivers" ,libdbi-drivers) - ("libgnomecanvas" ,libgnomecanvas) ("libofx" ,libofx) ("libxml2" ,libxml2) ("libxslt" ,libxslt) + ("swig" ,swig) ("webkitgtk" ,webkitgtk) ("aqbanking" ,aqbanking) ("python" ,python) @@ -134,8 +136,8 @@ ;; execute them with perl, so execute them directly instead. (add-after 'unpack 'fix-finance-quote-check (lambda _ - (substitute* "libgnucash/scm/price-quotes.scm" - (("\"perl\" \"-w\" ") "")) + (substitute* "gnucash/price-quotes.scm" + (("\"perl\" \"-w\" ") "")) #t)) ;; The qof test requires the en_US, en_GB, and fr_FR locales. (add-before 'check 'install-locales @@ -230,7 +232,7 @@ installed as well as Yelp, the Gnome help browser.") version "/gnucash-docs-" version revision ".tar.gz")) (sha256 (base32 - "19v6kchda724xkkgwlw5rg21jcpirhch12j9sr6ibnv61sd4ql52")))) + "1p1rbv0gyi07nh5pzhk3xm46w66kjyaipb6rpaq9yb9gil1nl7q5")))) (build-system gnu-build-system) ;; These are native-inputs because they are only required for building the ;; documentation. -- cgit v1.2.3