From 66cab43ba879b40ab8ca94f4064d21c09a7d9af46f8727141f5c41efc9e69501 Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Fri, 3 May 2024 16:04:14 +0000 Subject: [PATCH] Accepting request 1170752 from home:jaimeMF:branches:Office - Update to 5.6 + Bugfixes + Numeric parsing and string handling improvements in the Engine and XML backend. + [gnc-dense-cal.c] sx popup: show date in preference (cf.locale) format because the date format preference is user-facing and customisable. it's jarring if the preference is dd/mm/yyyy and the display shows mm/dd/yyyy in accordance to the locale. + Correct misleading description about creating Scheduled Transaction. + Date parsing efficiency improvements. + Update minumum Python version to 3.8, made necessary by updating the C API in the Python bindings. + Replace deprecated distutils.sysconfig with sysconfig. distutils is not present in Python 3.12.2. + Query user via dialog for date when creating a reverse transaction. + More C++ conversions + Avoid deprecation warning for -py3 in swig >= 4.1 + [gnc-commodities.cpp] gnc_new_iso_codes is a std::unordered_map + Replace some naked for loops with C++ algorithms + Convert gnc-commodity to C++ and make GncQuoteSources a C++ class. + [test-commodities.cpp] add some tests for gnc_quote_sources + Remove the SLR status sort as it is too confusing + Allow sorting of the transaction column in the Since Last Run dialog by schedule name or occurrence date. To sort by schedule name, a schedule name is first selected and then the column header is pressed to change order. To sort by occurrence date, a date is selected and then the column header is pressed to change order based on the date of the first occurrence. A tool tip has been added to indicate the sort order being used. + [gtest-gnc-numeric] add operator comparisons with example int64 numbers + [assistant-stock-transaction] store & retrieve associated account as metadata + Update Form/Schedule line references for 2023 for the US Income Tax Report + Update another gnucash-help to gnucash-manual + [invoice.scm] centralize layout components into layout-key-list instead of maintaining 2 assoc lists. + [invoice.scm] normalize header section generators, changing the functions to require 1 options argument only + Update invoice.scm: Add spacing for long Invoice ID's (Displayed as "Reference" on the Invoice) OBS-URL: https://build.opensuse.org/request/show/1170752 OBS-URL: https://build.opensuse.org/package/show/Office/gnucash?expand=0&rev=40 --- gnucash-5.5.tar.bz2 | 3 --- gnucash-5.6.tar.bz2 | 3 +++ gnucash.changes | 41 +++++++++++++++++++++++++++++++++++++++++ gnucash.spec | 13 ++++++++++--- 4 files changed, 54 insertions(+), 6 deletions(-) delete mode 100644 gnucash-5.5.tar.bz2 create mode 100644 gnucash-5.6.tar.bz2 diff --git a/gnucash-5.5.tar.bz2 b/gnucash-5.5.tar.bz2 deleted file mode 100644 index efc605a..0000000 --- a/gnucash-5.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b4daf67bb892b706323f62e9fa97242039d7dd0a2e1e10771e0c25817dd0ed3b -size 14986561 diff --git a/gnucash-5.6.tar.bz2 b/gnucash-5.6.tar.bz2 new file mode 100644 index 0000000..3c75818 --- /dev/null +++ b/gnucash-5.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4b42c626350f3e79f7ca1f2173545cc63ddee1addf2460b1a1f22221bf21bd1 +size 15110621 diff --git a/gnucash.changes b/gnucash.changes index 5be89f4..215f847 100644 --- a/gnucash.changes +++ b/gnucash.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Thu Apr 25 20:18:50 UTC 2024 - Jaime Marquínez Ferrándiz + +- Update to 5.6 + + Bugfixes + + Numeric parsing and string handling improvements in the Engine and XML backend. + + [gnc-dense-cal.c] sx popup: show date in preference (cf.locale) format + because the date format preference is user-facing and customisable. it's + jarring if the preference is dd/mm/yyyy and the display shows mm/dd/yyyy in + accordance to the locale. + + Correct misleading description about creating Scheduled Transaction. + + Date parsing efficiency improvements. + + Update minumum Python version to 3.8, made necessary by updating the C API + in the Python bindings. + + Replace deprecated distutils.sysconfig with sysconfig. distutils is not + present in Python 3.12.2. + + Query user via dialog for date when creating a reverse transaction. + + More C++ conversions + + Avoid deprecation warning for -py3 in swig >= 4.1 + + [gnc-commodities.cpp] gnc_new_iso_codes is a std::unordered_map + + Replace some naked for loops with C++ algorithms + + Convert gnc-commodity to C++ and make GncQuoteSources a C++ class. + + [test-commodities.cpp] add some tests for gnc_quote_sources + + Remove the SLR status sort as it is too confusing + + Allow sorting of the transaction column in the Since Last Run dialog by + schedule name or occurrence date. To sort by schedule name, a schedule name + is first selected and then the column header is pressed to change order. To + sort by occurrence date, a date is selected and then the column header is + pressed to change order based on the date of the first occurrence. A tool + tip has been added to indicate the sort order being used. + + [gtest-gnc-numeric] add operator comparisons with example int64 numbers + + [assistant-stock-transaction] store & retrieve associated account as metadata + + Update Form/Schedule line references for 2023 for the US Income Tax Report + + Update another gnucash-help to gnucash-manual + + [invoice.scm] centralize layout components into layout-key-list instead of + maintaining 2 assoc lists. + + [invoice.scm] normalize header section generators, changing the functions + to require 1 options argument only + + Update invoice.scm: Add spacing for long Invoice ID's (Displayed as + "Reference" on the Invoice) + ------------------------------------------------------------------- Thu Jan 11 21:59:38 UTC 2024 - Jaime Marquínez Ferrándiz diff --git a/gnucash.spec b/gnucash.spec index be301f3..be23af4 100644 --- a/gnucash.spec +++ b/gnucash.spec @@ -34,7 +34,7 @@ %endif Name: gnucash -Version: 5.5 +Version: 5.6 Release: 0 Summary: Personal Finance Manager License: SUSE-GPL-2.0-with-openssl-exception OR SUSE-GPL-3.0-with-openssl-exception @@ -53,6 +53,10 @@ BuildRequires: cmake >= 3.14 BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ +%if 0%{?suse_version} == 1500 +BuildRequires: gcc13-PIE +BuildRequires: gcc13-c++ +%endif BuildRequires: gmock >= 1.8.0 BuildRequires: gtest >= 1.8.0 BuildRequires: guile-devel @@ -148,6 +152,9 @@ a personal finance manager. %build %define _lto_cflags %{nil} %define __builder ninja +%if 0%{?suse_version} == 1500 +export CXX=g++-13 +%endif %cmake \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=OFF \ -DCMAKE_SKIP_RPATH=OFF \ @@ -204,8 +211,8 @@ rm %{buildroot}%{_docdir}/%{name}/LICENSE %if %{with python} %files -n python3-gnucash %{_datadir}/gnucash/python -%dir %{python3_sitearch}/gnucash -%{python3_sitearch}/gnucash +%dir %{python3_sitelib}/gnucash +%{python3_sitelib}/gnucash %endif %files devel