commit:     79569bf115a8a195bf3ea4346b781972304dd01d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 18:41:53 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 18:47:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79569bf1

dev-util/heaptrack: drop 1.5.0

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-util/heaptrack/Manifest                        |  1 -
 dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch | 43 ------------
 dev-util/heaptrack/heaptrack-1.5.0.ebuild          | 80 ----------------------
 3 files changed, 124 deletions(-)

diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest
index b3ad1a0b23a9..953a3fdd2edc 100644
--- a/dev-util/heaptrack/Manifest
+++ b/dev-util/heaptrack/Manifest
@@ -1,2 +1 @@
-DIST heaptrack-1.5.0.tar.xz 5447668 BLAKE2B 
f4a69311267daf9439e264bf8bb9802db41abb3fa766e5dfc8fcfe39c58feab2d0fe32710c6b5a2d63715e8b013e4a81e2984de425be871e253b1b2567a1dca2
 SHA512 
b52cc63a29d67dade85f40a7f9abb43e104762b9c853385f501d37fcbcef90fdcdfc93e2900c71b5a47c773bf98fe75f66f8b6a9e31a12610b6deec20d9736aa
 DIST heaptrack-1.5.80_pre20250110-5d8bfe44.tar.gz 9485092 BLAKE2B 
86c04c9892a845c382b8c28248c6230517fff3ed536f773e8cd24b73c1655e08d571bb351b606aca4f0147141256f2496f119d5406a04f8da89f58de29c969db
 SHA512 
019882341d4e046b5a1f7f8873227f455995ce1c837efa1f934c17578b41e13fa8dd4c6a20edaaea4e2e9659b43e9631c1cb3d4ccd87108f5c4342889374dff1

