head 1.4; access; symbols pkgsrc-2026Q2:1.3.0.6 pkgsrc-2026Q2-base:1.3 pkgsrc-2026Q1:1.3.0.4 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.2 pkgsrc-2025Q4-base:1.3 pkgsrc-2018Q4:1.1.0.6 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.4 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.2 pkgsrc-2018Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2026.06.28.16.29.15; author wiz; state dead; branches; next 1.3; commitid gPzrDg7umQlFhALG; 1.3 date 2025.10.17.08.50.14; author wiz; state Exp; branches; next 1.2; commitid XDQccHFcztCyUTeG; 1.2 date 2019.02.17.11.55.03; author wiz; state dead; branches; next 1.1; commitid SYOsyQfeUOXEa7cB; 1.1 date 2018.05.20.08.38.47; author wiz; state Exp; branches; next ; commitid gIMm5CbQThpnR0DA; desc @@ 1.4 log @ledger: update to 3.4.1. Based on wip/ledger by atomicules with some fixes. 3.4.1 Fix version number in binary Assets 2 Source code (zip) Oct 26, 2025 Source code (tar.gz) Oct 26, 2025 1 person reacted 3.4.0 Oct 22, 2025 @@jwiegley jwiegley v3.4.0 ddb7c89 3.4.0 Critical Bug Fixes Fix segfault in metadata validation (issue #1800) Fix divide by zero (bugs #777 and #2207) Fix use-after-free with regex_match() Fix bucket transactions ignored with reg --related (bug #2220) Restore expr context after calc (bugs #2330 and #2343) Date and Year Handling Fix leap year dates with apply year directive (bug #2468) Fix xact command to properly respect last year directive (bug #2413) Fix timelog balance assertions with value conversion New Features Add support for hash chaining with --hashes option for transaction integrity verification Add commodity swaps feature over a base commodity Add --align-intervals option for reporting Add --lisp-date-format option for lisp output (bug #1206) Add yday shortcut for "yesterday" File Handling Skip files with invalid UTF-8 names in include directive (bug #2421) Allow automatic transactions to create accounts with --pedantic (bug #2417) Make pricedb output deterministic (bug #1783) Python Support Update required Python version to 3.10 (minimum 3.9) Fix Python 3.12 deprecation warnings Add Python bindings for commodity value_t and roundto function Remove Python 2 support from tests Build System Updates Update to C++17 standard Update to Boost 1.86.0 (minimum 1.72.0) Update required CMake to 3.16.2 Add support for Ubuntu 24.04 Noble Add build support for readline Display Improvements Display parent accounts with one child if they contain posts Align amounts even when account names are long Fix percentile balance report of time commodity @ text @$NetBSD: patch-CMakeLists.txt,v 1.3 2025/10/17 08:50:14 wiz Exp $ boost 1.89 made system header-only. --- CMakeLists.txt.orig 2025-10-17 08:46:39.605560063 +0000 +++ CMakeLists.txt @@@@ -90,7 +90,7 @@@@ endif() # Set BOOST_ROOT to help CMake to find the right Boost version find_package(Boost 1.49.0 - REQUIRED date_time filesystem system iostreams regex unit_test_framework + REQUIRED date_time filesystem iostreams regex unit_test_framework ${BOOST_PYTHON} OPTIONAL_COMPONENTS nowide) # enable Boost::nowide library (for UTF8 command line args on Windows) @ 1.3 log @ledger: fix build with boost 1.89 @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @ledger: update to 3.1.2. * 3.1.2 (2019-02-05) - Increase maximum length for regex from 255 to 4095 (bug #981) - Initialize periods from from/since clause rather than earliest transaction date (bug #1159) - Check balance assertions against the amount after the posting (bug #1147) - Allow balance assertions with multiple posts to same account (bug #1187) - Fix period duration of "every X days" and similar statements (bug #370) - Make option --force-color not require --color anymore (bug #1109) - Add quoted_rfc4180 to allow CVS output with RFC 4180 compliant quoting. - Add support for --prepend-format in accounts command - Fix handling of edge cases in trim function (bug #520) - Fix auto xact posts not getting applied to account total during journal parse (bug #552) - Transfer null_post flags to generated postings - Fix segfault when using --market with --group-by - Use amount_width variable for budget report - Keep pending items in budgets until the last day they apply - Fix bug where .total used in value expressions breaks totals - Make automated transactions work with assertions (bug #1127) - Improve parsing of date tokens (bug #1626) - Don't attempt to invert a value if it's already zero (bug #1703) - Do not parse user-specified init-file twice - Fix parsing issue of effective dates (bug #1722, TALOS-2017-0303, CVE-2017-2807) - Fix use-after-free issue with deferred postings (bug #1723, TALOS-2017-0304, CVE-2017-2808) - Fix possible stack overflow in option parsing routine (bug #1222, CVE-2017-12481) - Fix possible stack overflow in date parsing routine (bug #1224, CVE-2017-12482) - Fix use-after-free when using --gain (bug #541) - Python: Removed double quotes from Unicode values. - Python: Ensure that parse errors produce useful RuntimeErrors - Python: Expose journal expand_aliases - Python: Expose journal_t::register_account - Improve bash completion - Emacs Lisp files have been moved to https://github.com/ledger/ledger-mode - Fix build under MSYS (32-bit). - Fix build under Cygwin. - Various documentation improvements @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2018/05/20 08:38:47 wiz Exp $ d3 1 a3 1 pkgsrc library is versioned, adapt check. d5 1 a5 1 --- CMakeLists.txt.orig 2016-01-11 15:59:38.000000000 +0000 d7 1 a7 1 @@@@ -68,7 +68,7 @@@@ if (USE_PYTHON) d9 7 a15 7 find_package(PythonLibs) if (PYTHONLIBS_FOUND) - set(BOOST_PYTHON python) + set(BOOST_PYTHON python27) set(HAVE_BOOST_PYTHON 1) include_directories(SYSTEM ${PYTHON_INCLUDE_DIRS}) else() @ 1.1 log @ledger: fix python detection after py-boost installs a versioned library @ text @d1 1 a1 1 $NetBSD$ @