public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Scott Talbert <swt@techie.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-wxpython4] f45: Fix FTBFS with doxygen 1.18.0
Date: Mon, 05 Oct 2026 20:56:11 GMT	[thread overview]
Message-ID: <179123377179.1.12899320860128966629.rpms-python-wxpython4-b842c4d55f08@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-10-05 20:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179123377179.1.12899320860128966629.rpms-python-wxpython4-b842c4d55f08@fedoraproject.org \
    --to=swt@techie.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox