[Bug 279330] devel/doxygen: upgrade to 1.13.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Jan 2025 22:23:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279330

--- Comment #13 from Matthias Andree <mandree@FreeBSD.org> ---
Created attachment 256459
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=256459&action=edit
shell script used with "git bisect run" on a checkout of upstream Doxygen

(In reply to Dima Panov from comment #12)
This PR is a bit unwieldy and I don't expect someone to review 24,000+ lines of
changes. This must be something that is a screenful, maybe two. At least it's
no more than two screenfuls that broke it :-)

In order to find a starting point, after sphinx upgrades were to not much
avail, except 

I did something else instead; experimented with sphinx versions to no avail
except https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283871 which files
down one rough edge in sphinxcontrib-applehelp from a future textproc/py-sphinx
upgrade to a newer version,

and then resorted to bisecting Doxygen with a script good for git bisect run...
on 2nd attempt (I figured I needed git purge the build directory including its
cache to avoid bogus source-not-found build failures from the cmake cache),
this resulted in - relating to https://github.com/doxygen/doxygen.git - as
bisect result on Doxygen:

a18e4c76ed6415893800c7d77a2f798614fb638b is the first bad commit
commit a18e4c76ed6415893800c7d77a2f798614fb638b
Author: albert-github <albert.tests@gmail.com>
Date:   Wed Apr 12 15:04:23 2023 +0200

    bug 473140 Broken anonymous union data in XML

    Remove artificial anonymous identification (at the known places).

 src/xmlgen.cpp                                | 47 ++++++++++++++++++---------
 testing/071/namespace_a_namespace_1_1_0d0.xml |  4 +--
 testing/073/073__typed__enum_8cpp.xml         |  4 +--
 3 files changed, 36 insertions(+), 19 deletions(-)

This departed from Doxygen Release_1_9_6 as good and current master, hash value
d9ac09659a5ec370892b82bb5bc931681ca47510, as bad.  Some comments are in German.

$ git bisect log
git bisect start
# Status: warte auf guten und schlechten Commit
# good: [4586b5cfaa3d46d51f6a51882951d15644c49edf] Update changelog for release
1.9.6
git bisect good 4586b5cfaa3d46d51f6a51882951d15644c49edf
# Status: warte auf schlechten Commit, 1 guter Commit bekannt
# bad: [d9ac09659a5ec370892b82bb5bc931681ca47510] issue #11314 "Copy to
clipboard" button broken with XHTML
git bisect bad d9ac09659a5ec370892b82bb5bc931681ca47510
# bad: [627ee6dcb36da420995b3d142577482684008c4e] issue #10449 \include{doc}
ignores EXAMPLE_PATH
git bisect bad 627ee6dcb36da420995b3d142577482684008c4e
# bad: [ca65fd0bbb717a3f65e64bfcebe36a5debba66fa] Refactoring: make use of
C++17 structured bindings
git bisect bad ca65fd0bbb717a3f65e64bfcebe36a5debba66fa
# good: [5b5f1534ab4d5885c6f9537910831a6489f33af2] Merge branch 'master' of
github.com:doxygen/doxygen
git bisect good 5b5f1534ab4d5885c6f9537910831a6489f33af2
# good: [d992c7ae1363cf639c482293db19499922260277] Merge pull request #9980
from albert-github/feature/bug_docu_htmlcmds
git bisect good d992c7ae1363cf639c482293db19499922260277
# bad: [a74d92ae9399a49c7bec76efbd707250d67d0f2a] Merge pull request #10007
from albert-github/feature/bug_cnt_md_atx
git bisect bad a74d92ae9399a49c7bec76efbd707250d67d0f2a
# bad: [5189f59d67cc3095674385aca8063a03045be89d] Merge branch
'mtc-mlx-mtc/latex-group-hierarchy'
git bisect bad 5189f59d67cc3095674385aca8063a03045be89d
# bad: [e82eb213580e9603fe6e54437b2b650ce269d3fa] Merge branch
'feature/bug_dot_legend' of https://github.com/albert-github/doxygen into
albert-github-feature/bug_dot_legend
git bisect bad e82eb213580e9603fe6e54437b2b650ce269d3fa
# bad: [6e2b2b9acc43505caae4033720075659fd83692a] Refactoring: embed TokenInfo
in doctokenizer as value instead of pointer
git bisect bad 6e2b2b9acc43505caae4033720075659fd83692a
# bad: [367e7b3fed0e376ab7411c71fa2bc77dbcaeea67] Merge branch
'albert-github-feature/bug_473140'
git bisect bad 367e7b3fed0e376ab7411c71fa2bc77dbcaeea67
# good: [99c5ed0395ebff06c61646412ee07ccff97c01e7] Merge pull request #9978
from albert-github/feature/bug_latex_warnings
git bisect good 99c5ed0395ebff06c61646412ee07ccff97c01e7
# bad: [36ca0f47aa0409323632f7d79a77612924ea79fa] Merge branch
'feature/bug_473140' of https://github.com/albert-github/doxygen into
albert-github-feature/bug_473140
git bisect bad 36ca0f47aa0409323632f7d79a77612924ea79fa
# bad: [a18e4c76ed6415893800c7d77a2f798614fb638b] bug 473140 Broken anonymous
union data in XML
git bisect bad a18e4c76ed6415893800c7d77a2f798614fb638b
# first bad commit: [a18e4c76ed6415893800c7d77a2f798614fb638b] bug 473140
Broken anonymous union data in XML

-- 
You are receiving this mail because:
You are on the CC list for the bug.