commit: b84449b2f82a830f894c0d3f1a5b3612caf96bc1 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Apr 6 07:51:59 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Apr 6 09:58:59 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b84449b2
dev-debug/kdbg: add 3.1.0_p20250201, Qt6 based, fix build w/ >=cmake-4 Patchset containing queued up upstream MRs, in order: https://github.com/j6t/kdbg/pull/48 https://github.com/j6t/kdbg/pull/45 https://github.com/j6t/kdbg/pull/46 https://github.com/j6t/kdbg/pull/47 Fixes on top (TODO upstream): https://github.com/j6t/kdbg/commit/2e5de789 (Switch to KX11Extras) https://github.com/j6t/kdbg/commit/812dcfa1 (Cast to QChar) Port to Qt6: https://github.com/j6t/kdbg/pull/26/commits/21c7b20c (rebased) Closes: https://bugs.gentoo.org/953264 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-debug/kdbg/Manifest | 2 ++ dev-debug/kdbg/kdbg-3.1.0_p20250201.ebuild | 55 ++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-debug/kdbg/Manifest b/dev-debug/kdbg/Manifest index 4b48fcff287b..4362c4e6d295 100644 --- a/dev-debug/kdbg/Manifest +++ b/dev-debug/kdbg/Manifest @@ -1 +1,3 @@ DIST kdbg-3.1.0.tar.gz 444052 BLAKE2B d0083094f8ba3cb374b2df4a20b7697ddae4fb24579e18d883701a5e826e86041a8cdb7bd1919c881bc149c49e764221eb246d98bcebacbffbdb5e0f83264ad6 SHA512 e7da5bb1a4882b031077bd4344c6795b058088eb9a00ef3a2ba9c3d72c0a022bb16822525369ca7bcfb623c775cf73140caa114c1591d37f1d6f6a3b22ae649b +DIST kdbg-3.1.0_p20250201-patchset.tar.xz 6276 BLAKE2B 83f0fc47e30332f33c1022c3485369d4c736394016a0b7aecf9bc693e3882949ba7d76077bf0de9a96cf665444ce07d0ac8244efd3d718b7e816c99c5f0fdb07 SHA512 b6e9b5d0abdb4ff9f78656ad9ac28fa1522bac4b9f709af94edc551558a8ce730bbea9d26d92b7ef2da0c2b9b447178569d8e32c86151c796c6953207c27ddde +DIST kdbg-3.1.0_p20250201.tar.gz 454667 BLAKE2B bb05461138cb004d35e85e911003d1d6546816beab907bcc5edbf70106492fdf85451d287fb9718d7aa453fd9f0266cf96d1f996eddba7fe1976f417f1a277e2 SHA512 34661030efa3314fe880c23a19d25d75b82fa689332c38b1cace0a4f729b564806fb64481404dd82daa149498e89e57eea17c5cab919cf65316c5c433afe1bc4 diff --git a/dev-debug/kdbg/kdbg-3.1.0_p20250201.ebuild b/dev-debug/kdbg/kdbg-3.1.0_p20250201.ebuild new file mode 100644 index 000000000000..b3540e057de0 --- /dev/null +++ b/dev-debug/kdbg/kdbg-3.1.0_p20250201.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COMMIT="1ff0635e655de67d1c8b4c405595bd174a8e3622" +PATCHSET="${P}-patchset.tar.xz" +ECM_HANDBOOK="true" +KFMIN=6.9.0 +QTMIN=6.8.1 +inherit ecm + +DESCRIPTION="Graphical debugger interface" +HOMEPAGE="https://www.kdbg.org/" +SRC_URI="https://github.com/j6t/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[gui,widgets] + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kiconthemes-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kwindowsystem-${KFMIN}:6[X] + >=kde-frameworks/kxmlgui-${KFMIN}:6 +" +RDEPEND="${DEPEND} + !${CATEGORY}/${PN}:5 + dev-debug/gdb +" + +# Patchset containing queued up upstream MRs, in order: +# https://github.com/j6t/kdbg/pull/48 +# https://github.com/j6t/kdbg/pull/45 +# https://github.com/j6t/kdbg/pull/46 +# https://github.com/j6t/kdbg/pull/47 +# TODO upstream: +# https://github.com/j6t/kdbg/commit/2e5de789 (Switch to KX11Extras) +# https://github.com/j6t/kdbg/commit/812dcfa1 (Cast to QChar) +# https://github.com/j6t/kdbg/pull/26/commits/21c7b20c (rebase: port to Qt6/KF6) +PATCHES=( "${WORKDIR}"/${PATCHSET/.tar.xz/} ) + +src_prepare() { + ecm_src_prepare + if ! use handbook; then + cmake_run_in kdbg cmake_comment_add_subdirectory doc + fi +}
