all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#36011] [PATCH 1/2] gnu: gnucash: Update to 3.5.
@ 2019-05-30 18:49 Vasile Dumitrascu
  2019-05-30 18:49 ` [bug#36010] [PATCH 2/2] gnu: gnucash-docs: " Vasile Dumitrascu
  2019-06-01  3:07 ` bug#36011: [PATCH 1/2] gnu: gnucash: " Kei Kebreau
  0 siblings, 2 replies; 5+ messages in thread
From: Vasile Dumitrascu @ 2019-05-30 18:49 UTC (permalink / raw)
  To: 36011; +Cc: Vasile Dumitrascu

* gnu/packages/gnucash.scm (gnucash): Update to 3.5.
[source]: Remove uneeded patch.
* gnu/local.mk: Remove delete patch.
---
 gnu/local.mk                                  |  1 -
 gnu/packages/gnucash.scm                      |  5 +-
 ...gnucash-fix-test-transaction-failure.patch | 54 -------------------
 3 files changed, 2 insertions(+), 58 deletions(-)
 delete mode 100644 gnu/packages/patches/gnucash-fix-test-transaction-failure.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 3a199f82f8..e1c1b0202c 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -865,7 +865,6 @@ dist_patch_DATA =						\
   %D%/packages/patches/gmp-faulty-test.patch			\
   %D%/packages/patches/gnome-shell-theme.patch			\
   %D%/packages/patches/gnome-tweaks-search-paths.patch		\
-  %D%/packages/patches/gnucash-fix-test-transaction-failure.patch \
   %D%/packages/patches/gnutls-skip-trust-store-test.patch	\
   %D%/packages/patches/gobject-introspection-absolute-shlib-path.patch \
   %D%/packages/patches/gobject-introspection-cc.patch		\
diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm
index 5b4da97e5d..e09a7cb0c0 100644
--- a/gnu/packages/gnucash.scm
+++ b/gnu/packages/gnucash.scm
@@ -54,7 +54,7 @@
   ;; directory.
   (package
     (name "gnucash")
-    (version "3.4")
+    (version "3.5")
     (source
      (origin
        (method url-fetch)
@@ -62,8 +62,7 @@
                            version "/gnucash-" version ".tar.bz2"))
        (sha256
         (base32
-         "1ms2wg4sh5gq3rpjmmnp85rh5nc9ahca1imxkvhz4d3yiwy8hm52"))
-       (patches (search-patches "gnucash-fix-test-transaction-failure.patch"))))
+         "0ibp7g6aknvnkwkin97kv04ipksy3l18dsz9qysjb7h2nr8hnvbp"))))
     (build-system cmake-build-system)
     (inputs
      `(("guile" ,guile-2.2)
diff --git a/gnu/packages/patches/gnucash-fix-test-transaction-failure.patch b/gnu/packages/patches/gnucash-fix-test-transaction-failure.patch
deleted file mode 100644
index 7b1b29f06c..0000000000
--- a/gnu/packages/patches/gnucash-fix-test-transaction-failure.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-# This patch was submitted upstream to: https://bugs.gnucash.org/show_bug.cgi?id=797008.
-From c20d74bebca516d0e391724202aad511967fe109 Mon Sep 17 00:00:00 2001
-From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
-Date: Wed, 2 Jan 2019 14:46:28 -0500
-Subject: [PATCH] tests: Fix a test failure in test-transaction.scm.
-
-With the New Year upon us, a test which was hard-coded to use 2018 now
-failed.
-
-Fixes issue #797008 (see:
-https://bugs.gnucash.org/show_bug.cgi?id=797008).
-
-* gnucash/report/standard-reports/test/test-transaction.scm:
-(trep-tests): Use the current year in the test string instead of a
-static one.
----
- gnucash/report/standard-reports/test/test-transaction.scm | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/gnucash/report/standard-reports/test/test-transaction.scm b/gnucash/report/standard-reports/test/test-transaction.scm
-index 755aba298..ae3fbd5c1 100644
---- a/gnucash/report/standard-reports/test/test-transaction.scm
-+++ b/gnucash/report/standard-reports/test/test-transaction.scm
-@@ -5,6 +5,7 @@
- (use-modules (gnucash report stylesheets))
- (use-modules (gnucash report report-system))
- (use-modules (gnucash report report-system test test-extras))
-+(use-modules (srfi srfi-19))
- (use-modules (srfi srfi-64))
- (use-modules (gnucash engine test srfi64-extras))
- (use-modules (sxml simple))
-@@ -643,7 +644,8 @@
-       (set-option! options "General" "Show original currency amount" #t)
-       (set-option! options "Sorting" "Primary Key" 'date)
-       (set-option! options "Sorting" "Primary Subtotal for Date Key" 'none)
--      (let* ((sxml (options->sxml options "dual columns")))
-+      (let* ((sxml (options->sxml options "dual columns"))
-+	     (current-year (date->string (current-date) "~y")))
-         (test-equal "dual amount column, with original currency headers"
-           (list "Date" "Num" "Description" "Memo/Notes" "Account"
-                 "Debit (USD)" "Credit (USD)" "Debit" "Credit")
-@@ -652,7 +654,8 @@
-           (list "Grand Total" "$2,280.00" "$2,280.00")
-           (get-row-col sxml -1 #f))
-         (test-equal "dual amount column, first transaction correct"
--          (list "01/03/18" "$103 income" "Root.Asset.Bank" "$103.00" "$103.00")
-+          (list (string-append "01/03/" current-year) "$103 income"
-+		"Root.Asset.Bank" "$103.00" "$103.00")
-           (get-row-col sxml 1 #f)))
-       )
- 
--- 
-2.19.0
-
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#36010] [PATCH 2/2] gnu: gnucash-docs: Update to 3.5.
  2019-05-30 18:49 [bug#36011] [PATCH 1/2] gnu: gnucash: Update to 3.5 Vasile Dumitrascu
@ 2019-05-30 18:49 ` Vasile Dumitrascu
  2019-06-01  3:10   ` bug#36010: " Kei Kebreau
  2019-06-01  3:07 ` bug#36011: [PATCH 1/2] gnu: gnucash: " Kei Kebreau
  1 sibling, 1 reply; 5+ messages in thread
From: Vasile Dumitrascu @ 2019-05-30 18:49 UTC (permalink / raw)
  To: 36010; +Cc: Vasile Dumitrascu

* gnu/packages/gnucash.scm (gnucash-docs): Update to 3.5.
---
 gnu/packages/gnucash.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm
index e09a7cb0c0..2196a8c50a 100644
--- a/gnu/packages/gnucash.scm
+++ b/gnu/packages/gnucash.scm
@@ -196,7 +196,7 @@ installed as well as Yelp, the Gnome help browser.")
 ;; 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.
 (define gnucash-docs
-  (let ((revision "a"))              ;set to the empty string when no revision
+  (let ((revision ""))              ;set to the empty string when no revision
     (package
       (name "gnucash-docs")
       (version (package-version gnucash))
@@ -207,7 +207,7 @@ installed as well as Yelp, the Gnome help browser.")
                              version "/gnucash-docs-" version revision ".tar.gz"))
          (sha256
           (base32
-           "0bgjxpxgk7hy8ihn1kvd8p6vv191q5md2hz6jb9mqc4aykpvdlq7"))))
+           "0gjndyms413vilf5nqh39frs1691sxib8l7y9mbvcyirj1f8285k"))))
       (build-system gnu-build-system)
       ;; These are native-inputs because they are only required for building the
       ;; documentation.
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#36011: [PATCH 1/2] gnu: gnucash: Update to 3.5.
  2019-05-30 18:49 [bug#36011] [PATCH 1/2] gnu: gnucash: Update to 3.5 Vasile Dumitrascu
  2019-05-30 18:49 ` [bug#36010] [PATCH 2/2] gnu: gnucash-docs: " Vasile Dumitrascu
@ 2019-06-01  3:07 ` Kei Kebreau
  2019-06-01 11:28   ` [bug#36011] " Dumitrascu Vasile
  1 sibling, 1 reply; 5+ messages in thread
From: Kei Kebreau @ 2019-06-01  3:07 UTC (permalink / raw)
  To: Vasile Dumitrascu; +Cc: 36011-done

Hi Vasile,

The patch looks good overall, but the way the commit log is written is a
bit off. It's mostly good though, so I've committed the patch myself
with the changes mentioned below.

Vasile Dumitrascu <va511e@yahoo.com> writes:

> * gnu/packages/gnucash.scm (gnucash): Update to 3.5.
> [source]: Remove uneeded patch.
> * gnu/local.mk: Remove delete patch.

The value modified within gnu/local.mk should be specified. In this
case, the line would look line this:
"* gnu/local.mk (dist_patch_DATA): Remove patch."

Also, mention that you actually deleted the obsolete patch:
"* gnu/packages/patches/gnucash-fix-test-transaction-failure.patch: Delete file."

Thanks for contributing!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#36010: [PATCH 2/2] gnu: gnucash-docs: Update to 3.5.
  2019-05-30 18:49 ` [bug#36010] [PATCH 2/2] gnu: gnucash-docs: " Vasile Dumitrascu
@ 2019-06-01  3:10   ` Kei Kebreau
  0 siblings, 0 replies; 5+ messages in thread
From: Kei Kebreau @ 2019-06-01  3:10 UTC (permalink / raw)
  To: Vasile Dumitrascu; +Cc: 36010-done

Hi Vasile,

This patch has been committed to Guix master as well.

Thanks again!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#36011] [PATCH 1/2] gnu: gnucash: Update to 3.5.
  2019-06-01  3:07 ` bug#36011: [PATCH 1/2] gnu: gnucash: " Kei Kebreau
@ 2019-06-01 11:28   ` Dumitrascu Vasile
  0 siblings, 0 replies; 5+ messages in thread
From: Dumitrascu Vasile @ 2019-06-01 11:28 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: 36011-done

[-- Attachment #1: Type: text/plain, Size: 885 bytes --]

 
  Hi Kei

Thank you for the corrections and the merge,

  Vasile
 
    On Saturday, June 1, 2019, 5:07:51 AM GMT+2, Kei Kebreau <kkebreau@posteo.net> wrote:  
 
 Hi Vasile,

The patch looks good overall, but the way the commit log is written is a
bit off. It's mostly good though, so I've committed the patch myself
with the changes mentioned below.

Vasile Dumitrascu <va511e@yahoo.com> writes:

> * gnu/packages/gnucash.scm (gnucash): Update to 3.5.
> [source]: Remove uneeded patch.
> * gnu/local.mk: Remove delete patch.

The value modified within gnu/local.mk should be specified. In this
case, the line would look line this:
"* gnu/local.mk (dist_patch_DATA): Remove patch."

Also, mention that you actually deleted the obsolete patch:
"* gnu/packages/patches/gnucash-fix-test-transaction-failure.patch: Delete file."

Thanks for contributing!
  

[-- Attachment #2: Type: text/html, Size: 2100 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-01 11:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-30 18:49 [bug#36011] [PATCH 1/2] gnu: gnucash: Update to 3.5 Vasile Dumitrascu
2019-05-30 18:49 ` [bug#36010] [PATCH 2/2] gnu: gnucash-docs: " Vasile Dumitrascu
2019-06-01  3:10   ` bug#36010: " Kei Kebreau
2019-06-01  3:07 ` bug#36011: [PATCH 1/2] gnu: gnucash: " Kei Kebreau
2019-06-01 11:28   ` [bug#36011] " Dumitrascu Vasile

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.