Bug 279330 - devel/doxygen: upgrade to 1.11.0
Summary: devel/doxygen: upgrade to 1.11.0
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dima Panov
URL: https://www.doxygen.nl/manual/changel...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-26 17:24 UTC by Joerg Wunsch
Modified: 2024-05-31 07:36 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (fluffy)


Attachments
Patch for doxygen (20.57 KB, patch)
2024-05-26 18:34 UTC, Daniel Engberg
no flags Details | Diff
Patch for doxygen v2 (20.71 KB, patch)
2024-05-26 18:59 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Wunsch freebsd_committer freebsd_triage 2024-05-26 17:24:53 UTC
This patch upgrades doxygen to 1.11.0

(Obsoletes bug #276842)

https://reviews.freebsd.org/D45371
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2024-05-26 18:34:18 UTC
Created attachment 250994 [details]
Patch for doxygen

Alternative version,

* Switch from PORTVERSION to DISTVERSION
* Update MASTER_SITES, use GitHub as primare and doxygen.nl as fallback (also switch to https while at it)
* Don't abuse EXTRACT_SUFX, use DISTNAME
* Backport upstream commits c3a95560df0590cf2cb4ada788027f0e49cbf83b and 28b51a7f199d003b309e9dab52457759d5fd7691
* Update WWW to https://www.doxygen.nl/ (.org redirects to .nl)
* Drop USES= dos2unix and shebangfix
* Use sqlite and (lib)spdlog from tree instead of bundled versions
* Remove ALL_TARGETS, unnecessary
* Define "LDFLAGS+= -Wl,--as-needed" to prevent overlinking
* Do some rearrangement of Makefile for better readability and to follow Porters Handbook more closely
* Drop libmd5 --> (lib)md-patches
* Remove Git hacks to determine version

Compile tested on FreeBSD 14.0-RELEASE (amd64) (make, make check-plist)

Poudriere testport OK 14.0-RELEASE (amd64)
Poudriere testport OK 13.2-RELEASE (amd64) (incl QT5 enabled)
Poudriere testport OK 13.3-RELEASE (amd64)
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2024-05-26 18:50:33 UTC
Forgot to add references to backports:

https://github.com/doxygen/doxygen/commit/c3a95560df0590cf2cb4ada788027f0e49cbf83b
https://github.com/doxygen/doxygen/commit/28b51a7f199d003b309e9dab52457759d5fd7691
The latter fixes a buffer overflow in Markdown parser

Best regards,
Daniel
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2024-05-26 18:59:51 UTC
Created attachment 250995 [details]
Patch for doxygen v2

Add back LATEX option, I though it was a build dependency but it's a runtime dep
Add "make test" (passes on 14.0-RELEASE (amd64)
Comment 4 Dima Panov freebsd_committer freebsd_triage 2024-05-31 07:36:07 UTC
(In reply to Daniel Engberg from comment #3)
Daniel, thanks!

I'll run a local exp-run to catch plist changes for all doxy consumers