summaryrefslogtreecommitdiff
path: root/app-doc/doxygen
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-11 17:04:37 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-12 15:36:00 +0100
commitf7fdfdaeec3764929686064a6054c38a6b2d7788 (patch)
treea420a7aa231f9c43b9911a90b4cfa99ba60b3a24 /app-doc/doxygen
parent97d464ca1fac11a186de447c6e258771063af450 (diff)
downloadgentoo-f7fdfdaeec3764929686064a6054c38a6b2d7788.tar.gz
gentoo-f7fdfdaeec3764929686064a6054c38a6b2d7788.tar.bz2
gentoo-f7fdfdaeec3764929686064a6054c38a6b2d7788.zip
Move {app-doc → app-text}/doxygen
Per the category metadata, app-doc/ is reserved for documentation *files* and not software. Move it to app-text/ where it seems a better fit. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-doc/doxygen')
-rw-r--r--app-doc/doxygen/Manifest4
-rw-r--r--app-doc/doxygen/doxygen-1.10.0.ebuild153
-rw-r--r--app-doc/doxygen/doxygen-1.9.6.ebuild139
-rw-r--r--app-doc/doxygen/doxygen-1.9.7-r1.ebuild142
-rw-r--r--app-doc/doxygen/doxygen-1.9.8.ebuild155
-rw-r--r--app-doc/doxygen/doxygen-9999.ebuild153
-rw-r--r--app-doc/doxygen/files/doxygen-1.9.1-do_not_force_libcxx.patch13
-rw-r--r--app-doc/doxygen/files/doxygen-1.9.1-ignore-bad-encoding.patch23
-rw-r--r--app-doc/doxygen/files/doxygen-1.9.4-link_with_pthread.patch24
-rw-r--r--app-doc/doxygen/files/doxygen-1.9.7-musl-1.2.4.patch26
-rw-r--r--app-doc/doxygen/files/doxygen-1.9.8-spdlog-link.patch51
-rw-r--r--app-doc/doxygen/files/doxygen-1.9.8-suppress-unused-option-libcxx.patch16
-rw-r--r--app-doc/doxygen/files/doxygen-1.9.8-unbundle-sqlite.patch119
-rw-r--r--app-doc/doxygen/metadata.xml24
14 files changed, 0 insertions, 1042 deletions
diff --git a/app-doc/doxygen/Manifest b/app-doc/doxygen/Manifest
deleted file mode 100644
index ffc5043bf704..000000000000
--- a/app-doc/doxygen/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST doxygen-1.10.0.src.tar.gz 8400410 BLAKE2B dc7882dfb8b023e9250592375105cc79d4744362d96f4518b931ac264259257d27e0f2c5456580f3676bb54cc29fbc2ab3b2ffc37da6441297091c60a38dc13b SHA512 885de36fa0b4364cdd1eddd5e02517e08da7a52274c6fda2c22cbe85f0840e2ddf7358f613c018dc39b4a6dfce2ddd627e9318e73b903f954bbad1a39d03a416
-DIST doxygen-1.9.6.src.tar.gz 5293513 BLAKE2B 35d3286b47922776814bb7941c7a1cb27a5a50be35a9f231b1f072333d966630bbf0b97813f56711f71f040a0ceb87e7e1cbee04ca2aa3f035754ba844561697 SHA512 f8b0d19d33fa8a5bb92b38f1c775bd3cde7f024566cf93ed61ab0cafe86643971c04b7f2492364767b3e6ce5b518bad5e0321c82f0a72875ccf936ea7d3595b2
-DIST doxygen-1.9.7.src.tar.gz 5736446 BLAKE2B e0f6e06399a2dda7226fe8fea351a79f19bf71aee51fba0ce113c3423b85aa633ce8d98894e3e49027839c2accc18af87c7f23a1fd37c0de441de42a8a76d307 SHA512 618ff58aa6f0a2eb89f95b570995ea3ebbcda64f502cabcecd9be2967abffb56d0d6747de0c06df422705919757e6af9c6e5a56ca603b1ddf7a09a7ee79b1803
-DIST doxygen-1.9.8.src.tar.gz 8087770 BLAKE2B 9b93bd394e9fdafef1c274596f790db0956028332a945e0359b7b24440aefa5362b2126649c529e71341bba172cd1fa514455567ffffd37243a740a1ffbc1944 SHA512 edcd382538ecf0afd9d1c891afe302092cd541a30840dda6b00dc0f1d6c5b39a696ab98042c5bb4012c1c051609bfdbfa7d29e3098a72f6cb504d90097767ebb
diff --git a/app-doc/doxygen/doxygen-1.10.0.ebuild b/app-doc/doxygen/doxygen-1.10.0.ebuild
deleted file mode 100644
index 1da0762f0e7d..000000000000
--- a/app-doc/doxygen/doxygen-1.10.0.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=17
-PYTHON_COMPAT=( python3_{10..12} )
-PYTHON_REQ_USE="xml(+)"
-
-inherit cmake flag-o-matic llvm python-any-r1
-
-DESCRIPTION="Documentation system for most programming languages"
-HOMEPAGE="https://www.doxygen.nl/"
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/doxygen/doxygen.git"
-else
- SRC_URI="https://doxygen.nl/files/${P}.src.tar.gz"
- SRC_URI+=" mirror://sourceforge/doxygen/rel-${PV}/${P}.src.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-# GPL-2 also for bundled libmscgen
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="clang debug doc dot doxysearch gui test"
-# - We need TeX for tests, bug #765472
-# - We keep the odd construct of noop USE=test because of
-# the special relationship b/t RESTRICT & USE for tests.
-# Also, it's a hint which avoids tests being silently skipped during arch testing.
-REQUIRED_USE="test? ( doc )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-alternatives/yacc
- app-alternatives/lex
- ${PYTHON_DEPS}
-"
-RDEPEND="
- app-text/ghostscript-gpl
- dev-db/sqlite:3
- dev-lang/perl
- dev-libs/libfmt:=
- dev-libs/spdlog:=
- media-libs/libpng:=
- virtual/libiconv
- clang? (
- <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
- )
- dot? (
- media-gfx/graphviz
- media-libs/freetype
- )
- doc? (
- dev-texlive/texlive-bibtexextra
- dev-texlive/texlive-fontsextra
- dev-texlive/texlive-fontutils
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-plaingeneric
- )
- doxysearch? ( dev-libs/xapian:= )
- gui? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.9.4-link_with_pthread.patch"
- "${FILESDIR}/${PN}-1.9.7-musl-1.2.4.patch"
- "${FILESDIR}/${PN}-1.9.8-suppress-unused-option-libcxx.patch"
-
- # Backports
-)
-
-DOCS=( LANGUAGE.HOWTO README.md )
-
-pkg_setup() {
- use clang && llvm_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # Call dot with -Teps instead of -Tps for EPS generation - bug #282150
- sed -i -e '/addJob("ps"/ s/"ps"/"eps"/g' src/dot.cpp || die
-
- # fix pdf doc
- sed -i.orig -e "s:g_kowal:g kowal:" \
- doc/maintainers.txt || die
-
- if is-flagq "-O3" ; then
- # TODO: Investigate this and report a bug accordingly...
- ewarn "Compiling with -O3 is known to produce incorrectly"
- ewarn "optimized code which breaks doxygen. Using -O2 instead."
- replace-flags "-O3" "-O2"
- fi
-}
-
-src_configure() {
- # Very slow to compile, bug #920092
- filter-flags -fipa-pta
- # -Wodr warnings, see bug #854357 and https://github.com/doxygen/doxygen/issues/9287
- filter-lto
-
- local mycmakeargs=(
- -Duse_libclang=$(usex clang)
- # Let the user choose instead, see also bug #822615
- -Duse_libc++=OFF
- -Dbuild_doc=$(usex doc)
- -Dbuild_search=$(usex doxysearch)
- -Dbuild_wizard=$(usex gui)
- -Duse_sys_spdlog=ON
- -Duse_sys_sqlite3=ON
- -DBUILD_SHARED_LIBS=OFF
- -DGIT_EXECUTABLE="false"
- )
-
- use doc && mycmakeargs+=(
- -DDOC_INSTALL_DIR="share/doc/${P}"
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- if use doc; then
- export VARTEXFONTS="${T}/fonts" # bug #564944
-
- if ! use dot; then
- sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
- {testing/Doxyfile,doc/Doxyfile} \
- || die "disabling dot failed"
- fi
-
- # -j1 for bug #770070
- cmake_src_compile docs -j1
- fi
-}
-
-src_install() {
- cmake_src_install
-
- doman doc/*.1
-}
diff --git a/app-doc/doxygen/doxygen-1.9.6.ebuild b/app-doc/doxygen/doxygen-1.9.6.ebuild
deleted file mode 100644
index 12b8e39a7ff0..000000000000
--- a/app-doc/doxygen/doxygen-1.9.6.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE="xml(+)"
-
-inherit cmake flag-o-matic llvm python-any-r1
-if [[ ${PV} = *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/doxygen/doxygen.git"
-else
- SRC_URI="https://doxygen.nl/files/${P}.src.tar.gz"
- SRC_URI+=" mirror://sourceforge/doxygen/rel-${PV}/${P}.src.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-DESCRIPTION="Documentation system for most programming languages"
-HOMEPAGE="https://www.doxygen.nl/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="clang debug doc dot doxysearch qt5 sqlite test"
-# We need TeX for tests, bug #765472
-# We keep the odd construct of noop USE=test because of
-# the special relationship b/t RESTRICT & USE for tests. Also, it's a hint
-# which avoids tests being silently skipped during arch testing.
-REQUIRED_USE="test? ( doc )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="app-alternatives/yacc
- app-alternatives/lex
- ${PYTHON_DEPS}
-"
-RDEPEND="app-text/ghostscript-gpl
- dev-lang/perl
- media-libs/libpng:0=
- virtual/libiconv
- clang? ( >=sys-devel/clang-10:= )
- dot? (
- media-gfx/graphviz
- media-libs/freetype
- )
- doc? (
- dev-texlive/texlive-bibtexextra
- dev-texlive/texlive-fontsextra
- dev-texlive/texlive-fontutils
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-plaingeneric
- )
- doxysearch? ( dev-libs/xapian:= )
- qt5? (
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- )
- sqlite? ( dev-db/sqlite:3 )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.9.4-link_with_pthread.patch"
- "${FILESDIR}/${PN}-1.9.1-ignore-bad-encoding.patch"
- "${FILESDIR}/${PN}-1.9.1-do_not_force_libcxx.patch"
-)
-
-DOCS=( LANGUAGE.HOWTO README.md )
-
-pkg_setup() {
- use clang && llvm_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # Call dot with -Teps instead of -Tps for EPS generation - bug #282150
- sed -i -e '/addJob("ps"/ s/"ps"/"eps"/g' src/dot.cpp || die
-
- # fix pdf doc
- sed -i.orig -e "s:g_kowal:g kowal:" \
- doc/maintainers.txt || die
-
- if is-flagq "-O3" ; then
- ewarn
- ewarn "Compiling with -O3 is known to produce incorrectly"
- ewarn "optimized code which breaks doxygen."
- ewarn
- elog
- elog "Continuing with -O2 instead ..."
- elog
- replace-flags "-O3" "-O2"
- fi
-}
-
-src_configure() {
- # -Wodr warnings, see bug #854357 and https://github.com/doxygen/doxygen/issues/9287
- filter-lto
-
- local mycmakeargs=(
- -Duse_libclang=$(usex clang)
- -Dbuild_doc=$(usex doc)
- -Dbuild_search=$(usex doxysearch)
- -Dbuild_wizard=$(usex qt5)
- -Duse_sqlite3=$(usex sqlite)
- -DGIT_EXECUTABLE="false"
- )
-
- use doc && mycmakeargs+=(
- -DDOC_INSTALL_DIR="share/doc/${P}"
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- if use doc; then
- export VARTEXFONTS="${T}/fonts" # bug #564944
-
- if ! use dot; then
- sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
- {testing/Doxyfile,doc/Doxyfile} \
- || die "disabling dot failed"
- fi
-
- # -j1 for bug #770070
- cmake_src_compile docs -j1
- fi
-}
-
-src_install() {
- cmake_src_install
-
- doman doc/*.1
-}
diff --git a/app-doc/doxygen/doxygen-1.9.7-r1.ebuild b/app-doc/doxygen/doxygen-1.9.7-r1.ebuild
deleted file mode 100644
index 5c412c4fe5be..000000000000
--- a/app-doc/doxygen/doxygen-1.9.7-r1.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-PYTHON_REQ_USE="xml(+)"
-
-inherit cmake flag-o-matic llvm python-any-r1
-if [[ ${PV} = *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/doxygen/doxygen.git"
-else
- SRC_URI="https://doxygen.nl/files/${P}.src.tar.gz"
- SRC_URI+=" mirror://sourceforge/doxygen/rel-${PV}/${P}.src.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-DESCRIPTION="Documentation system for most programming languages"
-HOMEPAGE="https://www.doxygen.nl/"
-
-# GPL-2 also for bundled libmscgen, MIT for bundled spdlog
-LICENSE="GPL-2 MIT"
-SLOT="0"
-IUSE="clang debug doc dot doxysearch qt5 sqlite test"
-# We need TeX for tests, bug #765472
-# We keep the odd construct of noop USE=test because of
-# the special relationship b/t RESTRICT & USE for tests. Also, it's a hint
-# which avoids tests being silently skipped during arch testing.
-REQUIRED_USE="test? ( doc )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="app-alternatives/yacc
- app-alternatives/lex
- ${PYTHON_DEPS}
-"
-RDEPEND="app-text/ghostscript-gpl
- dev-lang/perl
- media-libs/libpng:0=
- virtual/libiconv
- clang? ( >=sys-devel/clang-10:= )
- dot? (
- media-gfx/graphviz
- media-libs/freetype
- )
- doc? (
- dev-texlive/texlive-bibtexextra
- dev-texlive/texlive-fontsextra
- dev-texlive/texlive-fontutils
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-plaingeneric
- )
- doxysearch? ( dev-libs/xapian:= )
- qt5? (
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- )
- sqlite? ( dev-db/sqlite:3 )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.9.4-link_with_pthread.patch"
- "${FILESDIR}/${PN}-1.9.1-ignore-bad-encoding.patch"
- "${FILESDIR}/${PN}-1.9.1-do_not_force_libcxx.patch"
- "${FILESDIR}/${PN}-1.9.7-musl-1.2.4.patch"
-)
-
-DOCS=( LANGUAGE.HOWTO README.md )
-
-pkg_setup() {
- use clang && llvm_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # Call dot with -Teps instead of -Tps for EPS generation - bug #282150
- sed -i -e '/addJob("ps"/ s/"ps"/"eps"/g' src/dot.cpp || die
-
- # fix pdf doc
- sed -i.orig -e "s:g_kowal:g kowal:" \
- doc/maintainers.txt || die
-
- if is-flagq "-O3" ; then
- ewarn
- ewarn "Compiling with -O3 is known to produce incorrectly"
- ewarn "optimized code which breaks doxygen."
- ewarn
- elog
- elog "Continuing with -O2 instead ..."
- elog
- replace-flags "-O3" "-O2"
- fi
-}
-
-src_configure() {
- # -Wodr warnings, see bug #854357 and https://github.com/doxygen/doxygen/issues/9287
- filter-lto
-
- local mycmakeargs=(
- -Duse_libclang=$(usex clang)
- -Dbuild_doc=$(usex doc)
- -Dbuild_search=$(usex doxysearch)
- -Dbuild_wizard=$(usex qt5)
- -Duse_sqlite3=$(usex sqlite)
- -DBUILD_SHARED_LIBS=OFF
- -DGIT_EXECUTABLE="false"
- )
-
- use doc && mycmakeargs+=(
- -DDOC_INSTALL_DIR="share/doc/${P}"
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- if use doc; then
- export VARTEXFONTS="${T}/fonts" # bug #564944
-
- if ! use dot; then
- sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
- {testing/Doxyfile,doc/Doxyfile} \
- || die "disabling dot failed"
- fi
-
- # -j1 for bug #770070
- cmake_src_compile docs -j1
- fi
-}
-
-src_install() {
- cmake_src_install
-
- doman doc/*.1
-}
diff --git a/app-doc/doxygen/doxygen-1.9.8.ebuild b/app-doc/doxygen/doxygen-1.9.8.ebuild
deleted file mode 100644
index 10a904280416..000000000000
--- a/app-doc/doxygen/doxygen-1.9.8.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=17
-PYTHON_COMPAT=( python3_{10..12} )
-PYTHON_REQ_USE="xml(+)"
-
-inherit cmake flag-o-matic llvm python-any-r1
-
-DESCRIPTION="Documentation system for most programming languages"
-HOMEPAGE="https://www.doxygen.nl/"
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/doxygen/doxygen.git"
-else
- SRC_URI="https://doxygen.nl/files/${P}.src.tar.gz"
- SRC_URI+=" mirror://sourceforge/doxygen/rel-${PV}/${P}.src.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-# GPL-2 also for bundled libmscgen
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="clang debug doc dot doxysearch gui test"
-# - We need TeX for tests, bug #765472
-# - We keep the odd construct of noop USE=test because of
-# the special relationship b/t RESTRICT & USE for tests.
-# Also, it's a hint which avoids tests being silently skipped during arch testing.
-REQUIRED_USE="test? ( doc )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-alternatives/yacc
- app-alternatives/lex
- ${PYTHON_DEPS}
-"
-RDEPEND="
- app-text/ghostscript-gpl
- dev-db/sqlite:3
- dev-lang/perl
- dev-libs/libfmt:=
- dev-libs/spdlog:=
- media-libs/libpng:=
- virtual/libiconv
- clang? (
- <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
- )
- dot? (
- media-gfx/graphviz
- media-libs/freetype
- )
- doc? (
- dev-texlive/texlive-bibtexextra
- dev-texlive/texlive-fontsextra
- dev-texlive/texlive-fontutils
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-plaingeneric
- )
- doxysearch? ( dev-libs/xapian:= )
- gui? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.9.4-link_with_pthread.patch"
- "${FILESDIR}/${PN}-1.9.7-musl-1.2.4.patch"
- "${FILESDIR}/${PN}-1.9.8-suppress-unused-option-libcxx.patch"
-
- # Backports
- "${FILESDIR}/${P}-spdlog-link.patch"
- "${FILESDIR}/${P}-unbundle-sqlite.patch"
-)
-
-DOCS=( LANGUAGE.HOWTO README.md )
-
-pkg_setup() {
- use clang && llvm_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # Call dot with -Teps instead of -Tps for EPS generation - bug #282150
- sed -i -e '/addJob("ps"/ s/"ps"/"eps"/g' src/dot.cpp || die
-
- # fix pdf doc
- sed -i.orig -e "s:g_kowal:g kowal:" \
- doc/maintainers.txt || die
-
- if is-flagq "-O3" ; then
- # TODO: Investigate this and report a bug accordingly...
- ewarn "Compiling with -O3 is known to produce incorrectly"
- ewarn "optimized code which breaks doxygen. Using -O2 instead."
- replace-flags "-O3" "-O2"
- fi
-}
-
-src_configure() {
- # Very slow to compile, bug #920092
- filter-flags -fipa-pta
- # -Wodr warnings, see bug #854357 and https://github.com/doxygen/doxygen/issues/9287
- filter-lto
-
- local mycmakeargs=(
- -Duse_libclang=$(usex clang)
- # Let the user choose instead, see also bug #822615
- -Duse_libc++=OFF
- -Dbuild_doc=$(usex doc)
- -Dbuild_search=$(usex doxysearch)
- -Dbuild_wizard=$(usex gui)
- -Duse_sys_spdlog=ON
- -Duse_sys_sqlite3=ON
- -DBUILD_SHARED_LIBS=OFF
- -DGIT_EXECUTABLE="false"
- )
-
- use doc && mycmakeargs+=(
- -DDOC_INSTALL_DIR="share/doc/${P}"
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- if use doc; then
- export VARTEXFONTS="${T}/fonts" # bug #564944
-
- if ! use dot; then
- sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
- {testing/Doxyfile,doc/Doxyfile} \
- || die "disabling dot failed"
- fi
-
- # -j1 for bug #770070
- cmake_src_compile docs -j1
- fi
-}
-
-src_install() {
- cmake_src_install
-
- doman doc/*.1
-}
diff --git a/app-doc/doxygen/doxygen-9999.ebuild b/app-doc/doxygen/doxygen-9999.ebuild
deleted file mode 100644
index 1da0762f0e7d..000000000000
--- a/app-doc/doxygen/doxygen-9999.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=17
-PYTHON_COMPAT=( python3_{10..12} )
-PYTHON_REQ_USE="xml(+)"
-
-inherit cmake flag-o-matic llvm python-any-r1
-
-DESCRIPTION="Documentation system for most programming languages"
-HOMEPAGE="https://www.doxygen.nl/"
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/doxygen/doxygen.git"
-else
- SRC_URI="https://doxygen.nl/files/${P}.src.tar.gz"
- SRC_URI+=" mirror://sourceforge/doxygen/rel-${PV}/${P}.src.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-# GPL-2 also for bundled libmscgen
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="clang debug doc dot doxysearch gui test"
-# - We need TeX for tests, bug #765472
-# - We keep the odd construct of noop USE=test because of
-# the special relationship b/t RESTRICT & USE for tests.
-# Also, it's a hint which avoids tests being silently skipped during arch testing.
-REQUIRED_USE="test? ( doc )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-alternatives/yacc
- app-alternatives/lex
- ${PYTHON_DEPS}
-"
-RDEPEND="
- app-text/ghostscript-gpl
- dev-db/sqlite:3
- dev-lang/perl
- dev-libs/libfmt:=
- dev-libs/spdlog:=
- media-libs/libpng:=
- virtual/libiconv
- clang? (
- <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
- )
- dot? (
- media-gfx/graphviz
- media-libs/freetype
- )
- doc? (
- dev-texlive/texlive-bibtexextra
- dev-texlive/texlive-fontsextra
- dev-texlive/texlive-fontutils
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-plaingeneric
- )
- doxysearch? ( dev-libs/xapian:= )
- gui? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.9.4-link_with_pthread.patch"
- "${FILESDIR}/${PN}-1.9.7-musl-1.2.4.patch"
- "${FILESDIR}/${PN}-1.9.8-suppress-unused-option-libcxx.patch"
-
- # Backports
-)
-
-DOCS=( LANGUAGE.HOWTO README.md )
-
-pkg_setup() {
- use clang && llvm_pkg_setup
- python-any-r1_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- # Call dot with -Teps instead of -Tps for EPS generation - bug #282150
- sed -i -e '/addJob("ps"/ s/"ps"/"eps"/g' src/dot.cpp || die
-
- # fix pdf doc
- sed -i.orig -e "s:g_kowal:g kowal:" \
- doc/maintainers.txt || die
-
- if is-flagq "-O3" ; then
- # TODO: Investigate this and report a bug accordingly...
- ewarn "Compiling with -O3 is known to produce incorrectly"
- ewarn "optimized code which breaks doxygen. Using -O2 instead."
- replace-flags "-O3" "-O2"
- fi
-}
-
-src_configure() {
- # Very slow to compile, bug #920092
- filter-flags -fipa-pta
- # -Wodr warnings, see bug #854357 and https://github.com/doxygen/doxygen/issues/9287
- filter-lto
-
- local mycmakeargs=(
- -Duse_libclang=$(usex clang)
- # Let the user choose instead, see also bug #822615
- -Duse_libc++=OFF
- -Dbuild_doc=$(usex doc)
- -Dbuild_search=$(usex doxysearch)
- -Dbuild_wizard=$(usex gui)
- -Duse_sys_spdlog=ON
- -Duse_sys_sqlite3=ON
- -DBUILD_SHARED_LIBS=OFF
- -DGIT_EXECUTABLE="false"
- )
-
- use doc && mycmakeargs+=(
- -DDOC_INSTALL_DIR="share/doc/${P}"
- )
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- if use doc; then
- export VARTEXFONTS="${T}/fonts" # bug #564944
-
- if ! use dot; then
- sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \
- {testing/Doxyfile,doc/Doxyfile} \
- || die "disabling dot failed"
- fi
-
- # -j1 for bug #770070
- cmake_src_compile docs -j1
- fi
-}
-
-src_install() {
- cmake_src_install
-
- doman doc/*.1
-}
diff --git a/app-doc/doxygen/files/doxygen-1.9.1-do_not_force_libcxx.patch b/app-doc/doxygen/files/doxygen-1.9.1-do_not_force_libcxx.patch
deleted file mode 100644
index f33f619e62ed..000000000000
--- a/app-doc/doxygen/files/doxygen-1.9.1-do_not_force_libcxx.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 3775ed1..b3a1af6 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -23,7 +23,7 @@ option(build_doc "Build user manual (HTML and PDF)" OFF)
- option(build_doc_chm "Build user manual (CHM)" OFF)
- option(use_sqlite3 "Add support for sqlite3 output [experimental]." OFF)
- if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
-- option(use_libc++ "Use libc++ as C++ standard library." ON)
-+ option(use_libc++ "Use libc++ as C++ standard library." OFF)
- endif()
- option(use_libclang "Add support for libclang parsing." OFF)
- option(static_libclang "Link to a statically compiled version of LLVM/libclang." OFF)
diff --git a/app-doc/doxygen/files/doxygen-1.9.1-ignore-bad-encoding.patch b/app-doc/doxygen/files/doxygen-1.9.1-ignore-bad-encoding.patch
deleted file mode 100644
index 5dd7578f24ec..000000000000
--- a/app-doc/doxygen/files/doxygen-1.9.1-ignore-bad-encoding.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Hack to avoid "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 45: invalid start byte"
-in src/._xmlgen.cpp which is binary. This doesn't seem like it should be present at the time the docs
-are generated, but this is simpler for now.
---- a/doc/translator.py
-+++ b/doc/translator.py
-@@ -1454,10 +1454,13 @@ class TrManager:
-
- # Read content of the file as one string.
- assert os.path.isfile(fname)
-- f = xopen(fname)
-- cont = f.read()
-- cont = ''.join(cont.split('\n')) # otherwise the 'match' function won't work.
-- f.close()
-+ try:
-+ with xopen(fname) as f:
-+ cont = f.read()
-+ cont = ''.join(cont.split('\n')) # otherwise the 'match' function won't work.
-+ except UnicodeDecodeError:
-+ print("Skipping {0} because of decoding errors".format(fname))
-+ return
-
- # Remove the items for identifiers that were found in the file.
- while lst_in:
diff --git a/app-doc/doxygen/files/doxygen-1.9.4-link_with_pthread.patch b/app-doc/doxygen/files/doxygen-1.9.4-link_with_pthread.patch
deleted file mode 100644
index 66093eb7deb9..000000000000
--- a/app-doc/doxygen/files/doxygen-1.9.4-link_with_pthread.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/addon/doxywizard/.CMakeLists.txt.swp b/addon/doxywizard/.CMakeLists.txt.swp
-deleted file mode 100644
-index fc379d2..0000000
-Binary files a/addon/doxywizard/.CMakeLists.txt.swp and /dev/null differ
-diff --git a/addon/doxywizard/CMakeLists.txt b/addon/doxywizard/CMakeLists.txt
-index bb0e0eb..b6135bd 100644
---- a/addon/doxywizard/CMakeLists.txt
-+++ b/addon/doxywizard/CMakeLists.txt
-@@ -132,12 +132,12 @@ apply_editbin(doxywizard windows)
- endif()
-
- if(Qt5Core_FOUND)
-- target_link_libraries(doxywizard Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Xml doxygen_version)
-+ target_link_libraries(doxywizard Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Xml doxygen_version pthread)
- else()
- if(Qt6Core_FOUND)
-- target_link_libraries(doxywizard Qt6::Core Qt6::Gui Qt6::Widgets Qt6::Xml doxygen_version)
-+ target_link_libraries(doxywizard Qt6::Core Qt6::Gui Qt6::Widgets Qt6::Xml doxygen_version pthread)
- else()
-- target_link_libraries(doxywizard ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY} doxygen_version)
-+ target_link_libraries(doxywizard ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY} doxygen_version pthread)
- endif()
- endif()
-
diff --git a/app-doc/doxygen/files/doxygen-1.9.7-musl-1.2.4.patch b/app-doc/doxygen/files/doxygen-1.9.7-musl-1.2.4.patch
deleted file mode 100644
index 2c71a0af9ae8..000000000000
--- a/app-doc/doxygen/files/doxygen-1.9.7-musl-1.2.4.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://bugs.gentoo.org/906920
-https://gitlab.exherbo.org/exherbo/arbor/-/commit/7b517ba0068adc471fe7b2ed8cfbb191a197ca17
-
-From 6d713aa98b36ee8219294515142c0225fbd09dfc Mon Sep 17 00:00:00 2001
-From: Heiko Becker <heirecka@exherbo.org>
-Date: Thu, 25 May 2023 10:52:29 +0200
-Subject: [PATCH] Apply upstream fix for spdlog
-
-Fixes the build with musl >= 1.2.4, see
-https://github.com/gabime/spdlog/commit/287a00d364990edbb621fe5e392aeb550135fb96
-for details.
---- a/deps/spdlog/include/spdlog/details/os-inl.h
-+++ b/deps/spdlog/include/spdlog/details/os-inl.h
-@@ -236,8 +236,8 @@ SPDLOG_INLINE size_t filesize(FILE *f)
- # else
- int fd = ::fileno(f);
- # endif
--// 64 bits(but not in osx or cygwin, where fstat64 is deprecated)
--# if (defined(__linux__) || defined(__sun) || defined(_AIX)) && (defined(__LP64__) || defined(_LP64))
-+// 64 bits(but not in osx, linux/musl or cygwin, where fstat64 is deprecated)
-+# if ((defined(__linux__) && defined(__GLIBC__)) || defined(__sun) || defined(_AIX)) && (defined(__LP64__) || defined(_LP64))
- struct stat64 st;
- if (::fstat64(fd, &st) == 0)
- {
---
-2.41.0.rc2
diff --git a/app-doc/doxygen/files/doxygen-1.9.8-spdlog-link.patch b/app-doc/doxygen/files/doxygen-1.9.8-spdlog-link.patch
deleted file mode 100644
index e73385dec3b2..000000000000
--- a/app-doc/doxygen/files/doxygen-1.9.8-spdlog-link.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-https://github.com/doxygen/doxygen/issues/10265
-https://github.com/doxygen/doxygen/pull/10284
-
-From 70bb112352ae7f3130647dcc009d8de5d4134e6d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?=
- =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= <mehdi.chinoune@hotmail.com>
-Date: Mon, 4 Sep 2023 18:49:27 +0100
-Subject: [PATCH 1/2] doxyapp: Fix linking to spdlog
-
----
- addon/doxyapp/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/addon/doxyapp/CMakeLists.txt b/addon/doxyapp/CMakeLists.txt
-index 4f3c31feacd..6097a3cca69 100644
---- a/addon/doxyapp/CMakeLists.txt
-+++ b/addon/doxyapp/CMakeLists.txt
-@@ -46,7 +46,7 @@ mscgen
- doxygen_version
- doxycfg
- vhdlparser
--spdlog
-+spdlog::spdlog
- ${ICONV_LIBRARIES}
- ${CMAKE_THREAD_LIBS_INIT}
- ${SQLITE3_LIBRARIES}
-
-From 71f2ed171a6d14a67f1905802714add974c31789 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?=
- =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= <mehdi.chinoune@hotmail.com>
-Date: Mon, 4 Sep 2023 18:50:25 +0100
-Subject: [PATCH 2/2] doxyparse: Fix linking to spdlog
-
----
- addon/doxyparse/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/addon/doxyparse/CMakeLists.txt b/addon/doxyparse/CMakeLists.txt
-index 24881e3ef12..0157afb45e2 100644
---- a/addon/doxyparse/CMakeLists.txt
-+++ b/addon/doxyparse/CMakeLists.txt
-@@ -35,7 +35,7 @@ mscgen
- doxygen_version
- doxycfg
- vhdlparser
--spdlog
-+spdlog::spdlog
- ${ICONV_LIBRARIES}
- ${CMAKE_THREAD_LIBS_INIT}
- ${SQLITE3_LIBRARIES}
-
diff --git a/app-doc/doxygen/files/doxygen-1.9.8-suppress-unused-option-libcxx.patch b/app-doc/doxygen/files/doxygen-1.9.8-suppress-unused-option-libcxx.patch
deleted file mode 100644
index 1da9a2da6459..000000000000
--- a/app-doc/doxygen/files/doxygen-1.9.8-suppress-unused-option-libcxx.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-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
-@@ -21,7 +21,7 @@ option(build_xmlparser "Automatically update the XML parser modules when updatin
- 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 STREQUAL "Clang")
-+if (TRUE)
- option(use_libc++ "Use libc++ as C++ standard library." ON)
- endif()
- option(use_libclang "Add support for libclang parsing." OFF)
diff --git a/app-doc/doxygen/files/doxygen-1.9.8-unbundle-sqlite.patch b/app-doc/doxygen/files/doxygen-1.9.8-unbundle-sqlite.patch
deleted file mode 100644
index 04d1d69b7b86..000000000000
--- a/app-doc/doxygen/files/doxygen-1.9.8-unbundle-sqlite.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-https://github.com/doxygen/doxygen/issues/10263
-https://github.com/doxygen/doxygen/commit/28609fecd41d885e54fa170e499a0e5b55def2c2
-
-From 28609fecd41d885e54fa170e499a0e5b55def2c2 Mon Sep 17 00:00:00 2001
-From: Dimitri van Heesch <doxygen@gmail.com>
-Date: Mon, 28 Aug 2023 20:19:16 +0200
-Subject: [PATCH] issue #10263 please add a use_sys_sqlite3 config option
-
----
- CMakeLists.txt