commit: 798bbf6d3cc6e43543d2206cf5b38fca634cf637 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Mon Mar 12 05:07:06 2018 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Mon Mar 12 05:15:22 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=798bbf6d
media-gfx/kgraphviewer: backport patch from upstream removing unused dependency Package-Manager: Portage-2.3.24, Repoman-2.3.6 .../kgraphviewer-2.4.2-unused-dependency.patch | 38 ++++++++++++++++++++++ media-gfx/kgraphviewer/kgraphviewer-2.4.2.ebuild | 4 ++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/media-gfx/kgraphviewer/files/kgraphviewer-2.4.2-unused-dependency.patch b/media-gfx/kgraphviewer/files/kgraphviewer-2.4.2-unused-dependency.patch new file mode 100644 index 00000000000..32dc4a084c8 --- /dev/null +++ b/media-gfx/kgraphviewer/files/kgraphviewer-2.4.2-unused-dependency.patch @@ -0,0 +1,38 @@ +From aa8937f6774846112a0dfa980d77d91398056c99 Mon Sep 17 00:00:00 2001 +From: Michael Palimaka <kensing...@gentoo.org> +Date: Mon, 12 Mar 2018 15:57:49 +1100 +Subject: [PATCH] Remove unused dependency. + +--- + CMakeLists.txt | 1 - + src/part/CMakeLists.txt | 2 +- + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e1a23cb..f6fb447 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -26,7 +26,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS + CoreAddons + DocTools + Parts +- KIO + WidgetsAddons + IconThemes + ) +diff --git a/src/part/CMakeLists.txt b/src/part/CMakeLists.txt +index 65a31e7..0e70be8 100644 +--- a/src/part/CMakeLists.txt ++++ b/src/part/CMakeLists.txt +@@ -64,7 +64,7 @@ ki18n_wrap_ui(kgraphviewerlib_LIB_SRCS ${kgraphviewerprinting_UI} ) + + add_library(kgraphviewerlib ${kgraphviewerlib_LIB_SRCS}) + +-target_link_libraries(kgraphviewerlib Qt5::Core Qt5::Svg Qt5::PrintSupport Qt5::Svg KF5::KIOWidgets KF5::WidgetsAddons KF5::IconThemes KF5::XmlGui KF5::I18n KF5::Parts ${graphviz_LIBRARIES}) ++target_link_libraries(kgraphviewerlib Qt5::Core Qt5::Svg Qt5::PrintSupport Qt5::Svg KF5::WidgetsAddons KF5::IconThemes KF5::XmlGui KF5::I18n KF5::Parts ${graphviz_LIBRARIES}) + + set_target_properties(kgraphviewerlib PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${KGRAPHVIEWER_SOVERSION} OUTPUT_NAME kgraphviewer ) + +-- +2.16.1 + diff --git a/media-gfx/kgraphviewer/kgraphviewer-2.4.2.ebuild b/media-gfx/kgraphviewer/kgraphviewer-2.4.2.ebuild index 0a59fe5f203..1c0aaa24bcb 100644 --- a/media-gfx/kgraphviewer/kgraphviewer-2.4.2.ebuild +++ b/media-gfx/kgraphviewer/kgraphviewer-2.4.2.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 @@ -36,3 +36,5 @@ DEPEND="${COMMON_DEPEND} RDEPEND="${COMMON_DEPEND} !media-gfx/kgraphviewer:4 " + +PATCHES=( "${FILESDIR}/${P}-unused-dependency.patch" )