From: gemmaro <gemmaro.dev@gmail.com>
To: 64327@debbugs.gnu.org
Cc: gemmaro <gemmaro.dev@gmail.com>
Subject: [bug#64327] [PATCH 2/2] gnu: gnucash: Update to 5.3.
Date: Thu, 29 Jun 2023 00:20:22 +0900 [thread overview]
Message-ID: <f60b854527622355e23e453d57d0684f62def566.1687964890.git.gemmaro.dev@gmail.com> (raw)
In-Reply-To: <cover.1687964890.git.gemmaro.dev@gmail.com>
* gnu/packages/gnucash.scm (gnucash): Update to 5.3
[arguments]<phase>: Replace disable-unsupported-test phase with
disable-online-test, which enables all tests but online_wiggle.
[inputs]: Add perl-json-parse and bash-minimal.
* gnu/packages/gnucash.scm (gnucash-doc): Update to 5.3.
---
gnu/packages/gnucash.scm | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm
index aa033c0b9ab..bfc323da333 100644
--- a/gnu/packages/gnucash.scm
+++ b/gnu/packages/gnucash.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2019, 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
;;; Copyright © 2020 Christopher Lam <christopher.lck@gmail.com>
+;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -28,6 +29,7 @@ (define-module (gnu packages gnucash)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
@@ -64,14 +66,14 @@ (define-public gnucash
;; directory.
(package
(name "gnucash")
- (version "5.0")
+ (version "5.3")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
version "/gnucash-" version ".tar.bz2"))
(sha256
- (base32 "09482f1w4yawrdw5c2wi0jb8hwlp1x9mdvq552bf9n5f66mkphfg"))))
+ (base32 "0npilq0spalpg1ma956j7vlbn0yc5f0z5imy4kbyksl5ql4cnn0l"))))
(outputs '("out" "doc" "debug" "python"))
(build-system cmake-build-system)
(arguments
@@ -87,13 +89,11 @@ (define-public gnucash
(guix build utils))
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'disable-unsupported-test
- ;; test test-gnc-quotes neeeds perl JSON::Parse
- ;; not packaged in Guix yet
+ (add-after 'unpack 'disable-online-test
(lambda _
- (substitute* "libgnucash/app-utils/test/CMakeLists.txt"
- (("gnc_add_test\\(test-gnc-quotes")
- "#gnc_add_test\\(test-gnc-quotes"))))
+ (call-with-output-file "libgnucash/app-utils/test/CMakeLists.txt"
+ (lambda (port)
+ (display "set(CTEST_CUSTOM_TESTS_IGNORE online_wiggle)" port)))))
(add-after 'unpack 'set-env-vars
(lambda* (#:key inputs #:allow-other-keys)
;; At least one test is time-related and requires this
@@ -171,6 +171,7 @@ (define-public gnucash
swig))
(inputs
(list aqbanking
+ bash-minimal
boost
glib
gtk+
@@ -183,6 +184,7 @@ (define-public gnucash
libxslt
perl-date-manip
perl-finance-quote
+ perl-json-parse
python
tzdata-for-tests
webkitgtk-with-libsoup2))
@@ -212,11 +214,13 @@ (define gnucash-docs
(source
(origin
(method url-fetch)
+ ;; The filename for version 5.3 is gnucash-docs-5.2.tar.gz, not
+ ;; gnucash-docs-5.3.tar.gz.
(uri (string-append
"mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
- version "/gnucash-docs-" version revision ".tar.gz"))
+ version "/gnucash-docs-5.2" revision ".tar.gz"))
(sha256
- (base32 "1cgdb5qrwrx6yf6dsc8zlhi67lbyjs1g82i0n53sw6n6v38dd882"))))
+ (base32 "16xlxwdgc0w4cg9kxg4w2f1y974cb16wq2c9icq5qrh3nj0nbsxr"))))
(build-system cmake-build-system)
;; These are native-inputs because they are only required for building the
;; documentation.
--
2.40.1
next prev parent reply other threads:[~2023-06-28 15:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-28 15:14 [bug#64327] [PATCH 0/2] gnu: gnucash: Update to 5.3 gemmaro
2023-06-28 15:20 ` [bug#64327] [PATCH 1/2] gnu: Add perl-json-parse gemmaro
2023-06-28 15:20 ` gemmaro [this message]
2023-07-17 22:40 ` bug#64327: [PATCH 0/2] gnu: gnucash: Update to 5.3 Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f60b854527622355e23e453d57d0684f62def566.1687964890.git.gemmaro.dev@gmail.com \
--to=gemmaro.dev@gmail.com \
--cc=64327@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).