pkgsrc-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 3.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7180d6007ce6
branches:  trunk
changeset: 378480:7180d6007ce6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 09 08:47:35 2018 +0000

description:
gnucash: update to 3.0.

The GnuCash development team proudly announces GnuCash 3.0, the
first release in our new 3.x stable series.

New Features for Users:

    The headline item for this release is that GnuCash now uses
    the Gtk+-3.0 Toolkit and the WebKit2Gtk API. This change was
    forced on us by some major Linux distributions dropping support
    for the WebKit1 API. Unfortunately the Webkit project doesn't
    support Microsoft Windows so that platform will continue to
    use the WebKit1 API, though with Gtk3. We've selected Gtk+-3.14.0
    as the minimum version because it fully supports CSS theming.

    New editors to remove outdated or incorrect match data from
    the import maps, a new user interfacs for managing files
    associated with transactions, an improved facility for removing
    old prices from the price database, and a way to remove deleted
    files from the history list in the file menu.

    New Reports: A Reconciliation Report based on the Transaction
    Report,a Income GST Report, and a Cashflow Barchart report.

    A new CSV importer largely rewritten in C++, adding new features
    including the ability to re-import CSV files exported from
    GnuCash, along with a separate CSV price importer.

    A new preference panel for the Alphavantage API key so that
    Finance::Quote users need not edit /etc/gnucash/environment.
    We've removed all references to the various Yahoo! quote sources
    and made Alphavantage the default.

    Data file directories are now located appropriately to the operating system's conventions by default:
        Windows: CSIDL_APPDATA/Gnucash
        MacOS: $HOME/Application Support/Gnucash
        Linux: $XDG_CONFIG_HOME/gnucash (or the default $HOME/.config/gnucash)
    It's still possible to overried with the environment variable GNC_DOC_PATH, which replaces GNC_DOT_DIR in earlier versions of GnuCash.

    Accounts in the Bayes import map are now linked by GUID instead
    of names so that the matcher won't have to be retrained if you
    rename an account. The Bayesian import maps are also stored in
    a flatter structure to allow faster access, especially in SQL.
    These changes mean that if you have Bayesian mapping data, once
    converted your database will be loadable only by GnuCash 2.6.20
    and later.

    MySQL and SQLite3 date storage has changed a bit. Once converted,
    MySQL and SQLite3 database will be loadable only by GnuCash
    2.6.19 and later.

    Numerics are rewritten to allow for more significant digits.
    The old 6-digit-maximum fraction is now 9-digits, and prices
    may have up to 18 digit precision.

    Chart Reports appearance is improved, including more modern
    chart colours as suggested by http://clrs.cc/.

    Transaction Report improvements, including regular expression
    filtering and many more options and features including a
    "Subtotal Summary Grid" The subtotal summary-grid will tabulate
    subtotals - prime-sortkey vertically, sec-sortkey horizontally.
    For example, with prime-sortkey = accounts, sec-sortkey = date,
    sec-subtotal = monthly will produce a monthly time series table.

    The About dialog box layout is improved and now includes the
    detected Finance::Quote version.

    GnuCash will always build the locale-specific tax modules. This
    was optional when building with autotools and never enabled
    when building with cmake. Note that the only supported tax
    locales are en_US and de_DE.

    On Macs the Reconcile Window's menu moved to the menubar.

    GnuCash no longer supports Guile-1.8 and now does support Guile-2.2

diffstat:

 finance/gnucash/DESCR                               |    7 +-
 finance/gnucash/Makefile                            |   89 +-
 finance/gnucash/PLIST                               |  544 ++++++++++---------
 finance/gnucash/distinfo                            |   16 +-
 finance/gnucash/options.mk                          |   38 +-
 finance/gnucash/patches/patch-configure             |  127 ----
 finance/gnucash/patches/patch-src_bin_gnucash-bin.c |   25 -
 7 files changed, 378 insertions(+), 468 deletions(-)

diffs (truncated from 1211 to 300 lines):

diff -r 70bcf6ad6f14 -r 7180d6007ce6 finance/gnucash/DESCR
--- a/finance/gnucash/DESCR     Mon Apr 09 08:41:50 2018 +0000
+++ b/finance/gnucash/DESCR     Mon Apr 09 08:47:35 2018 +0000
@@ -11,14 +11,11 @@
   - OFX and Quicken File Import and HBCI Support
   - Reconcile window with running reconciled and cleared balances
   - Stock/Mutual Fund Portfolios
-  - Get Stock & Mutual Fund quotes from various web sites, update
-    portfolio automatically (more funds being added regularly).
+  - Get Stock & Mutual Fund quotes from various web sites
   - Reports
