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.
This commit is contained in:
Maxim Cournoyer 2019-01-03 18:26:43 -05:00
parent a2e7e95663
commit 2a67ea73c3
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 37 additions and 32 deletions

View File

@ -49,9 +49,11 @@
#: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 @@
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 @@
("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,6 +194,7 @@ financial calculations or scheduled transactions.")
;; 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
(let ((revision "1")) ;set to the empty string when no revision
(package (package
(name "gnucash-docs") (name "gnucash-docs")
(version (package-version gnucash)) (version (package-version gnucash))
@ -199,20 +202,22 @@ financial calculations or scheduled transactions.")
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/" (uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
version "/gnucash-docs-" version ".tar.gz")) version "/gnucash-docs-" version
(if (string-null? revision)
""
(string-append "-" revision))
".tar.gz"))
(sha256 (sha256
(base32 (base32
"10v4hw4lh888r8yv473pqrvzfjg8dwamk62sghs93rn88ndwm16c")))) "0bgjxpxgk7hy8ihn1kvd8p6vv191q5md2hz6jb9mqc4aykpvdlq7"))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; These are native-inputs because they are only required for building the ;; These are native-inputs because they are only required for building the
;; documentation. ;; documentation.
(native-inputs (native-inputs
`(("libxml2" ,libxml2) `(("libxml2" ,libxml2)
;; The "check" target needs the docbook xml packages for validating the ;; The "check" target needs the docbook xml package for validating the
;; DocBook XML during the tests. ;; DocBook XML during the tests.
("docbook-xml-4.4" ,docbook-xml-4.4) ("docbook-xml" ,docbook-xml)
("docbook-xml-4.2" ,docbook-xml-4.2)
("docbook-xml-4.1.2" ,docbook-xml-4.1.2)
("libxslt" ,libxslt) ("libxslt" ,libxslt)
("docbook-xsl" ,docbook-xsl) ("docbook-xsl" ,docbook-xsl)
("scrollkeeper" ,scrollkeeper))) ("scrollkeeper" ,scrollkeeper)))
@ -223,7 +228,7 @@ financial calculations or scheduled transactions.")
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