From 2ffbfc63824a9e437090fb3c744670dd45369ae0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 20 May 2023 16:18:45 +0100 Subject: gentoo auto-resync : 20:05:2023 - 16:18:45 --- app-doc/doxygen/Manifest | 4 +- app-doc/doxygen/doxygen-1.9.7-r1.ebuild | 141 ++++++++++++++++++++++++++++++++ app-doc/doxygen/doxygen-1.9.7.ebuild | 139 ------------------------------- app-doc/doxygen/doxygen-9999.ebuild | 4 +- 4 files changed, 146 insertions(+), 142 deletions(-) create mode 100644 app-doc/doxygen/doxygen-1.9.7-r1.ebuild delete mode 100644 app-doc/doxygen/doxygen-1.9.7.ebuild (limited to 'app-doc/doxygen') diff --git a/app-doc/doxygen/Manifest b/app-doc/doxygen/Manifest index 19b060a3e366..5ce6a9daf414 100644 --- a/app-doc/doxygen/Manifest +++ b/app-doc/doxygen/Manifest @@ -6,6 +6,6 @@ DIST doxygen-1.9.6.src.tar.gz 5293513 BLAKE2B 35d3286b47922776814bb7941c7a1cb27a DIST doxygen-1.9.7.src.tar.gz 5736446 BLAKE2B e0f6e06399a2dda7226fe8fea351a79f19bf71aee51fba0ce113c3423b85aa633ce8d98894e3e49027839c2accc18af87c7f23a1fd37c0de441de42a8a76d307 SHA512 618ff58aa6f0a2eb89f95b570995ea3ebbcda64f502cabcecd9be2967abffb56d0d6747de0c06df422705919757e6af9c6e5a56ca603b1ddf7a09a7ee79b1803 EBUILD doxygen-1.9.5.ebuild 3275 BLAKE2B 4f665bf1cfb27a6c36e68b6301007c905883b4690eb0fa712c60ea1f1bc1e6edce847896c28cb5ac112fefdf83708739685d881f19cbe1470eb61498b3097b05 SHA512 b59b9ef8ae3fe70b607e22a9a0509974493acaef155a297e704e06081959ff8caf4886efe4ad81eb2db335326de583dee363b301fa96443b745cb000c488f596 EBUILD doxygen-1.9.6.ebuild 3283 BLAKE2B e0dc3dbb2e4a6d373b7ac2f697cee9463142a670f634f46330e6c18b2e9c78bfac097cfaaaccb62b01a7a25b8f1e22c8776a94631ad87c4ded393e90ee6faf59 SHA512 245af11743de3ffde274e4446a26ac714bbb548ec82448e2af59b4b6385e2eb0e26fe61d2a10669ad4c1be75e7dc4ca47e160efe9c864de1057573916bc3a02e -EBUILD doxygen-1.9.7.ebuild 3292 BLAKE2B f7c890a85e88df1ffcc8b0d594c3dc8e35a5a3bf5dab11cff6841716edf18f24365e012c8affb53a2f90b113ffcb32d38e661d0056681adc815645ea9aaf1e19 SHA512 11b08014e9716de0be7c06c3b3ec0ae6beb1d9ebfad97a8c410fda857a6bafaa32c2e43575ee7906a09ffbeab07204999a131aee9a98b0d4861c044c7ac1c567 -EBUILD doxygen-9999.ebuild 3292 BLAKE2B f7c890a85e88df1ffcc8b0d594c3dc8e35a5a3bf5dab11cff6841716edf18f24365e012c8affb53a2f90b113ffcb32d38e661d0056681adc815645ea9aaf1e19 SHA512 11b08014e9716de0be7c06c3b3ec0ae6beb1d9ebfad97a8c410fda857a6bafaa32c2e43575ee7906a09ffbeab07204999a131aee9a98b0d4861c044c7ac1c567 +EBUILD doxygen-1.9.7-r1.ebuild 3381 BLAKE2B 5938c35cc69b0c38cf2e41b0cb33194142f4717a3e344d0efe6ffd577389e535bbc5dee5ca2dcce2c1bfad075c5c84aef1980ae204831193e61d43cbc819e69e SHA512 0a83980c1d94a0897c1d4542f235de9994a3916dd6eaaf20a2a6c1b92f3c114054f79844a545e5a44691a208282a3785124c630f92cce28755b27265f23b7ee7 +EBUILD doxygen-9999.ebuild 3381 BLAKE2B 5938c35cc69b0c38cf2e41b0cb33194142f4717a3e344d0efe6ffd577389e535bbc5dee5ca2dcce2c1bfad075c5c84aef1980ae204831193e61d43cbc819e69e SHA512 0a83980c1d94a0897c1d4542f235de9994a3916dd6eaaf20a2a6c1b92f3c114054f79844a545e5a44691a208282a3785124c630f92cce28755b27265f23b7ee7 MISC metadata.xml 1024 BLAKE2B 884363174e8a83eecb926c962185d1f1cc3263ed216b26e149035b47b424b5baf1da222805f5ed04f25b4e97f12c79cface7bd6ce59ca9d37388c696a9a13117 SHA512 12c91be3f02f1ef99db00a48f2dd252f4bab85078f308c921a1a07062d971090f8dd39480b5b72e2bb21f8e2df69bc10c7828c1c91f2f83ce64be50a233eef15 diff --git a/app-doc/doxygen/doxygen-1.9.7-r1.ebuild b/app-doc/doxygen/doxygen-1.9.7-r1.ebuild new file mode 100644 index 000000000000..74b00ea0082d --- /dev/null +++ b/app-doc/doxygen/doxygen-1.9.7-r1.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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="sys-devel/bison + sys-devel/flex + ${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) + -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.7.ebuild b/app-doc/doxygen/doxygen-1.9.7.ebuild deleted file mode 100644 index b59798ef9a23..000000000000 --- a/app-doc/doxygen/doxygen-1.9.7.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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="sys-devel/bison - sys-devel/flex - ${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-9999.ebuild b/app-doc/doxygen/doxygen-9999.ebuild index b59798ef9a23..74b00ea0082d 100644 --- a/app-doc/doxygen/doxygen-9999.ebuild +++ b/app-doc/doxygen/doxygen-9999.ebuild @@ -19,7 +19,8 @@ fi DESCRIPTION="Documentation system for most programming languages" HOMEPAGE="https://www.doxygen.nl/" -LICENSE="GPL-2" +# 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 @@ -105,6 +106,7 @@ src_configure() { -Dbuild_search=$(usex doxysearch) -Dbuild_wizard=$(usex qt5) -Duse_sqlite3=$(usex sqlite) + -DBUILD_SHARED_LIBS=OFF -DGIT_EXECUTABLE="false" ) -- cgit v1.2.3