Date: Sun, 19 Dec 2021 22:30:00 GMT From: Adriaan de Groot <adridg@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bd77def3ccc8 - main - devel/heaptrack: update to 1.3.0, latest upstream Message-ID: <202112192230.1BJMU07e087051@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd77def3ccc87ea78b304ff311ffad82ac55d2d0 commit bd77def3ccc87ea78b304ff311ffad82ac55d2d0 Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2021-12-19 22:27:45 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2021-12-19 22:29:58 +0000 devel/heaptrack: update to 1.3.0, latest upstream Heaptrack traces all memory allocations and annotates these events with stack traces. Dedicated analysis tools then allow you to interpret the heap memory profile to, e.g., find hotspots that need to be optimized to reduce the memory footprint of your application. Release notes are here: https://invent.kde.org/sdk/heaptrack/-/releases/v1.3.0 Version 1.3.0 comes with quite some important new features, notably time based filtering capabilities and support for custom suppressions. --- devel/heaptrack/Makefile | 11 ++++------- devel/heaptrack/distinfo | 6 +++--- .../files/patch-src_track_heaptrack__inject.cpp | 21 -------------------- devel/heaptrack/pkg-plist | 23 ++++++++++++++++++++++ 4 files changed, 30 insertions(+), 31 deletions(-) diff --git a/devel/heaptrack/Makefile b/devel/heaptrack/Makefile index 7d8d4803e937..1cd10c4d50ea 100644 --- a/devel/heaptrack/Makefile +++ b/devel/heaptrack/Makefile @@ -1,14 +1,13 @@ PORTNAME= heaptrack -DISTVERSIONPREFIX= v -DISTVERSION= 1.2.0-43 -PORTREVISION= 1 +DISTVERSION= 1.3.0 CATEGORIES= devel kde +MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/ MAINTAINER= kde@FreeBSD.org COMMENT= Heap memory profiler -LICENSE= LGPL21 -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libunwind.so:devel/libunwind \ @@ -23,6 +22,4 @@ USE_KDE= auth auth codecs completion config config \ USE_QT= concurrent core dbus gui network widgets xml \ buildtools_build qmake_build -KDE_INVENT= 1c2d406387dc59e7ebba727fd42a647f2f38bba4 sdk - .include <bsd.port.mk> diff --git a/devel/heaptrack/distinfo b/devel/heaptrack/distinfo index e9fa5c404e4e..ed3bd339fe64 100644 --- a/devel/heaptrack/distinfo +++ b/devel/heaptrack/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620381505 -SHA256 (sdk-heaptrack-1c2d406387dc59e7ebba727fd42a647f2f38bba4_GL0.tar.gz) = 749d8d653b9ba2d728c69d0b8ce4d39a79d130b9c33d92c7a615a38a981ee7db -SIZE (sdk-heaptrack-1c2d406387dc59e7ebba727fd42a647f2f38bba4_GL0.tar.gz) = 1118883 +TIMESTAMP = 1639951579 +SHA256 (heaptrack-1.3.0.tar.xz) = b9bb8458110d6eb5da0884cd53562cc2efc3928cfd3c3a6a1c67ea09b5747e04 +SIZE (heaptrack-1.3.0.tar.xz) = 5521900 diff --git a/devel/heaptrack/files/patch-src_track_heaptrack__inject.cpp b/devel/heaptrack/files/patch-src_track_heaptrack__inject.cpp deleted file mode 100644 index ac0a356528ba..000000000000 --- a/devel/heaptrack/files/patch-src_track_heaptrack__inject.cpp +++ /dev/null @@ -1,21 +0,0 @@ ---- src/track/heaptrack_inject.cpp.orig 2020-06-01 22:47:27 UTC -+++ src/track/heaptrack_inject.cpp -@@ -66,8 +66,18 @@ using Dyn = ElfW(Dyn); - using Rel = ElfW(Rel); - using Rela = ElfW(Rela); - using Sym = ElfW(Sym); -+#if __WORDSIZE == 64 - using Sxword = ElfW(Sxword); - using Xword = ElfW(Xword); -+#else -+// FreeBSD elf32.h doesn't define Elf32_Sxword or _Xword. This is used in struct -+// elftable, where it's used as a tag value. Our Elf32_Dyn uses Elf32_Sword there, -+// as does the Linux definition (and the standard); the El64_Dyn uses Sxword. -+// -+// Linux elf.h defines Elf32_Sxword as a 64-bit quantity, so let's do that -+using Sxword = int64_t; -+using Xword = uint64_t; -+#endif - } - - void overwrite_symbols() noexcept; diff --git a/devel/heaptrack/pkg-plist b/devel/heaptrack/pkg-plist index 9d1480d60244..3d89ea6432df 100644 --- a/devel/heaptrack/pkg-plist +++ b/devel/heaptrack/pkg-plist @@ -12,4 +12,27 @@ share/icons/hicolor/22x22/apps/heaptrack.png share/icons/hicolor/32x32/apps/heaptrack.png share/icons/hicolor/48x48/apps/heaptrack.png share/icons/hicolor/64x64/apps/heaptrack.png +share/locale/ast/LC_MESSAGES/heaptrack.mo +share/locale/ca/LC_MESSAGES/heaptrack.mo +share/locale/ca@valencia/LC_MESSAGES/heaptrack.mo +share/locale/cs/LC_MESSAGES/heaptrack.mo +share/locale/da/LC_MESSAGES/heaptrack.mo +share/locale/de/LC_MESSAGES/heaptrack.mo +share/locale/en_GB/LC_MESSAGES/heaptrack.mo +share/locale/es/LC_MESSAGES/heaptrack.mo +share/locale/fr/LC_MESSAGES/heaptrack.mo +share/locale/gl/LC_MESSAGES/heaptrack.mo +share/locale/ia/LC_MESSAGES/heaptrack.mo +share/locale/ko/LC_MESSAGES/heaptrack.mo +share/locale/nl/LC_MESSAGES/heaptrack.mo +share/locale/nn/LC_MESSAGES/heaptrack.mo +share/locale/pl/LC_MESSAGES/heaptrack.mo +share/locale/pt/LC_MESSAGES/heaptrack.mo +share/locale/pt_BR/LC_MESSAGES/heaptrack.mo +share/locale/ru/LC_MESSAGES/heaptrack.mo +share/locale/sk/LC_MESSAGES/heaptrack.mo +share/locale/sv/LC_MESSAGES/heaptrack.mo +share/locale/tr/LC_MESSAGES/heaptrack.mo +share/locale/uk/LC_MESSAGES/heaptrack.mo +share/locale/zh_CN/LC_MESSAGES/heaptrack.mo share/metainfo/org.kde.heaptrack.appdata.xml
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112192230.1BJMU07e087051>