pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/finance/gnucash
Module Name: pkgsrc
Committed By: wiz
Date: Tue Apr 14 10:35:17 UTC 2020
Modified Files:
pkgsrc/finance/gnucash: Makefile PLIST.python distinfo
Added Files:
pkgsrc/finance/gnucash/patches:
patch-bindings_python_tests_CMakeLists.txt
patch-bindings_python_tests_runTests.py.in
patch-libgnucash_core-utils_binreloc.c
Log Message:
gnucash: update to 3.10.
Changes
This is a snap release to reverse the changes to the reconcile
window's filtering reconciled transactions with a reconcile date
after the current statement date when computing the starting balance.
It seems that many users' books have accounts with reconcile dates
in the future that were suddenly filtered out, creating an incorrect
starting balance and making it impossible to reconcile the book.
Between 3.9 and 3.10, the following bugfixes were accomplished:
Bug 620848 - Transfer Funds window - add Notes field
Bug 797006 - Balance is misleading in open subaccounts when different currencies are involved
Bug 797318 - Amounts ending in zero displayed as fractions
Bug 797666 - libgnucash/engine/test/test-recurrence.c: In function 'check_valid': 'result' may be used uninitialized
Bug 797676 - Register displays amount in transaction currency instead of register currency.
Bug 797674 - 3.9: "test-gnc-path-util" failed on Debian amd64
The following fixes and improvements were not associated with bug reports:
Update latest translation from the Translation project.
[window-reconcile] when reconciling, warn on splits having a reconcile date > statement_date
[window-reconcile] when inputing statement_date, warn if it's after today
[find-transactions] add search for reconciled date
Show transaction value, not amount, for registers with subaccounts.
If the register has subaccounts in different currencies and a transaction has splits in more than one, the transaction will incorrectly appear to be unbalanced if we total amounts because the
balancing logic works on split values.
Add instance argument to Session constructor
Enables a python console to connect to the running GnuCash's session.
Make python console less noisy without --debug.
Provide locals and globals of calling context to the python console's shell on shell init
Merge Jean Laroche's '797006_subaccounts' into maint.
Add check to display warning dialog for mismatched commodities
Replicate changes in *2 files
Apply astyle to modified files
Merge Chris Mayo's iPython-fixes into maint.
Make pycons/ishell.py compatible with Python 3 and current IPython
[eguile-utilities] Prevent crash in balsheet-eg.scm
[eguile] escape-html -> gnc:html-string-sanitize
[qif-to-gnc] Properly mark intra-QIF internal transfers.
We have a revised Ukrainian translation.
To generate a diff of this commit:
cvs rdiff -u -r1.291 -r1.292 pkgsrc/finance/gnucash/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/finance/gnucash/PLIST.python
cvs rdiff -u -r1.98 -r1.99 pkgsrc/finance/gnucash/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/finance/gnucash/patches/patch-bindings_python_tests_CMakeLists.txt \
pkgsrc/finance/gnucash/patches/patch-bindings_python_tests_runTests.py.in \
pkgsrc/finance/gnucash/patches/patch-libgnucash_core-utils_binreloc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/finance/gnucash/Makefile
diff -u pkgsrc/finance/gnucash/Makefile:1.291 pkgsrc/finance/gnucash/Makefile:1.292
--- pkgsrc/finance/gnucash/Makefile:1.291 Sun Apr 12 08:28:38 2020
+++ pkgsrc/finance/gnucash/Makefile Tue Apr 14 10:35:17 2020
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.291 2020/04/12 08:28:38 adam Exp $
+# $NetBSD: Makefile,v 1.292 2020/04/14 10:35:17 wiz Exp $
-DISTNAME= gnucash-3.9
-PKGREVISION= 1
+DISTNAME= gnucash-3.10
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnucash/}
EXTRACT_SUFX= .tar.bz2
Index: pkgsrc/finance/gnucash/PLIST.python
diff -u pkgsrc/finance/gnucash/PLIST.python:1.1 pkgsrc/finance/gnucash/PLIST.python:1.2
--- pkgsrc/finance/gnucash/PLIST.python:1.1 Mon Apr 9 08:47:54 2018
+++ pkgsrc/finance/gnucash/PLIST.python Tue Apr 14 10:35:17 2020
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST.python,v 1.1 2018/04/09 08:47:54 wiz Exp $
+@comment $NetBSD: PLIST.python,v 1.2 2020/04/14 10:35:17 wiz Exp $
${PYSITELIB}/gnucash/__init__.py
${PYSITELIB}/gnucash/_gnucash_core_c.so
${PYSITELIB}/gnucash/_sw_app_utils.so
${PYSITELIB}/gnucash/_sw_core_utils.so
+${PYSITELIB}/gnucash/app_utils.py
${PYSITELIB}/gnucash/function_class.py
${PYSITELIB}/gnucash/gnucash_business.py
${PYSITELIB}/gnucash/gnucash_core.py
Index: pkgsrc/finance/gnucash/distinfo
diff -u pkgsrc/finance/gnucash/distinfo:1.98 pkgsrc/finance/gnucash/distinfo:1.99
--- pkgsrc/finance/gnucash/distinfo:1.98 Tue Mar 31 21:29:35 2020
+++ pkgsrc/finance/gnucash/distinfo Tue Apr 14 10:35:17 2020
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.98 2020/03/31 21:29:35 wiz Exp $
+$NetBSD: distinfo,v 1.99 2020/04/14 10:35:17 wiz Exp $
-SHA1 (gnucash-3.9.tar.bz2) = 00fca79635f1c831739fbdc8116248584c1cbcc8
-RMD160 (gnucash-3.9.tar.bz2) = b0bcd9fb472f310e0dabb7945bfc9be4eff63cef
-SHA512 (gnucash-3.9.tar.bz2) = b1669ae2ffbf010658e4c80ce80b63d6653af0d1feafa48df6724570bfcc5f88d1eb8642c0a8b31ddd3c81a2e6859c396a14371ad05421b33fa66cf301d8b0c5
-Size (gnucash-3.9.tar.bz2) = 14174108 bytes
+SHA1 (gnucash-3.10.tar.bz2) = b9fcdb1e5c44ad989ea6585f6a3c62c56a730663
+RMD160 (gnucash-3.10.tar.bz2) = 25ad9822130e641240418d753a0092c98815688b
+SHA512 (gnucash-3.10.tar.bz2) = f4b88d35c94af59ffc8144b95dc5f3ba54c6f72473589c4184e026300536ad7f5f13a71fb572693c55ee540ba30c8cf65fba101d7112e34e3fcbbd738007b27e
+Size (gnucash-3.10.tar.bz2) = 14166587 bytes
+SHA1 (patch-bindings_python_tests_CMakeLists.txt) = 1a02e3860d0b02742e0dc7228f3a58f5ebe8fb89
+SHA1 (patch-bindings_python_tests_runTests.py.in) = 6966117741ecef177c41c85e7e6765ce934280a3
+SHA1 (patch-libgnucash_core-utils_binreloc.c) = 8ed7610d64e2d68e597025ffdbf46dc1d41381d6
Added files:
Index: pkgsrc/finance/gnucash/patches/patch-bindings_python_tests_CMakeLists.txt
diff -u /dev/null pkgsrc/finance/gnucash/patches/patch-bindings_python_tests_CMakeLists.txt:1.1
--- /dev/null Tue Apr 14 10:35:18 2020
+++ pkgsrc/finance/gnucash/patches/patch-bindings_python_tests_CMakeLists.txt Tue Apr 14 10:35:17 2020
@@ -0,0 +1,24 @@
+$NetBSD: patch-bindings_python_tests_CMakeLists.txt,v 1.1 2020/04/14 10:35:17 wiz Exp $
+
+Fix gnucash-3.10 bug.
+https://github.com/Gnucash/gnucash/commit/e1b01403
+
+--- bindings/python/tests/CMakeLists.txt.orig 2020-04-11 16:28:50.000000000 +0000
++++ bindings/python/tests/CMakeLists.txt
+@@ -5,7 +5,7 @@ if (WITH_PYTHON)
+ # Because it hasn't been built yet
+ set(test_core_dir ${CMAKE_BINARY_DIR}/common/test-core)
+ endif()
+- add_custom_target(test-python-bindings ALL DEPENDS unittest_support gnucash-core-c-build gnucash-core-c-py swig-app-utils-python)
++ add_custom_target(test-python-bindings ALL DEPENDS unittest_support gnucash-core-c-build gnucash-core-c-py sw_app_utils)
+ add_dependencies(check test-python-bindings)
+ add_test(python-bindings ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/runTests.py.in)
+ set_property(TEST python-bindings PROPERTY ENVIRONMENT
+@@ -21,6 +21,7 @@ set(test_python_bindings_DATA
+ test_business.py
+ test_commodity.py
+ test_numeric.py
++ test_session.py
+ test_split.py
+ test_transaction.py
+ test_query.py)
Index: pkgsrc/finance/gnucash/patches/patch-bindings_python_tests_runTests.py.in
diff -u /dev/null pkgsrc/finance/gnucash/patches/patch-bindings_python_tests_runTests.py.in:1.1
--- /dev/null Tue Apr 14 10:35:18 2020
+++ pkgsrc/finance/gnucash/patches/patch-bindings_python_tests_runTests.py.in Tue Apr 14 10:35:17 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-bindings_python_tests_runTests.py.in,v 1.1 2020/04/14 10:35:17 wiz Exp $
+
+Bugfix for 3.10 release.
+https://bugs.gnucash.org/show_bug.cgi?id=797679
+
+--- bindings/python/tests/runTests.py.in.orig 2020-04-11 16:28:50.000000000 +0000
++++ bindings/python/tests/runTests.py.in
+@@ -5,7 +5,6 @@ import os
+
+ os.environ["GNC_UNINSTALLED"] = "1"
+
+-from test_session import TestSession
+ from test_book import TestBook
+ from test_account import TestAccount
+ from test_split import TestSplit
Index: pkgsrc/finance/gnucash/patches/patch-libgnucash_core-utils_binreloc.c
diff -u /dev/null pkgsrc/finance/gnucash/patches/patch-libgnucash_core-utils_binreloc.c:1.1
--- /dev/null Tue Apr 14 10:35:18 2020
+++ pkgsrc/finance/gnucash/patches/patch-libgnucash_core-utils_binreloc.c Tue Apr 14 10:35:17 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-libgnucash_core-utils_binreloc.c,v 1.1 2020/04/14 10:35:17 wiz Exp $
+
+Bugfix for 3.10 release.
+https://bugs.gnucash.org/show_bug.cgi?id=797679
+
+--- libgnucash/core-utils/binreloc.c.orig 2020-04-11 21:17:58.000000000 +0000
++++ libgnucash/core-utils/binreloc.c
+@@ -475,7 +475,7 @@ find_component_directory (const gchar *d
+ prefix = gnc_gbr_find_prefix (NULL);
+ if (prefix == NULL)
+ return g_strdup (default_dir ? default_dir : compiled_dir);
+- if (!g_getenv("GNC_UNINSTALLE"))
++ if (!g_getenv("GNC_UNINSTALLED"))
+ {
+ if (!g_strcmp0 (prefix, PREFIX))
+ return g_strdup (compiled_dir);
Home |
Main Index |
Thread Index |
Old Index