diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-03-20 19:40:05 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-03-20 19:40:05 +0000 |
commit | 75b1edfb1c3b8da0108dd78a679ba7bca08d91af (patch) | |
tree | 50d508405babaabc76a434892992b4c4ffbe3c93 /sci-visualization | |
parent | version bump (diff) | |
download | gentoo-2-75b1edfb1c3b8da0108dd78a679ba7bca08d91af.tar.gz gentoo-2-75b1edfb1c3b8da0108dd78a679ba7bca08d91af.tar.bz2 gentoo-2-75b1edfb1c3b8da0108dd78a679ba7bca08d91af.zip |
Initial import from the science overlay to the main tree, with a patch for graphviz > 2.22 from Guillaume Horel, bug #262595
(Portage version: 2.2_rc25/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/ggobi/ChangeLog | 15 | ||||
-rw-r--r-- | sci-visualization/ggobi/files/ggobi-2.1.8-graphviz.patch | 14 | ||||
-rw-r--r-- | sci-visualization/ggobi/ggobi-2.1.8.ebuild | 42 | ||||
-rw-r--r-- | sci-visualization/ggobi/metadata.xml | 12 |
4 files changed, 83 insertions, 0 deletions
diff --git a/sci-visualization/ggobi/ChangeLog b/sci-visualization/ggobi/ChangeLog new file mode 100644 index 000000000000..e00ae5fe3ce3 --- /dev/null +++ b/sci-visualization/ggobi/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for sci-visualization/ggobi +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/ggobi/ChangeLog,v 1.1 2009/03/20 19:40:05 bicatali Exp $ + +*ggobi-2.1.8 (20 Mar 2009) + + 20 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org> + +files/ggobi-2.1.8-graphviz.patch, +metadata.xml, +ggobi-2.1.8.ebuild: + Initial import from the science overlay to the main tree, with a patch for + graphviz > 2.22 from Guillaume Horel, bug #262595 + + 29 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> + +sci-visualization/ggobi/metadata.xml: + Initial import + diff --git a/sci-visualization/ggobi/files/ggobi-2.1.8-graphviz.patch b/sci-visualization/ggobi/files/ggobi-2.1.8-graphviz.patch new file mode 100644 index 000000000000..ac7313381bee --- /dev/null +++ b/sci-visualization/ggobi/files/ggobi-2.1.8-graphviz.patch @@ -0,0 +1,14 @@ +diff -urN ggobi-2.1.8-orig/plugins/GraphLayout/graphviz.c ggobi-2.1.8/plugins/GraphLayout/graphviz.c +--- ggobi-2.1.8-orig/plugins/GraphLayout/graphviz.c 2009-03-15 15:03:18.000000000 -0400 ++++ ggobi-2.1.8/plugins/GraphLayout/graphviz.c 2009-03-15 15:04:30.000000000 -0400 +@@ -267,8 +267,8 @@ + m = visible[i]; + name = (gchar *) g_array_index (d->rowlab, gchar *, m); + node = agfindnode (graph, name); +- pos[i][0] = (gdouble) ND_coord_i(node).x; +- pos[i][1] = (gdouble) ND_coord_i(node).y; ++ pos[i][0] = (gdouble) ND_coord(node).x; ++ pos[i][1] = (gdouble) ND_coord(node).y; + } + + } else if (layout_type == TWOPI_LAYOUT) { diff --git a/sci-visualization/ggobi/ggobi-2.1.8.ebuild b/sci-visualization/ggobi/ggobi-2.1.8.ebuild new file mode 100644 index 000000000000..caffe975ed65 --- /dev/null +++ b/sci-visualization/ggobi/ggobi-2.1.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/ggobi/ggobi-2.1.8.ebuild,v 1.1 2009/03/20 19:40:05 bicatali Exp $ + +EAPI=2 +inherit eutils + +DESCRIPTION="Visualization program for exploring high-dimensional data" +HOMEPAGE="http://www.ggobi.org" +SRC_URI="http://www.ggobi.org/downloads/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="minimal" + +RDEPEND=">=media-gfx/graphviz-2.6 + >=x11-libs/gtk+-2.6 + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + has_version ">=media-gfx/graphviz-2.22" && \ + epatch "${FILESDIR}"/${P}-graphviz.patch +} + +src_configure() { + econf $(use_with !minimal all-plugins) +} + +src_compile() { + emake || die "emake failed" + # generate default configuration + emake ggobirc || die "ggobi configuration generation failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + insinto /etc/xdg/ggobi + doins ggobirc || die +} diff --git a/sci-visualization/ggobi/metadata.xml b/sci-visualization/ggobi/metadata.xml new file mode 100644 index 000000000000..0148f71eb90d --- /dev/null +++ b/sci-visualization/ggobi/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <longdescription lang="en"> + GGobi is an open source visualization program for exploring + high-dimensional data. It provides highly dynamic and interactive + graphics such as tours, as well as familiar graphics such as the + scatterplot, barchart and parallel coordinates plots. Plots are + interactive and linked with brushing and identification. + </longdescription> +</pkgmetadata> |