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:           Mon Jun 28 07:32:56 UTC 2021

Modified Files:
        pkgsrc/finance/gnucash: Makefile PLIST distinfo

Log Message:
gnucash: update to 4.6.

The GnuCash development team announces GnuCash 4.6, the sixth release in the stable 4.x series
Between 4.5 and 4.6, the following bugfixes were accomplished:

    Bug 648335 - Display Created Transactions setting

    Add a preference for the 'Review Created Transactions' setting in the 'Since Last Run' dialog so that the default can be specified.
    Bug 743753 - Nearest in time security price selection is incorrect in reports

    Add new price source - 'nearest before report date' will ignore prices *after* report date.
    Bug 743999 - Deleting a digit from an existing number greater than four digits in length generates an error message.

    Because the grouping is off. Checking grouping on input is pointless so just ignore the grouping separator when parsing number input.
    Bug 753283 - Current Selection Highlight Lost After Transaction Edit in Scheduled Transaction Window
    Bug 787813 - Price change from editing a transaction not reflected in pricedb.
    Bug 794877 - Intro text of "Online Banking Setup" is outdated
    Bug 795804 - Extremely slow save

    Only update the status bar when the percentage changes by at least 1% because running the mainloop is expensive on macOS and Microsoft Windows. This speeds up all operations that run the progress 
bar with overly-fine resolution.
    Bug 796761 - Newline (char(10)) is inserted into the end of the string if copy & paste text from excel into the description field of transaction
    Bug 797787 - Feature request: preference setting to open new tabs adjacent to currently active tab

    tests preference; if enabled then new tab inserted after current. if disabled then new tab is at the end.
    Bug 797928 - Since last run asks for security price when no shares traded
    Bug 798093 - Changing the symbol/abbreviation of a security after the trading account was created breaks GnuCash.(Reopened)
    Bug 798133 - Gnucash crash when any custom action is entered
    Bug 798144 - Reconciliation uses different number than entered

    If a number was pasted into the balance end value with a currency symbol the number would silently fail on evaluate and cause the wrong value to be used. With previous changes to the 
GNCAmountEdit widget a warning symbol will indicate a validation error and prevents going forward.
    Bug 798148 - "Accounts" page Present (USD) column uses future prices
    Bug 798151 - Value entry box not tied to associated transaction in Since Last Run assistant
    Bug 798156 - glib 2.68.0 breaks gnucash
    Bug 798159 - Keyboard shortcut bug in 'manage document link'
    Bug 798162 - Type Ahead Initialization Problem
    Bug 798170 - Unbound variable: gnc-budget-lookup when running saved report Budget Report via gnucash-cli
    Bug 798177 - Price of new stock transactions not saved in price database
    Bug 798186 - Incorrect result editting account in register when overtyping a part selection.
    Bug 798188 - The Invoice Editor -> Printable Invoice toolbar button crashes on Windows
    Bug 798196 - not building with Boost 1.76
    Bug 798199 - Pasting invalid value in date column crashes GnuCash
    Bug 798202 - Register input ignores theme on KDE rendering black text on black background
    Bug 798203 - g_assert fault while reversing transaction
    Bug 798204 - Creation of Imbalance Accounts
    Bug 798212 - right-click the down-arrow in the date register changes focus to first split

The following fixes and improvements were not associated with bug reports:

    Improve transaction sorting on effective num field so that alpha charachters and numbers larger than 1 billion will be ordered. Ordering is now numeric for leading numbers (so that 9 sorts before 
10) and lexical beginning with the first non-numeric character. Note that if one of the values begins with an alpha character ordering will be entirely lexical. Lexical sorting is localized; as in 
the rest of GnuCash only standard ASCII numbers (codepoints U+0030 - U+0039) are treated as numbers.
    Add import preferences for the difference in time considered when matching an existing transaction to an imported one. A difference less than the matching-date-threshold raises the score of the 
match; a difference greater than match-date-not-threshold lowers the score.
    Add experimental report "IFRS weighted-average cost basis report". This is a work-in-progress to help calculate the cost basis of securities priced in a foreign currency.
    [income-gst-statement] amend headers post Brexit. UK left EU, therefore VAT headers have now changed.
    Plug a bunch of memory leaks.
    Change how the print_info is obtained for the register: Currently the register sets up some 'print_info' values using the default account but if the register is a stock register they should be 
obtained from a parent account with a currency.
    Change monetary value for gnc_default_share_print_info: Share values are not currencies so set the monetary value to 0 for the GNCPrintAmountInfo
    Parse the register monetary cells for a currency symbol: Add the ability to strip the currency symbol from a registry monetary cell if it is pasted with one so it can be validated.
    SKR-49 Account Template: Add codes 4500-4504, drop a duplicate, correct code 0674.
    [gnc-plugin-page-register] Disable reverse on blank split
    Make balancing transactions with trading accounts easier by removing and recalculating all trading splits. This ensures that there will be only one trading split pair per exchange and relieves 
the user of having to adjust the trading splits to match the accounting splits.
    Don't bother scrubbing for orphans if there's no transaction currency. If it found one it would try to create an orphan account with no currency which will crash later.
    [chartjs] upgrade chartjs to 2.9.4. Fixes CVE-2020-7746
    [report-core] disallow define-report with incomplete export info. If exporting is allowed, 'export-types and 'export-thunk must both be defined.
    [test-engine-extras] augment book data generators
    ignore .vscode folder
    Reorder and relabel price source list for better coherence
    Python Bindings: Provide a deprecated GncPriceDB.lookup_latest_before_t64 to avoid breaking user scripts.
    Update gnucash_core.py with gnc-pricedb function name change
    Change some functions to use const gnc_commodity for gnc_pricedb
    Reformat schedule transaction source files for white space
    Add depreciation warnings for the removal of individual option tool tips
    Remove individual tool tips from radio button options

    Removes the function gnc_option_permissible_value_description
    ESC key was not working on load of Scheduled Transaction Editor
    [budget.scm] show correct tooltip for report option
    [html-acct-table] Remove unused 'pre-adjusting balances option
    Bugfix: export-code for category-barchart reports would fail.

    This stems from trying to handle file-name when calling export code. Export code no longer require file-name, The export-code returns a string in the html-document object instead. Remove all 
file-name handling in reports. No backward compatibility issues because most users would not copy a GnuCash >=4.6 report code onto a <4.5 installation.
    [gnucash-cli] improve discoverability of export-type. Formerly, selecting --export-type EXT would dump the cryptic "Report REPORTNAME has no export code". Modify to hint the user on acceptable 
reports with export-code.

New API

    [report-utilities] Functions to dump splits in whole book:
        gnc:dump-book - splits grouped by account
        gnc:dump-all-transactions - splits grouped by transaction
        gnc:dump-split - dumps single split
    Rename a couple of gnc-pricedb functions that have not been used:
        gnc_pricedb_lookup_latest_before_t64 to gnc_pricedb_lookup_nearest_before_t64
        gnc_pricedb_lookup_latest_before_any_currency_t64 to gnc_pricedb_lookup_nearest_before_any_currency_t64
    Add retrieval functions for price before the date given:
        gnc_pricedb_convert_balance_nearest_before_price_t64 that retrieves the balance using the last price dated before a specified date like today for the preset value.
        gnc_pricedb_get_nearest_before_price does the retrieval.

Deprecations

    gnc:get-start-next-year
    gnc:get-end-next-year
    gnc:get-start-next-month
    gnc:get-end-next-month
    gnc:get-start-next-quarter
    nc:get-end-next-quarter
    gnc:get-one-month-ago
    gnc:get-one-month-ahead
    gnc:account-code-less-p
    gnc:account-name-less-p


To generate a diff of this commit:
cvs rdiff -u -r1.307 -r1.308 pkgsrc/finance/gnucash/Makefile
cvs rdiff -u -r1.78 -r1.79 pkgsrc/finance/gnucash/PLIST
cvs rdiff -u -r1.106 -r1.107 pkgsrc/finance/gnucash/distinfo

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.307 pkgsrc/finance/gnucash/Makefile:1.308
--- pkgsrc/finance/gnucash/Makefile:1.307       Mon May 24 19:52:12 2021
+++ pkgsrc/finance/gnucash/Makefile     Mon Jun 28 07:32:56 2021
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.307 2021/05/24 19:52:12 wiz Exp $
+# $NetBSD: Makefile,v 1.308 2021/06/28 07:32:56 wiz Exp $
 
-DISTNAME=              gnucash-4.5
-PKGREVISION=           3
+DISTNAME=              gnucash-4.6
 CATEGORIES=            finance
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=gnucash/}
 EXTRACT_SUFX=          .tar.bz2

Index: pkgsrc/finance/gnucash/PLIST
diff -u pkgsrc/finance/gnucash/PLIST:1.78 pkgsrc/finance/gnucash/PLIST:1.79
--- pkgsrc/finance/gnucash/PLIST:1.78   Thu Apr  1 08:22:36 2021
+++ pkgsrc/finance/gnucash/PLIST        Mon Jun 28 07:32:56 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.78 2021/04/01 08:22:36 wiz Exp $
+@comment $NetBSD: PLIST,v 1.79 2021/06/28 07:32:56 wiz Exp $
 bin/gnc-fq-check
 bin/gnc-fq-dump
 bin/gnc-fq-helper
@@ -66,7 +66,6 @@ include/gnucash/gnc-cell-renderer-popup.
 include/gnucash/gnc-cell-renderer-text-flag.h
 include/gnucash/gnc-cell-renderer-text-view.h
 include/gnucash/gnc-cell-view.h
-include/gnucash/gnc-combott.h
 include/gnucash/gnc-commodity-edit.h
 include/gnucash/gnc-commodity.h
 include/gnucash/gnc-component-manager.h
@@ -406,6 +405,7 @@ lib/guile/2.2/site-ccache/gnucash/report
 lib/guile/2.2/site-ccache/gnucash/reports/standard/equity-statement.go
 lib/guile/2.2/site-ccache/gnucash/reports/standard/general-journal.go
 lib/guile/2.2/site-ccache/gnucash/reports/standard/general-ledger.go
+lib/guile/2.2/site-ccache/gnucash/reports/standard/ifrs-cost-basis.go
 lib/guile/2.2/site-ccache/gnucash/reports/standard/income-gst-statement.go
 lib/guile/2.2/site-ccache/gnucash/reports/standard/income-statement.go
 lib/guile/2.2/site-ccache/gnucash/reports/standard/invoice.go
@@ -929,7 +929,23 @@ share/gnucash/accounts/zh_CN/acctchrt_re
 share/gnucash/accounts/zh_CN/acctchrt_spouseinc.gnucash-xea
 share/gnucash/accounts/zh_CN/acctchrt_spouseretire.gnucash-xea
 share/gnucash/accounts/zh_HK/acctchrt_business.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_brokerage.gnucash-xea
 share/gnucash/accounts/zh_TW/acctchrt_business.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_carloan.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_cdmoneymkt.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_checkbook.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_childcare.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_common.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_eduloan.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_fixedassets.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_homeloan.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_homeown.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_otherloan.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_renter.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_retiremt.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_spouseinc.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_spouseretire.gnucash-xea
+share/gnucash/accounts/zh_TW/acctchrt_vehicle.gnucash-xea
 share/gnucash/chartjs/Chart.bundle.js
 share/gnucash/chartjs/Chart.bundle.min.js
 share/gnucash/checks/deluxe.chk
@@ -1247,6 +1263,7 @@ share/guile/site/2.2/gnucash/reports/sta
 share/guile/site/2.2/gnucash/reports/standard/equity-statement.scm
 share/guile/site/2.2/gnucash/reports/standard/general-journal.scm
 share/guile/site/2.2/gnucash/reports/standard/general-ledger.scm
+share/guile/site/2.2/gnucash/reports/standard/ifrs-cost-basis.scm
 share/guile/site/2.2/gnucash/reports/standard/income-gst-statement.scm
 share/guile/site/2.2/gnucash/reports/standard/income-statement.scm
 share/guile/site/2.2/gnucash/reports/standard/invoice.scm

Index: pkgsrc/finance/gnucash/distinfo
diff -u pkgsrc/finance/gnucash/distinfo:1.106 pkgsrc/finance/gnucash/distinfo:1.107
--- pkgsrc/finance/gnucash/distinfo:1.106       Thu Apr  1 08:22:36 2021
+++ pkgsrc/finance/gnucash/distinfo     Mon Jun 28 07:32:56 2021
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.106 2021/04/01 08:22:36 wiz Exp $
+$NetBSD: distinfo,v 1.107 2021/06/28 07:32:56 wiz Exp $
 
-SHA1 (gnucash-4.5.tar.bz2) = f735b922c544f6c99271f2d621b540c0ca3e4a82
-RMD160 (gnucash-4.5.tar.bz2) = 20badb1f56f6377c6050d89121e83a23b47f3c37
-SHA512 (gnucash-4.5.tar.bz2) = 5e6dfebae8845ab7ad8fcb95f38eb1d0907e789637f722fccf31486b05ee9ebbfb60b8c70e1cef1fc5913b73bfdc2251babed09b6f894c266b969874f3dff30b
-Size (gnucash-4.5.tar.bz2) = 14472274 bytes
-SHA1 (patch-gnucash_gnome_assistant-loan.cpp) = 0dc5526c7553d810daa47bc6768f6ebeff33ca86
+SHA1 (gnucash-4.6.tar.bz2) = b9bdf6c0af7e8b45c514ffc3423f6ecc7f38151f
+RMD160 (gnucash-4.6.tar.bz2) = 7e25d8c5d5eca7a84953ed1d41734b0adbc46d09
+SHA512 (gnucash-4.6.tar.bz2) = f4046d42f5e5646f93698579636fe4e6aaa8e1b59bee8941a57644ad9f4a4b0817a320c8bc91fd528d2119a3d09576b134a2765f2582c7d0ce6e274daeb11543
+Size (gnucash-4.6.tar.bz2) = 14591886 bytes



Home | Main Index | Thread Index | Old Index