commit:     596686e7033f2e8ede5a0a06f3ac95f1d83704dc
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  4 22:23:38 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Dec 12 20:54:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=596686e7

app-editors/okteta: add Qt6-based 0.26.60_pre20251211 w/o KEYWORDS

Bug: https://bugs.gentoo.org/962280
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-editors/okteta/Manifest                        |  2 +
 .../files/okteta-0.26.60-doctools-optional.patch   | 35 ++++++++++
 .../okteta/okteta-0.26.60_pre20251211.ebuild       | 81 ++++++++++++++++++++++
 3 files changed, 118 insertions(+)

diff --git a/app-editors/okteta/Manifest b/app-editors/okteta/Manifest
index e171b353d847..cfd032c7c10c 100644
--- a/app-editors/okteta/Manifest
+++ b/app-editors/okteta/Manifest
@@ -1,2 +1,4 @@
 DIST okteta-0.26.24-drop-qca.patch.xz 4464 BLAKE2B 
2a42919cad534b4cc1b3b16243578747a33e7050d22f8a84fbd01740c1b8d60288e1a107064c7ed6c235a28d940266232ac59e7a85be049a54836234db8e8c9c
 SHA512 
db9b1e3401dc1109e545e51bb6754f031f6c62bb9a45068ad9fe1453e2b1ea3463e77684638e688d815182f42d92d7e7bc4af8e6543f65ed826066213bac09e2
 DIST okteta-0.26.24.tar.xz 1109380 BLAKE2B 
cb10f89f87504ab1041d6bdc1ac0a76a179ae01f7bbb80b20d6c2516a438cddd5c5e0908bb3639c7c30e960d2c73400cc822d4fcb4a919da2ce2a44bae46470b
 SHA512 
e6d053e0530a75c8134c44ce99a070d16ae1abbdc5c31cf3e6faec57cd4fdd011b3619cd0f7ed23ee40e5506e22b286119678d381e7d1c506cd92adf7878877b
+DIST okteta-0.26.60-ecm-6.21.patch.xz 5484 BLAKE2B 
5d8e29febf260aaa13cb33dcc3f4c3ae9e190de5748ed9f2439f8e3fc96fba1f39a2fa28ff6704d58a08ccde500cbe8185c61ec62d703ff097636813b4dbe7eb
 SHA512 
8cb4ddd71996e21b460c4b2a9d6e63f138e276a4c6fcd359544c57c04dfcf7692a955db50d8e6d3ba391ec856bb25c2d8bd08d97ccd4b7fc421c336f8276cfbb
+DIST okteta-0.26.60_pre20251211-d5035b25.tar.gz 2620049 BLAKE2B 
090c09d8ee78c2a8426cb0e8cf914087e3c51870ffbc2753304e321cb988a8464ba8f8e97f86cffc84b3c5e7b24accab47e29092284d102d9c09b6526294ef2a
 SHA512 
d338cc03af548ee06f46fb854c364d59a53b56a902a7fa0b95def1b1398b7d774b77b599e0c68a9039629fc1f1076b35b5ae39037a53cb9f25a10fb0bbc376a2

diff --git a/app-editors/okteta/files/okteta-0.26.60-doctools-optional.patch 
b/app-editors/okteta/files/okteta-0.26.60-doctools-optional.patch
new file mode 100644
index 000000000000..4f69d305e260
--- /dev/null
+++ b/app-editors/okteta/files/okteta-0.26.60-doctools-optional.patch
@@ -0,0 +1,35 @@
+From 5ca1bc18272c0ddbb3496fa29076ac2d65c034cf Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <[email protected]>
+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 <[email protected]>
+---
+ 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(KF6DocTools ${REQUIRED_KF_VERSION} REQUIRED)
+     add_subdirectory( doc )
+ endif()
+ 
+-- 
+2.42.0
+

diff --git a/app-editors/okteta/okteta-0.26.60_pre20251211.ebuild 
b/app-editors/okteta/okteta-0.26.60_pre20251211.ebuild
new file mode 100644
index 000000000000..b5b9f765577b
--- /dev/null
+++ b/app-editors/okteta/okteta-0.26.60_pre20251211.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_COMMIT=d5035b2540e16d4c94aff601bbceb3f94a82d8cd
+ECM_DESIGNERPLUGIN="true"
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+EGIT_BRANCH="work/kossebau/kf6"
+KFMIN=6.21.0
+QTMIN=6.8.1
+inherit ecm kde.org optfeature xdg
+
+DESCRIPTION="Hex editor by KDE"
+HOMEPAGE="https://apps.kde.org/okteta/";
+SRC_URI="https://dev.gentoo.org/~asturm/distfiles/kde/${KDE_ORG_NAME}-${PV}-${KDE_ORG_COMMIT:0:8}.tar.gz
+https://dev.gentoo.org/~asturm/distfiles/kde/${KDE_ORG_NAME}-0.26.60-ecm-6.21.patch.xz";
+
+LICENSE="GPL-2 handbook? ( FDL-1.2 )"
+SLOT="0/4"
+# KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE=""
+
+DEPEND="
+       >=dev-qt/qt5compat-${QTMIN}:6
+       >=dev-qt/qtbase-${QTMIN}:6[gui,network,widgets,xml]
+       >=dev-qt/qtdeclarative-${QTMIN}:6
+       >=kde-frameworks/kbookmarks-${KFMIN}:6
+       >=kde-frameworks/kcolorscheme-${KFMIN}:6
+       >=kde-frameworks/kcompletion-${KFMIN}:6
+       >=kde-frameworks/kconfig-${KFMIN}:6
+       >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+       >=kde-frameworks/kcoreaddons-${KFMIN}:6
+       >=kde-frameworks/kcrash-${KFMIN}:6
+       >=kde-frameworks/kdbusaddons-${KFMIN}:6
+       >=kde-frameworks/ki18n-${KFMIN}:6
+       >=kde-frameworks/kio-${KFMIN}:6
+       >=kde-frameworks/kitemviews-${KFMIN}:6
+       >=kde-frameworks/kjobwidgets-${KFMIN}:6
+       >=kde-frameworks/knewstuff-${KFMIN}:6
+       >=kde-frameworks/kparts-${KFMIN}:6
+       >=kde-frameworks/kservice-${KFMIN}:6
+       >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+       >=kde-frameworks/kxmlgui-${KFMIN}:6
+"
+RDEPEND="${DEPEND}
+       !${CATEGORY}/${PN}:5
+"
+
+PATCHES=(
+       "${WORKDIR}/${PN}-0.26.60-ecm-6.21.patch" # part-revert
+       "${FILESDIR}/${PN}-0.26.60-doctools-optional.patch" # downstream
+)
+
+pkg_setup() {
+       einfo "This ebuild is building upstream's work/kossebau/kf6 branch, 
which:"
+       einfo "- contains the complete dump of the \"it builds, starts and does 
not crash"
+       einfo "  on simple usage\" changes"
+       einfo "- [is] continuously rebased to master branch, the latest current 
Qt5/KF5-based"
+       einfo "- [has] Structures tool disabled from build, needs QtScript port 
- so do NOT"
+       einfo "  file a bug about that missing."
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DOMIT_EXAMPLES=ON
+               -DBUILD_TERMINALTOOL=ON
+       )
+
+       ecm_src_configure
+}
+
+src_test() {
+       ecm_src_test -j1
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       optfeature "terminal tool" "kde-apps/konsole:6"
+}

Reply via email to