commit: 2eec334fbe3b9fdf73e95c7e39f4d83c3033e52b Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Wed Nov 5 09:48:41 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Nov 5 17:06:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eec334f
x11-wm/awesome: fix compile w/o doc backport a patch to fix unavailable check-examples target without doc enabled Closes: https://bugs.gentoo.org/962597 Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44490 Signed-off-by: Sam James <sam <AT> gentoo.org> x11-wm/awesome/awesome-4.3-r103.ebuild | 3 ++- x11-wm/awesome/files/awesome-4.3-fix_target.patch | 27 +++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/x11-wm/awesome/awesome-4.3-r103.ebuild b/x11-wm/awesome/awesome-4.3-r103.ebuild index c2a60148b3c9..d24892454ce0 100644 --- a/x11-wm/awesome/awesome-4.3-r103.ebuild +++ b/x11-wm/awesome/awesome-4.3-r103.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -77,6 +77,7 @@ PATCHES=( "${FILESDIR}"/${PN}-xsession.patch # bug #408025 "${FILESDIR}"/${PN}-4.0-cflag-cleanup.patch # bug #509658 "${FILESDIR}"/${PN}-4.3-fno-common.patch # bug #707262 + "${FILESDIR}"/${PN}-4.3-fix_target.patch # bug #962597 ) src_configure() { diff --git a/x11-wm/awesome/files/awesome-4.3-fix_target.patch b/x11-wm/awesome/files/awesome-4.3-fix_target.patch new file mode 100644 index 000000000000..481a156bf86b --- /dev/null +++ b/x11-wm/awesome/files/awesome-4.3-fix_target.patch @@ -0,0 +1,27 @@ +backport https://github.com/blueyed/awesome/commit/cd94a1368786d9061b0f11e7a8d757b976a2697b.patch +Include tests/examples/CMakeLists.txt always +see https://bugs.gentoo.org/962597 +fix unavailable check-examples target without doc enabled +--- a/awesomeConfig.cmake ++++ b/awesomeConfig.cmake +@@ -275,15 +275,15 @@ if(GENERATE_DOC) + # Load the common documentation + include(docs/load_ldoc.cmake) + +- # Use `include`, rather than `add_subdirectory`, to keep the variables +- # The file is a valid CMakeLists.txt and can be executed directly if only +- # the image artefacts are needed. +- include(tests/examples/CMakeLists.txt) +- + # Generate the widget lists + include(docs/widget_lists.cmake) + endif() + ++# Use `include`, rather than `add_subdirectory`, to keep the variables ++# The file is a valid CMakeLists.txt and can be executed directly if only ++# the image artefacts are needed. ++include(tests/examples/CMakeLists.txt) ++ + # {{{ Configure files + file(GLOB awesome_base_c_configure_files RELATIVE ${SOURCE_DIR} + ${SOURCE_DIR}/*.c
