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 Mar 30 21:32:53 UTC 2026

Modified Files:
        pkgsrc/finance/gnucash: Makefile PLIST distinfo
Added Files:
        pkgsrc/finance/gnucash/patches: patch-CMakeLists.txt

Log Message:
gnucash: update to 5.15.

Version history:
------- -------
5.15 - 29 March 2026
Between 5.14 and 5.15, the following bugfixes were accomplished:

    Bug 666536 - smallest fraction of KRW is invalid
    Bug 798122 - Message about unable to balance transaction: Implement better can't-balance
                 messages for scheduled transactions with more than one template transaction.
    Bug 798873 - Crash when scrubbing after "undoing" changes
    Bug 799705 - Remove Old Prices by Namespace: Display namespaces and allow selecting particular
                 namespaces in the Remove Old Prices dialog.
    Bug 799706 - Rename Namespace: Add a rename namespace button to the Security editor that is
                 enabled by the selection of a namespace row in the tree view.
    Bug 799713 - Account Editor changes account color to gray when default selected.
    Bug 799722 - Inconsistent wording: Bill and Invoice: Use "Business Item" in messages that could
                 apply to any of Bill, Credit Note, or Invoice, including where we reuse the same
                 message in different cases.
    Bug 799734 - mapped OFX income account not listed
    Bug 799745 - Import matcher doesn't handle zero length memo and description properly

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

    Major improvement in Python bindings to enable engine methods to return Python objects instead
        of SWIG pointers. Covers Account, Split, Transaction, GNCLot, gnc_commodity,
        gnc_commodity_namespace, gnc_commodity_table, GNCPrice, GNCPriceDB, QofBook, QofSession,
        GncGUID, GncCustomer, GncEmployee, GncVendor, GncJob, GncAddress, GncBillTerm, GncTaxTable,
        GncInvoice, and GncEntry. GncOwner, the superclass of many of the business classes, is
        already covered. This allows more pythonic usage:
        * Call member functions directly, e.g. price.get_commodity() instead of using the C-function
          style gc.gnc_price_get_commodity(price)
        * The C-function call now raises a DeprecationWarning if called with a Python object but not
          if called with the instance, e.g. gc.gnc_price_get_commodity(price.instance)
        * It is no longer necessary to test and convert return values for being SwigPyObjects or not
          Python objects: Code like
            if type(desc).__name__ == 'SwigPyObject':
                desc = gnucash.Account(instance=desc)
          or
            if type(split) != Split:
                split=Split(instance=split)
         is no longer required.
    Enable copy-and-paste in Scheduled Transaction template transactions.
    Disable the Transaction Paste or Split Paste menu items in the register's Transaction menu when
        there is no transaction or split in the clipboard.
    Check all template transactions in a Scheduled Transaction for balance instead of only the first.
    Fix the last reconcile date sort in the Accounts page so that unreconciled accounts sort after
        reconciled ones instead of before.
    Ensure that custom report sub-menus can receive custom report entries.
    Import Matcher: Add trace messages to make it easier to track why some transactions aren't
       considered possible matches and uncomment the debug statements so that they can be emitted
       with --log arguments on the command line.
    Fix segfault in gnc_gsettings_get_settings_obj when GSettings schemas are not installed.
    Add tooltip explaining date-format selection to the CSV Import Assistant.
    CSV Importer: Reparse all import lines when changing date or currency formats or when setting
        base_account.
    [new-owner-report.scm] fix display/due-date tooltip
    Transaction report efficiency improvements.
    Ensure that gnc_commodity_compare produces a stable sort.
    Implement full test coverage of libgnucash/engine/qofid except for some unreachable code.
    Remove unused qof_collection_from_glist function.
    New function gnc_account_get_earliest_date returns the account's earliest split date.
        This usually reflects the account opening date.
    Provide an earliest-date sort option in the Accounts page and the balance-forecast report.
    Support 64-bit compilation on Windows.
    gnc_account_child_index: return -1 for non-child.
    Turn off deprecation warning for wstring_convert. It's deprecated in C++17 with no replacement
        until C++26.
    Update GncDateTime to handle new exceptions from Boost::DateTime
    Use std::chrono to create a GncDateTime. Boost::DateTime uses time_t and in some cases that's
        still 32-bit, leading to a potential 2038 bug.
    Fix GUI leaks in register completion cell, GncPluginPageRegister, and GNCPluginPageReport.
    [gnc-datetime.cpp] Fix potential bug in fast_iso8601_utc_parse


To generate a diff of this commit:
cvs rdiff -u -r1.380 -r1.381 pkgsrc/finance/gnucash/Makefile
cvs rdiff -u -r1.92 -r1.93 pkgsrc/finance/gnucash/PLIST
cvs rdiff -u -r1.134 -r1.135 pkgsrc/finance/gnucash/distinfo
cvs rdiff -u -r0 -r1.6 pkgsrc/finance/gnucash/patches/patch-CMakeLists.txt

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.380 pkgsrc/finance/gnucash/Makefile:1.381
--- pkgsrc/finance/gnucash/Makefile:1.380       Tue Jan 27 08:39:26 2026
+++ pkgsrc/finance/gnucash/Makefile     Mon Mar 30 21:32:53 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.380 2026/01/27 08:39:26 wiz Exp $
+# $NetBSD: Makefile,v 1.381 2026/03/30 21:32:53 wiz Exp $
 
