Accepting request 1139402 from home:jaimeMF:branches:Office

- Update to 5.5
  + Bugfixes
  + [import-main-matcher.cpp] After clicking/toggling A/U+C/C checkbox,
    reselect the row because it'll be much faster to use keyboard navigation --
    use up/down/left/right to target desired checkbox, hit <down> <space>
    repeatedly to repeat the same action over several consecutive rows.
  + Implement support for !Type:Prices records in the QIF importer.
  + Modernize construction of GObjects using G_DECLARE_DERIVABLE,
    G_DECLARE_FINAL, etc.
  + Fix yet more leaks.
  + [DBI backend] Change DBI test URLs to environment variables from cmake
    configuration definitions.
  + Restore the Stock Transaction Assistant to full operation.
  + Fix the Fancy Date file property so that it saves.
  + Fix formatting error in po files project-id line.
  + [simple-business-create.py] Overwrite an existing file instead of crashing.
  + Update github action package versions.
  + Add parsing mixed number and fraction (e.g. 10 1/2) to the gnc_numeric
    string constructor.
  + Bump minimum cmake version to 3.14 and drop some conditionals for older
    versions
  + Major speedup in the SQLBackend by replacing C++ exceptions with
    std::optional for null values.
  + Refresh the GUI on completion of the import matcher so that the imports are
    immediately reflected in the register.
  + Improve online quote retrieval error reporting.
  + Test loading and saving XML files with and without compression
  + [import-main-matcher] always defer_bal_computation during import to speed
    up both importing new transactions, and destroying existing ones.
  + GncGtkListUIItem::set_option_from_ui_item: Iterate over selected items

OBS-URL: https://build.opensuse.org/request/show/1139402
OBS-URL: https://build.opensuse.org/package/show/Office/gnucash?expand=0&rev=38
This commit is contained in:
Christophe Marin 2024-01-17 08:59:18 +00:00 committed by Git OBS Bridge
parent f80598d52b
commit 8597fc4be8
4 changed files with 72 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7741165d6d652ea7b4a1e8498cf439a56b81a5cc8b653291a59054f2362abfcc
size 14928988

