public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnucash] f43: Merge branch 'rawhide' into f43
@ 2026-07-28 21:22 Gwyn Ciesla
  0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-07-28 21:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gnucash
Branch : f43
Commit : 4619ee1d02baaccf83cb65668fce335a7906b8d7
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2026-07-28T16:11:07-05:00
Stats  : +81/-2 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/gnucash/c/4619ee1d02baaccf83cb65668fce335a7906b8d7?branch=f43

Log:
Merge branch 'rawhide' into f43

---
diff --git a/.gitignore b/.gitignore
index 26e4a9d..447a6fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,4 @@
 /gnucash-5.12.tar.bz2
 /gnucash-5.13.tar.bz2
 /gnucash-5.14.tar.bz2
+/gnucash-5.16.tar.bz2

diff --git a/gnucash-swig45.patch b/gnucash-swig45.patch
new file mode 100644
index 0000000..6adce57
--- /dev/null
+++ b/gnucash-swig45.patch
@@ -0,0 +1,51 @@
+diff -up gnucash-5.14/bindings/python/gnucash_core.i.swig45 gnucash-5.14/bindings/python/gnucash_core.i
+--- gnucash-5.14/bindings/python/gnucash_core.i.swig45	2026-07-28 08:00:55.910937924 +0200
++++ gnucash-5.14/bindings/python/gnucash_core.i	2026-07-28 08:00:55.913959681 +0200
+@@ -122,7 +122,7 @@
+ %typemap(out) GncOwner * {
+     GncOwnerType owner_type = gncOwnerGetType($1);
+     PyObject * owner_tuple = PyTuple_New(2);
+-    PyTuple_SetItem(owner_tuple, 0, PyInt_FromLong( (long) owner_type ) );
++    PyTuple_SetItem(owner_tuple, 0, PyLong_FromLong( (long) owner_type ) );
+     PyObject * swig_wrapper_object;
+     if (owner_type == GNC_OWNER_CUSTOMER ){
+         swig_wrapper_object = SWIG_NewPointerObj(
+diff -up gnucash-5.14/bindings/python/time64.i.swig45 gnucash-5.14/bindings/python/time64.i
+--- gnucash-5.14/bindings/python/time64.i.swig45	2026-07-28 08:00:55.908937885 +0200
++++ gnucash-5.14/bindings/python/time64.i	2026-07-28 08:00:55.912937963 +0200
+@@ -35,7 +35,7 @@
+ %typemap(in) time64 {
+     PyDateTime_IMPORT;
+ 
+-    if (!PyDate_Check($input) && !PyInt_Check($input)) {
++    if (!PyDate_Check($input) && !PyLong_Check($input)) {
+         PyErr_SetString(PyExc_ValueError,"date, datetime or integer expected");
+         return NULL;
+     }
+@@ -49,7 +49,7 @@
+                           PyDateTime_GET_YEAR($input) - 1900};
+         $1 = gnc_mktime(&time);
+     } else {
+-        $1 = PyInt_AsLong($input);
++        $1 = PyLong_AsLong($input);
+     }
+ }
+ 
+@@ -79,7 +79,7 @@
+ %typemap(in) time64 * (time64 secs) {
+     PyDateTime_IMPORT;
+ 
+-    if (!PyDate_Check($input) && !PyInt_Check($input)) {
++    if (!PyDate_Check($input) && !PyLong_Check($input)) {
+         PyErr_SetString(PyExc_ValueError,"date, datetime or integer expected");
+         return NULL;
+     }
+@@ -94,7 +94,7 @@
+         time64 secs = gnc_mktime(&time);
+         $1 = &secs;
+     } else {
+-        time64 secs = PyInt_AsLong($input);
++        time64 secs = PyLong_AsLong($input);
+         $1 = &secs;
+     }
+ }

diff --git a/gnucash.spec b/gnucash.spec
index bb43a2b..b75b9bd 100644
--- a/gnucash.spec
+++ b/gnucash.spec
@@ -4,7 +4,7 @@
 
 Name: gnucash
 Summary: Finance management application
-Version: 5.14
+Version: 5.16
 URL: https://gnucash.org/
 Release: 1%{?dist}
 License: GPL-2.0-or-later
@@ -14,6 +14,9 @@ ExcludeArch: %{ix86}
 
 Patch0: rpath.patch
 Patch1: no-implicit.patch
+# Replace removed Python 2 C API macros with Python 3 equivalents
+# for compatibility with SWIG 4.5.0
+Patch2: gnucash-swig45.patch
 
 # https://bugzilla.redhat.com/show_bug.cgi?id=1563466
 ExcludeArch: ppc64 s390x
@@ -120,6 +123,30 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/gnucas
 %config(noreplace) %{_sysconfdir}/gnucash/*
 
 %changelog
+* Tue Jul 28 2026 Gwyn Ciesla <gwync@protonmail.com> - 5.16-1
+- 5.16
+
+* Tue Jul 28 2026 Jitka Plesnikova <jplesnik@redhat.com> - 5.14-8
+- Replace removed Python 2 C API macros for SWIG 4.5.0 compatibility
+
+* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 5.14-7
+- Rebuilt for Python 3.15.0b4 ABI change
+
+* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.14-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+
+* Mon Jun 08 2026 František Zatloukal <fzatlouk@redhat.com> - 5.14-5
+- Rebuilt for icu 78.3
+
+* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 5.14-4
+- Rebuilt for Python 3.15
+
+* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.14-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
+
+* Mon Jan 12 2026 Jonathan Wakely <jwakely@fedoraproject.org> - 5.14-2
+- Rebuilt for Boost 1.90
+
 * Mon Dec 22 2025 Gwyn Ciesla <gwync@protonmail.com> - 5.14-1
 - 5.14
 

diff --git a/sources b/sources
index b090bc0..51c8beb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gnucash-5.14.tar.bz2) = b66fecb47168ae269a0ef03c22d0ebd048b0a249d8e8e61e0dbe60a8d0baf89d203df178452de6ffb7ba588e1b0cff98a2e5bb867915d89ee9b7a33bc64a4082
+SHA512 (gnucash-5.16.tar.bz2) = 926f76f07fd17082e33d1ffe25e1c2cd0293cb0d34dd636c7e785e83e6d0e04bf55102171b0e28e8c20bcdc3adcf27a95526f3fe06ac0321fe1d5c745533e1c0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-28 21:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-28 21:22 [rpms/gnucash] f43: Merge branch 'rawhide' into f43 Gwyn Ciesla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox