public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-wxpython4] f45: Fix FTBFS with doxygen 1.18.0
@ 2026-10-05 20:56 Scott Talbert
  0 siblings, 0 replies; only message in thread
From: Scott Talbert @ 2026-10-05 20:56 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-wxpython4
Branch : f45
Commit : b842c4d55f087a25a4f5747daa6904116972f315
Author : Scott Talbert <swt@techie.net>
Date   : 2026-10-05T16:04:34-04:00
Stats  : +34/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-wxpython4/c/b842c4d55f087a25a4f5747daa6904116972f315?branch=f45

Log:
Fix FTBFS with doxygen 1.18.0

---
diff --git a/fix-ftbfs-doxygen-1.18.0.patch b/fix-ftbfs-doxygen-1.18.0.patch
new file mode 100644
index 0000000..577d455
--- /dev/null
+++ b/fix-ftbfs-doxygen-1.18.0.patch
@@ -0,0 +1,29 @@
+From ff500b14447843b1d36573bd8a725d980dab9dd3 Mon Sep 17 00:00:00 2001
+From: Rui Chen <rui@chenrui.dev>
+Date: Wed, 9 Sep 2026 07:28:32 -0400
+Subject: [PATCH] Handle deduplicated property-grid callback typedef
+
+Signed-off-by: Rui Chen <rui@chenrui.dev>
+---
+ etg/propgriddefs.py | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/etg/propgriddefs.py b/etg/propgriddefs.py
+index c1d7e394..56b18f95 100644
+--- a/etg/propgriddefs.py
++++ b/etg/propgriddefs.py
+@@ -37,7 +37,10 @@ def run():
+     module.find('wxPG_COLOUR_BLACK').ignore()
+     module.find('wxPG_COLOUR').ignore()
+     module.find('wxPG_DEFAULT_IMAGE_SIZE').ignore()
+-    module.find('wxPGSortCallback').ignore()
++    # Newer Doxygen versions only emit this duplicate typedef in propgrid.h.
++    callback = module.findItem('wxPGSortCallback')
++    if callback is not None:
++        callback.ignore()
+ 
+     module.addPyCode(
+         code="""\
+-- 
+2.55.0
+

diff --git a/python-wxpython4.spec b/python-wxpython4.spec
index 875cf86..ff7b971 100644
--- a/python-wxpython4.spec
+++ b/python-wxpython4.spec
@@ -12,7 +12,7 @@ specific code.
 
 Name:           python-wxpython4
 Version:        4.2.5
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        %{sum}
 # wxPython is licensed under the wxWidgets license.  The only exception is
 # the pubsub code in wx/lib/pubsub which is BSD licensed.  Note: wxPython
@@ -24,6 +24,7 @@ License:        LGPL-2.0-or-later WITH WxWindows-exception-3.1 AND BSD-2-Clause
 URL:            https://www.wxpython.org/
 Source0:        https://files.pythonhosted.org/packages/source/w/%{srcname}/wxpython-%{version}.tar.gz
 Patch:          fix-ftbfs-doxygen-1.15.0.patch
+Patch:          fix-ftbfs-doxygen-1.18.0.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  doxygen
@@ -157,6 +158,9 @@ xvfb-run -a %{__python3} build.py test --pytest_timeout=60 --extra_pytest="-k $S
 
 
 %changelog
+* Mon Oct 05 2026 Scott Talbert <swt@techie.net> - 4.2.5-5
+- Fix FTBFS with doxygen 1.18.0
+
 * Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 4.2.5-4
 - Rebuilt for Python 3.15.0b4 ABI change
 

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

only message in thread, other threads:[~2026-10-05 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 20:56 [rpms/python-wxpython4] f45: Fix FTBFS with doxygen 1.18.0 Scott Talbert

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