-  - Multiple Currencies & Currency Trading
-  - New Multi-Currency Transaction Handling
+  - Multiple Currencies & Currency Trading, Multi-Currency Handling
   - Chart of Accounts
   - Split Transactions
   - Double Entry
-  - Income/Expense Account Types (Categories)
   - General Ledger
   - International date handling, many different translations.
diff -r 70bcf6ad6f14 -r 7180d6007ce6 finance/gnucash/Makefile
--- a/finance/gnucash/Makefile  Mon Apr 09 08:41:50 2018 +0000
+++ b/finance/gnucash/Makefile  Mon Apr 09 08:47:35 2018 +0000
@@ -1,68 +1,83 @@
-# $NetBSD: Makefile,v 1.253 2018/03/12 11:16:28 wiz Exp $
+# $NetBSD: Makefile,v 1.254 2018/04/09 08:47:35 wiz Exp $
 
-DISTNAME=              gnucash-2.6.19
-PKGREVISION=           1
+DISTNAME=              gnucash-3.0
 CATEGORIES=            finance
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=gnucash/}
 EXTRACT_SUFX=          .tar.bz2
+# take copy mirrored on ftp.NetBSD.org for devel/googletest
+# for better DISTNAME
+# depending on googletest package is not sufficient since not all
+# files that are used are installed
+DISTFILES=             ${DISTNAME}${EXTRACT_SUFX} googletest-1.8.0.tar.gz
 
 MAINTAINER=            wiz%NetBSD.org@localhost
 HOMEPAGE=              http://www.gnucash.org/
 COMMENT=               Personal or business finance management program
 LICENSE=               gnu-gpl-v3
 
-DEPENDS+=              guile-slib>=3.2.1:../../devel/guile-slib
+DEPENDS+=              guile22-slib>=3.2.1:../../devel/guile22-slib
 DEPENDS+=              p5-Finance-Quote-[0-9]*:../../finance/p5-Finance-Quote
 DEPENDS+=              p5-Date-Manip-[0-9]*:../../devel/p5-Date-Manip
-DEPENDS+=              ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
-# /usr/pkg/share/gnucash/python/pycons/console.py imports readline
-DEPENDS+=              ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
 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
 
