forked from pool/heaptrack
Accepting request 1115528 from KDE:Extra
Update to 1.5.0 OBS-URL: https://build.opensuse.org/request/show/1115528 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/heaptrack?expand=0&rev=13
This commit is contained in:
commit
69ad2e3b61
@ -1,27 +0,0 @@
|
|||||||
From de3174aa1d1293636079473ff693d9a274a093a9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Heiko Becker <heiko.becker@kde.org>
|
|
||||||
Date: Fri, 16 Dec 2022 00:01:15 +0100
|
|
||||||
Subject: [PATCH] Add missing include
|
|
||||||
|
|
||||||
This fixes the build with boost 1.81.0. <array> was included by one of
|
|
||||||
the boost headers, however, it's no longer included as of Boost 1.81.0.
|
|
||||||
---
|
|
||||||
src/analyze/gui/histogrammodel.h | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/analyze/gui/histogrammodel.h b/src/analyze/gui/histogrammodel.h
|
|
||||||
index df11fa3..49b9a4e 100644
|
|
||||||
--- a/src/analyze/gui/histogrammodel.h
|
|
||||||
+++ b/src/analyze/gui/histogrammodel.h
|
|
||||||
@@ -9,6 +9,8 @@
|
|
||||||
|
|
||||||
#include <QAbstractTableModel>
|
|
||||||
|
|
||||||
+#include <array>
|
|
||||||
+
|
|
||||||
#include "treemodel.h"
|
|
||||||
|
|
||||||
struct HistogramColumn
|
|
||||||
--
|
|
||||||
2.39.1
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
|||||||
From 315aa7116d588f92b67c4bb84e1549529cb2fca0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Heiko Becker <heiko.becker@kde.org>
|
|
||||||
Date: Mon, 23 Jan 2023 23:44:09 +0100
|
|
||||||
Subject: [PATCH] Fix build with gcc 13 by including <cstdint>
|
|
||||||
|
|
||||||
Like other versions before, gcc 13 moved some includes around and as a
|
|
||||||
result <cstdint> is no longer transitively included [1]. Explicitly include
|
|
||||||
it for uint{32,64}_t.
|
|
||||||
|
|
||||||
[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
|
|
||||||
---
|
|
||||||
src/util/linereader.h | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/src/util/linereader.h b/src/util/linereader.h
|
|
||||||
index 18ec165..a8af47c 100644
|
|
||||||
--- a/src/util/linereader.h
|
|
||||||
+++ b/src/util/linereader.h
|
|
||||||
@@ -7,6 +7,7 @@
|
|
||||||
#ifndef LINEREADER_H
|
|
||||||
#define LINEREADER_H
|
|
||||||
|
|
||||||
+#include <cstdint>
|
|
||||||
#include <istream>
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
--
|
|
||||||
2.39.1
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
|||||||
From 161bd9f7f352cbc24f36e37f9686d18f5d40c268 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Milian Wolff <mail@milianw.de>
|
|
||||||
Date: Mon, 11 Jul 2022 15:54:56 +0200
|
|
||||||
Subject: [PATCH] Return early when __libc_dlopen_mode is detected
|
|
||||||
|
|
||||||
---
|
|
||||||
src/track/heaptrack_env.cpp | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/src/track/heaptrack_env.cpp b/src/track/heaptrack_env.cpp
|
|
||||||
index b48e384..36da2ff 100644
|
|
||||||
--- a/src/track/heaptrack_env.cpp
|
|
||||||
+++ b/src/track/heaptrack_env.cpp
|
|
||||||
@@ -26,6 +26,7 @@ void dlopenLine(const char* lib)
|
|
||||||
if (&__libc_dlopen_mode) {
|
|
||||||
// __libc_dlopen_mode was available directly in glibc before libdl got merged into it
|
|
||||||
fprintf(stdout, "__libc_dlopen_mode(\"%s\", 0x80000000 | 0x002)\n", lib);
|
|
||||||
+ return;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
|
||||||
--
|
|
||||||
2.39.2
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fc6b3226c36ca7faef58c9268dce427a83558ee48a2b636044ca084453a01f6d
|
|
||||||
size 5526100
|
|
@ -1,16 +0,0 @@
|
|||||||
-----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-----
|
|
3
heaptrack-1.5.0.tar.xz
Normal file
3
heaptrack-1.5.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a278d9d8f91e8bfb8a1c2f5b73eecab47fd45d0693f5dbea637536413cec2ea5
|
||||||
|
size 5447668
|
16
heaptrack-1.5.0.tar.xz.sig
Normal file
16
heaptrack-1.5.0.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCAAdFiEEezawi1aUvUGg3A1+8zYW/HGdOX8FAmUXAxIACgkQ8zYW/HGd
|
||||||
|
OX8LJBAAho6XtoD1RlXG00X1yxoKqPTzJvu0aSUlYPp0mJupoHSs07CZGfnGlDEs
|
||||||
|
J396gZb0jXEXhe/gNdv50Q2kTomyTewFI4zy/UJ/9UvxNdAv8y8P0yWgisRJLzs6
|
||||||
|
GkigwBtDbdBhKUHk1+I3YJ+TQNeKcaElrfTLNdvzjcRG14BmeLEEKiG5NfAMhJGZ
|
||||||
|
/9jSDQQfNgVZ0XSHDph1e3G9hjaOzrpP1HNEnoKvu4qrbSmTKrjqxJnwkT681G9t
|
||||||
|
k+gAlo1p5rjLKLaCn/w7f42fVwFs99obRr2XFvHf1hr0aZPAVs7iDGAaIWmPmZG7
|
||||||
|
v2x1YcSFLPOmLLAtEp92HNR1zbtAglUVfItt/E8Z9VU5yb2P45ZrJ2ZGzoj5+Ydb
|
||||||
|
RJa59mZDAX8xvberaVwysCRLJTvPvAd5NEG+4xU01FK89A4or1qJU+XVFkUts0US
|
||||||
|
9UThjhPHTsKeQLNcHkgqJ9g2wmakDzCJXauTr0MJ7x38E1kbCbOpnnUvF6QhOUhv
|
||||||
|
h4xH8e34bCmy1cPQmED6aTWq9+NTmYUtSJEtc3yRv+lJOv6wc4iub4tMRNVCNsrH
|
||||||
|
oYitqjMg7X4kKgI3r0IHtQ/PD5d1ZGc5yOMdT+Av2V84Fls8G5pNIIlaRVXzgOkf
|
||||||
|
mPyxZaoq+QGmbY7lqovX9QkgXk6xWvldZzoX0Pv9yGHJqAWyEvc=
|
||||||
|
=fFiM
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 4 07:50:05 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 1.5.0
|
||||||
|
https://www.kdab.com/heaptrack-v1-5-0-released/
|
||||||
|
* Elfutils is now used for symbolizing backtraces
|
||||||
|
* Various QOL improvements to the chart
|
||||||
|
* Various bug fixes and better platform support
|
||||||
|
- Drop patches, merged upstream:
|
||||||
|
* 0001-Fix-build-with-gcc-13-by-including-cstdint.patch
|
||||||
|
* 0001-Add-missing-include.patch
|
||||||
|
* 0001-Return-early-when-__libc_dlopen_mode-is-detected.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 23 10:21:47 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
Thu Feb 23 10:21:47 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package heaptrack
|
# spec file for package heaptrack
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,12 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define kf5_version 5.26.0
|
|
||||||
# Needed for Leap, see boo#468748
|
# Needed for Leap, see boo#468748
|
||||||
%global __requires_exclude GLIBC_PRIVATE
|
%global __requires_exclude GLIBC_PRIVATE
|
||||||
%bcond_without released
|
%bcond_without released
|
||||||
Name: heaptrack
|
Name: heaptrack
|
||||||
Version: 1.4.0
|
Version: 1.5.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
|
||||||
@ -31,14 +30,7 @@ Source0: https://download.kde.org/stable/heaptrack/%{version}/%{name}-%{v
|
|||||||
Source1: https://download.kde.org/stable/heaptrack/%{version}/%{name}-%{version}.tar.xz.sig
|
Source1: https://download.kde.org/stable/heaptrack/%{version}/%{name}-%{version}.tar.xz.sig
|
||||||
Source2: heaptrack.keyring
|
Source2: heaptrack.keyring
|
||||||
%endif
|
%endif
|
||||||
# PATCH-FIX-UPSTREAM
|
|
||||||
Patch0: 0001-Fix-build-with-gcc-13-by-including-cstdint.patch
|
|
||||||
# PATCH-FIX-UPSTREAM
|
|
||||||
Patch1: 0001-Add-missing-include.patch
|
|
||||||
# PATCH-FIX-UPSTREAM
|
|
||||||
Patch2: 0001-Return-early-when-__libc_dlopen_mode-is-detected.patch
|
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: extra-cmake-modules
|
||||||
BuildRequires: kf5-filesystem
|
|
||||||
BuildRequires: libboost_container-devel
|
BuildRequires: libboost_container-devel
|
||||||
BuildRequires: libboost_filesystem-devel
|
BuildRequires: libboost_filesystem-devel
|
||||||
BuildRequires: libboost_iostreams-devel
|
BuildRequires: libboost_iostreams-devel
|
||||||
@ -57,8 +49,9 @@ BuildRequires: cmake(KF5IconThemes)
|
|||||||
BuildRequires: cmake(KF5ItemModels)
|
BuildRequires: cmake(KF5ItemModels)
|
||||||
BuildRequires: cmake(KF5KIO)
|
BuildRequires: cmake(KF5KIO)
|
||||||
BuildRequires: cmake(KF5ThreadWeaver)
|
BuildRequires: cmake(KF5ThreadWeaver)
|
||||||
BuildRequires: cmake(Qt5Core) >= 5.10.0
|
BuildRequires: cmake(Qt5Core)
|
||||||
BuildRequires: cmake(Qt5Widgets)
|
BuildRequires: cmake(Qt5Widgets)
|
||||||
|
BuildRequires: pkgconfig(libdw) >= 0.158
|
||||||
BuildRequires: pkgconfig(libzstd)
|
BuildRequires: pkgconfig(libzstd)
|
||||||
Suggests: heaptrack-gui
|
Suggests: heaptrack-gui
|
||||||
|
|
||||||
@ -67,7 +60,7 @@ A memory profiler for Linux, tracking heap allocations.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for the Heaptrack API
|
Summary: Development files for the Heaptrack API
|
||||||
Requires: %{name} = %{version}
|
Requires: heaptrack = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains files needed to develop for the Heaptrack
|
This package contains files needed to develop for the Heaptrack
|
||||||
@ -75,7 +68,7 @@ API.
|
|||||||
|
|
||||||
%package gui
|
%package gui
|
||||||
Summary: GUI Frontend for Heaptrack
|
Summary: GUI Frontend for Heaptrack
|
||||||
Requires: %{name} = %{version}
|
Requires: heaptrack = %{version}
|
||||||
|
|
||||||
%description gui
|
%description gui
|
||||||
A Qt5/KF5 based GUI for Heaptrack.
|
A Qt5/KF5 based GUI for Heaptrack.
|
||||||
@ -113,7 +106,6 @@ extra_opts="-DLIB_SUFFIX=64"
|
|||||||
%{_libdir}/heaptrack/
|
%{_libdir}/heaptrack/
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license LICENSES/*
|
|
||||||
%{_includedir}/heaptrack_api.h
|
%{_includedir}/heaptrack_api.h
|
||||||
|
|
||||||
%files gui
|
%files gui
|
||||||
|
Loading…
x
Reference in New Issue
Block a user