diff --git a/dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch 
b/dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch
deleted file mode 100644
index 4d88af050d5c..000000000000
--- a/dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-https://invent.kde.org/sdk/heaptrack/-/merge_requests/24
-
-From ce0e0d218e76b1b724f4e10b9da2d8f33e4156b6 Mon Sep 17 00:00:00 2001
-From: Florian Weimer <[email protected]>
-Date: Fri, 15 Dec 2023 22:53:19 +0100
-Subject: [PATCH] cmake: Fix C compatibility of libunwind probes
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Future compilers such as GCC 14 are likely to enforce C type
-compatibility rules by default and report errors like this one:
-
-…/TryCompile-aAxUZn/src.c: In function ‘main’:
-…/TryCompile-aAxUZn/src.c:3:43: error: passing argument 1 of 
‘unw_backtrace’ from incompatible pointer type
-    3 | int main() { void* buf[10]; unw_backtrace(&buf, 10); return 0; }
-      |                                           ^~~~
-      |                                           |
-      |                                           void * (*)[10]
-In file included from /usr/include/libunwind-x86_64.h:129,
-                 from /usr/include/libunwind.h:23,
-                 from …/TryCompile-aAxUZn/src.c:2:
-/usr/include/libunwind-common.h:318:27: note: expected ‘void **’ but 
argument is of type ‘void * (*)[10]’
-  318 | extern int unw_backtrace (void **, int);
-      |                           ^~~~~~~
-
-Removing the address operator ensures that the array type decays to
-a pointer, and that the types are compatible.
---- a/cmake/FindLibunwind.cmake
-+++ b/cmake/FindLibunwind.cmake
-@@ -57,8 +57,8 @@ if (LIBUNWIND_LIBRARY)
-                           LIBUNWIND_HAS_UNW_GETCONTEXT)
-   check_c_source_compiles("#define UNW_LOCAL_ONLY 1\n#include 
<libunwind.h>\nint main() { unw_context_t context; unw_cursor_t cursor; 
unw_getcontext(&context); unw_init_local(&cursor, &context); return 0; }"
-                           LIBUNWIND_HAS_UNW_INIT_LOCAL)
--  check_c_source_compiles("#define UNW_LOCAL_ONLY 1\n#include 
<libunwind.h>\nint main() { void* buf[10]; unw_backtrace(&buf, 10); return 0; 
}" LIBUNWIND_HAS_UNW_BACKTRACE)
--  check_c_source_compiles ("#define UNW_LOCAL_ONLY 1\n#include 
<libunwind.h>\nint main() { void* buf[10]; unw_backtrace_skip(&buf, 10, 2); 
return 0; }" LIBUNWIND_HAS_UNW_BACKTRACE_SKIP)
-+  check_c_source_compiles("#define UNW_LOCAL_ONLY 1\n#include 
<libunwind.h>\nint main() { void* buf[10]; unw_backtrace(buf, 10); return 0; }" 
LIBUNWIND_HAS_UNW_BACKTRACE)
-+  check_c_source_compiles ("#define UNW_LOCAL_ONLY 1\n#include 
<libunwind.h>\nint main() { void* buf[10]; unw_backtrace_skip(buf, 10, 2); 
return 0; }" LIBUNWIND_HAS_UNW_BACKTRACE_SKIP)
-   check_c_source_compiles ("#define UNW_LOCAL_ONLY 1\n#include 
<libunwind.h>\nint main() { return unw_set_cache_size(unw_local_addr_space, 
1024, 0); }" LIBUNWIND_HAS_UNW_SET_CACHE_SIZE)
-   check_c_source_compiles ("#define UNW_LOCAL_ONLY 1\n#include 
<libunwind.h>\nint main() { return unw_set_caching_policy(unw_local_addr_space, 
UNW_CACHE_PER_THREAD); }" LIBUNWIND_HAS_UNW_CACHE_PER_THREAD)
-   set(CMAKE_REQUIRED_QUIET ${CMAKE_REQUIRED_QUIET_SAVE})
--- 
-GitLab

diff --git a/dev-util/heaptrack/heaptrack-1.5.0.ebuild 
b/dev-util/heaptrack/heaptrack-1.5.0.ebuild
deleted file mode 100644
index eb794b0466ad..000000000000
--- a/dev-util/heaptrack/heaptrack-1.5.0.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake kde.org xdg-utils
-
-DESCRIPTION="Fast heap memory profiler"
-HOMEPAGE="https://apps.kde.org/heaptrack/
-https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux";
-SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+gui test zstd"
-
-RESTRICT="!test? ( test )"
-
-DEPEND="
-       dev-libs/boost:=[zstd?,zlib]
-       sys-libs/libunwind:=
-       sys-libs/zlib
-       gui? (
-               dev-libs/kdiagram:5
-               dev-qt/qtcore:5
-               dev-qt/qtgui:5
-               dev-qt/qtwidgets:5
-               kde-frameworks/kconfig:5
-               kde-frameworks/kconfigwidgets:5
-               kde-frameworks/kcoreaddons:5
-               kde-frameworks/ki18n:5
-               kde-frameworks/kio:5
-               kde-frameworks/kitemmodels:5
-               kde-frameworks/kwidgetsaddons:5
-               kde-frameworks/threadweaver:5
-       )
-       zstd? ( app-arch/zstd:= )
-"
-RDEPEND="${DEPEND}
-       gui? ( >=kde-frameworks/kf-env-4 )
-"
-BDEPEND="gui? ( kde-frameworks/extra-cmake-modules:0 )"
-
-QA_CONFIG_IMPL_DECL_SKIP=(
-       # This doesn't exist in libunwind (bug #898768).
-       unw_backtrace_skip
-)
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-1.5.0-c99.patch
-)
-
-src_prepare() {
-       cmake_src_prepare
-       rm -rf 3rdparty/boost-zstd || die # ensure no bundling
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DHEAPTRACK_BUILD_GUI=$(usex gui)
-               -DBUILD_TESTING=$(usex test)
-               $(cmake_use_find_package zstd ZSTD)
-       )
-       cmake_src_configure
-}
-
-pkg_postinst() {
-       if use gui; then
-               xdg_desktop_database_update
-               xdg_icon_cache_update
-       fi
-}
-
-pkg_postrm() {
-       if use gui; then
-               xdg_desktop_database_update
-               xdg_icon_cache_update
-       fi
-}

Reply via email to