[64669] trunk/dports/science
adfernandes at macports.org
adfernandes at macports.org
Sat Mar 13 10:55:02 PST 2010
Revision: 64669
http://trac.macports.org/changeset/64669
Author: adfernandes at macports.org
Date: 2010-03-13 10:55:01 -0800 (Sat, 13 Mar 2010)
Log Message:
-----------
new port: science/ggobi; ticket #24041; a visualization sytem for high-dimensional data
Added Paths:
-----------
trunk/dports/science/ggobi/
trunk/dports/science/ggobi/Portfile
trunk/dports/science/ggobi/files/
trunk/dports/science/ggobi/files/patch-plugins-GraphLayout-graphviz.patch
trunk/dports/science/ggobi/files/patch-src-barchart.diff
trunk/dports/science/ggobi/files/patch-src-texture.diff
Added: trunk/dports/science/ggobi/Portfile
===================================================================
--- trunk/dports/science/ggobi/Portfile (rev 0)
+++ trunk/dports/science/ggobi/Portfile 2010-03-13 18:55:01 UTC (rev 64669)
@@ -0,0 +1,35 @@
+# $Id$
+
+PortSystem 1.0
+
+name ggobi
+version 2.1.8
+categories science
+maintainers adfernandes openmaintainer
+
+description An open source visualization program \
+ for exploring high-dimensional data.
+
+long_description 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.
+
+platforms darwin
+
+homepage http://www.ggobi.org/
+master_sites http://www.ggobi.org/downloads/
+checksums sha1 62946881137b9262141961464bfe3c0090cc5b32
+use_bzip2 yes
+
+depends_lib port:gtk2 port:libxml2 port:gob2 port:graphviz
+
+configure.args --with-all-plugins
+
+patchfiles patch-src-texture.diff patch-src-barchart.diff \
+ patch-plugins-GraphLayout-graphviz.patch
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex "<strong>(\\d\\.\\d\\.\\d)</strong>"
Property changes on: trunk/dports/science/ggobi/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/science/ggobi/files/patch-plugins-GraphLayout-graphviz.patch
===================================================================
--- trunk/dports/science/ggobi/files/patch-plugins-GraphLayout-graphviz.patch (rev 0)
+++ trunk/dports/science/ggobi/files/patch-plugins-GraphLayout-graphviz.patch 2010-03-13 18:55:01 UTC (rev 64669)
@@ -0,0 +1,13 @@
+--- plugins/GraphLayout/graphviz.c 2009-03-15 15:03:18.000000000 -0400
++++ 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) {
Added: trunk/dports/science/ggobi/files/patch-src-barchart.diff
===================================================================
--- trunk/dports/science/ggobi/files/patch-src-barchart.diff (rev 0)
+++ trunk/dports/science/ggobi/files/patch-src-barchart.diff 2010-03-13 18:55:01 UTC (rev 64669)
@@ -0,0 +1,12 @@
+--- src/barchart.c 2008-08-11 10:16:06.000000000 -0400
++++ src/barchart.c 2010-03-11 15:33:59.000000000 -0500
+@@ -1321,7 +1321,7 @@
+ indx = (gint *) g_malloc (ny * sizeof (gint));
+
+ /*
+- * gy is needed solely for the psort routine: psort is used by
++ * gy is needed solely for the p_sort routine: p_sort is used by
+ * qsort to put an index vector in the order that yy will assume.
+ */
+ gg->p1d.gy = (gfloat *) g_malloc (ny * sizeof (gfloat));
+diff -uNr ggobi-2.1.8.orig/src/texture.c ggobi-2.1.8/src/texture.c
Added: trunk/dports/science/ggobi/files/patch-src-texture.diff
===================================================================
--- trunk/dports/science/ggobi/files/patch-src-texture.diff (rev 0)
+++ trunk/dports/science/ggobi/files/patch-src-texture.diff 2010-03-13 18:55:01 UTC (rev 64669)
@@ -0,0 +1,37 @@
+--- src/texture.c 2008-02-13 08:49:51.000000000 -0500
++++ src/texture.c 2010-03-11 15:34:17.000000000 -0500
+@@ -39,14 +39,14 @@
+
+ /*
+ This variable is used as a temporary global value which
+- is used to communicate with qsort and psort since we have no
++ is used to communicate with qsort and p_sort since we have no
+ provision from textur to pass additional arguments.
+
+ In a multi-threaded version, we would need to protect this.
+ */
+ static ggobid *CurrentGGobi;
+ gint
+-psort (const void *arg1, const void *arg2)
++p_sort (const void *arg1, const void *arg2)
+ {
+ ggobid *gg = CurrentGGobi;
+
+@@ -195,7 +195,7 @@
+
+ indx = (gint *) g_malloc (ny * sizeof (gint));
+ /*
+- * gy is needed solely for the psort routine: psort is used by
++ * gy is needed solely for the p_sort routine: p_sort is used by
+ * qsort to put an index vector in the order that yy will assume.
+ */
+ gg->p1d.gy = (gfloat *) g_malloc (ny * sizeof (gfloat));
+@@ -208,7 +208,7 @@
+
+ CurrentGGobi = gg;
+
+- qsort ((void *) indx, (gsize) ny, sizeof (gint), psort);
++ qsort ((void *) indx, (gsize) ny, sizeof (gint), p_sort);
+ qsort ((void *) yy, (gsize) ny, sizeof (gfloat), fcompare);
+ CurrentGGobi = NULL;
+ /*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100313/7911fa2d/attachment.html>
More information about the macports-changes
mailing list