-DISTNAME=              gnucash-5.14
-PKGREVISION=           2
+DISTNAME=              gnucash-5.15
 CATEGORIES=            finance
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=gnucash/}
 GITHUB_RELEASE=                ${PKGVERSION_NOREV}
@@ -41,11 +40,11 @@ CMAKE_CONFIGURE_ARGS+=      -DWITH_AQBANKING=
 CMAKE_CONFIGURE_ARGS+= -DPERL_EXECUTABLE=${PERL5:Q}
 CMAKE_CONFIGURE_ARGS+= -DCOMPILE_GSCHEMAS=OFF
 
-# as of 5.9
+# as of 5.15
 # before 'make install'
-# 44% tests passed, 72 tests failed out of 129
+# 43% tests passed, 75 tests failed out of 132
 # after 'make install'
-# 89% tests passed, 14 tests failed out of 129
+# 86% tests passed, 18 tests failed out of 132
 TEST_ENV+=             LD_LIBRARY_PATH=${WRKSRC}/lib
 REPLACE_PERL+=         common/gnc-test-env.pl
 REPLACE_PERL+=         libgnucash/backend/xml/test/grab-types.pl

Index: pkgsrc/finance/gnucash/PLIST
diff -u pkgsrc/finance/gnucash/PLIST:1.92 pkgsrc/finance/gnucash/PLIST:1.93
--- pkgsrc/finance/gnucash/PLIST:1.92   Mon Sep 29 06:39:20 2025
+++ pkgsrc/finance/gnucash/PLIST        Mon Mar 30 21:32:53 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.92 2025/09/29 06:39:20 wiz Exp $
+@comment $NetBSD: PLIST,v 1.93 2026/03/30 21:32:53 wiz Exp $
 bin/finance-quote-wrapper
 bin/gnc-fq-update
 bin/gnucash
@@ -380,6 +380,7 @@ share/doc/gnucash/ChangeLog.2021
 share/doc/gnucash/ChangeLog.2022
 share/doc/gnucash/ChangeLog.2023
 share/doc/gnucash/ChangeLog.2024
+share/doc/gnucash/ChangeLog.2025
 share/doc/gnucash/DOCUMENTERS
 share/doc/gnucash/HACKING
 share/doc/gnucash/LICENSE

Index: pkgsrc/finance/gnucash/distinfo
diff -u pkgsrc/finance/gnucash/distinfo:1.134 pkgsrc/finance/gnucash/distinfo:1.135
--- pkgsrc/finance/gnucash/distinfo:1.134       Sun Dec 21 18:12:06 2025
+++ pkgsrc/finance/gnucash/distinfo     Mon Mar 30 21:32:53 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.134 2025/12/21 18:12:06 wiz Exp $
+$NetBSD: distinfo,v 1.135 2026/03/30 21:32:53 wiz Exp $
 
-BLAKE2s (gnucash-5.14.tar.bz2) = d34c64d419d43331a41c008784e4c9667289822b04c162888ba59bc6d144e3af
-SHA512 (gnucash-5.14.tar.bz2) = b66fecb47168ae269a0ef03c22d0ebd048b0a249d8e8e61e0dbe60a8d0baf89d203df178452de6ffb7ba588e1b0cff98a2e5bb867915d89ee9b7a33bc64a4082
-Size (gnucash-5.14.tar.bz2) = 16406297 bytes
+BLAKE2s (gnucash-5.15.tar.bz2) = 6d41a4f67b3a68e7fc8b2e905f27ae6bd7e1c9adb81fe8622215167f6833c68a
+SHA512 (gnucash-5.15.tar.bz2) = cf97fcc199e95db8ad756ff8c7e83321a6d47f3c720e66c3f6092c6c31e40a9462c142baca898a84384f639af5c27f17e5a157058d62eeb799fddc6aa9b20796
+Size (gnucash-5.15.tar.bz2) = 16455386 bytes
+SHA1 (patch-CMakeLists.txt) = 8edbd8a025c3a4a0284a692ce1856e036d24acd4

Added files:

Index: pkgsrc/finance/gnucash/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/finance/gnucash/patches/patch-CMakeLists.txt:1.6
--- /dev/null   Mon Mar 30 21:32:53 2026
+++ pkgsrc/finance/gnucash/patches/patch-CMakeLists.txt Mon Mar 30 21:32:53 2026
@@ -0,0 +1,19 @@
+$NetBSD: patch-CMakeLists.txt,v 1.6 2026/03/30 21:32:53 wiz Exp $
+
+https://github.com/Gnucash/gnucash/commit/14bc748671879d2269fde3edb693b2f02122866c
+
+--- CMakeLists.txt.orig        2026-03-28 21:58:52.000000000 +0000
++++ CMakeLists.txt
+@@ -605,11 +605,7 @@ if (Boost_FOUND)
+  if (Boost_VERSION VERSION_LESS "1.89.0")
+   find_package(Boost 1.67.0  COMPONENTS date_time filesystem locale program_options regex system)
+  else()
+-  if (Boost_VERSION VERSION_LESS "1.90.0")
+-    find_package(Boost 1.67.0  COMPONENTS date_time filesystem locale program_options regex)
+-  else()
+-    find_package(Boost 1.67.0  COMPONENTS date_time locale program_options regex)
+-  endif()
++  find_package(Boost 1.67.0  COMPONENTS date_time filesystem locale program_options regex)
+  endif()
+ endif()
+ 



Home | Main Index | Thread Index | Old Index