From bf69cb29ffafad5e452f834e2a565c6f89910f97902e975bd965e5ac12aa5b02 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Sun, 27 Nov 2022 08:21:30 +0000 Subject: [PATCH] Update to 1.4.0 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/heaptrack?expand=0&rev=29 --- heaptrack-1.3.0.tar.xz | 3 -- heaptrack-1.4.0.tar.xz | 3 ++ heaptrack-1.4.0.tar.xz.sig | 16 ++++++++++ heaptrack.changes | 17 ++++++++++ heaptrack.keyring | 63 ++++++++++++++++++++++++++++++++++++++ heaptrack.spec | 30 +++++++++--------- 6 files changed, 113 insertions(+), 19 deletions(-) delete mode 100644 heaptrack-1.3.0.tar.xz create mode 100644 heaptrack-1.4.0.tar.xz create mode 100644 heaptrack-1.4.0.tar.xz.sig create mode 100644 heaptrack.keyring diff --git a/heaptrack-1.3.0.tar.xz b/heaptrack-1.3.0.tar.xz deleted file mode 100644 index 46cfe2d..0000000 --- a/heaptrack-1.3.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9bb8458110d6eb5da0884cd53562cc2efc3928cfd3c3a6a1c67ea09b5747e04 -size 5521900 diff --git a/heaptrack-1.4.0.tar.xz b/heaptrack-1.4.0.tar.xz new file mode 100644 index 0000000..97561a5 --- /dev/null +++ b/heaptrack-1.4.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc6b3226c36ca7faef58c9268dce427a83558ee48a2b636044ca084453a01f6d +size 5526100 diff --git a/heaptrack-1.4.0.tar.xz.sig b/heaptrack-1.4.0.tar.xz.sig new file mode 100644 index 0000000..cc9b442 --- /dev/null +++ b/heaptrack-1.4.0.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEezawi1aUvUGg3A1+8zYW/HGdOX8FAmKpz70ACgkQ8zYW/HGd +OX+hJhAAnrgQFSvgZwgQV9T+Nadyax2fa3z7zvhUv/rJKjXaJAp5r5Thn58fF6sW +n6hhFTzrVx6DVMGy9zJCobShdm9+YEZqE6zgeUkBEaKntwbe2ZdinNs8PpycdtuP +UVq6zxFUQwRyqsZ4/7zznMYD8ga5A8iAvMVcgC3E+V09BxOrtbv87UYs7rdsBPlV +Q0+hfyIsirZp589RkDIbX7XrJlNOj0Kh3do7XpbecJBetKJhn3BcRKBWM8yhauHI +8+4h+1J7ZcALge/O4pIYA4yYzV3PvAS7HV4V3sAHoU2Y7K/9Ylx5kW0qsiN24wlQ +vuzJDhyTEREfLF888rrEAU0RDjcRIXiliRVBMn3v7ZgjpyoOx/oVIXNcVLfAQity +oAQL7bnqvOTBLZwuVFM9juKvvazCXT9sNJQiS5orQj71IHgC5F8AsAkI+ppIodLe +ncP1K47+9CBZHgU03zpJ3NUSo/ZnNNDGaWaJeuks/ljzqMQtpBm6bkNAz6Yj4Iin +HcEqnPsO/yfTK1+LsRTiq6N79gmQIZNB7TnlSUyOsvdz5M7qpebfWFndYK8kDKVt +aPj0xNsmtvwLVmmUQuH5BxnJ8c+Lh9YL8HWr1JVFaRUTk+ZbNwtOX24SiYQMvK4x +cmb2WinFxMOu48BkI/Kf3Ge0eVNBfWF0YRdEnNAgsWZKw0VcGGo= +=O4X+ +-----END PGP SIGNATURE----- diff --git a/heaptrack.changes b/heaptrack.changes index 20a1aae..83c7efa 100644 --- a/heaptrack.changes +++ b/heaptrack.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sun Nov 27 08:15:26 UTC 2022 - Christophe Giboudeaux + +- Update to 1.4.0 + * Pass client exit code in heaptrack.sh + * Leverage non-deprecated mallinfo2 + * Add support for the mimalloc allocator + * Explicitly encode which hooks are required and which are + optional + * Make mi_* symbols truly optional by usig weak symbols for them + * Prevent malloc from disappearing in inlining example + * handle calling heaptrack_stop() without debuginfo + * Ensure we don't try to overwrite invalid tables + * Make elf_symbol_table a view of const Elf::Sym + * Ensure we don't read outside the string table for symbol names + * Silence -Wuse-after-free for realloc call + ------------------------------------------------------------------- Sun Dec 19 15:09:15 UTC 2021 - Fabian Vogt diff --git a/heaptrack.keyring b/heaptrack.keyring new file mode 100644 index 0000000..fe29694 --- /dev/null +++ b/heaptrack.keyring @@ -0,0 +1,63 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFpOmKABEAC7ME8zNtvKHPKNobZ4umX6O6nUfyhVpMYoX9mxWiejlwHBq8fI +Gi2hr4wUVXOUAylRFPrq0DLF8s5b4XXat8v1u75Z54yS7jnKU525nWIp8MVGU8Vs +U2ufIpguWOqWdj055wUvfpPnwDCYbnsd1Cr3YBD4xje7duK+2ZCTYpHI3UO1OKax +jBx1K2wcQDT7P8zbMRUsfmEq7AXjzJP4qJhJ2FJ1VsBMHu0SNVzQcrUr2aqTl5bQ +g3RFQLu4V2pg5D7hOcjdidQLwV9eh4eZiROd6km9tU1K3hSoCzt2oPEb8QLTkPWR +uBKS9Lv8QLYP8Vm1tqbVRA4yVV9golZ5HJx/SSU0rfe0lGrqimGa7ExxU5QaWW6j +9sjfg2DW6qZLFNI9mIImKpuftAxrNo1c+lV9q8Pge/DpIrKOPQSMzrFuAd7bfP4u +RSrM6FLdlULzY+qaSWtjGl5slpW2TztezzeJSwhFXbDu/wRY4qvoHwdxd2w4f8Oz +56gLV7MY2GhZ5UhJeSEUNTy0DflQoj1nKTwWWMjgSEM3vUbtYZZ6ZAbXq3h59P/F +jeCdvauYXEMO6hySJiLsWnFaVJHQnKfqrHXdhQv8ZOYLB4GmMRchwRnbcXrJnQoM +kRwfl8JMDA/esMnSQwx4A2wZ5w2efx84fDe5VH+ExLAl3sGqX0UWIqJ17wARAQAB +tB5NaWxpYW4gV29sZmYgPG1haWxAbWlsaWFudy5kZT6JAk4EEwEIADgWIQTFG0Wl +MvF/pAHQmaCgxrcsTxxefAUCWk6YoAIbLwULCQgHAgYVCgkICwIEFgIDAQIeAQIX +gAAKCRCgxrcsTxxefPEuD/4xz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NdaQBQDtSDTcN6IP8mzNO3UsUeFuD4Er22 +raDRCDCrBeXQIgzUG92WCl+fv9fJ3MBiJNxg0vEhOfIDhmy6etoK4YKOkPrH2hAA +n5qqYpozpw0celu170ReZVyqW2vqoKx+ggxHFHO9wH1tEhtasc2d41YJ3KRen84J +R6aeX3Gc2i/L14l5IJtU4MB6fJLfFJtOdWygW+s1UotUHZaPwiOz/O7YVuOKzp6p +guYjPPNdIiRen6zgmOs7/NEqMOOqSFXEcLOx7fmE2pHrvVhdnAefJuGJzyARBV71 +TKhBgsvkMsrZZzH+XXMI+z9e3yVGeIF4yvZA0fy0HAWtCy7hUzEFX6Vi+0RN0aFL +xrS5mVodZ/21ErBLbVrRtgHbAf11jh9ThvXFSbyNBrd1FuMFqNSsejsbI+pPluwY +g5ROmtrbWXZG3wLs+uETqwUkFD5EZN3VOOp8LfdD91UvrVp30V4ZcQ55eCVnzIL4 +CIGbzC61WsIruE/R7fian4vnXDIobsFYjX4KlmGokNwt01TTxU9+YTT9PL0nudy8 +PAJs4izSytGKksinu3KerT3Ni3u3+QdnsY7tGa63lfs7gDToOrJuQ5N+JStTlN1S +UiqTmznXgz2lI49eZweGtniGOQyTA8xhZWMcPdlt28iB5epOoClkcJusmvoF7LwR +UpvEw1VesrIKrI8VxPP65SgVR53g+poYjGJMGBGYRC+Esa+ep6tdXNzl/R5oA73J +b7Qe9aBbirxn+kmFygXLJf1MZzhmxEoVV6P9UxVexME= +=fanF +-----END PGP PUBLIC KEY BLOCK----- diff --git a/heaptrack.spec b/heaptrack.spec index 7054940..4dc39cc 100644 --- a/heaptrack.spec +++ b/heaptrack.spec @@ -1,7 +1,7 @@ # # spec file for package heaptrack # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,18 @@ %define kf5_version 5.26.0 -%bcond_without lang +%bcond_without released Name: heaptrack -Version: 1.3.0 +Version: 1.4.0 Release: 0 Summary: Heap Memory Allocation Profiler License: LGPL-2.1-or-later -Group: Development/Tools/Other URL: https://userbase.kde.org/Heaptrack Source0: https://download.kde.org/stable/heaptrack/%{version}/%{name}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/stable/heaptrack/%{version}/%{name}-%{version}.tar.xz.sig +Source2: heaptrack.keyring +%endif BuildRequires: extra-cmake-modules BuildRequires: kf5-filesystem BuildRequires: libboost_container-devel @@ -46,8 +49,7 @@ BuildRequires: cmake(KF5IconThemes) BuildRequires: cmake(KF5ItemModels) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5ThreadWeaver) -BuildRequires: cmake(Qt5Core) >= 5.2.0 -BuildRequires: cmake(Qt5DBus) +BuildRequires: cmake(Qt5Core) >= 5.10.0 BuildRequires: cmake(Qt5Widgets) BuildRequires: pkgconfig(libzstd) Suggests: heaptrack-gui @@ -57,7 +59,6 @@ A memory profiler for Linux, tracking heap allocations. %package devel Summary: Development files for the Heaptrack API -Group: Development/Libraries/KDE Requires: %{name} = %{version} %description devel @@ -66,7 +67,6 @@ API. %package gui Summary: GUI Frontend for Heaptrack -Group: Development/Tools/Other Requires: %{name} = %{version} %description gui @@ -90,12 +90,12 @@ extra_opts="-DLIB_SUFFIX=64" %cmake_build %install - %kf5_makeinstall -C build - %if %{with lang} - %find_lang %{name} --all-name - %endif - # Fixup desktop file - %suse_update_desktop_file org.kde.heaptrack Development Profiling +%kf5_makeinstall -C build + +%find_lang %{name} --all-name + +# Fixup desktop file +%suse_update_desktop_file org.kde.heaptrack Development Profiling %files %license LICENSES/* @@ -116,8 +116,6 @@ extra_opts="-DLIB_SUFFIX=64" %dir %{_kf5_iconsdir}/hicolor/*/* %{_kf5_iconsdir}/*/*/*/*.* -%if %{with lang} %files lang -f %{name}.lang -%endif %changelog