aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-02-08 15:09:40 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-02-08 15:09:40 +0000
commitdb2f1d53554ddedcab7477982dcb889b3a151be8 (patch)
treee57224a1bcdf5e928b190d164b9d458f561c16e5 /graphics
parent11edc1f4f328619f1cc277cbb4b67a05e54af89b (diff)
downloadports-db2f1d53554ddedcab7477982dcb889b3a151be8.tar.gz
ports-db2f1d53554ddedcab7477982dcb889b3a151be8.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/tulip/Makefile44
-rw-r--r--graphics/tulip/distinfo1
-rw-r--r--graphics/tulip/files/patch-CompleteGraph.cpp7
-rw-r--r--graphics/tulip/files/patch-FileSystem.cpp12
-rw-r--r--graphics/tulip/files/patch-RandomGraph.cpp7
-rw-r--r--graphics/tulip/files/patch-RandomSimpleGraph.cpp7
-rw-r--r--graphics/tulip/files/patch-RandomTree.cpp7
-rw-r--r--graphics/tulip/files/patch-RandomTreeGeneral.cpp7
-rw-r--r--graphics/tulip/files/patch-SmallWorldGraph.cpp7
-rw-r--r--graphics/tulip/files/patch-TemplateFactory.cxx11
-rw-r--r--graphics/tulip/files/patch-completeBinaryTree.cpp7
-rw-r--r--graphics/tulip/files/patch-config.h.in12
-rw-r--r--graphics/tulip/pkg-comment1
-rw-r--r--graphics/tulip/pkg-descr14
-rw-r--r--graphics/tulip/pkg-plist111
16 files changed, 256 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 772ccf2c6bf1..c5bef9819358 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -381,6 +381,7 @@
SUBDIR += totem
SUBDIR += transcode
SUBDIR += truevision
+ SUBDIR += tulip
SUBDIR += txtmerge
SUBDIR += urt
SUBDIR += utah-glx
diff --git a/graphics/tulip/Makefile b/graphics/tulip/Makefile
new file mode 100644
index 000000000000..8de997a80f47
--- /dev/null
+++ b/graphics/tulip/Makefile
@@ -0,0 +1,44 @@
+# ex:ts=8
+# Ports collection makefile for: tulip
+# Date created: Feb 8, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= tulip
+PORTVERSION= 1.2.2
+CATEGORIES= graphics
+MASTER_SITES= http://dept-info.labri.fr/~auber/projects/tulip/x345/
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
+ png:${PORTSDIR}/graphics/png \
+ gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+USE_REINPLACE= yes
+USE_MESA= yes
+USE_QT_VER= 3
+CFLAGS+= -DHAVE_DECL_GETOPT
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt -lcompat"
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|-lqt|-lqt-mt|" ${WRKSRC}/configure
+ @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
+ -e "s|malloc\.h|stdlib.h|"
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
+ -e "s|-ldl||" -e "s|-lpthread|${PTHREAD_LIBS}|"
+
+post-configure:
+ @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} \
+ -e "s|-D_GETOPT_H||"
+
+pre-build:
+ @(cd ${WRKSRC} && ${GMAKE} clean)
+
+.include <bsd.port.mk>
diff --git a/graphics/tulip/distinfo b/graphics/tulip/distinfo
new file mode 100644
index 000000000000..1687a16f7868
--- /dev/null
+++ b/graphics/tulip/distinfo
@@ -0,0 +1 @@
+MD5 (tulip-1.2.2.tar.gz) = e8273b535aeb4434d8f8c71aa56c06fb
diff --git a/graphics/tulip/files/patch-CompleteGraph.cpp b/graphics/tulip/files/patch-CompleteGraph.cpp
new file mode 100644
index 000000000000..b681060b2b53
--- /dev/null
+++ b/graphics/tulip/files/patch-CompleteGraph.cpp
@@ -0,0 +1,7 @@
+--- plugins/import/CompleteGraph.cpp.orig Fri Jan 10 13:01:54 2003
++++ plugins/import/CompleteGraph.cpp Fri Jan 10 13:02:03 2003
+@@ -1,3 +1,4 @@
++#include <sys/types.h>
+ #include <sys/timeb.h>
+ #include<qinputdialog.h>
+ #include "TulipPlugin.h"
diff --git a/graphics/tulip/files/patch-FileSystem.cpp b/graphics/tulip/files/patch-FileSystem.cpp
new file mode 100644
index 000000000000..55a5e2019e74
--- /dev/null
+++ b/graphics/tulip/files/patch-FileSystem.cpp
@@ -0,0 +1,12 @@
+--- plugins/import/FileSystem.cpp.orig Fri Jan 10 12:54:43 2003
++++ plugins/import/FileSystem.cpp Fri Jan 10 12:56:18 2003
+@@ -1,8 +1,8 @@
++#include <sys/types.h>
+ #include <sys/timeb.h>
+ #include<qfiledialog.h>
+ #include "TulipPlugin.h"
+ #include <sys/stat.h>
+-#include <sys/types.h>
+ #include <dirent.h>
+
+ struct FileSystem:public ImportModule
diff --git a/graphics/tulip/files/patch-RandomGraph.cpp b/graphics/tulip/files/patch-RandomGraph.cpp
new file mode 100644
index 000000000000..335f12696637
--- /dev/null
+++ b/graphics/tulip/files/patch-RandomGraph.cpp
@@ -0,0 +1,7 @@
+--- plugins/import/RandomGraph.cpp.orig Fri Jan 10 12:57:54 2003
++++ plugins/import/RandomGraph.cpp Fri Jan 10 12:58:04 2003
+@@ -1,3 +1,4 @@
++#include <sys/types.h>
+ #include <sys/timeb.h>
+ #include<qinputdialog.h>
+ #include "TulipPlugin.h"
diff --git a/graphics/tulip/files/patch-RandomSimpleGraph.cpp b/graphics/tulip/files/patch-RandomSimpleGraph.cpp
new file mode 100644
index 000000000000..273b84878b48
--- /dev/null
+++ b/graphics/tulip/files/patch-RandomSimpleGraph.cpp
@@ -0,0 +1,7 @@
+--- plugins/import/RandomSimpleGraph.cpp.orig Fri Jan 10 12:59:47 2003
++++ plugins/import/RandomSimpleGraph.cpp Fri Jan 10 12:59:59 2003
+@@ -1,3 +1,4 @@
++#include <sys/types.h>
+ #include <sys/timeb.h>
+ #include<qinputdialog.h>
+ #include "TulipPlugin.h"
diff --git a/graphics/tulip/files/patch-RandomTree.cpp b/graphics/tulip/files/patch-RandomTree.cpp
new file mode 100644
index 000000000000..e7c9f52d50e4
--- /dev/null
+++ b/graphics/tulip/files/patch-RandomTree.cpp
@@ -0,0 +1,7 @@
+--- plugins/import/RandomTree.cpp.orig Fri Jan 10 13:04:39 2003
++++ plugins/import/RandomTree.cpp Fri Jan 10 13:04:46 2003
+@@ -1,3 +1,4 @@
++#include <sys/types.h>
+ #include <sys/timeb.h>
+ #include<qinputdialog.h>
+ #include "TulipPlugin.h"
diff --git a/graphics/tulip/files/patch-RandomTreeGeneral.cpp b/graphics/tulip/files/patch-RandomTreeGeneral.cpp
new file mode 100644
index 000000000000..a27a33495d32
--- /dev/null
+++ b/graphics/tulip/files/patch-RandomTreeGeneral.cpp
@@ -0,0 +1,7 @@
+--- plugins/import/RandomTreeGeneral.cpp.orig Fri Jan 10 13:05:27 2003
++++ plugins/import/RandomTreeGeneral.cpp Fri Jan 10 13:05:35 2003
+@@ -1,3 +1,4 @@
++#include <sys/types.h>
+ #include <sys/timeb.h>
+ #include <qinputdialog.h>
+ #include "TulipPlugin.h"
diff --git a/graphics/tulip/files/patch-SmallWorldGraph.cpp b/graphics/tulip/files/patch-SmallWorldGraph.cpp
new file mode 100644
index 000000000000..b0ea863cf51d
--- /dev/null
+++ b/graphics/tulip/files/patch-SmallWorldGraph.cpp
@@ -0,0 +1,7 @@
+--- plugins/import/SmallWorldGraph.cpp.orig Fri Jan 10 13:06:05 2003
++++ plugins/import/SmallWorldGraph.cpp Fri Jan 10 13:06:13 2003
+@@ -1,3 +1,4 @@
++#include <sys/types.h>
+ #include <sys/timeb.h>
+ #include<qinputdialog.h>
+ #include "TulipPlugin.h"
diff --git a/graphics/tulip/files/patch-TemplateFactory.cxx b/graphics/tulip/files/patch-TemplateFactory.cxx
new file mode 100644
index 000000000000..7853c5568108
--- /dev/null
+++ b/graphics/tulip/files/patch-TemplateFactory.cxx
@@ -0,0 +1,11 @@
+--- library/include/cxx/TemplateFactory.cxx.orig Fri Jan 10 12:29:37 2003
++++ library/include/cxx/TemplateFactory.cxx Fri Jan 10 12:30:17 2003
+@@ -41,7 +41,7 @@
+ else
+ {
+ createObj =(func) dlsym(handle, "_creator");
+- if ((error=dlerror())!=0)
++ if ((error=(char*)dlerror())!=0)
+ {
+ dlclose(handle);
+ if (loader!=0) loader->aborted(std::string(namelist[n]->d_name),std::string(error));
diff --git a/graphics/tulip/files/patch-completeBinaryTree.cpp b/graphics/tulip/files/patch-completeBinaryTree.cpp
new file mode 100644
index 000000000000..16a8934d9cba
--- /dev/null
+++ b/graphics/tulip/files/patch-completeBinaryTree.cpp
@@ -0,0 +1,7 @@
+--- plugins/import/completeBinaryTree.cpp.orig Fri Jan 10 13:06:51 2003
++++ plugins/import/completeBinaryTree.cpp Fri Jan 10 13:07:31 2003
+@@ -1,3 +1,4 @@
++#include <sys/types.h>
+ #include <sys/timeb.h>
+ #include<qinputdialog.h>
+ #include "TulipPlugin.h"
diff --git a/graphics/tulip/files/patch-config.h.in b/graphics/tulip/files/patch-config.h.in
new file mode 100644
index 000000000000..b80366aa620f
--- /dev/null
+++ b/graphics/tulip/files/patch-config.h.in
@@ -0,0 +1,12 @@
+--- config.h.in.orig Sat Jan 11 01:10:36 2003
++++ config.h.in Sat Jan 11 01:10:42 2003
+@@ -34,9 +34,6 @@
+ /* Define to 1 if you have the <stdint.h> header file. */
+ #undef HAVE_STDINT_H
+
+-/* Define to 1 if you have the <stdlib.h> header file. */
+-#undef HAVE_STDLIB_H
+-
+ /* Define to 1 if you have the <strings.h> header file. */
+ #undef HAVE_STRINGS_H
+
diff --git a/graphics/tulip/pkg-comment b/graphics/tulip/pkg-comment
new file mode 100644
index 000000000000..40dd59ff3846
--- /dev/null
+++ b/graphics/tulip/pkg-comment
@@ -0,0 +1 @@
+A system dedicated to the visualization of huge graphs
diff --git a/graphics/tulip/pkg-descr b/graphics/tulip/pkg-descr
new file mode 100644
index 000000000000..94ae50e6e940
--- /dev/null
+++ b/graphics/tulip/pkg-descr
@@ -0,0 +1,14 @@
+Tulip software is a system dedicated to the visualization of huge graphs. It
+manages graphs with a number of elements(node and edges) up to 500.000 on a
+personal computer(PIII 600, with 256mo). Its SuperGraph technology architecture
+enables to do the following things :
+ * 3D visualizations
+ * 3D modifications
+ * Plug-in support for easy evolution
+ * Building of clusters and navigation into it
+ * Automatic drawing of graphs
+ * Automatic clustering of graphs
+ * Automatic selection of elements
+ * Automatic Metric coloration of graphs
+
+WWW: http://www.tulip-software.org/
diff --git a/graphics/tulip/pkg-plist b/graphics/tulip/pkg-plist
new file mode 100644
index 000000000000..0481dc5c03fa
--- /dev/null
+++ b/graphics/tulip/pkg-plist
@@ -0,0 +1,111 @@
+bin/Tulip
+bin/tlprender
+lib/libtlp.a
+lib/libtlp.la
+lib/libtlp.so
+lib/libtlp.so.0
+lib/tlp/bitmaps/Fonts.bmp
+lib/tlp/bitmaps/but1.xpm
+lib/tlp/bitmaps/but2.xpm
+lib/tlp/bitmaps/but3.xpm
+lib/tlp/bitmaps/logo32x32.bmp
+lib/tlp/plugins/clustering/arity.so
+lib/tlp/plugins/clustering/aritysegment.so
+lib/tlp/plugins/clustering/convol.so
+lib/tlp/plugins/clustering/equalvalues.so
+lib/tlp/plugins/clustering/geometric.so
+lib/tlp/plugins/clustering/hierarchical.so
+lib/tlp/plugins/clustering/quotientclustering.so
+lib/tlp/plugins/clustering/segment.so
+lib/tlp/plugins/clustering/sizen.so
+lib/tlp/plugins/colors/histogrammapping.so
+lib/tlp/plugins/colors/linearmapping.so
+lib/tlp/plugins/export/generic.so
+lib/tlp/plugins/export/gml.so
+lib/tlp/plugins/export/tlp.so
+lib/tlp/plugins/glyph/cone.so
+lib/tlp/plugins/glyph/cube.so
+lib/tlp/plugins/glyph/cubeoutlined.so
+lib/tlp/plugins/glyph/cylinder.so
+lib/tlp/plugins/glyph/sphere.so
+lib/tlp/plugins/import/adjacencymatrix.so
+lib/tlp/plugins/import/completebinary.so
+lib/tlp/plugins/import/completegraph.so
+lib/tlp/plugins/import/filesystem.so
+lib/tlp/plugins/import/gml.so
+lib/tlp/plugins/import/poset.so
+lib/tlp/plugins/import/randomgraph.so
+lib/tlp/plugins/import/randomsimplegraph.so
+lib/tlp/plugins/import/randomtree.so
+lib/tlp/plugins/import/randomtreegeneral.so
+lib/tlp/plugins/import/smallworld.so
+lib/tlp/plugins/import/tlp.so
+lib/tlp/plugins/layout/circular.so
+lib/tlp/plugins/layout/conetree.so
+lib/tlp/plugins/layout/gem.so
+lib/tlp/plugins/layout/generalgraph.so
+lib/tlp/plugins/layout/generalgraph3d.so
+lib/tlp/plugins/layout/generalgraphbox.so
+lib/tlp/plugins/layout/random.so
+lib/tlp/plugins/layout/springelectrical.so
+lib/tlp/plugins/layout/sugiyama.so
+lib/tlp/plugins/layout/tree3d.so
+lib/tlp/plugins/layout/treeleaf.so
+lib/tlp/plugins/layout/treemap.so
+lib/tlp/plugins/layout/treeradial.so
+lib/tlp/plugins/layout/treewalker.so
+lib/tlp/plugins/layout/treewalkerbox.so
+lib/tlp/plugins/layout/tutte.so
+lib/tlp/plugins/metric/arity.so
+lib/tlp/plugins/metric/barycenter.so
+lib/tlp/plugins/metric/cluster.so
+lib/tlp/plugins/metric/connectedandtreecomponnents.so
+lib/tlp/plugins/metric/connectedcomponnents.so
+lib/tlp/plugins/metric/daglevel.so
+lib/tlp/plugins/metric/id.so
+lib/tlp/plugins/metric/leaf.so
+lib/tlp/plugins/metric/node.so
+lib/tlp/plugins/metric/pathlength.so
+lib/tlp/plugins/metric/pathsum.so
+lib/tlp/plugins/metric/random.so
+lib/tlp/plugins/metric/segment.so
+lib/tlp/plugins/metric/spreadingactivation.so
+lib/tlp/plugins/metric/spreadinginterpolation.so
+lib/tlp/plugins/metric/strahler.so
+lib/tlp/plugins/metric/strahlerall.so
+lib/tlp/plugins/metric/strongcomponnet.so
+lib/tlp/plugins/metric/treearitymax.so
+lib/tlp/plugins/metric/viennot.so
+lib/tlp/plugins/selection/inducedsubgraph.so
+lib/tlp/plugins/selection/reachable.so
+lib/tlp/plugins/selection/spanningdag.so
+lib/tlp/plugins/selection/spanningtree.so
+lib/tlp/plugins/sizes/AutoSize.so
+lib/tlp/plugins/sizes/fittolabels.so
+lib/tlp/samples/gml/GeneralPlanarGraph.gml
+lib/tlp/samples/gml/dag50nodes.gml
+lib/tlp/samples/gml/pussar.gml
+lib/tlp/samples/matrix/ex1.mat
+lib/tlp/samples/posets/posTest.pst
+lib/tlp/samples/tlp/CrossReduc.Demo.tlp
+lib/tlp/samples/tlp/MetaGraph.tlp
+lib/tlp/samples/tlp/SimpleCurve.Demo.tlp
+lib/tlp/samples/tlp/Tree_11259_Nodes.demo.tlp
+lib/tlp/samples/tlp/Web.labri.Demo.tlp
+lib/tlp/samples/tlp/graphSimple.144.245.tlp
+@dirrm lib/tlp/samples/tlp
+@dirrm lib/tlp/samples/posets
+@dirrm lib/tlp/samples/matrix
+@dirrm lib/tlp/samples/gml
+@dirrm lib/tlp/samples
+@dirrm lib/tlp/plugins/sizes
+@dirrm lib/tlp/plugins/selection
+@dirrm lib/tlp/plugins/metric
+@dirrm lib/tlp/plugins/layout
+@dirrm lib/tlp/plugins/import
+@dirrm lib/tlp/plugins/glyph
+@dirrm lib/tlp/plugins/export
+@dirrm lib/tlp/plugins/colors
+@dirrm lib/tlp/plugins/clustering
+@dirrm lib/tlp/plugins
+@dirrm lib/tlp/bitmaps