Skip to content
Snippets Groups Projects
Unverified Commit 2a67ea73 authored by Maxim Cournoyer's avatar Maxim Cournoyer
Browse files

gnu: gnucash: Update to 3.4.

* gnu/packages/gnucash.scm (gnucash): Update to 3.4.
[outputs]: Add debug.
(gnucash-docs): Update to 3.4-1.
[native-inputs]: Update docbook-xml to version 4.5 and drop older versions.
parent a2e7e956
No related branches found
No related tags found
No related merge requests found
...@@ -49,9 +49,11 @@ (define-module (gnu packages gnucash) ...@@ -49,9 +49,11 @@ (define-module (gnu packages gnucash)
#:use-module (gnu packages xml)) #:use-module (gnu packages xml))
(define-public gnucash (define-public gnucash
;; TODO: Unbundle libraries such as guile-json found under the "borrowed/"
;; directory.
(package (package
(name "gnucash") (name "gnucash")
(version "3.3") (version "3.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
...@@ -59,7 +61,7 @@ (define-public gnucash ...@@ -59,7 +61,7 @@ (define-public gnucash
version "/gnucash-" version ".tar.bz2")) version "/gnucash-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"0grr5qi5rn1xvr7qx5d7mcxa2mcgycy2b325ry73bb485a6yv5l3")) "1ms2wg4sh5gq3rpjmmnp85rh5nc9ahca1imxkvhz4d3yiwy8hm52"))
(patches (search-patches "gnucash-fix-test-transaction-failure.patch")))) (patches (search-patches "gnucash-fix-test-transaction-failure.patch"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
...@@ -83,7 +85,7 @@ (define-public gnucash ...@@ -83,7 +85,7 @@ (define-public gnucash
("googletest" ,googletest) ("googletest" ,googletest)
("gnucash-docs" ,gnucash-docs) ("gnucash-docs" ,gnucash-docs)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(outputs '("out" "doc")) (outputs '("out" "doc" "debug"))
(arguments (arguments
`(#:test-target "check" `(#:test-target "check"
#:configure-flags #:configure-flags
...@@ -192,38 +194,41 @@ (define-public gnucash ...@@ -192,38 +194,41 @@ (define-public gnucash
;; This package is not public, since we use it to build the "doc" output of ;; This package is not public, since we use it to build the "doc" output of
;; the gnucash package (see above). It would be confusing if it were public. ;; the gnucash package (see above). It would be confusing if it were public.
(define gnucash-docs (define gnucash-docs
(package (let ((revision "1")) ;set to the empty string when no revision
(name "gnucash-docs") (package
(version (package-version gnucash)) (name "gnucash-docs")
(source (version (package-version gnucash))
(origin (source
(method url-fetch) (origin
(uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/" (method url-fetch)
version "/gnucash-docs-" version ".tar.gz")) (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
(sha256 version "/gnucash-docs-" version
(base32 (if (string-null? revision)
"10v4hw4lh888r8yv473pqrvzfjg8dwamk62sghs93rn88ndwm16c")))) ""
(build-system gnu-build-system) (string-append "-" revision))
;; These are native-inputs because they are only required for building the ".tar.gz"))
;; documentation. (sha256
(native-inputs (base32
`(("libxml2" ,libxml2) "0bgjxpxgk7hy8ihn1kvd8p6vv191q5md2hz6jb9mqc4aykpvdlq7"))))
;; The "check" target needs the docbook xml packages for validating the (build-system gnu-build-system)
;; DocBook XML during the tests. ;; These are native-inputs because they are only required for building the
("docbook-xml-4.4" ,docbook-xml-4.4) ;; documentation.
("docbook-xml-4.2" ,docbook-xml-4.2) (native-inputs
("docbook-xml-4.1.2" ,docbook-xml-4.1.2) `(("libxml2" ,libxml2)
("libxslt" ,libxslt) ;; The "check" target needs the docbook xml package for validating the
("docbook-xsl" ,docbook-xsl) ;; DocBook XML during the tests.
("scrollkeeper" ,scrollkeeper))) ("docbook-xml" ,docbook-xml)
(home-page "https://www.gnucash.org/") ("libxslt" ,libxslt)
(synopsis "Documentation for GnuCash") ("docbook-xsl" ,docbook-xsl)
(description ("scrollkeeper" ,scrollkeeper)))
"User guide and other documentation for GnuCash in various languages. (home-page "https://www.gnucash.org/")
(synopsis "Documentation for GnuCash")
(description
"User guide and other documentation for GnuCash in various languages.
This package exists because the GnuCash project maintains its documentation in This package exists because the GnuCash project maintains its documentation in
an entirely separate package from the actual GnuCash program. It is intended an entirely separate package from the actual GnuCash program. It is intended
to be read using the GNOME Yelp program.") to be read using the GNOME Yelp program.")
(license (list license:fdl1.1+ license:gpl3+)))) (license (list license:fdl1.1+ license:gpl3+)))))
(define-public gwenhywfar (define-public gwenhywfar
(package (package
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment