Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/finance/gnucash gnucash: update to 4.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/dd3a1b83f28e
branches: trunk
changeset: 435009:dd3a1b83f28e
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Jun 29 13:36:45 2020 +0000
description:
gnucash: update to 4.0.
What's New in GnuCash 4.0
Major Highlights
A new Transaction Association dialog, available from the Update
Association for Transaction menu item that has replaced the two
association items in 3.x, allows setting, changing, and deleting
associations.
A symbol (paperclip for files, chain links for URLS) is now displayed
in the Associations column (visible in double-line mode) in the
register in place of the letters when a transaction has an
association. This doesn't work on MacOS.
Associations may now be added to bills, credit notes, invoices, and
vouchers. The actual association when present is added as a link
button which is shown below the notes.
New type-ahead search is added to sequential search when selecting an
account or an Action in the register: Instead of typing the first few
characters of a top level account, the separator, the first few
characters of the next level account and so on you may instead type a
few characters of any part of a full account name and the drop-list
will be filtered to contain only matching accounts. Once you have a
small enough list you can use the arrow keys to select the account
that you want.
Command-Line
A new separate executable, gnucash-cli (gnucash-cli.exe on Microsoft
Windows) for doing command-line things like updating the prices in
your book. gnucash-cli gains the ability to run reports from the
command line. Specify reports to run by name or guid. It also provides
an export format and an output file name without which it will output
the report to stdout.
gnucash-cli --report run --name=[reportname/guid] datafile.gnucash
gnucash-cli --report run --name=[reportname/guid] --output-file=x.html datafile.gnucash
gnucash-cli --report run --name=[reportname/guid] --output-file=x.html --export-type=TYPE datafile.gnucash
gnucash-cli --help will display a screen listing all of the available
commands and their options.
The GUI program, gnucash, still responds to the options it always has,
though --get-price-quotes is deprecated in favor of gnucash-cli
--quotes get.
Graphic User Interface
When creating a new account hierarchy it's now possible to load
account templates from locales other than the one set for the user
interface.
On the Choose Accounts to Create page there are two drop-downs above
the Account Types selector, one for language and one for country, the
choices in the latter depending on the former. The default is the
current locale but they may be used to select account templates from
any locale.
When deleting accounts the destination accounts of moved splits will
be checked to ensure that they have the same commodity as the source
account. If they don't you'll get a warning and the opportunity to
pick another account or to carry on regardless.
Reversing transactions will now pop a dialog box to request a posting
date.
Business Functions
Business Document Column Widths
Entry column widths in Invoices, Bills, and Employee Vouchers may now
be saved as defaults for each type of document.
Two menu items are added to the View menu when a Bill, Invoice, or
Voucher tab has focus: "Use as Default Layout for Vendor Documents" or
"Reset Default Layout for Vendor Documents"
Vendor Documents is for Bills and is replaced by Customer or Employee
Documents for Invoices or Vouchers respectively.
The first saves the current document's column widths and makes them
the default for all documents in the same type. The second menu item
removes the customization and documents of that type will therafter
use the computed default widths.
Importing Transactions
Support for AQBanking Version 6. This is required to support new FinTS
protocols for the European Payment Services Directive (PSD2).
The Import Map Editor (Tools>Edit Import Maps) will scan for Bayesian
associations with non-existent accounts and display a dialog offering
to remove any that are found. It also adds a button at the bottom of
the Import Map Editor to delete them if one chooses not to use the
dialog.
The OFX file importer can now import more than one file at a time.
OFX imports having balance information will now offer to immediately
reconcile, passing the balance information in the file to the
reconcile info.
The import transaction matcher window column headings are changed from
R to C and from U+R to U+C, reflecting that the matcher marks
transactions cleared but doesn't reconcile them.
Account matcher will decline to match accounts with a different
commodity from the imported split if the import information includes
the commodity.
Ellipsize the Description and Memo fields in the account matcher.
Reports
A new report menu supbmenu Multicolumn contains the old
custom-multicolumn report and a new Dashboard report containing
Account reports for expenses and income, an income-expense chart, and
an account summary.
Support for UK VAT and Australian GST have been added to the
Income-GST report. The report's options are changed from source
accounts to source sales and purchase accounts to permit proper
reporting of capital purchases. N.B. This is incompatible with
previous versions of the report and will require regenerating saved
configurations.
Budgets
Optionally include the account code option in budget view.
Enable adding notes to budgets.
Account codes may now optionally be displayed in the Budget Tree
View..
Compatibility
GnuCash 4.x will not migrate old gconf settings from GnuCash 2.4.x.
Customization and Scripting
The GnuCash widget hierarchy for CSS has been revised to be more
consistent with Gtk practice. You may need to spend some time with the
GtkInspector to get your custom CSS back the way you like it.
Python bindings are now localized and their strings available for
translation.
diffstat:
finance/gnucash/Makefile | 23 +-
finance/gnucash/PLIST | 899 +++++----
finance/gnucash/distinfo | 14 +-
finance/gnucash/patches/patch-bindings_python_tests_CMakeLists.txt | 24 -
finance/gnucash/patches/patch-bindings_python_tests_runTests.py.in | 15 -
finance/gnucash/patches/patch-gnucash_import-export_csv-imp_gnc-imp-settings-csv.hpp | 15 -
finance/gnucash/patches/patch-libgnucash_core-utils_binreloc.c | 16 -
7 files changed, 532 insertions(+), 474 deletions(-)
diffs (truncated from 1220 to 300 lines):
diff -r 0d353d77553e -r dd3a1b83f28e finance/gnucash/Makefile
--- a/finance/gnucash/Makefile Mon Jun 29 13:36:32 2020 +0000
+++ b/finance/gnucash/Makefile Mon Jun 29 13:36:45 2020 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.294 2020/06/02 08:23:47 adam Exp $
+# $NetBSD: Makefile,v 1.295 2020/06/29 13:36:45 wiz Exp $
-DISTNAME= gnucash-3.10
-PKGREVISION= 2
+DISTNAME= gnucash-4.0
CATEGORIES= finance
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnucash/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=gnucash/}
EXTRACT_SUFX= .tar.bz2
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
MAINTAINER= wiz%NetBSD.org@localhost
HOMEPAGE= http://www.gnucash.org/
@@ -16,9 +16,10 @@
DEPENDS+= p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip
DEPENDS+= dconf-[0-9]*:../../devel/dconf
# instead of USE_TOOLS+=msgfmt, since we need a newer version
-TOOL_DEPENDS+= gettext-tools>=0.19.6:../../devel/gettext-tools
+TOOL_DEPENDS+= gettext-tools>=0.20:../../devel/gettext-tools
-USE_LANGUAGES= c c++
+GCC_REQD+= 8
+USE_LANGUAGES= c c++17
USE_CMAKE= yes
USE_LIBTOOL= yes
INFO_FILES= yes
@@ -66,21 +67,25 @@
.include "options.mk"
-BUILDLINK_API_DEPENDS.glib2+= glib2>=2.40.0
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.56.1
.include "../../devel/glib2/schemas.mk"
.include "../../devel/glib2/buildlink3.mk"
-BUILDLINK_API_DEPENDS.boost-headers+= boost-headers>=1.64.0nb3
+BUILDLINK_API_DEPENDS.boost-headers+= boost-headers>=1.67
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
+BUILDLINK_API_DEPENDS.googletest+= googletest>=1.8.0
.include "../../devel/googletest/buildlink3.mk"
-.include "../../devel/swig2/buildlink3.mk"
+.include "../../devel/swig3/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../lang/guile22/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/icu/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.9.4
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
+BUILDLINK_API_DEPENDS.webkit-gtk+= webkit-gtk>=2.14.1
.include "../../www/webkit-gtk/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.22.30
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 0d353d77553e -r dd3a1b83f28e finance/gnucash/PLIST
--- a/finance/gnucash/PLIST Mon Jun 29 13:36:32 2020 +0000
+++ b/finance/gnucash/PLIST Mon Jun 29 13:36:45 2020 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.75 2020/03/31 21:29:35 wiz Exp $
+@comment $NetBSD: PLIST,v 1.76 2020/06/29 13:36:45 wiz Exp $
bin/gnc-fq-check
bin/gnc-fq-dump
bin/gnc-fq-helper
bin/gnc-fq-update
bin/gnucash
+bin/gnucash-cli
bin/gnucash-valgrind
include/gnucash/Account.h
include/gnucash/FreqSpec.h
@@ -22,6 +23,7 @@
include/gnucash/Transaction.h
include/gnucash/account-quickfill.h
include/gnucash/assistant-xml-encoding.h
+include/gnucash/assoccell.h
include/gnucash/basiccell.h
include/gnucash/business-options.h
include/gnucash/cap-gains.h
@@ -32,28 +34,24 @@
include/gnucash/combocell.h
include/gnucash/datecell.h
include/gnucash/dialog-account.h
+include/gnucash/dialog-assoc-utils.h
include/gnucash/dialog-book-close.h
include/gnucash/dialog-commodity.h
-include/gnucash/dialog-custom-report.h
include/gnucash/dialog-dup-trans.h
include/gnucash/dialog-file-access.h
include/gnucash/dialog-object-references.h
include/gnucash/dialog-options.h
include/gnucash/dialog-preferences.h
include/gnucash/dialog-query-view.h
-include/gnucash/dialog-report-column-view.h
-include/gnucash/dialog-report-style-sheet.h
include/gnucash/dialog-reset-warnings.h
include/gnucash/dialog-search.h
include/gnucash/dialog-totd.h
include/gnucash/dialog-transfer.h
include/gnucash/dialog-utils.h
-include/gnucash/engine-helpers-guile.h
include/gnucash/engine-helpers.h
include/gnucash/file-utils.h
include/gnucash/formulacell.h
include/gnucash/gfec.h
-include/gnucash/glib-helpers.h
include/gnucash/gnc-account-merge.h
include/gnucash/gnc-account-sel.h
include/gnucash/gnc-accounting-period.h
@@ -65,6 +63,9 @@
include/gnucash/gnc-cell-renderer-date.h
include/gnucash/gnc-cell-renderer-popup-entry.h
include/gnucash/gnc-cell-renderer-popup.h
+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
@@ -89,7 +90,6 @@
include/gnucash/gnc-frequency.h
include/gnucash/gnc-general-search.h
include/gnucash/gnc-general-select.h
-include/gnucash/gnc-gettext-util.h
include/gnucash/gnc-gnome-utils.h
include/gnucash/gnc-gsettings.h
include/gnucash/gnc-gui-query.h
@@ -116,7 +116,6 @@
include/gnucash/gnc-plugin-file-history.h
include/gnucash/gnc-plugin-manager.h
include/gnucash/gnc-plugin-menu-additions.h
-include/gnucash/gnc-plugin-page-report.h
include/gnucash/gnc-plugin-page.h
include/gnucash/gnc-plugin.h
include/gnucash/gnc-prefs-utils.h
@@ -159,7 +158,6 @@
include/gnucash/gncAddressP.h
include/gnucash/gncBillTerm.h
include/gnucash/gncBillTermP.h
-include/gnucash/gncBusGuile.h
include/gnucash/gncBusiness.h
include/gnucash/gncCustomer.h
include/gnucash/gncCustomerP.h
@@ -183,10 +181,8 @@
include/gnucash/gtable.h
include/gnucash/guid.h
include/gnucash/guid.hpp
-include/gnucash/guile-util.h
include/gnucash/import-parse.h
include/gnucash/kvp-frame.hpp
-include/gnucash/kvp-scm.h
include/gnucash/kvp-value.hpp
include/gnucash/misc-gnome-utils.h
include/gnucash/numcell.h
@@ -224,185 +220,270 @@
include/gnucash/table-model.h
include/gnucash/tree-view-utils.h
include/gnucash/window-main-summarybar.h
-include/gnucash/window-report.h
-lib/gnucash/libgncmod-app-utils.so
+lib/gnucash/libgnc-bi-import.so
+lib/gnucash/libgnc-csv-export.so
+lib/gnucash/libgnc-csv-import.so
+lib/gnucash/libgnc-customer-import.so
+lib/gnucash/libgnc-gnome-search.so
+lib/gnucash/libgnc-gnome-utils.so
+lib/gnucash/libgnc-html.so
+lib/gnucash/libgnc-ledger-core.so
+lib/gnucash/libgnc-log-replay.so
+lib/gnucash/libgnc-qif-import.so
+lib/gnucash/libgnc-register-core.so
+lib/gnucash/libgnc-register-gnome.so
+lib/gnucash/libgnc-report.so
lib/gnucash/libgncmod-backend-xml.so
-lib/gnucash/libgncmod-bi-import.so
-lib/gnucash/libgncmod-csv-export.so
-lib/gnucash/libgncmod-csv-import.so
-lib/gnucash/libgncmod-customer-import.so
-lib/gnucash/libgncmod-engine.so
-lib/gnucash/libgncmod-generic-import.so
-lib/gnucash/libgncmod-gnome-search.so
-lib/gnucash/libgncmod-gnome-utils.so
-lib/gnucash/libgncmod-html.so
-lib/gnucash/libgncmod-ledger-core.so
-lib/gnucash/libgncmod-locale-reports-us.so
-lib/gnucash/libgncmod-log-replay.so
lib/gnucash/libgncmod-python.so
-lib/gnucash/libgncmod-qif-import.so
-lib/gnucash/libgncmod-register-core.so
-lib/gnucash/libgncmod-register-gnome.so
-lib/gnucash/libgncmod-report-gnome.so
-lib/gnucash/libgncmod-report-system.so
-lib/gnucash/libgncmod-stylesheets.so
-lib/gnucash/libgncmod-tax-us.so
-lib/gnucash/scm/ccache/2.2/business-options.go
-lib/gnucash/scm/ccache/2.2/business-prefs.go
-lib/gnucash/scm/ccache/2.2/c-interface.go
-lib/gnucash/scm/ccache/2.2/commodity-table.go
-lib/gnucash/scm/ccache/2.2/commodity-utilities.go
-lib/gnucash/scm/ccache/2.2/date-utilities.go
-lib/gnucash/scm/ccache/2.2/engine-interface.go
-lib/gnucash/scm/ccache/2.2/engine-utilities.go
-lib/gnucash/scm/ccache/2.2/fin.go
-lib/gnucash/scm/ccache/2.2/gnc-menu-extensions.go
-lib/gnucash/scm/ccache/2.2/gnc-numeric.go
-lib/gnucash/scm/ccache/2.2/gnucash/app-utils.go
-lib/gnucash/scm/ccache/2.2/gnucash/baz.go
-lib/gnucash/scm/ccache/2.2/gnucash/business-core.go
-lib/gnucash/scm/ccache/2.2/gnucash/core-utils.go
-lib/gnucash/scm/ccache/2.2/gnucash/engine.go
-lib/gnucash/scm/ccache/2.2/gnucash/engine/test/srfi64-extras.go
-lib/gnucash/scm/ccache/2.2/gnucash/engine/test/test-extras.go
-lib/gnucash/scm/ccache/2.2/gnucash/foo.go
-lib/gnucash/scm/ccache/2.2/gnucash/gettext.go
-lib/gnucash/scm/ccache/2.2/gnucash/gnc-module.go
-lib/gnucash/scm/ccache/2.2/gnucash/gnc-modules/test/test-gnc-module-load-deps.go
-lib/gnucash/scm/ccache/2.2/gnucash/gnc-modules/test/test-gnc-module-load-scm.go
-lib/gnucash/scm/ccache/2.2/gnucash/gnc-modules/test/test-gnc-module-scm-dynload.go
-lib/gnucash/scm/ccache/2.2/gnucash/gnc-modules/test/test-gnc-module-scm-init.go
-lib/gnucash/scm/ccache/2.2/gnucash/gnc-modules/test/test-gnc-module-scm-module.go
-lib/gnucash/scm/ccache/2.2/gnucash/gnc-modules/test/test-gnc-module-scm-multi.go
-lib/gnucash/scm/ccache/2.2/gnucash/gnc-modules/test/test-gnc-module-swigged-c.go
-lib/gnucash/scm/ccache/2.2/gnucash/gnome-utils.go
-lib/gnucash/scm/ccache/2.2/gnucash/import-export/qif-import.go
-lib/gnucash/scm/ccache/2.2/gnucash/import-export/string.go
-lib/gnucash/scm/ccache/2.2/gnucash/price-quotes.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/aging.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/balsheet-eg.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/business-reports.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/customer-summary.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/eguile-gnc.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/eguile-html-utilities.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/eguile-utilities.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/hello-world.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/invoice.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/job-report.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/locale-specific/de_DE.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/locale-specific/us.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/lot-viewer.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/new-aging.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/new-owner-report.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/owner-report.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/payables.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/receipt.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/receivables.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/report-gnome.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/report-system.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/report-system/collectors.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/report-system/report-collectors.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/report-system/test/test-extras.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/report-system/test/test-load-report-system-module.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/report-system/test/test-test-extras.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/account-piecharts.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/account-summary.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/advanced-portfolio.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/average-balance.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/balance-forecast.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/balance-sheet.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/balsheet-pnl.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/budget-balance-sheet.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/budget-barchart.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/budget-flow.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/budget-income-statement.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/budget.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/cash-flow.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/cashflow-barchart.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/category-barchart.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/daily-reports.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/equity-statement.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/general-journal.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/general-ledger.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/income-gst-statement.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/income-statement.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/net-charts.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/portfolio.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/price-scatter.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/reconcile-report.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/register.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/test/test-cash-flow.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/transaction.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/standard-reports/trial-balance.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/stylesheet-css.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/stylesheet-footer.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/stylesheet-head-or-tail.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/stylesheet-plain.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/stylesheets.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/taxinvoice.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/taxtxf-de_DE.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/taxtxf.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/test-load-report-stylesheets-module.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/utility-reports.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/view-column.go
-lib/gnucash/scm/ccache/2.2/gnucash/report/welcome-to-gnucash.go
-lib/gnucash/scm/ccache/2.2/gnucash/reports/test-load-app-utils-module.go
-lib/gnucash/scm/ccache/2.2/gnucash/reports/test-load-gnome-utils-module.go
Home |
Main Index |
Thread Index |
Old Index