Compare commits
16 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 034769f39d | |||
|
|
2c41b91e37 | ||
| 2baa7e1c6e | |||
|
|
ff6968ed81 | ||
| 731c9ae532 | |||
|
|
af3c08c4eb | ||
| ffc839d524 | |||
| 2325ccfec8 | |||
| c00f213453 | |||
| e8b3cced98 | |||
|
|
e97eff62a8 | ||
|
|
7b1910785c | ||
|
|
b211fa1af2 | ||
|
|
698a61ae9f | ||
| d3eec47712 | |||
|
|
1551b35d69 |
17
gcc16.patch
Normal file
17
gcc16.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
Index: gnucash-5.13/gnucash/gnome/dialog-sx-since-last-run.c
|
||||
===================================================================
|
||||
--- gnucash-5.13.orig/gnucash/gnome/dialog-sx-since-last-run.c
|
||||
+++ gnucash-5.13/gnucash/gnome/dialog-sx-since-last-run.c
|
||||
@@ -808,11 +808,10 @@ gsslrtma_removing_cb (GncSxInstanceModel
|
||||
GtkTreePath *model_path;
|
||||
GtkTreeIter tree_iter;
|
||||
GList *iter;
|
||||
- int index = 0;
|
||||
GncSxInstances *instances;
|
||||
|
||||
// get index, create path, remove
|
||||
- for (iter = gnc_sx_instance_model_get_sx_instances_list (inst_model); iter != NULL; iter = iter->next, index++)
|
||||
+ for (iter = gnc_sx_instance_model_get_sx_instances_list (inst_model); iter != NULL; iter = iter->next)
|
||||
{
|
||||
instances = (GncSxInstances*)iter->data;
|
||||
if (instances->sx == to_remove_sx)
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ba42313aaaa99b5f07ff6e4dbc58b33fbf5f4be6e911376701d65c26fd4debe
|
||||
size 15165344
|
||||
3
gnucash-5.13.tar.bz2
Normal file
3
gnucash-5.13.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:082eecc332b722f223d3f2512626ebe5ef63f94aaf5c409e87526c654464aef5
|
||||
size 15343812
|
||||
13
gnucash-boost-1.89.patch
Normal file
13
gnucash-boost-1.89.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: gnucash-5.12/CMakeLists.txt
|
||||
===================================================================
|
||||
--- gnucash-5.12.orig/CMakeLists.txt
|
||||
+++ gnucash-5.12/CMakeLists.txt
|
||||
@@ -576,7 +576,7 @@ set (Boost_FIND_QUIETLY ON)
|
||||
if (NOT DEFINED ${BOOST_ROOT})
|
||||
set(BOOST_ROOT $ENV{BOOST_ROOT})
|
||||
endif()
|
||||
-find_package (Boost 1.67.0 COMPONENTS date_time filesystem locale program_options regex system)
|
||||
+find_package (Boost 1.67.0 COMPONENTS date_time filesystem locale program_options regex)
|
||||
|
||||
if (Boost_FOUND)
|
||||
include_directories(${Boost_INCLUDE_DIRS})
|
||||
28
gnucash-fix-test-userdata-dir-invalid-home.patch
Normal file
28
gnucash-fix-test-userdata-dir-invalid-home.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
From d1b30fcea09687dcf79a827945b5e007accdb884 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?=
|
||||
<jaime.marquinez.ferrandiz@fastmail.net>
|
||||
Date: Thu, 20 Nov 2025 23:32:59 +0100
|
||||
Subject: [PATCH] test-userdata-dir-invalid-home: Unset XDG_DATA_HOME
|
||||
|
||||
---
|
||||
libgnucash/core-utils/test/test-userdata-dir-invalid-home.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/libgnucash/core-utils/test/test-userdata-dir-invalid-home.c b/libgnucash/core-utils/test/test-userdata-dir-invalid-home.c
|
||||
index 449a4b1c24..5b48ced269 100644
|
||||
--- a/libgnucash/core-utils/test/test-userdata-dir-invalid-home.c
|
||||
+++ b/libgnucash/core-utils/test/test-userdata-dir-invalid-home.c
|
||||
@@ -85,6 +85,10 @@ main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
|
||||
* directory in that case. */
|
||||
g_setenv("HOME", homedir, TRUE);
|
||||
g_setenv("GNC_DATA_HOME", testdatahome, TRUE);
|
||||
+ /* On some test environments XDG_DATA_HOME may be configured with a path
|
||||
+ * that actually exists, so we unset it to actually get the temporary
|
||||
+ * directory */
|
||||
+ g_setenv("XDG_DATA_HOME", "", TRUE);
|
||||
g_free (homedir);
|
||||
g_free (testdatahome);
|
||||
|
||||
--
|
||||
2.51.1
|
||||
|
||||
@@ -1,3 +1,91 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 19 14:17:55 UTC 2026 - Josef Melcr <josef.melcr@suse.com>
|
||||
|
||||
- Add gcc16.patch, so that the package builds with GCC 16
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 20 22:41:24 UTC 2025 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
|
||||
|
||||
- Add gnucash-fix-test-userdata-dir-invalid-home.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 26 19:55:38 UTC 2025 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
|
||||
|
||||
- Update to 5.13:
|
||||
+ Splits to Imbalance-USD do not disappear when zero-valued.
|
||||
To mitigate potential impact, the Imbalance split is only removed when the
|
||||
split transitions to zero value during the commit of the transaction and
|
||||
the split's memo and action have no value.
|
||||
+ Crash while switch to recently opened file
|
||||
+ error: call to non-'constexpr' function
|
||||
+ Ensure that GnuCash does not crash when it converts a foreign-currency
|
||||
transaction into a trading account transaction.
|
||||
+ Reconcile Ending Balance Ignored When Statement Date Set
|
||||
+ Invoice price decimal places
|
||||
+ Zombie entries in the recently accessed file list.
|
||||
+ Invoice and bills still display prices as fractional amounts with "Force
|
||||
Prices to display as decimals"
|
||||
+ Incorrect trial Balance report with stocks and multiple currencies
|
||||
+ Exchange Rate entries displayed in reports in an unstable order
|
||||
+ Importing accounts from UTF8 csv file does not work correctly
|
||||
+ Provide a new dialog, gnc_action_dialog, for confirming actions that labels
|
||||
buttons with a active verb (e.g. "Delete") instead of a confirmation (e.g.
|
||||
"Yes" or "OK"). This is hypothetically less ambiguous in some cases.
|
||||
+ Transaction Report: Add links to bills and invoices.
|
||||
+ [gnc-plugin-page-report] confirm before overwriting saved report
|
||||
+ Added Swiss Fund Data AG to single_quote_sources. New F::Q source will be
|
||||
available in v1.67. The selection will be disabled until F::Q 1.67 is
|
||||
released and installed.
|
||||
+ Replace deprecated gdk_pixbuf_new_from_xpm_data
|
||||
+ Fix tests so that they run on Win32 builds.
|
||||
+ Fix inadvertant insertion in test-trial-balance.scm.
|
||||
+ extract-translators: Use 'open :encoding' instead of utf::encode/decode.
|
||||
+ Fix newline disparity in translator-credits
|
||||
+ Translator credits: Separate translators with a newline Instead of a
|
||||
semicolon. Presents them as a list, one name per line, as with the other
|
||||
credits.
|
||||
+ [fin.c] fix encoding to utf8
|
||||
+ [new-owner-report.scm] insert job-ID if available
|
||||
+ [balsheet-pnl] use gnc:accounts-get-commodities-sorted
|
||||
+ Set policy CMP0177 and follow the documented recommendations regarding
|
||||
DESTINATION paths.
|
||||
+ [balsheet-pnl] ensure the account name cell doesn't wrap
|
||||
+ Specialize get_row_value_from_object for int64_t so that it doesn't try to
|
||||
pass the value in a pointer. That comes out badly on 32-bit systems.
|
||||
+ [charts] Add chartjs v4 to borrowed so it can be used when available
|
||||
(meaning not on Windows because Windows's JS support via webkit is too old).
|
||||
+ [charts] use gnc:html-chart-set-xaxis-type!
|
||||
+ [html-chart] expose gnc:html-chart-set-x-axis-type!; Centralise to ease
|
||||
chartjs upgrade. The option path changes as follows: '(options scales xAxes
|
||||
(0) type) in chartjs-2 '(options scales x type) in chartjs-3
|
||||
+ [gnc-pricedb.cpp] plug leak from gnc_g_date_new_today
|
||||
+ [gtest-xml-contents] test xaccTransGetDatePostedGDate from xml
|
||||
+ Engine: Replace indirect qof_object_set/get calls with direct
|
||||
qof_instance_kvp ones.
|
||||
+ [gtest-load-and-test-datafile.cpp] add example .gnucash to test contents
|
||||
+ Updated translations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 25 10:00:33 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add gnucash-boost-1.89.patch: Fix build against boost 1.89
|
||||
- Drop libboost_system-devel-impl: no longer existing (boo#1250512)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 16 13:45:37 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Update to 5.12:
|
||||
+ Bugfixes
|
||||
See https://github.com/Gnucash/gnucash/releases/tag/5.12 for
|
||||
full changes
|
||||
- Drop upstream fix_build_with_boost_1_88.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 20:39:23 UTC 2025 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
|
||||
|
||||
- Add fix_build_with_boost_1_88.patch
|
||||
- Run the testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 31 00:16:20 UTC 2025 - RN <R_Nik_C@proton.me>
|
||||
|
||||
|
||||
15
gnucash.spec
15
gnucash.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gnucash
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -34,7 +34,7 @@
|
||||
%endif
|
||||
|
||||
Name: gnucash
|
||||
Version: 5.11
|
||||
Version: 5.13
|
||||
Release: 0
|
||||
Summary: Personal Finance Manager
|
||||
License: SUSE-GPL-2.0-with-openssl-exception OR SUSE-GPL-3.0-with-openssl-exception
|
||||
@@ -48,6 +48,10 @@ Patch0: gnucash-cpan-warning.patch
|
||||
# PATCH-FIX-UPSTREAM gnucash-libm.patch gh#gnucash/gnucash#632 dimstar@opensuse.org -- Link libm: gnucash uses e.g. log10 without explicitly requesting libm
|
||||
Patch1: gnucash-libm.patch
|
||||
Patch2: gnucash-4.1-fix-gtest-path.patch
|
||||
Patch3: gnucash-boost-1.89.patch
|
||||
# PATCH-FIX-UPSTREAM gh#gnucash/gnucash#2152 -- test-userdata-dir-invalid-home: Unset XDG_DATA_HOME
|
||||
Patch4: gnucash-fix-test-userdata-dir-invalid-home.patch
|
||||
Patch5: gcc16.patch
|
||||
|
||||
BuildRequires: cmake >= 3.14
|
||||
BuildRequires: doxygen
|
||||
@@ -66,7 +70,6 @@ BuildRequires: libboost_headers-devel-impl >= 1.67.0
|
||||
BuildRequires: libboost_locale-devel-impl >= 1.67.0
|
||||
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
|
||||
@@ -179,6 +182,12 @@ export CXX=g++-13
|
||||
# Remove MS-Windows-related files and auto-installed LICENSE file
|
||||
rm %{buildroot}%{_docdir}/%{name}/LICENSE
|
||||
|
||||
%check
|
||||
# Tweak path so that the tests can find all the libraries
|
||||
export LD_LIBRARY_PATH="%{buildroot}%{_libdir}:%{buildroot}%{_libdir}/gnucash:$PWD/build/%{_lib}/gnucash/test"
|
||||
pushd build
|
||||
%cmake_build check
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user