From 21ceaa8dd5c0d63b6760893911ca55aa28d15038 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 20 May 2023 21:11:30 +0100 Subject: Bump hotspot v1.4.1 --- dev-util/hotspot/Manifest | 1 + .../3b42145fe60f38e1b35bd4140ca967c496606dd8.patch | 27 ++++++++++++ dev-util/hotspot/hotspot-1.4.1.ebuild | 48 ++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 dev-util/hotspot/files/3b42145fe60f38e1b35bd4140ca967c496606dd8.patch create mode 100644 dev-util/hotspot/hotspot-1.4.1.ebuild (limited to 'dev-util/hotspot') diff --git a/dev-util/hotspot/Manifest b/dev-util/hotspot/Manifest index e8cd681..92f4977 100644 --- a/dev-util/hotspot/Manifest +++ b/dev-util/hotspot/Manifest @@ -1 +1,2 @@ DIST hotspot-v1.3.0.tar.gz 3330348 BLAKE2B 8d7031c2821e79ff4ff78379e5556b7d78ac94fff9615abf63f75461de2735bc0965802ced0e19702823cf65dc1600e7b4ed5c15978fb13ed8fdf7b474c6ec49 SHA512 8aa89f71cb85c5a73c8265eec27acf35fcc21612af33581c7d8804edbc8565cd587ab79906e85781f2c6db9d7747ba4371a7e10253e21052f280717d5dc1fbd4 +DIST hotspot-v1.4.1.tar.gz 5530260 BLAKE2B 89fd5e6858af41ec24f3875b5845b1d2754b6547ef721877c9120f6d40aaa8b5ff70039c452ce144acec996c575c08a33f8ea1a2518cc264eb223d074051e38d SHA512 309878d2bc973b436135089f9caee5e81d32a34f838406838480aa49cf4e617aca3768e47b86cd7e5945c793c30beb8a33b62fa48a78b3576a6414661697beb5 diff --git a/dev-util/hotspot/files/3b42145fe60f38e1b35bd4140ca967c496606dd8.patch b/dev-util/hotspot/files/3b42145fe60f38e1b35bd4140ca967c496606dd8.patch new file mode 100644 index 0000000..3415b3e --- /dev/null +++ b/dev-util/hotspot/files/3b42145fe60f38e1b35bd4140ca967c496606dd8.patch @@ -0,0 +1,27 @@ +From 3b42145fe60f38e1b35bd4140ca967c496606dd8 Mon Sep 17 00:00:00 2001 +From: DarkDefender +Date: Mon, 30 Jan 2023 15:06:04 +0100 +Subject: [PATCH] Make libdebugd check in perfparser.cmake take into account + library status + +There are cases where `HAVE_DWFL_GET_DEBUGINFOD_CLIENT` can be true +while `LIBDEBUGINFOD_LIBRARIES` is marked as "NOT-FOUND". + +Add extra check to take this into account. +--- + 3rdparty/perfparser.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/3rdparty/perfparser.cmake b/3rdparty/perfparser.cmake +index fc401a7d..a5f64b07 100644 +--- a/3rdparty/perfparser.cmake ++++ b/3rdparty/perfparser.cmake +@@ -44,7 +44,7 @@ if (Zstd_FOUND) + target_compile_definitions(libhotspot-perfparser PUBLIC HAVE_ZSTD=1) + endif() + +-if (HAVE_DWFL_GET_DEBUGINFOD_CLIENT) ++if (HAVE_DWFL_GET_DEBUGINFOD_CLIENT AND LIBDEBUGINFOD_LIBRARIES) + target_link_libraries(libhotspot-perfparser PRIVATE ${LIBDEBUGINFOD_LIBRARIES}) + target_compile_definitions(libhotspot-perfparser PRIVATE HAVE_DWFL_GET_DEBUGINFOD_CLIENT=1) + endif() diff --git a/dev-util/hotspot/hotspot-1.4.1.ebuild b/dev-util/hotspot/hotspot-1.4.1.ebuild new file mode 100644 index 0000000..c2656c6 --- /dev/null +++ b/dev-util/hotspot/hotspot-1.4.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake + +RESTRICT="mirror" + +DESCRIPTION="Hotspot - the Linux perf GUI for performance analysis" +HOMEPAGE="https://github.com/KDAB/hotspot" +SRC_URI="https://github.com/KDAB/hotspot/releases/download/v${PV}/${PN}-v${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="" +REQUIRE_USE="" + +RDEPEND=" + >=dev-qt/qtcore-5.15.0 + >=dev-qt/qtwidgets-5.15.0 + >=dev-qt/qtnetwork-5.15.0 + >=dev-qt/qttest-5.15.0 + virtual/libelf + sys-devel/gettext + kde-frameworks/extra-cmake-modules + kde-frameworks/threadweaver + kde-frameworks/ki18n + kde-frameworks/kconfigwidgets + kde-frameworks/kcoreaddons + kde-frameworks/kitemviews + kde-frameworks/kitemmodels + kde-frameworks/kio + kde-frameworks/solid + kde-frameworks/kwindowsystem + dev-util/perf + dev-libs/qcustomplot + media-gfx/kgraphviewer + " + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-v${PV}" + +PATCHES=( + "${FILESDIR}/3b42145fe60f38e1b35bd4140ca967c496606dd8.patch" +) -- cgit v1.2.3