-WRKSRC=                        ${WRKDIR}/${DISTNAME:S/-1//}
-
+USE_LANGUAGES=         c c++
+USE_CMAKE=             yes
 USE_LIBTOOL=           yes
-USE_PKGLOCALEDIR=      yes
-USE_TOOLS+=            gmake intltool makeinfo msgfmt perl:run pkg-config
-GNU_CONFIGURE=         yes
-INFO_FILES=            YES
+INFO_FILES=            yes
+USE_TOOLS+=            perl:run pkg-config
+# remove when using ninja
+USE_TOOLS+=            gmake
+
+LDFLAGS+=              ${COMPILER_RPATH_FLAG}${PREFIX}/lib/gnucash
+CXXFLAGS+=             -Wno-deprecated-declarations
 
-CONFIGURE_ARGS+=       --with-html-engine=webkit
-CONFIGURE_ARGS+=       --enable-python
-CONFIGURE_ARGS+=       --with-xdg-data-dirs=${PREFIX}/share
-#CONFIGURE_ARGS+=      GUILE=${PREFIX}/${GUILE20_SUBDIR}/bin/guile
+MAKE_ENV+=             GUILE_AUTO_COMPILE=0
+CMAKE_ARGS+=           -DGMOCK_ROOT=${WRKDIR}/googletest-release-1.8.0/googlemock
+CMAKE_ARGS+=           -DGTEST_ROOT=${WRKDIR}/googletest-release-1.8.0/googletest
+CMAKE_ARGS+=           -DWITH_AQBANKING=OFF
+CMAKE_ARGS+=           -DPERL_EXECUTABLE=${PERL5}
+CMAKE_ARGS+=           -DCOMPILE_GSCHEMAS=OFF
+#CMAKE_ARGS+=          -GNinja
+#BUILD_DEPENDS+=       ninja-build-[0-9]*:../../devel/ninja-build
 
-REPLACE_PERL+=         src/quotes/gnc-fq-dump
-REPLACE_PERL+=         src/backend/xml/test/grab-types.pl
-REPLACE_PERL+=         src/quotes/Quote_example.pl
-REPLACE_PERL+=         src/gnc-test-env.pl
+#do-build:
+#      cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ninja
+#do-install:
+#      cd ${WRKSRC}; ${SETENV} ${INSTALL_ENV} ninja install
 
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 # not yet ported as of 2.6.1
-REPLACE_PYTHON+=       src/python/pycons/*.py src/python/pycons/pycons
-PY_PATCHPLIST=         yes
+REPLACE_PERL+=         common/gnc-test-env.pl
+REPLACE_PERL+=         libgnucash/backend/xml/test/grab-types.pl
+REPLACE_PERL+=         libgnucash/quotes/gnc-fq-dump
+REPLACE_PERL+=         util/elegant-sort.pl
+
+PLIST_SRC=             PLIST
 
 PKG_SYSCONFSUBDIR=     gnucash
-CONF_FILES+=           ${PREFIX}/share/examples/gnucash/gnucash/config ${PKG_SYSCONFDIR}/config
-CONF_FILES+=           ${PREFIX}/share/examples/gnucash/gnucash/environment ${PKG_SYSCONFDIR}/environment
-INSTALL_MAKE_FLAGS+=   sysconfdir=${PREFIX}/share/examples/gnucash
+CONF_FILES+=           ${PREFIX}/share/examples/gnucash/environment ${PKG_SYSCONFDIR}/environment
+INSTALLATION_DIRS=     share/examples/gnucash
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/etc/gnucash/environment ${DESTDIR}${PREFIX}/share/examples/gnucash/environment
 
 .include "options.mk"
 
-BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.28.0
+BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.40.0
 .include "../../devel/glib2/schemas.mk"
 .include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.boost-headers+=   boost-headers>=1.64.0nb3
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/swig2/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
-.include "../../graphics/libgnomecanvas/buildlink3.mk"
-.include "../../lang/guile20/buildlink3.mk"
-.include "../../lang/python/application.mk"
-.include "../../lang/python/extension.mk"
-.include "../../misc/goffice0.8/buildlink3.mk"
-BUILDLINK_API_DEPENDS.gnome-keyring+=  gnome-keyring>=0.6
-.include "../../security/gnome-keyring/buildlink3.mk"
+.include "../../lang/guile22/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/icu/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../textproc/libxslt/buildlink3.mk"
-.include "../../www/webkit24-gtk/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
+.include "../../www/webkit-gtk/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../x11/gtkmm/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 70bcf6ad6f14 -r 7180d6007ce6 finance/gnucash/PLIST
--- a/finance/gnucash/PLIST     Mon Apr 09 08:41:50 2018 +0000
+++ b/finance/gnucash/PLIST     Mon Apr 09 08:47:35 2018 +0000
@@ -1,11 +1,9 @@
-@comment $NetBSD: PLIST,v 1.65 2017/12/18 20:55:27 wiz Exp $
+@comment $NetBSD: PLIST,v 1.66 2018/04/09 08:47:35 wiz Exp $
 bin/gnc-fq-check
 bin/gnc-fq-dump
 bin/gnc-fq-helper
 bin/gnc-fq-update
 bin/gnucash
-bin/gnucash-env
-bin/gnucash-make-guids
 bin/gnucash-valgrind
 include/gnucash/Account.h
 include/gnucash/FreqSpec.h
@@ -62,6 +60,7 @@
 include/gnucash/gnc-accounting-period.h
 include/gnucash/gnc-addr-quickfill.h
 include/gnucash/gnc-amount-edit.h
+include/gnucash/gnc-aqbanking-templates.h
 include/gnucash/gnc-basic-gobject.h
 include/gnucash/gnc-budget.h
 include/gnucash/gnc-cell-renderer-date.h
@@ -75,8 +74,8 @@
 include/gnucash/gnc-date-delta.h
 include/gnucash/gnc-date-edit.h
 include/gnucash/gnc-date-format.h
-include/gnucash/gnc-date-p.h
 include/gnucash/gnc-date.h
+include/gnucash/gnc-datetime.hpp
 include/gnucash/gnc-dense-cal-model.h
 include/gnucash/gnc-dense-cal-store.h
 include/gnucash/gnc-dense-cal.h
@@ -86,6 +85,7 @@
 include/gnucash/gnc-euro.h
 include/gnucash/gnc-event.h
 include/gnucash/gnc-exp-parser.h
+include/gnucash/gnc-features.h
 include/gnucash/gnc-file.h
 include/gnucash/gnc-frequency.h
 include/gnucash/gnc-general-search.h
@@ -103,6 +103,7 @@
 include/gnucash/gnc-html-p.h
 include/gnucash/gnc-html-webkit-p.h
 include/gnucash/gnc-html-webkit.h
+include/gnucash/gnc-html-webkit2.h
 include/gnucash/gnc-html.h
 include/gnucash/gnc-icons.h
 include/gnucash/gnc-keyring.h
@@ -111,6 +112,7 @@
 include/gnucash/gnc-module-api.h
 include/gnucash/gnc-module.h
 include/gnucash/gnc-numeric.h
+include/gnucash/gnc-numeric.hpp
 include/gnucash/gnc-period-select.h
 include/gnucash/gnc-plugin-file-history.h
 include/gnucash/gnc-plugin-manager.h
@@ -121,6 +123,8 @@
 include/gnucash/gnc-prefs-utils.h
 include/gnucash/gnc-pricedb.h
 include/gnucash/gnc-query-view.h
+include/gnucash/gnc-rational-rounding.hpp
+include/gnucash/gnc-rational.hpp
 include/gnucash/gnc-recurrence.h
 include/gnucash/gnc-report.h
 include/gnucash/gnc-session.h
@@ -129,6 +133,7 @@
 include/gnucash/gnc-sx-instance-dense-cal-adapter.h
 include/gnucash/gnc-sx-instance-model.h
 include/gnucash/gnc-sx-list-tree-model-adapter.h
+include/gnucash/gnc-timezone.hpp
 include/gnucash/gnc-tree-control-split-reg.h
 include/gnucash/gnc-tree-model-account-types.h
 include/gnucash/gnc-tree-model-account.h
@@ -149,6 +154,7 @@
 include/gnucash/gnc-ui-balances.h
 include/gnucash/gnc-ui-util.h
 include/gnucash/gnc-ui.h
+include/gnucash/gnc-uri-utils.h
 include/gnucash/gnc-window.h
 include/gnucash/gncAddress.h
 include/gnucash/gncAddressP.h
@@ -177,23 +183,22 @@
 include/gnucash/gncVendorP.h
 include/gnucash/gtable.h
 include/gnucash/guid.h
+include/gnucash/guid.hpp
 include/gnucash/guile-util.h
-include/gnucash/import-match-map.h
 include/gnucash/import-parse.h
+include/gnucash/kvp-frame.hpp
 include/gnucash/kvp-scm.h
-include/gnucash/kvp-util-p.h
-include/gnucash/kvp-util.h
-include/gnucash/kvp_frame.h
+include/gnucash/kvp-value.hpp
 include/gnucash/misc-gnome-utils.h
 include/gnucash/numcell.h
 include/gnucash/option-util.h
 include/gnucash/policy.h
 include/gnucash/pricecell.h
 include/gnucash/print-session.h
+include/gnucash/qof-backend.hpp
 include/gnucash/qof-gobject.h
 include/gnucash/qof-string-cache.h
 include/gnucash/qof.h
-include/gnucash/qofbackend-p.h
 include/gnucash/qofbackend.h
 include/gnucash/qofbook.h
 include/gnucash/qofbookslots.h
@@ -208,8 +213,8 @@
 include/gnucash/qofobject.h
 include/gnucash/qofquery.h
 include/gnucash/qofquerycore.h
-include/gnucash/qofreference.h
 include/gnucash/qofsession.h
+include/gnucash/qofsession.hpp
 include/gnucash/qofutil.h
 include/gnucash/quickfillcell.h
 include/gnucash/recncell.h
@@ -221,190 +226,194 @@
 include/gnucash/tree-view-utils.h
 include/gnucash/window-main-summarybar.h
 include/gnucash/window-report.h
-lib/gnucash/libgncmod-app-utils-python.la
-lib/gnucash/libgncmod-app-utils.la
-${PLIST.dbi}lib/gnucash/libgncmod-backend-dbi.la
-lib/gnucash/libgncmod-backend-xml.la
-lib/gnucash/libgncmod-bi_import.la
-lib/gnucash/libgncmod-business-gnome.la
-lib/gnucash/libgncmod-csv-export.la
-lib/gnucash/libgncmod-csv-import.la
-lib/gnucash/libgncmod-customer_import.la
-lib/gnucash/libgncmod-engine.la
-lib/gnucash/libgncmod-generic-import.la
-lib/gnucash/libgncmod-gnome-search.la
-lib/gnucash/libgncmod-gnome-utils.la
-lib/gnucash/libgncmod-html.la
-lib/gnucash/libgncmod-ledger-core.la
-lib/gnucash/libgncmod-locale-reports-us.la
-lib/gnucash/libgncmod-log-replay.la
-${PLIST.ofx}lib/gnucash/libgncmod-ofx.la
-lib/gnucash/libgncmod-python.la
-lib/gnucash/libgncmod-qif-import.la
-lib/gnucash/libgncmod-qif.la
-lib/gnucash/libgncmod-register-core.la
-lib/gnucash/libgncmod-register-gnome.la
-lib/gnucash/libgncmod-report-gnome.la
-lib/gnucash/libgncmod-report-system.la
-lib/gnucash/libgncmod-standard-reports.la
-lib/gnucash/libgncmod-stylesheets.la
-lib/gnucash/libgncmod-tax-us.la
-lib/gnucash/libgncmod-utility-reports.la
-lib/gnucash/scm/ccache/2.0/build-config.go
-lib/gnucash/scm/ccache/2.0/business-options.go



Home | Main Index | Thread Index | Old Index