SHA256
1
0
forked from pool/heaptrack
Dominique Leuenberger 2021-12-20 20:06:23 +00:00 committed by Git OBS Bridge
commit edabdd9f9f
4 changed files with 31 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d494dff438aa0ae5d6bae286db14b0ac582604b8674f7a2adfb9fc19dfe62848
size 1092272

3
heaptrack-1.3.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9bb8458110d6eb5da0884cd53562cc2efc3928cfd3c3a6a1c67ea09b5747e04
size 5521900

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sun Dec 19 15:09:15 UTC 2021 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 1.3.0:
* New features:
+ Allocations can be filtered by time ranges
+ Support for suppression files, including the
__lsan_default_suppressions API
* Fixed bugs:
+ Fails to build on CentOS 7.0 (kde#441125)
+ Crash when filtering on a time range (kde#441132)
+ Heaptrack produces impossible/incorrect stack traces (kde#439897)
+ ERROR: failed to lock heaptrack output file (kde#408547)
+ Attaching to running process generates empty file (kde#394520)
+ heaptrack launch script help text shows wrong option name for --output-file (kde#439307)
+ Can the output file take hostname into account? (kde#435195)
+ Heaptrack GUI crash when opening a zst file (kde#427970)
* More details on https://invent.kde.org/sdk/heaptrack/-/releases/v1.3.0
- Use %autosetup
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 17 08:39:36 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr> Sun Jan 17 08:39:36 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -19,7 +19,7 @@
%define kf5_version 5.26.0 %define kf5_version 5.26.0
%bcond_without lang %bcond_without lang
Name: heaptrack Name: heaptrack
Version: 1.2.0 Version: 1.3.0
Release: 0 Release: 0
Summary: Heap Memory Allocation Profiler Summary: Heap Memory Allocation Profiler
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -28,8 +28,11 @@ URL: https://userbase.kde.org/Heaptrack
Source0: https://download.kde.org/stable/heaptrack/%{version}/%{name}-%{version}.tar.xz Source0: https://download.kde.org/stable/heaptrack/%{version}/%{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: kf5-filesystem BuildRequires: kf5-filesystem
BuildRequires: libboost_container-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_iostreams-devel BuildRequires: libboost_iostreams-devel
BuildRequires: libboost_program_options-devel BuildRequires: libboost_program_options-devel
BuildRequires: libboost_system-devel
BuildRequires: libdwarf-devel BuildRequires: libdwarf-devel
BuildRequires: libunwind-devel BuildRequires: libunwind-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -39,6 +42,7 @@ BuildRequires: cmake(KChart) >= 2.6.0
BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5ItemModels) BuildRequires: cmake(KF5ItemModels)
BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5ThreadWeaver) BuildRequires: cmake(KF5ThreadWeaver)
@ -46,7 +50,6 @@ BuildRequires: cmake(Qt5Core) >= 5.2.0
BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Widgets)
BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(libzstd)
Recommends: %{name}-lang
Suggests: heaptrack-gui Suggests: heaptrack-gui
%description %description
@ -69,12 +72,10 @@ Requires: %{name} = %{version}
%description gui %description gui
A Qt5/KF5 based GUI for Heaptrack. A Qt5/KF5 based GUI for Heaptrack.
%if %{with lang}
%lang_package %lang_package
%endif
%prep %prep
%setup -q %autosetup -p1
# Disable building tests, they're not used and post-build-checks trips over it # Disable building tests, they're not used and post-build-checks trips over it
sed -i"" '/add_subdirectory(tests)/d' CMakeLists.txt sed -i"" '/add_subdirectory(tests)/d' CMakeLists.txt
@ -97,18 +98,17 @@ extra_opts="-DLIB_SUFFIX=64"
%suse_update_desktop_file org.kde.heaptrack Development Profiling %suse_update_desktop_file org.kde.heaptrack Development Profiling
%files %files
%license COPYING* %license LICENSES/*
%doc README.md %doc README.md
%{_kf5_bindir}/heaptrack %{_kf5_bindir}/heaptrack
%{_kf5_bindir}/heaptrack_print %{_kf5_bindir}/heaptrack_print
%{_libdir}/heaptrack/ %{_libdir}/heaptrack/
%files devel %files devel
%license COPYING* %license LICENSES/*
%{_includedir}/heaptrack_api.h %{_includedir}/heaptrack_api.h
%files gui %files gui
%license COPYING*
%{_kf5_bindir}/heaptrack_gui %{_kf5_bindir}/heaptrack_gui
%{_datadir}/applications/org.kde.heaptrack.desktop %{_datadir}/applications/org.kde.heaptrack.desktop
%{_kf5_appstreamdir}/org.kde.heaptrack.appdata.xml %{_kf5_appstreamdir}/org.kde.heaptrack.appdata.xml
@ -118,7 +118,6 @@ extra_opts="-DLIB_SUFFIX=64"
%if %{with lang} %if %{with lang}
%files lang -f %{name}.lang %files lang -f %{name}.lang
%license COPYING*
%endif %endif
%changelog %changelog