diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-23 21:32:40 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-23 22:07:15 +0200 |
commit | 83c39293689fb9498dd4868887463b1dc52de1ea (patch) | |
tree | a0ab12c13e374e6b7ae1562d2f2ab6a988a5f13a /dev-util/massif-visualizer | |
parent | sci-calculators/keurocalc: update EAPI 7 -> 8 (diff) | |
download | gentoo-83c39293689fb9498dd4868887463b1dc52de1ea.tar.gz gentoo-83c39293689fb9498dd4868887463b1dc52de1ea.tar.bz2 gentoo-83c39293689fb9498dd4868887463b1dc52de1ea.zip |
dev-util/massif-visualizer: update EAPI 7 -> 8, drop unused DEPEND
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/massif-visualizer')
3 files changed, 68 insertions, 6 deletions
diff --git a/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-linking.patch b/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-linking.patch new file mode 100644 index 000000000000..252d75ba6a0e --- /dev/null +++ b/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-linking.patch @@ -0,0 +1,36 @@ +From d49c8946fea8ce239e258c5e69fefd1cae5cb5fe Mon Sep 17 00:00:00 2001 +From: Nicolas Fella <nicolas.fella@gmx.de> +Date: Tue, 6 Apr 2021 00:29:33 +0200 +Subject: [PATCH] Add some missing linkages + +Currently things work due to transitiveness, but we better not rely on that +--- + massifdata/CMakeLists.txt | 1 + + test/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/massifdata/CMakeLists.txt b/massifdata/CMakeLists.txt +index a8a7b98..4881a30 100644 +--- a/massifdata/CMakeLists.txt ++++ b/massifdata/CMakeLists.txt +@@ -21,4 +21,5 @@ LINK_PRIVATE + KF5::Archive + KF5::KIOCore + KF5::I18n ++ KF5::ConfigCore + ) +diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt +index 38c510e..7ccbc2d 100644 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -1,6 +1,6 @@ + ecm_add_test(datamodeltest datamodeltest.cpp modeltest.cpp + TEST_NAME "datamodeltest" +- LINK_LIBRARIES mv-massifdata mv-visualizer Qt5::Core Qt5::Test KF5::KIOCore ++ LINK_LIBRARIES mv-massifdata mv-visualizer Qt5::Core Qt5::Test KF5::KIOCore KF5::ConfigCore + ) + + add_executable(massifparser massifparser.cpp) +-- +GitLab + diff --git a/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-unused-dep.patch b/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-unused-dep.patch new file mode 100644 index 000000000000..d6333da7185a --- /dev/null +++ b/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-unused-dep.patch @@ -0,0 +1,24 @@ +From c66b5a33885211da16cd720fd0f6ab5b4abba297 Mon Sep 17 00:00:00 2001 +From: Albert Astals Cid <aacid@kde.org> +Date: Thu, 28 Oct 2021 00:20:53 +0200 +Subject: [PATCH] Remove unused XmlPatterns + +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 569974f..f2f15f2 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -23,7 +23,6 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED + Core + Widgets + Svg +- XmlPatterns + Test + PrintSupport + ) +-- +GitLab + diff --git a/dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild b/dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild index 81ddb609d337..da42e66688b4 100644 --- a/dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild +++ b/dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 ECM_TEST="forceoptional" KFMIN=5.60.0 @@ -35,11 +35,13 @@ RDEPEND=" >=kde-frameworks/kxmlgui-${KFMIN}:5 callgraph? ( media-gfx/kgraphviewer:5 ) " -DEPEND="${RDEPEND} - >=dev-qt/qtxmlpatterns-${QTMIN}:5 -" +DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}/${P}-fix-window-icon.patch" ) +PATCHES=( + "${FILESDIR}/${P}-fix-window-icon.patch" + "${FILESDIR}/${P}-linking.patch" + "${FILESDIR}/${P}-unused-dep.patch" +) src_configure() { local mycmakeargs=( |