commit:     7397c664c2d7066f7eb54ca2bbcce97cb08cb330
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 10:29:19 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 10:29:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7397c664

app-text/doxygen: add 1.14.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/doxygen/Manifest                                |  1 +
 .../{doxygen-9999.ebuild => doxygen-1.14.0.ebuild}       |  9 ++++-----
 app-text/doxygen/doxygen-9999.ebuild                     |  9 ++++-----
 .../doxygen-1.14.0-suppress-unused-option-libcxx.patch   | 16 ++++++++++++++++
 4 files changed, 25 insertions(+), 10 deletions(-)

diff --git a/app-text/doxygen/Manifest b/app-text/doxygen/Manifest
index 62847ad30a54..d3f99e01d0ef 100644
--- a/app-text/doxygen/Manifest
+++ b/app-text/doxygen/Manifest
@@ -1,2 +1,3 @@
 DIST doxygen-1.13.0.src.tar.gz 8502031 BLAKE2B 
8a12ed632772b48d07ea4edf16032f491e05b4718d38160ebc1f3d8de1cdf96bca827da28048907cf538a286757ddf56c503fbe08dcfc5a17cc72fea7233a466
 SHA512 
f6cae74bd8df9c6c2ba3fa21fc33926e6d5eba65101776f84c1fa056d9231d69e232a30d7702b53a284543fc4765edadb10f4d4b4a46314fa08580963d9226fb
 DIST doxygen-1.13.2.src.tar.gz 8512178 BLAKE2B 
d1a5051b49924580cf2e4f58df12da6ff6f9f02490957b1a1562a7587763ab32bac11b0c7d3456d6fee48e7284ee8a265e90d1862a40af2c6deb9d1ebdef72e9
 SHA512 
7b6b3285706e10c0b27230503b83cc669aec83ebc3ef9cc1087d5e36118fd726a5368d567dd553ba01acf4d739cdbb41c5e66af4541fc8e51effbbdaa241c812
+DIST doxygen-1.14.0.src.tar.gz 8681251 BLAKE2B 
7de83955033348bea7ecb8d4b2b106192496ffcd062b5fff7f7cfe1f8d25b372d661608f92a5fdfc14489b7343fd19819dd1c86de0d936136714a4f1edd89595
 SHA512 
b042f7f731cd17bea55f7393dd90433f49fa296a61054950c2e1457ff1d57e218706cbc4f5248f42c2242bf1acccd91e88cf545ca394a31a4d2d8b7f5954baa9

diff --git a/app-text/doxygen/doxygen-9999.ebuild 
b/app-text/doxygen/doxygen-1.14.0.ebuild
similarity index 96%
copy from app-text/doxygen/doxygen-9999.ebuild
copy to app-text/doxygen/doxygen-1.14.0.ebuild
index 22a506445848..d2c9bdf562a9 100644
--- a/app-text/doxygen/doxygen-9999.ebuild
+++ b/app-text/doxygen/doxygen-1.14.0.ebuild
@@ -3,9 +3,9 @@
 
 EAPI=8
 
-LLVM_COMPAT=( 18 19 )
+LLVM_COMPAT=( 18 19 20 )
 LLVM_OPTIONAL=1
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..14} )
 PYTHON_REQ_USE="xml(+)"
 
 inherit cmake flag-o-matic llvm-r1 python-any-r1
@@ -69,9 +69,7 @@ DEPEND="${RDEPEND}"
 
 PATCHES=(
        "${FILESDIR}/${PN}-1.9.4-link_with_pthread.patch"
-       "${FILESDIR}/${PN}-1.9.8-suppress-unused-option-libcxx.patch"
-
-       # Backports
+       "${FILESDIR}/${PN}-1.14.0-suppress-unused-option-libcxx.patch"
 )
 
 DOCS=( LANGUAGE.HOWTO README.md )
@@ -113,6 +111,7 @@ src_configure() {
                -Dbuild_search=$(usex doxysearch)
                -Dbuild_wizard=$(usex gui)
                -Dforce_qt=Qt6
+               -Duse_sys_fmt=ON
                -Duse_sys_spdlog=ON
                -Duse_sys_sqlite3=ON
                -DBUILD_SHARED_LIBS=OFF

diff --git a/app-text/doxygen/doxygen-9999.ebuild 
b/app-text/doxygen/doxygen-9999.ebuild
index 22a506445848..d2c9bdf562a9 100644
--- a/app-text/doxygen/doxygen-9999.ebuild
+++ b/app-text/doxygen/doxygen-9999.ebuild
@@ -3,9 +3,9 @@
 
 EAPI=8
 
-LLVM_COMPAT=( 18 19 )
+LLVM_COMPAT=( 18 19 20 )
 LLVM_OPTIONAL=1
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..14} )
 PYTHON_REQ_USE="xml(+)"
 
 inherit cmake flag-o-matic llvm-r1 python-any-r1
@@ -69,9 +69,7 @@ DEPEND="${RDEPEND}"
 
 PATCHES=(
        "${FILESDIR}/${PN}-1.9.4-link_with_pthread.patch"
-       "${FILESDIR}/${PN}-1.9.8-suppress-unused-option-libcxx.patch"
-
-       # Backports
+       "${FILESDIR}/${PN}-1.14.0-suppress-unused-option-libcxx.patch"
 )
 
 DOCS=( LANGUAGE.HOWTO README.md )
@@ -113,6 +111,7 @@ src_configure() {
                -Dbuild_search=$(usex doxysearch)
                -Dbuild_wizard=$(usex gui)
                -Dforce_qt=Qt6
+               -Duse_sys_fmt=ON
                -Duse_sys_spdlog=ON
                -Duse_sys_sqlite3=ON
                -DBUILD_SHARED_LIBS=OFF

diff --git 
a/app-text/doxygen/files/doxygen-1.14.0-suppress-unused-option-libcxx.patch 
b/app-text/doxygen/files/doxygen-1.14.0-suppress-unused-option-libcxx.patch
new file mode 100644
index 000000000000..676609026cb5
--- /dev/null
+++ b/app-text/doxygen/files/doxygen-1.14.0-suppress-unused-option-libcxx.patch
@@ -0,0 +1,16 @@
+Always expose the use_libc++ option. It's only useful for Clang but cmake.class
+tries to find when we've used CMake options which are unused/unknown and this
+triggers it for GCC builds if we set -Duse_libc++=OFF.
+
+So, always expose the option so we can turn it off without a warning.
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -22,7 +22,7 @@ option(build_parse     "Parses source code and dumps the 
dependencies between th
+ option(build_search    "Build external search tools (doxysearch and 
doxyindexer)" OFF)
+ option(build_doc       "Build user manual (HTML and PDF)" OFF)
+ option(build_doc_chm   "Build user manual (CHM)" OFF)
+-if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
++if (TRUE)
+     option(use_libc++  "Use libc++ as C++ standard library." ON)
+ endif()
+ option(use_libclang    "Add support for libclang parsing." OFF)

Reply via email to