summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-03-12 16:07:06 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-03-12 16:15:22 +1100
commit798bbf6d3cc6e43543d2206cf5b38fca634cf637 (patch)
tree72a42d3a232db69445f7676d6d46a0efabac3cd2 /media-gfx/kgraphviewer
parentdev-libs/boost-1.65.0: ppc stable, bug 644808 (diff)
downloadgentoo-798bbf6d3cc6e43543d2206cf5b38fca634cf637.tar.gz
gentoo-798bbf6d3cc6e43543d2206cf5b38fca634cf637.tar.bz2
gentoo-798bbf6d3cc6e43543d2206cf5b38fca634cf637.zip
media-gfx/kgraphviewer: backport patch from upstream removing unused dependency
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-gfx/kgraphviewer')
-rw-r--r--media-gfx/kgraphviewer/files/kgraphviewer-2.4.2-unused-dependency.patch38
-rw-r--r--media-gfx/kgraphviewer/kgraphviewer-2.4.2.ebuild4
2 files changed, 41 insertions, 1 deletions
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 000000000000..32dc4a084c8d
--- /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 <kensington@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 0a59fe5f203c..1c0aaa24bcb7 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" )