Subject: bug#45175: closed (Re: [bug#45175] update gnucash to 4.2)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 12 Dec 2020 19:35:02 +0000

Your bug report

#45175: update gnucash to 4.2

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
45175: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45175
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#45175] update gnucash to 4.2
From: Leo Famulari <[email-masked]>
To: Christopher Lam <[email-masked]>
Cc: [email-masked]
Date: Sat, 12 Dec 2020 14:34:37 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, Dec 11, 2020 at 01:23:38PM +0000, Christopher Lam wrote:
> From 2f64bfe91376065e81c4902444cb47e08e3a66b5 Mon Sep 17 00:00:00 2001
> From: Christopher Lam <[email-masked]>
> Date: Fri, 11 Dec 2020 21:20:06 +0800
> Subject: [PATCH] gnucash.scm: update to 4.2

Thank you!

I rewrote the commit message to meet our standards, added a copyright
line for you, and pushed as 6760578c89bfbc32b55f860dc63a0b1513dd95d3.

About the commit message, we write them in the GNU ChangeLog format:

https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html

Basically, we describe changes to the code, organized by file and
variable. The chapter in the GNU coding manual that is linked to from
our Submitting Patches guidelines is instructive when combined with `git
log` of the Guix repo.

Subject: update gnucash to 4.2
From: Christopher Lam <[email-masked]>
To: [email-masked]
Date: Fri, 11 Dec 2020 13:23:38 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

From 2f64bfe91376065e81c4902444cb47e08e3a66b5 Mon Sep 17 00:00:00 2001
From: Christopher Lam <[email-masked]>
Date: Fri, 11 Dec 2020 21:20:06 +0800
Subject: [PATCH] gnucash.scm: update to 4.2

---
 gnu/packages/gnucash.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm
index dcee4dc166..f53a76902b 100644
--- a/gnu/packages/gnucash.scm
+++ b/gnu/packages/gnucash.scm
@@ -51,6 +51,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 +62,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 +135,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 +231,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.
-- 
2.27.0