3
gnucash-5.5.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4daf67bb892b706323f62e9fa97242039d7dd0a2e1e10771e0c25817dd0ed3b
size 14986561

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Thu Jan 11 21:59:38 UTC 2024 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
- Update to 5.5
+ Bugfixes
+ [import-main-matcher.cpp] After clicking/toggling A/U+C/C checkbox,
reselect the row because it'll be much faster to use keyboard navigation --
use up/down/left/right to target desired checkbox, hit <down> <space>
repeatedly to repeat the same action over several consecutive rows.
+ Implement support for !Type:Prices records in the QIF importer.
+ Modernize construction of GObjects using G_DECLARE_DERIVABLE,
G_DECLARE_FINAL, etc.
+ Fix yet more leaks.
+ [DBI backend] Change DBI test URLs to environment variables from cmake
configuration definitions.
+ Restore the Stock Transaction Assistant to full operation.
+ Fix the Fancy Date file property so that it saves.
+ Fix formatting error in po files project-id line.
+ [simple-business-create.py] Overwrite an existing file instead of crashing.
+ Update github action package versions.
+ Add parsing mixed number and fraction (e.g. 10 1/2) to the gnc_numeric
string constructor.
+ Bump minimum cmake version to 3.14 and drop some conditionals for older
versions
+ Major speedup in the SQLBackend by replacing C++ exceptions with
std::optional for null values.
+ Refresh the GUI on completion of the import matcher so that the imports are
immediately reflected in the register.
+ Improve online quote retrieval error reporting.
+ Test loading and saving XML files with and without compression
+ [import-main-matcher] always defer_bal_computation during import to speed
up both importing new transactions, and destroying existing ones.
+ GncGtkListUIItem::set_option_from_ui_item: Iterate over selected items
Instead of all possible items.
+ Convert gnc-ofx-import.c, import-parse.c, import-utilities.c,
import-format-dialog.c, import-account-matcher.c, import-commodity-matcher.c,
import-settings.c, import-pending-matches.c, import-match-picker.c,
import-main-matcher.c, and gnc-pricedb.c to .cpp
+ By default, filter out online_wiggle in test-gnc-quotes. Running
./bin/test-gnc-quotes from the command line will still include online_wiggle
+ Replace yahoo_json with alphavantage in test-gnc-quotes. yahoo_json is too
unstable.
+ Include timezone in price-quote date diagnostic messages.
- Disable the python bindings on Leap since it requires python 3.8 ( https://bugs.gnucash.org/show_bug.cgi?id=799138 )
- Add a dependency on libicu-devel to fix the build on Leap
-------------------------------------------------------------------
Sat Sep 30 19:24:29 UTC 2023 - Johannes Engel <jcnengel@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package gnucash
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,14 +27,20 @@
%endif
%endif
%if 0%{?suse_version} > 1600
%bcond_without python
%else
%bcond_with python
%endif
Name: gnucash
Version: 5.4
Version: 5.5
Release: 0
Summary: Personal Finance Manager
License: SUSE-GPL-2.0-with-openssl-exception OR SUSE-GPL-3.0-with-openssl-exception
Group: Productivity/Office/Finance
URL: http://www.gnucash.org/
Source: https://github.com/Gnucash/gnucash/releases/download/%{version}/%{name}-%{version}-1.tar.bz2
Source: https://github.com/Gnucash/gnucash/releases/download/%{version}/%{name}-%{version}.tar.bz2
Source1: %{name}-rpmlintrc
## Cpan-warning patch must always be applied.
# PATCH-FIX-UPSTREAM gnucash-cpan-warning.patch -- Add a warning about the danger of using gnc-fq-update to update the perl modules used by GnuCash.
@ -58,10 +64,13 @@ BuildRequires: libboost_program_options-devel-impl >= 1.67.0
BuildRequires: libboost_regex-devel-impl >= 1.67.0
BuildRequires: libboost_system-devel-impl >= 1.67.0
BuildRequires: libdbi-drivers-dbd-sqlite3
BuildRequires: libicu-devel
BuildRequires: makeinfo
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: python3-devel
%if %{with python}
BuildRequires: python3-devel >= 3.8
%endif
BuildRequires: swig >= 3.0.12
BuildRequires: xsltproc
BuildRequires: pkgconfig(aqbanking) >= 6.0.0
@ -87,7 +96,9 @@ BuildRequires: pkgconfig(webkit2gtk-4.1)
Recommends: %{name}-docs
# For translation of currency names
Recommends: iso-codes
%if %{with python}
Recommends: python3-gnucash = %{version}
%endif
# Optional perl modules for online price retrieval
Recommends: perl(Date::Manip)
Recommends: yelp
@ -109,6 +120,7 @@ Feature Highlights:
* Scheduled Transactions;
* Financial Calculations.
%if %{with python}
%package -n python3-gnucash
Summary: Python bindings for GnuCash
Group: Development/Libraries/Python
@ -117,6 +129,7 @@ Requires: %{name} = %{version}
%description -n python3-gnucash
This package provides the Python 3 bindings for development of GnuCash,
a personal finance manager.
%endif
%package devel
Summary: Development files for GnuCash
@ -142,7 +155,11 @@ a personal finance manager.
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \
-DGMOCK_ROOT=%{_includedir}/gmock \
-DGTEST_ROOT=%{_includedir}/gtest \
%if %{with python}
-DWITH_PYTHON=ON \
%else
-DWITH_PYTHON=OFF \
%endif
-DCOMPILE_GSCHEMAS=OFF \
-DCMAKE_CXX_FLAGS=-Wno-error
%cmake_build
@ -184,10 +201,12 @@ rm %{buildroot}%{_docdir}/%{name}/LICENSE
%config %{_sysconfdir}/gnucash/environment
%exclude %{_datadir}/gnucash/python
%if %{with python}
%files -n python3-gnucash
%{_datadir}/gnucash/python
%dir %{python3_sitearch}/gnucash
%{python3_sitearch}/gnucash
%endif
%files devel
%doc ChangeLog README