From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/okteta/files/, app-editors/okteta/
Date: Sun, 27 Aug 2023 20:56:06 +0000 (UTC) [thread overview]
Message-ID: <1693169729.6228099a74fb31ded95477a2a20aec69d381b050.asturm@gentoo> (raw)
commit: 6228099a74fb31ded95477a2a20aec69d381b050
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 27 20:47:23 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 27 20:55:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6228099a
app-editors/okteta: Fix build w/ USE=-handbook
See also:
https://github.com/gentoo/gentoo/pull/32474
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/okteta-0.26.13-doctools-optional.patch | 35 ++++++++++++++++++++++
app-editors/okteta/okteta-0.26.13.ebuild | 2 ++
2 files changed, 37 insertions(+)
diff --git a/app-editors/okteta/files/okteta-0.26.13-doctools-optional.patch b/app-editors/okteta/files/okteta-0.26.13-doctools-optional.patch
new file mode 100644
index 000000000000..65beb70faae9
--- /dev/null
+++ b/app-editors/okteta/files/okteta-0.26.13-doctools-optional.patch
@@ -0,0 +1,35 @@
+From 5ca1bc18272c0ddbb3496fa29076ac2d65c034cf Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sun, 27 Aug 2023 21:55:17 +0200
+Subject: [PATCH] Search for KF5DocTools individually
+
+Makes our ECM_HANDBOOK=forceoptional facility work while upstream is against it.
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 17203b22f..3c914f178 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -93,7 +93,6 @@ if( BUILD_DESKTOPPROGRAM )
+ list(APPEND ADDITIONAL_REQUIRED_KF_COMPONENTS
+ Crash
+ DBusAddons
+- DocTools
+ )
+ endif()
+ find_package(KF5 ${REQUIRED_KF_VERSION} REQUIRED
+@@ -117,6 +116,7 @@ ecm_set_disabled_deprecation_versions(
+ # helper libs
+ add_subdirectory( libs )
+ if( BUILD_DESKTOPPROGRAM )
++ find_package(KF5DocTools ${REQUIRED_KF_VERSION} REQUIRED)
+ add_subdirectory( doc )
+ endif()
+
+--
+2.42.0
+
diff --git a/app-editors/okteta/okteta-0.26.13.ebuild b/app-editors/okteta/okteta-0.26.13.ebuild
index 4d7c709b3373..6a2d27d2f802 100644
--- a/app-editors/okteta/okteta-0.26.13.ebuild
+++ b/app-editors/okteta/okteta-0.26.13.ebuild
@@ -53,6 +53,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/${P}-doctools-optional.patch" ) # downstream
+
src_configure() {
local mycmakeargs=(
-DOMIT_EXAMPLES=ON
next reply other threads:[~2023-08-27 20:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-27 20:56 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-02-24 16:06 [gentoo-commits] repo/gentoo:master commit in: app-editors/okteta/files/, app-editors/okteta/ Andreas Sturmlechner
2022-02-21 16:48 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1693169729.6228099a74fb31ded95477a2a20aec69d381b050.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox