[media-gfx/kgraphviewer] add graphviz-2.30 support
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DIST kgraphviewer-2.1.1.tar.gz 1409604 SHA256 5840e9dc0cc813c18c0b64aaf4346aeb95eefcc95d2c5068ff81a8f39c81f4b8 SHA512 b1d3b493351ebbc0875861e9ba764e7e8157a37bf1500cacd51fc15605f8ff202ecc07325c2fef89dfc92ccbdcf82c826962879e547cc32db01bf8af208827e8 WHIRLPOOL 7c5fea85bd499c9cd6535d6735c6ad99fba577b9d81a32bbe4166ddeb5328204e1328f459da2138434b874584c8f3f292082b95840732874781a625d67b44f77
|
||||
@@ -0,0 +1,32 @@
|
||||
From 470bf0a4774a600dbd958b781342589a337d8898 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Palimaka <kensington@gentoo.org>
|
||||
Date: Wed, 11 Jul 2012 01:58:00 +1000
|
||||
Subject: [PATCH] Fix build with boost-1.50
|
||||
|
||||
REVIEW: 105494
|
||||
---
|
||||
src/part/DotGraphParsingHelper.cpp | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/part/DotGraphParsingHelper.cpp b/src/part/DotGraphParsingHelper.cpp
|
||||
index 69cac49..7d46837 100644
|
||||
--- a/src/part/DotGraphParsingHelper.cpp
|
||||
+++ b/src/part/DotGraphParsingHelper.cpp
|
||||
@@ -26,10 +26,10 @@
|
||||
#include "graphedge.h"
|
||||
|
||||
#include <boost/throw_exception.hpp>
|
||||
-#include <boost/spirit/core.hpp>
|
||||
-#include <boost/spirit/utility/distinct.hpp>
|
||||
-#include <boost/spirit/utility/loops.hpp>
|
||||
-#include <boost/spirit/utility/confix.hpp>
|
||||
+#include <boost/spirit/include/classic_core.hpp>
|
||||
+#include <boost/spirit/include/classic_distinct.hpp>
|
||||
+#include <boost/spirit/include/classic_loops.hpp>
|
||||
+#include <boost/spirit/include/classic_confix.hpp>
|
||||
|
||||
|
||||
#include <iostream>
|
||||
--
|
||||
1.7.11.1
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
--- cmake/FindGraphViz.cmake~ 2010-11-12 16:07:15.000000000 +0800
|
||||
+++ cmake/FindGraphViz.cmake 2013-06-02 12:05:28.350114170 +0800
|
||||
@@ -29,7 +29,7 @@
|
||||
if ( NOT WIN32 )
|
||||
|
||||
find_package(PkgConfig)
|
||||
- pkg_check_modules( graphviz ${REQUIRED} libgvc libcdt libgraph libpathplan )
|
||||
+ pkg_check_modules( graphviz ${REQUIRED} libgvc libcdt libcgraph libpathplan )
|
||||
if ( graphviz_FOUND )
|
||||
set ( graphviz_INCLUDE_DIRECTORIES ${graphviz_INCLUDE_DIRS} )
|
||||
endif ( graphviz_FOUND )
|
||||
@@ -66,7 +66,7 @@
|
||||
)
|
||||
|
||||
find_library( graphviz_GRAPH_LIBRARY
|
||||
- NAMES graph
|
||||
+ NAMES cgraph
|
||||
PATHS
|
||||
${graphviz_LIBRARY_DIRS}
|
||||
/usr/local/lib64
|
||||
@@ -162,4 +162,4 @@
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set GRAPHVIZ_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
-find_package_handle_standard_args(GraphViz DEFAULT_MSG graphviz_LIBRARIES graphviz_INCLUDE_DIRECTORIES)
|
||||
\ No newline at end of file
|
||||
+find_package_handle_standard_args(GraphViz DEFAULT_MSG graphviz_LIBRARIES graphviz_INCLUDE_DIRECTORIES)
|
||||
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/kgraphviewer/kgraphviewer-2.1.1.ebuild,v 1.3 2012/07/10 16:32:16 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="ar be bg ca ca@valencia cs da de el en_GB eo es et eu fr ga gl hi hne
|
||||
hr is it ja km ku lt mai nb nds nl nn pa pl pt pt_BR ro ru se sk sv th tr uk vi
|
||||
zh_CN zh_TW"
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="A graphviz dot graph file viewer for KDE"
|
||||
HOMEPAGE="http://kde-apps.org/content/show.php?content=23999"
|
||||
SRC_URI="https://api.opensuse.org/public/source/home:milianw:kdeapps/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 FDL-1.2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
>=media-gfx/graphviz-2.30
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-libs/boost-1.38
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-boost-1.50.patch"
|
||||
"${FILESDIR}/kgraphviewer-2.1.1-graphviz-2.30.patch"
|
||||
)
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user