[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/files/, dev-util/heaptrack/
commit: 4d6d7f96864b11e288f8d33c59a196f3ec1fb6e6 Author: Sam James gentoo org> AuthorDate: Sat Dec 16 09:23:16 2023 + Commit: Sam James gentoo org> CommitDate: Sat Dec 16 09:30:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d6d7f96 dev-util/heaptrack: fix modern C issue(s) Closes: https://bugs.gentoo.org/898768 Signed-off-by: Sam James gentoo.org> dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch | 43 ++ dev-util/heaptrack/heaptrack-1.5.0.ebuild | 9 + dev-util/heaptrack/heaptrack-.ebuild | 5 +++ 3 files changed, 57 insertions(+) diff --git a/dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch b/dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch new file mode 100644 index ..4d88af050d5c --- /dev/null +++ b/dev-util/heaptrack/files/heaptrack-1.5.0-c99.patch @@ -0,0 +1,43 @@ +https://invent.kde.org/sdk/heaptrack/-/merge_requests/24 + +From ce0e0d218e76b1b724f4e10b9da2d8f33e4156b6 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +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 \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 \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 \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 \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 \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 \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 \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 index fd796741d336..eb794b0466ad 100644 --- a/dev-util/heaptrack/heaptrack-1.5.0.ebuild +++ b/dev-util/heaptrack/heaptrack-1.5.0.ebuild @@ -42,6 +42,15 @@ RDEPEND="${DEPEND} " 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 diff --git a/dev-util/heaptrack/heaptrack-.ebuild b/dev-util/heaptrack/heaptrack-.ebuild index e449505549c7..78ccbe37b70d 100644 --- a/dev-util/heaptrack/heaptrack-.ebuild +++ b/dev-util/heaptrack/heaptrack-.ebuild @@ -41,6 +41,11 @@ RDEPEND="${DEPEND} " BDEPEND="gui? ( kde-frameworks/extra-cmake-modules:0 )" +QA_CONFIG_IMPL_DECL_SKIP=( + # This doesn't exist in libunwind (bug #898768). + unw_backtrace_skip +) + src_prepare() { cmake_src_prepare rm -rf 3rdparty/boost-zstd ||
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/files/, dev-util/heaptrack/
commit: f487715adc231949f9e7caf6335c2971d003d82d Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Nov 3 10:35:52 2023 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Nov 3 11:16:17 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f487715a dev-util/heaptrack: drop 1.4.0 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/heaptrack/Manifest| 1 - .../files/heaptrack-1.4.0-boost-1.81.patch | 23 --- .../heaptrack/files/heaptrack-1.4.0-gcc-13.patch | 22 --- dev-util/heaptrack/heaptrack-1.4.0.ebuild | 76 -- 4 files changed, 122 deletions(-) diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest index 704ded416de6..08cdd294b831 100644 --- a/dev-util/heaptrack/Manifest +++ b/dev-util/heaptrack/Manifest @@ -1,2 +1 @@ -DIST heaptrack-1.4.0.tar.xz 5526100 BLAKE2B ffb912bc080cf966d670fcafcce682ddc5793878b73b8480b40aaf6b3c9596e892b646f9ca2ce40c195ed32d595e265e9c3a49095ac725b95a0845b2c4a7a81a SHA512 8d34356c9ecf2f9901e15ff7f24e6772e35d31ea9634d7b3ce5615df6f4f7ed024a7a4336f3b6fca648632c4c1693411641782fe60bf4cfeeb1d07d8607636a4 DIST heaptrack-1.5.0.tar.xz 5447668 BLAKE2B f4a69311267daf9439e264bf8bb9802db41abb3fa766e5dfc8fcfe39c58feab2d0fe32710c6b5a2d63715e8b013e4a81e2984de425be871e253b1b2567a1dca2 SHA512 b52cc63a29d67dade85f40a7f9abb43e104762b9c853385f501d37fcbcef90fdcdfc93e2900c71b5a47c773bf98fe75f66f8b6a9e31a12610b6deec20d9736aa diff --git a/dev-util/heaptrack/files/heaptrack-1.4.0-boost-1.81.patch b/dev-util/heaptrack/files/heaptrack-1.4.0-boost-1.81.patch deleted file mode 100644 index 564f0925a9be.. --- a/dev-util/heaptrack/files/heaptrack-1.4.0-boost-1.81.patch +++ /dev/null @@ -1,23 +0,0 @@ -https://bugs.gentoo.org/887033 -https://invent.kde.org/sdk/heaptrack/-/commit/de3174aa1d1293636079473ff693d9a274a093a9 - -From de3174aa1d1293636079473ff693d9a274a093a9 Mon Sep 17 00:00:00 2001 -From: Heiko Becker -Date: Fri, 16 Dec 2022 00:01:15 +0100 -Subject: [PATCH] Add missing include - -This fixes the build with boost 1.81.0. was included by one of -the boost headers, however, it's no longer included as of Boost 1.81.0. a/src/analyze/gui/histogrammodel.h -+++ b/src/analyze/gui/histogrammodel.h -@@ -9,6 +9,8 @@ - - #include - -+#include -+ - #include "treemodel.h" - - struct HistogramColumn --- -GitLab diff --git a/dev-util/heaptrack/files/heaptrack-1.4.0-gcc-13.patch b/dev-util/heaptrack/files/heaptrack-1.4.0-gcc-13.patch deleted file mode 100644 index 706d479f5275.. --- a/dev-util/heaptrack/files/heaptrack-1.4.0-gcc-13.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://invent.kde.org/sdk/heaptrack/-/commit/315aa7116d588f92b67c4bb84e1549529cb2fca0 - -From 315aa7116d588f92b67c4bb84e1549529cb2fca0 Mon Sep 17 00:00:00 2001 -From: Heiko Becker -Date: Mon, 23 Jan 2023 23:44:09 +0100 -Subject: [PATCH] Fix build with gcc 13 by including - -Like other versions before, gcc 13 moved some includes around and as a -result 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 a/src/util/linereader.h -+++ b/src/util/linereader.h -@@ -7,6 +7,7 @@ - #ifndef LINEREADER_H - #define LINEREADER_H - -+#include - #include - #include - diff --git a/dev-util/heaptrack/heaptrack-1.4.0.ebuild b/dev-util/heaptrack/heaptrack-1.4.0.ebuild deleted file mode 100644 index af58131c7b9f.. --- a/dev-util/heaptrack/heaptrack-1.4.0.ebuild +++ /dev/null @@ -1,76 +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:5 )" - -PATCHES=( - "${FILESDIR}"/${P}-boost-1.81.patch # bug #887033, in master - "${FILESDIR}"/${P}-gcc-13.patch # in master -) - -src_prepare
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: 9e9c0e1fbd50eae0c6afa203e22c81a983761c7a Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Oct 2 18:02:16 2023 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Oct 3 19:20:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e9c0e1f dev-util/heaptrack: add 1.5.0 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/heaptrack/Manifest | 1 + dev-util/heaptrack/heaptrack-1.5.0.ebuild | 71 +++ 2 files changed, 72 insertions(+) diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest index cb37c6e788cd..704ded416de6 100644 --- a/dev-util/heaptrack/Manifest +++ b/dev-util/heaptrack/Manifest @@ -1 +1,2 @@ DIST heaptrack-1.4.0.tar.xz 5526100 BLAKE2B ffb912bc080cf966d670fcafcce682ddc5793878b73b8480b40aaf6b3c9596e892b646f9ca2ce40c195ed32d595e265e9c3a49095ac725b95a0845b2c4a7a81a SHA512 8d34356c9ecf2f9901e15ff7f24e6772e35d31ea9634d7b3ce5615df6f4f7ed024a7a4336f3b6fca648632c4c1693411641782fe60bf4cfeeb1d07d8607636a4 +DIST heaptrack-1.5.0.tar.xz 5447668 BLAKE2B f4a69311267daf9439e264bf8bb9802db41abb3fa766e5dfc8fcfe39c58feab2d0fe32710c6b5a2d63715e8b013e4a81e2984de425be871e253b1b2567a1dca2 SHA512 b52cc63a29d67dade85f40a7f9abb43e104762b9c853385f501d37fcbcef90fdcdfc93e2900c71b5a47c773bf98fe75f66f8b6a9e31a12610b6deec20d9736aa diff --git a/dev-util/heaptrack/heaptrack-1.5.0.ebuild b/dev-util/heaptrack/heaptrack-1.5.0.ebuild new file mode 100644 index ..55b236232d02 --- /dev/null +++ b/dev-util/heaptrack/heaptrack-1.5.0.ebuild @@ -0,0 +1,71 @@ +# 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:5 )" + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/, dev-util/heaptrack/files/
commit: 1081e019e0dd2d41ad2d9832e7a7e0209865cbca Author: Sam James gentoo org> AuthorDate: Thu Jan 26 07:10:36 2023 + Commit: Sam James gentoo org> CommitDate: Thu Jan 26 07:14:50 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1081e019 dev-util/heaptrack: fix build w/ gcc 13 Signed-off-by: Sam James gentoo.org> .../heaptrack/files/heaptrack-1.4.0-gcc-13.patch | 22 ++ dev-util/heaptrack/heaptrack-1.4.0.ebuild | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/dev-util/heaptrack/files/heaptrack-1.4.0-gcc-13.patch b/dev-util/heaptrack/files/heaptrack-1.4.0-gcc-13.patch new file mode 100644 index ..706d479f5275 --- /dev/null +++ b/dev-util/heaptrack/files/heaptrack-1.4.0-gcc-13.patch @@ -0,0 +1,22 @@ +https://invent.kde.org/sdk/heaptrack/-/commit/315aa7116d588f92b67c4bb84e1549529cb2fca0 + +From 315aa7116d588f92b67c4bb84e1549529cb2fca0 Mon Sep 17 00:00:00 2001 +From: Heiko Becker +Date: Mon, 23 Jan 2023 23:44:09 +0100 +Subject: [PATCH] Fix build with gcc 13 by including + +Like other versions before, gcc 13 moved some includes around and as a +result 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 +--- a/src/util/linereader.h b/src/util/linereader.h +@@ -7,6 +7,7 @@ + #ifndef LINEREADER_H + #define LINEREADER_H + ++#include + #include + #include + diff --git a/dev-util/heaptrack/heaptrack-1.4.0.ebuild b/dev-util/heaptrack/heaptrack-1.4.0.ebuild index 29eec26eb107..01e625807144 100644 --- a/dev-util/heaptrack/heaptrack-1.4.0.ebuild +++ b/dev-util/heaptrack/heaptrack-1.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -46,6 +46,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-boost-1.81.patch # bug #887033, in master + "${FILESDIR}"/${P}-gcc-13.patch # in master ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/, dev-util/heaptrack/files/
commit: ac7a50dc4fbb1de933dbc6bbcb26694995cd629b Author: Sam James gentoo org> AuthorDate: Thu Dec 22 02:28:36 2022 + Commit: Sam James gentoo org> CommitDate: Thu Dec 22 02:28:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac7a50dc dev-util/heaptrack: fix build w/ boost 1.81 Closes: https://bugs.gentoo.org/887033 Signed-off-by: Sam James gentoo.org> .../files/heaptrack-1.4.0-boost-1.81.patch | 23 ++ dev-util/heaptrack/heaptrack-1.4.0.ebuild | 4 2 files changed, 27 insertions(+) diff --git a/dev-util/heaptrack/files/heaptrack-1.4.0-boost-1.81.patch b/dev-util/heaptrack/files/heaptrack-1.4.0-boost-1.81.patch new file mode 100644 index ..564f0925a9be --- /dev/null +++ b/dev-util/heaptrack/files/heaptrack-1.4.0-boost-1.81.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/887033 +https://invent.kde.org/sdk/heaptrack/-/commit/de3174aa1d1293636079473ff693d9a274a093a9 + +From de3174aa1d1293636079473ff693d9a274a093a9 Mon Sep 17 00:00:00 2001 +From: Heiko Becker +Date: Fri, 16 Dec 2022 00:01:15 +0100 +Subject: [PATCH] Add missing include + +This fixes the build with boost 1.81.0. was included by one of +the boost headers, however, it's no longer included as of Boost 1.81.0. +--- a/src/analyze/gui/histogrammodel.h b/src/analyze/gui/histogrammodel.h +@@ -9,6 +9,8 @@ + + #include + ++#include ++ + #include "treemodel.h" + + struct HistogramColumn +-- +GitLab diff --git a/dev-util/heaptrack/heaptrack-1.4.0.ebuild b/dev-util/heaptrack/heaptrack-1.4.0.ebuild index fd9b0ba63961..29eec26eb107 100644 --- a/dev-util/heaptrack/heaptrack-1.4.0.ebuild +++ b/dev-util/heaptrack/heaptrack-1.4.0.ebuild @@ -44,6 +44,10 @@ BDEPEND=" gui? ( kde-frameworks/extra-cmake-modules:5 ) " +PATCHES=( + "${FILESDIR}"/${P}-boost-1.81.patch # bug #887033, in master +) + src_prepare() { cmake_src_prepare rm -rf 3rdparty/boost-zstd || die # ensure no bundling
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/files/
commit: adfa37c063b10f5cb4ccff7c6055fb2b13623f4b Author: Michael Mair-Keimberger levelnine at> AuthorDate: Mon Jun 20 08:58:28 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 17 07:21:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adfa37c0 dev-util/heaptrack: remove unused patch(es) Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/25997 Signed-off-by: Andreas Sturmlechner gentoo.org> .../heaptrack/files/heaptrack-1.3.0-cmake.patch| 58 -- 1 file changed, 58 deletions(-) diff --git a/dev-util/heaptrack/files/heaptrack-1.3.0-cmake.patch b/dev-util/heaptrack/files/heaptrack-1.3.0-cmake.patch deleted file mode 100644 index fe4cfd6fed93.. --- a/dev-util/heaptrack/files/heaptrack-1.3.0-cmake.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 24d593624a41488416116057fc36e9962a548477 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner -Date: Mon, 20 Dec 2021 11:43:26 +0100 -Subject: [PATCH] Let releaseme know to skip po install - -Since KF5I18n is optional AND dependent on HEAPTRACK_BUILD_GUI, we -have to call ki18n_install(po) conditionally on our own and in -addition tell releaseme not to touch CMakeLists.txt to do the same. - -Otherwise releaseme adds the following code unconditionally at the -end of the file: - -find_package(KF5I18n CONFIG REQUIRED) -ki18n_install(po) - -ki18n_install checks for existence of po subdir and returns silently -if none found, so it is safe for git sources too. - -* asturmlechner 2021-12-20: Modified for 1.3.0 release. - -Signed-off-by: Andreas Sturmlechner - CMakeLists.txt | 4 - src/analyze/CMakeLists.txt | 3 +++ - 2 files changed, 7 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 4ccfc88..06c43cf 100644 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -169,7 +169,8 @@ - add_subdirectory(src) - add_subdirectory(tests) - --feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) -+# Let releaseme know about this: -+# SKIP_PO_INSTALL -+# (KF5I18n is optional in src/analyze/CMakeLists.txt...) - --find_package(KF5I18n CONFIG REQUIRED) --ki18n_install(po) -+feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) -diff --git a/src/analyze/CMakeLists.txt b/src/analyze/CMakeLists.txt -index 592f337..763c671 100644 a/src/analyze/CMakeLists.txt -+++ b/src/analyze/CMakeLists.txt -@@ -41,6 +41,9 @@ if(HEAPTRACK_BUILD_GUI) - find_package(KF5 ${REQUIRED_IN_APPIMAGE} COMPONENTS CoreAddons I18n ItemModels ThreadWeaver ConfigWidgets KIO IconThemes) - find_package(KChart ${REQUIRED_IN_APPIMAGE} "2.6.0") - set_package_properties(KChart PROPERTIES TYPE RECOMMENDED PURPOSE "Required for the heaptrack_gui executable. Get it from the kdiagram module.") -+if(KF5I18n_FOUND) -+ki18n_install(../../po) -+endif() - endif() - endif() - --- -2.34.1
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: 04ed3b7881b24929cf5a77146ccd0b3d87197456 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jun 18 10:52:49 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jun 18 11:03:18 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04ed3b78 dev-util/heaptrack: 1.4.0 version bump Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/heaptrack/Manifest | 1 + dev-util/heaptrack/heaptrack-1.4.0.ebuild | 73 +++ 2 files changed, 74 insertions(+) diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest index 0e7d6463d844..6777eef06521 100644 --- a/dev-util/heaptrack/Manifest +++ b/dev-util/heaptrack/Manifest @@ -1 +1,2 @@ DIST heaptrack-1.3.0.tar.xz 5521900 BLAKE2B b633ff53d83bd001705a93e2d9ffec1a994a3860cc2154334deda24c7b9d015d233e09e091201351cd3f885668a97d51eafc3b63604996c3a47ed3fdc87446da SHA512 803cc41cbd22090f3478b92097119d03a47ace8d81dc1f30490bea8f9460ae4b9fb7c9d5f64818961c8e118eafce486bea2b6765e5f2a81c91eef5690b1246de +DIST heaptrack-1.4.0.tar.xz 5526100 BLAKE2B ffb912bc080cf966d670fcafcce682ddc5793878b73b8480b40aaf6b3c9596e892b646f9ca2ce40c195ed32d595e265e9c3a49095ac725b95a0845b2c4a7a81a SHA512 8d34356c9ecf2f9901e15ff7f24e6772e35d31ea9634d7b3ce5615df6f4f7ed024a7a4336f3b6fca648632c4c1693411641782fe60bf4cfeeb1d07d8607636a4 diff --git a/dev-util/heaptrack/heaptrack-1.4.0.ebuild b/dev-util/heaptrack/heaptrack-1.4.0.ebuild new file mode 100644 index ..fd9b0ba63961 --- /dev/null +++ b/dev-util/heaptrack/heaptrack-1.4.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop 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:5 ) +" + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: a9b01929701825d76e7f8fc7f5daea7f084e940e Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jun 18 10:53:00 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jun 18 11:03:19 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9b01929 dev-util/heaptrack: Drop 1.3.0-r1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/heaptrack/Manifest | 1 - dev-util/heaptrack/heaptrack-1.3.0-r1.ebuild | 75 2 files changed, 76 deletions(-) diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest index 6777eef06521..cb37c6e788cd 100644 --- a/dev-util/heaptrack/Manifest +++ b/dev-util/heaptrack/Manifest @@ -1,2 +1 @@ -DIST heaptrack-1.3.0.tar.xz 5521900 BLAKE2B b633ff53d83bd001705a93e2d9ffec1a994a3860cc2154334deda24c7b9d015d233e09e091201351cd3f885668a97d51eafc3b63604996c3a47ed3fdc87446da SHA512 803cc41cbd22090f3478b92097119d03a47ace8d81dc1f30490bea8f9460ae4b9fb7c9d5f64818961c8e118eafce486bea2b6765e5f2a81c91eef5690b1246de DIST heaptrack-1.4.0.tar.xz 5526100 BLAKE2B ffb912bc080cf966d670fcafcce682ddc5793878b73b8480b40aaf6b3c9596e892b646f9ca2ce40c195ed32d595e265e9c3a49095ac725b95a0845b2c4a7a81a SHA512 8d34356c9ecf2f9901e15ff7f24e6772e35d31ea9634d7b3ce5615df6f4f7ed024a7a4336f3b6fca648632c4c1693411641782fe60bf4cfeeb1d07d8607636a4 diff --git a/dev-util/heaptrack/heaptrack-1.3.0-r1.ebuild b/dev-util/heaptrack/heaptrack-1.3.0-r1.ebuild deleted file mode 100644 index b219ca4b797e.. --- a/dev-util/heaptrack/heaptrack-1.3.0-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop 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:5 ) -" - -PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) # bug 829606 - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: 68d2b5ec720ee7bed1c469dc07f7e13d00ab2b61 Author: Sam James gentoo org> AuthorDate: Tue Apr 19 21:07:50 2022 + Commit: Sam James gentoo org> CommitDate: Tue Apr 19 21:07:50 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d2b5ec dev-util/heaptrack: depend on dev-libs/boost[zlib] Closes: https://bugs.gentoo.org/839015 Signed-off-by: Sam James gentoo.org> .../heaptrack/{heaptrack-1.3.0.ebuild => heaptrack-1.3.0-r1.ebuild} | 4 ++-- dev-util/heaptrack/heaptrack-.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-util/heaptrack/heaptrack-1.3.0.ebuild b/dev-util/heaptrack/heaptrack-1.3.0-r1.ebuild similarity index 95% rename from dev-util/heaptrack/heaptrack-1.3.0.ebuild rename to dev-util/heaptrack/heaptrack-1.3.0-r1.ebuild index bca3728eeba1..b219ca4b797e 100644 --- a/dev-util/heaptrack/heaptrack-1.3.0.ebuild +++ b/dev-util/heaptrack/heaptrack-1.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ IUSE="+gui test zstd" RESTRICT="!test? ( test )" DEPEND=" - dev-libs/boost:=[zstd?] + dev-libs/boost:=[zstd?,zlib] sys-libs/libunwind:= sys-libs/zlib gui? ( diff --git a/dev-util/heaptrack/heaptrack-.ebuild b/dev-util/heaptrack/heaptrack-.ebuild index cb0a7bdb8024..2723dac4cd81 100644 --- a/dev-util/heaptrack/heaptrack-.ebuild +++ b/dev-util/heaptrack/heaptrack-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ IUSE="+gui test zstd" RESTRICT="!test? ( test )" DEPEND=" - dev-libs/boost:=[zstd?] + dev-libs/boost:=[zstd?,zlib] sys-libs/libunwind:= sys-libs/zlib gui? (
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/, dev-util/heaptrack/files/
commit: 2df53de7655592e1345c4c47194a75e3cdf7fd51 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Dec 20 11:04:42 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Dec 20 12:41:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df53de7 dev-util/heaptrack: Fix cmake with IUSE=-gui Closes: https://bugs.gentoo.org/829606 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> .../heaptrack/files/heaptrack-1.3.0-cmake.patch| 58 ++ dev-util/heaptrack/heaptrack-1.3.0.ebuild | 2 + 2 files changed, 60 insertions(+) diff --git a/dev-util/heaptrack/files/heaptrack-1.3.0-cmake.patch b/dev-util/heaptrack/files/heaptrack-1.3.0-cmake.patch new file mode 100644 index ..fe4cfd6fed93 --- /dev/null +++ b/dev-util/heaptrack/files/heaptrack-1.3.0-cmake.patch @@ -0,0 +1,58 @@ +From 24d593624a41488416116057fc36e9962a548477 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Mon, 20 Dec 2021 11:43:26 +0100 +Subject: [PATCH] Let releaseme know to skip po install + +Since KF5I18n is optional AND dependent on HEAPTRACK_BUILD_GUI, we +have to call ki18n_install(po) conditionally on our own and in +addition tell releaseme not to touch CMakeLists.txt to do the same. + +Otherwise releaseme adds the following code unconditionally at the +end of the file: + +find_package(KF5I18n CONFIG REQUIRED) +ki18n_install(po) + +ki18n_install checks for existence of po subdir and returns silently +if none found, so it is safe for git sources too. + +* asturmlechner 2021-12-20: Modified for 1.3.0 release. + +Signed-off-by: Andreas Sturmlechner +--- + CMakeLists.txt | 4 + src/analyze/CMakeLists.txt | 3 +++ + 2 files changed, 7 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4ccfc88..06c43cf 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -169,7 +169,8 @@ + add_subdirectory(src) + add_subdirectory(tests) + +-feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) ++# Let releaseme know about this: ++# SKIP_PO_INSTALL ++# (KF5I18n is optional in src/analyze/CMakeLists.txt...) + +-find_package(KF5I18n CONFIG REQUIRED) +-ki18n_install(po) ++feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) +diff --git a/src/analyze/CMakeLists.txt b/src/analyze/CMakeLists.txt +index 592f337..763c671 100644 +--- a/src/analyze/CMakeLists.txt b/src/analyze/CMakeLists.txt +@@ -41,6 +41,9 @@ if(HEAPTRACK_BUILD_GUI) + find_package(KF5 ${REQUIRED_IN_APPIMAGE} COMPONENTS CoreAddons I18n ItemModels ThreadWeaver ConfigWidgets KIO IconThemes) + find_package(KChart ${REQUIRED_IN_APPIMAGE} "2.6.0") + set_package_properties(KChart PROPERTIES TYPE RECOMMENDED PURPOSE "Required for the heaptrack_gui executable. Get it from the kdiagram module.") ++if(KF5I18n_FOUND) ++ki18n_install(../../po) ++endif() + endif() + endif() + +-- +2.34.1 diff --git a/dev-util/heaptrack/heaptrack-1.3.0.ebuild b/dev-util/heaptrack/heaptrack-1.3.0.ebuild index 415f90a3f430..bca3728eeba1 100644 --- a/dev-util/heaptrack/heaptrack-1.3.0.ebuild +++ b/dev-util/heaptrack/heaptrack-1.3.0.ebuild @@ -44,6 +44,8 @@ BDEPEND=" gui? ( kde-frameworks/extra-cmake-modules:5 ) " +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) # bug 829606 + src_prepare() { cmake_src_prepare rm -rf 3rdparty/boost-zstd || die # ensure no bundling
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: 1b5825b7a2a248382e257c4539a2dda10035de56 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Dec 18 20:33:12 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 18 20:42:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b5825b7 dev-util/heaptrack: 1.3.0 version bump Closes: https://bugs.gentoo.org/611400 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/heaptrack/Manifest | 1 + dev-util/heaptrack/heaptrack-1.3.0.ebuild | 73 +++ 2 files changed, 74 insertions(+) diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest new file mode 100644 index ..0e7d6463d844 --- /dev/null +++ b/dev-util/heaptrack/Manifest @@ -0,0 +1 @@ +DIST heaptrack-1.3.0.tar.xz 5521900 BLAKE2B b633ff53d83bd001705a93e2d9ffec1a994a3860cc2154334deda24c7b9d015d233e09e091201351cd3f885668a97d51eafc3b63604996c3a47ed3fdc87446da SHA512 803cc41cbd22090f3478b92097119d03a47ace8d81dc1f30490bea8f9460ae4b9fb7c9d5f64818961c8e118eafce486bea2b6765e5f2a81c91eef5690b1246de diff --git a/dev-util/heaptrack/heaptrack-1.3.0.ebuild b/dev-util/heaptrack/heaptrack-1.3.0.ebuild new file mode 100644 index ..415f90a3f430 --- /dev/null +++ b/dev-util/heaptrack/heaptrack-1.3.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop 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?] + 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:5 ) +" + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: bbd645e9f931048973fe8b2142a6afd1ba839e8c Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Sep 5 08:59:14 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Sep 5 09:06:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd645e9 dev-util/heaptrack: EAPI-8 bump, update IUSE=zstd DEPEND Add missing desktop.eclass Update HOMEPAGE Package is effectively currently broken, but fixes are pending: https://invent.kde.org/sdk/heaptrack/-/merge_requests/5 https://invent.kde.org/sdk/heaptrack/-/merge_requests/6 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/heaptrack/heaptrack-.ebuild | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/dev-util/heaptrack/heaptrack-.ebuild b/dev-util/heaptrack/heaptrack-.ebuild index 626643eac8c..cb0a7bdb802 100644 --- a/dev-util/heaptrack/heaptrack-.ebuild +++ b/dev-util/heaptrack/heaptrack-.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit cmake kde.org xdg-utils +inherit cmake desktop kde.org xdg-utils DESCRIPTION="Fast heap memory profiler" -HOMEPAGE="https://apps.kde.org/en/heaptrack +HOMEPAGE="https://apps.kde.org/heaptrack/ https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux"; LICENSE="LGPL-2.1+" @@ -14,12 +14,11 @@ SLOT="0" KEYWORDS="" IUSE="+gui test zstd" -BDEPEND=" - gui? ( kde-frameworks/extra-cmake-modules:5 ) -" +RESTRICT="!test? ( test )" + DEPEND=" - dev-libs/boost:= - sys-libs/libunwind + dev-libs/boost:=[zstd?] + sys-libs/libunwind:= sys-libs/zlib gui? ( dev-libs/kdiagram:5 @@ -40,26 +39,32 @@ DEPEND=" RDEPEND="${DEPEND} gui? ( >=kde-frameworks/kf-env-4 ) " +BDEPEND=" + gui? ( kde-frameworks/extra-cmake-modules:5 ) +" -RESTRICT+=" !test? ( test )" +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_use_find_package zstd ZSTD) ) cmake_src_configure } -xdg_pkg_postinst() { +pkg_postinst() { if use gui; then xdg_desktop_database_update xdg_icon_cache_update fi } -xdg_pkg_postrm() { +pkg_postrm() { if use gui; then xdg_desktop_database_update xdg_icon_cache_update
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: bb571ee92102f09a95f977e366a2eba68781a3ce Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun May 24 21:46:24 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun May 24 21:46:24 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb571ee9 dev-util/heaptrack: Add kde.org HOMEPAGE Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/heaptrack/heaptrack-.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-util/heaptrack/heaptrack-.ebuild b/dev-util/heaptrack/heaptrack-.ebuild index 99697c3d825..8f57020d1b4 100644 --- a/dev-util/heaptrack/heaptrack-.ebuild +++ b/dev-util/heaptrack/heaptrack-.ebuild @@ -6,7 +6,8 @@ EAPI=7 inherit cmake kde.org xdg-utils DESCRIPTION="Fast heap memory profiler" -HOMEPAGE="https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux"; +HOMEPAGE="https://kde.org/applications/development/org.kde.heaptrack +https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux"; LICENSE="LGPL-2.1+" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: ff3e9cb7543594d068446095f0365bf765a9574a Author: Alexey Sokolov google com> AuthorDate: Fri May 8 00:28:05 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun May 24 21:45:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3e9cb7 dev-util/heaptrack: update homepage Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alexey Sokolov google.com> Closes: https://github.com/gentoo/gentoo/pull/15692 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/heaptrack/heaptrack-.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/heaptrack/heaptrack-.ebuild b/dev-util/heaptrack/heaptrack-.ebuild index b9572355eb6..99697c3d825 100644 --- a/dev-util/heaptrack/heaptrack-.ebuild +++ b/dev-util/heaptrack/heaptrack-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 inherit cmake kde.org xdg-utils DESCRIPTION="Fast heap memory profiler" -HOMEPAGE="http://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux"; +HOMEPAGE="https://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux"; LICENSE="LGPL-2.1+" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: 8c045761c87dae25033dfb856d1c567444b27560 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Nov 12 01:08:43 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Nov 12 01:10:56 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c045761 dev-util/heaptrack: Switch to cmake-utils, kde.org, xdg-utils Fix LICENSE. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/heaptrack/heaptrack-.ebuild | 58 dev-util/heaptrack/metadata.xml | 3 ++ 2 files changed, 39 insertions(+), 22 deletions(-) diff --git a/dev-util/heaptrack/heaptrack-.ebuild b/dev-util/heaptrack/heaptrack-.ebuild index ca6434866c2..99a1d52e0ce 100644 --- a/dev-util/heaptrack/heaptrack-.ebuild +++ b/dev-util/heaptrack/heaptrack-.ebuild @@ -3,50 +3,64 @@ EAPI=7 -KDE_AUTODEPS="false" -KDE_TEST="forceoptional" -inherit kde5 +inherit cmake-utils kde.org xdg-utils -DESCRIPTION="A fast heap memory profiler" +DESCRIPTION="Fast heap memory profiler" HOMEPAGE="http://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux"; -LICENSE="LGPL-2.1" +LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="" -IUSE="+qt5 zstd" +IUSE="+gui test zstd" BDEPEND=" - $(add_frameworks_dep extra-cmake-modules) + gui? ( kde-frameworks/extra-cmake-modules:5 ) " DEPEND=" dev-libs/boost:= sys-libs/libunwind sys-libs/zlib - qt5? ( - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kconfigwidgets) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kio) - $(add_frameworks_dep kitemmodels) - $(add_frameworks_dep kwidgetsaddons) - $(add_frameworks_dep threadweaver) - $(add_qt_dep qtcore) - $(add_qt_dep qtgui) - $(add_qt_dep qtwidgets) + 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} - qt5? ( >=kde-frameworks/kf-env-4 ) + gui? ( >=kde-frameworks/kf-env-4 ) " +RESTRICT+=" !test? ( test )" + src_configure() { local mycmakeargs=( - -DHEAPTRACK_BUILD_GUI=$(usex qt5) + -DHEAPTRACK_BUILD_GUI=$(usex gui) + -DBUILD_TESTING=$(usex test) $(cmake-utils_use_find_package zstd Zstd) ) + cmake-utils_src_configure +} + +xdg_pkg_postinst() { + if use gui; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +} - kde5_src_configure +xdg_pkg_postrm() { + if use gui; then + xdg_desktop_database_update + xdg_icon_cache_update + fi } diff --git a/dev-util/heaptrack/metadata.xml b/dev-util/heaptrack/metadata.xml index c6bc2d94015..f8603060bfa 100644 --- a/dev-util/heaptrack/metadata.xml +++ b/dev-util/heaptrack/metadata.xml @@ -5,4 +5,7 @@ ast...@gentoo.org Andreas Sturmlechner + + Install Qt5-based analyzer tool +
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: 0ac4d73b942013ca9636e9834b9e7e624a9cf1b2 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Feb 15 23:24:39 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Feb 15 23:28:23 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac4d73b dev-util/heaptrack: EAPI-7 bump Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/heaptrack/heaptrack-.ebuild | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-util/heaptrack/heaptrack-.ebuild b/dev-util/heaptrack/heaptrack-.ebuild index cfcb4fc5822..ca6434866c2 100644 --- a/dev-util/heaptrack/heaptrack-.ebuild +++ b/dev-util/heaptrack/heaptrack-.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 KDE_AUTODEPS="false" KDE_TEST="forceoptional" @@ -15,7 +15,10 @@ SLOT="0" KEYWORDS="" IUSE="+qt5 zstd" -COMMON_DEPEND=" +BDEPEND=" + $(add_frameworks_dep extra-cmake-modules) +" +DEPEND=" dev-libs/boost:= sys-libs/libunwind sys-libs/zlib @@ -35,10 +38,7 @@ COMMON_DEPEND=" ) zstd? ( app-arch/zstd:= ) " -DEPEND="${COMMON_DEPEND} - $(add_frameworks_dep extra-cmake-modules) -" -RDEPEND="${COMMON_DEPEND} +RDEPEND="${DEPEND} qt5? ( >=kde-frameworks/kf-env-4 ) "
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: 4e006f04559c005cbe5f5bd8ccbd1e536f173674 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Mar 17 16:32:03 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Mar 17 16:49:20 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e006f04 dev-util/heaptrack: Add USE=zstd Upstream commit 4edc10044f2743e067b0387d04518b94afd602e1 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-util/heaptrack/heaptrack-.ebuild | 6 -- dev-util/heaptrack/metadata.xml | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-util/heaptrack/heaptrack-.ebuild b/dev-util/heaptrack/heaptrack-.ebuild index 45bb021ef3a..cfcb4fc5822 100644 --- a/dev-util/heaptrack/heaptrack-.ebuild +++ b/dev-util/heaptrack/heaptrack-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,7 +13,7 @@ HOMEPAGE="http://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux"; LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="" -IUSE="+qt5" +IUSE="+qt5 zstd" COMMON_DEPEND=" dev-libs/boost:= @@ -33,6 +33,7 @@ COMMON_DEPEND=" $(add_qt_dep qtwidgets) dev-libs/kdiagram:5 ) + zstd? ( app-arch/zstd:= ) " DEPEND="${COMMON_DEPEND} $(add_frameworks_dep extra-cmake-modules) @@ -44,6 +45,7 @@ RDEPEND="${COMMON_DEPEND} src_configure() { local mycmakeargs=( -DHEAPTRACK_BUILD_GUI=$(usex qt5) + $(cmake-utils_use_find_package zstd Zstd) ) kde5_src_configure diff --git a/dev-util/heaptrack/metadata.xml b/dev-util/heaptrack/metadata.xml index c6bc2d94015..afa56cb8428 100644 --- a/dev-util/heaptrack/metadata.xml +++ b/dev-util/heaptrack/metadata.xml @@ -5,4 +5,7 @@ ast...@gentoo.org Andreas Sturmlechner + + Enable support for ZSTD compression using app-arch/zstd +
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: 7810050a91051d4b8df5b1c5a60de33afb0a2379 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 12 15:33:44 2017 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 12 15:37:17 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7810050a dev-util/heaptrack: Import from kde overlay, pick up maintainership Package-Manager: portage-2.3.3 dev-util/heaptrack/heaptrack-.ebuild | 54 +++- dev-util/heaptrack/metadata.xml | 5 ++- 2 files changed, 43 insertions(+), 16 deletions(-) diff --git a/dev-util/heaptrack/heaptrack-.ebuild b/dev-util/heaptrack/heaptrack-.ebuild index ef1d0a305e..96391d3630 100644 --- a/dev-util/heaptrack/heaptrack-.ebuild +++ b/dev-util/heaptrack/heaptrack-.ebuild @@ -1,27 +1,51 @@ -# Copyright 2015-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 -EGIT_REPO_URI="git://anongit.kde.org/heaptrack" -[[ ${PV} = ]] && inherit git-r3 -inherit cmake-utils +KDE_AUTODEPS="false" +KDE_TEST="forceoptional" +inherit kde5 DESCRIPTION="A fast heap memory profiler" HOMEPAGE="http://milianw.de/blog/heaptrack-a-heap-memory-profiler-for-linux"; -[[ ${PV} = ]] || SRC_URI="${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061 -[[ ${PV} = ]] || \ -KEYWORDS="~amd64 ~x86" -IUSE="" +KEYWORDS="" +IUSE="+qt5" -RDEPEND="sys-libs/libunwind - >=dev-libs/boost-1.41.0" -DEPEND="${RDEPEND}" +COMMON_DEPEND=" + dev-libs/boost:= + sys-libs/libunwind + sys-libs/zlib + qt5? ( + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep threadweaver) + $(add_qt_dep qtcore) + $(add_qt_dep qtgui) + $(add_qt_dep qtwidgets) + dev-libs/kdiagram:5 + ) +" +DEPEND="${COMMON_DEPEND} + $(add_frameworks_dep extra-cmake-modules) +" +RDEPEND="${COMMON_DEPEND} + qt5? ( >=kde-frameworks/kf-env-4 ) +" -DOCS=() -[[ ${PV} = ]] || DOCS+=( ChangeLog ) +src_configure() { + local mycmakeargs=( + -DHEAPTRACK_BUILD_GUI=$(usex qt5) + ) + + kde5_src_configure +} diff --git a/dev-util/heaptrack/metadata.xml b/dev-util/heaptrack/metadata.xml index 6f49eba8f4..c6bc2d9401 100644 --- a/dev-util/heaptrack/metadata.xml +++ b/dev-util/heaptrack/metadata.xml @@ -1,5 +1,8 @@ http://www.gentoo.org/dtd/metadata.dtd";> - + + ast...@gentoo.org + Andreas Sturmlechner +
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: e20fc33cafe86fc95a0a8ae4dd0cd2769b106a1c Author: Austin English gentoo org> AuthorDate: Thu Jul 7 19:38:34 2016 + Commit: Austin English gentoo org> CommitDate: Thu Jul 7 19:47:00 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e20fc33c dev-util/heaptrack: add maintainer-needed Package-Manager: portage-2.2.28 dev-util/heaptrack/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-util/heaptrack/metadata.xml b/dev-util/heaptrack/metadata.xml index 097975e..6f49eba 100644 --- a/dev-util/heaptrack/metadata.xml +++ b/dev-util/heaptrack/metadata.xml @@ -1,4 +1,5 @@ http://www.gentoo.org/dtd/metadata.dtd";> +
[gentoo-commits] repo/gentoo:master commit in: dev-util/heaptrack/
commit: a89b8423c16f4105b433e3aa8cb15dfab42d280c Author: Pacho Ramos gentoo org> AuthorDate: Sat May 21 14:38:21 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Sat May 21 14:40:00 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a89b8423 dev-util/heaptrack: Cleanup due to bug #93104 Package-Manager: portage-2.3.0_rc1 dev-util/heaptrack/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/dev-util/heaptrack/metadata.xml b/dev-util/heaptrack/metadata.xml index d83ca74..097975e 100644 --- a/dev-util/heaptrack/metadata.xml +++ b/dev-util/heaptrack/metadata.xml @@ -1,8 +1,4 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - z...@gentoo.org - Matthias Schwarzott -