diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-09 03:26:59 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-09 03:26:59 +0000 |
commit | bb4029a559464f6c5d1d60e86f23e95c9e2d119c (patch) | |
tree | 3ed7e9cdc16f85239a0506d9451f9148dbb99700 /graphics | |
parent | 58015b3cb5dc62b550c98fcd8f75c4b17709d0ff (diff) | |
download | pkgsrc-bb4029a559464f6c5d1d60e86f23e95c9e2d119c.tar.gz |
Initial import of geomview:
Interactive geometry viewing program
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/geomview/Makefile | 23 | ||||
-rw-r--r-- | graphics/geomview/files/md5 | 3 | ||||
-rw-r--r-- | graphics/geomview/files/patch-sum | 8 | ||||
-rw-r--r-- | graphics/geomview/patches/patch-aa | 93 | ||||
-rw-r--r-- | graphics/geomview/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/geomview/patches/patch-ac | 13 | ||||
-rw-r--r-- | graphics/geomview/patches/patch-ad | 13 | ||||
-rw-r--r-- | graphics/geomview/patches/patch-ae | 12 | ||||
-rw-r--r-- | graphics/geomview/patches/patch-af | 12 | ||||
-rw-r--r-- | graphics/geomview/pkg/COMMENT | 1 | ||||
-rw-r--r-- | graphics/geomview/pkg/DESCR | 24 | ||||
-rw-r--r-- | graphics/geomview/pkg/PLIST | 165 |
12 files changed, 380 insertions, 0 deletions
diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile new file mode 100644 index 00000000000..2f0e697a6fd --- /dev/null +++ b/graphics/geomview/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/09 03:26:59 jtb Exp $ + +DISTNAME= geomview-1.8.0 +CATEGORIES= graphics math +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=geomview/} + +MAINTAINER= jtb@netbsd.org +HOMEPAGE= http://www.geomview.org + +GNU_CONFIGURE= YES +USE_X11= YES +USE_MOTIF= YES +USE_MESA= YES +EVAL_PREFIX+= MESA_PREFIX=Mesa LESSTIF_PREFIX=lesstif + +CONFIGURE_ARGS+= --without-xforms +CONFIGURE_ARGS+= --with-opengl=${MESA_PREFIX} +CONFIGURE_ARGS+= --with-motif=${LESSTIF_PREFIX} +CONFIGURE_ENV+= "CPPFLAGS=-Dunix -Dalloca=__builtin_alloca" + +INFO_FILES= geomview + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/geomview/files/md5 b/graphics/geomview/files/md5 new file mode 100644 index 00000000000..49cd192e3e8 --- /dev/null +++ b/graphics/geomview/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $ + +MD5 (geomview-1.8.0.tar.gz) = f925e7cf057ff9ea5bbecdc2331e3822 diff --git a/graphics/geomview/files/patch-sum b/graphics/geomview/files/patch-sum new file mode 100644 index 00000000000..4bdeabf2da1 --- /dev/null +++ b/graphics/geomview/files/patch-sum @@ -0,0 +1,8 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $ + +MD5 (patch-aa) = c1281e6fe4cbc73d8aa99a75bd4cf851 +MD5 (patch-ab) = 4c001c45aaf9c50a8e6185d7b53ca10c +MD5 (patch-ac) = d0895462c3d932a04c91b51d6ef769a5 +MD5 (patch-ad) = 8bbb7d781796ecd825cafbb0fc66477c +MD5 (patch-ae) = d1f43c237ab79b60f0f98fe0b40d94a0 +MD5 (patch-af) = 2d8ade926eb4de9cb830a96c23d52f18 diff --git a/graphics/geomview/patches/patch-aa b/graphics/geomview/patches/patch-aa new file mode 100644 index 00000000000..2b69f13270f --- /dev/null +++ b/graphics/geomview/patches/patch-aa @@ -0,0 +1,93 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $ + +--- configure.orig Sun Nov 19 23:20:25 2000 ++++ configure +@@ -2020,7 +2020,7 @@ + for geom_z in $geom_dirs ; do + geom_z=`eval echo $geom_z` + if test "$geom_z" != "" ; then +- geom_l_option="-L$geom_z" ++ geom_l_option="-R$geom_z -L$geom_z" + else + geom_l_option="" + fi +@@ -2069,7 +2069,7 @@ + for geom_z in $geom_dirs ; do + geom_z=`eval echo $geom_z` + if test "$geom_z" != "" ; then +- geom_l_option="-L$geom_z" ++ geom_l_option="-R$geom_z -L$geom_z" + else + geom_l_option="" + fi +@@ -2122,7 +2122,7 @@ + for geom_z in $geom_dirs ; do + geom_z=`eval echo $geom_z` + if test "$geom_z" != "" ; then +- geom_l_option="-L$geom_z" ++ geom_l_option="-R$geom_z -L$geom_z" + else + geom_l_option="" + fi +@@ -2190,7 +2190,7 @@ + for geom_z in $geom_dirs ; do + geom_z=`eval echo $geom_z` + if test "$geom_z" != "" ; then +- geom_l_option="-L$geom_z" ++ geom_l_option="-R$geom_z -L$geom_z" + else + geom_l_option="" + fi +@@ -2336,7 +2336,7 @@ + for geom_z in $geom_dirs ; do + geom_z=`eval echo $geom_z` + if test "$geom_z" != "" ; then +- geom_l_option="-L$geom_z" ++ geom_l_option="--R$geom_z L$geom_z" + else + geom_l_option="" + fi +@@ -2470,7 +2470,7 @@ + for geom_z in $geom_dirs ; do + geom_z=`eval echo $geom_z` + if test "$geom_z" != "" ; then +- geom_l_option="-L$geom_z" ++ geom_l_option="-R$geom_z -L$geom_z" + else + geom_l_option="" + fi +@@ -2527,7 +2527,7 @@ + for geom_z in $geom_dirs ; do + geom_z=`eval echo $geom_z` + if test "$geom_z" != "" ; then +- geom_l_option="-L$geom_z" ++ geom_l_option="-R$geom_z -L$geom_z" + else + geom_l_option="" + fi +@@ -2690,7 +2690,7 @@ + for geom_z in $geom_dirs ; do + geom_z=`eval echo $geom_z` + if test "$geom_z" != "" ; then +- geom_l_option="-L$geom_z" ++ geom_l_option="-R$geom_z -L$geom_z" + else + geom_l_option="" + fi +@@ -3118,6 +3118,7 @@ + cat > conftest.$ac_ext <<EOF + #line 3120 "configure" + #include "confdefs.h" ++#include <stdio.h> + #include <sys/socket.h> + int main() { + int s = socket(AF_UNIX, SOCK_STREAM, 0); +@@ -3362,7 +3363,7 @@ + moduledir="\$(exec_prefix)/bin" + + +-geomdatadir="\$(prefix)/data" ++geomdatadir="\$(prefix)/share/geomview/data" + + + # cache 'moduledir' and 'geomdatadir' so individual module configure scripts diff --git a/graphics/geomview/patches/patch-ab b/graphics/geomview/patches/patch-ab new file mode 100644 index 00000000000..e47fa4dc687 --- /dev/null +++ b/graphics/geomview/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $ + +--- src/lib/oogl/util/error.c.orig Thu Feb 8 23:58:53 2001 ++++ src/lib/oogl/util/error.c +@@ -102,7 +102,7 @@ + const char * + sperrno(unsigned int err) + { +-#if !defined(__FreeBSD__) && !defined(__GLIBC__) ++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__GLIBC__) + extern int sys_nerr; + extern char *sys_errlist[]; + #endif diff --git a/graphics/geomview/patches/patch-ac b/graphics/geomview/patches/patch-ac new file mode 100644 index 00000000000..969e3629826 --- /dev/null +++ b/graphics/geomview/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $ + +--- src/lib/oogl/util/futil.c.orig Fri Feb 9 01:08:25 2001 ++++ src/lib/oogl/util/futil.c +@@ -177,7 +177,7 @@ + #define _cnt __cnt + #endif + +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__NetBSD__) + #define _base _bf._base + #define _ptr _p + #define _cnt _r diff --git a/graphics/geomview/patches/patch-ad b/graphics/geomview/patches/patch-ad new file mode 100644 index 00000000000..954e75b09c5 --- /dev/null +++ b/graphics/geomview/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $ + +--- src/bin/geomview/common/comm.c.orig Fri Feb 9 02:09:35 2001 ++++ src/bin/geomview/common/comm.c +@@ -624,7 +624,7 @@ + char envbuf[10240]; + + if(otherpgrp) { +-#if defined(NeXT) || (defined(BSD) && !defined(__osf__)) || defined(__alpha__) ++#if defined(NeXT) || (defined(BSD) && !defined(__osf__)) || defined(__alpha__) || defined(__NetBSD__) + setpgrp(0,getpid()); + #else + setpgrp(); diff --git a/graphics/geomview/patches/patch-ae b/graphics/geomview/patches/patch-ae new file mode 100644 index 00000000000..c3d2dd10a0d --- /dev/null +++ b/graphics/geomview/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $ + +--- src/bin/togeomview/togeomview.c.orig Fri Feb 9 02:17:45 2001 ++++ src/bin/togeomview/togeomview.c +@@ -11,6 +11,7 @@ + #include <sys/errno.h> + #include <sys/socket.h> + #include <sys/un.h> ++#include <sys/param.h> + + #ifndef NeXT + #include <unistd.h> diff --git a/graphics/geomview/patches/patch-af b/graphics/geomview/patches/patch-af new file mode 100644 index 00000000000..0ea1d74580f --- /dev/null +++ b/graphics/geomview/patches/patch-af @@ -0,0 +1,12 @@ +$NetBSD: patch-af,v 1.1.1.1 2001/02/09 03:27:02 jtb Exp $ + +--- src/bin/geomutil/math2oogl/math2oogl.c.orig Fri Feb 9 02:22:10 2001 ++++ src/bin/geomutil/math2oogl/math2oogl.c +@@ -55,6 +55,7 @@ + #include <sys/file.h> + #include <sys/socket.h> + #include <sys/un.h> ++#include <sys/param.h> + #endif + #include <sys/errno.h> + #include <string.h> diff --git a/graphics/geomview/pkg/COMMENT b/graphics/geomview/pkg/COMMENT new file mode 100644 index 00000000000..1bcafe97b48 --- /dev/null +++ b/graphics/geomview/pkg/COMMENT @@ -0,0 +1 @@ +Interactive geometry viewing program diff --git a/graphics/geomview/pkg/DESCR b/graphics/geomview/pkg/DESCR new file mode 100644 index 00000000000..7eb4bb9b2b7 --- /dev/null +++ b/graphics/geomview/pkg/DESCR @@ -0,0 +1,24 @@ +Geomview is the product of an effort at the Geometry Center at the +University of Minnesota to provide interactive geometry software which +is particularly appropriate for mathematics research and education. +In particular, geomview can display things in hyperbolic and spherical +space as well as Euclidean space. + +Geomview allows multiple independently controllable objects and +cameras. It provides interactive control for motion, appearances +(including lighting, shading, and materials), picking on an +object, edge or vertex level, snapshots in SGI image file or +Renderman RIB format, and adding or deleting objects is provided +through direct mouse manipulation, control panels, and keyboard +shortcuts. External programs can drive desired aspects of the +viewer (such as continually loading changing geometry or +controlling the motion of certain objects) while allowing +interactive control of everything else. + +Geomview supports the following simple data types: polyhedra with +shared vertices (.off), quadrilaterals, rectangular meshes, +vectors, and Bezier surface patches of arbitrary degree including +rational patches. Object hierarchies can be constructed with +lists of objects and instances of object(s) transformed by one or +many 4x4 matrices. Arbitrary portions of changing hierarchies +may be transmitted by creating named references. diff --git a/graphics/geomview/pkg/PLIST b/graphics/geomview/pkg/PLIST new file mode 100644 index 00000000000..cc2e0ca8f3d --- /dev/null +++ b/graphics/geomview/pkg/PLIST @@ -0,0 +1,165 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/09 03:27:00 jtb Exp $ +bin/.geomview-animate +bin/.geomview-drawbdy +bin/animate +bin/anytooff +bin/anytoucd +bin/bdy +bin/bez2mesh +bin/clip +bin/drawbdy +bin/geomview +bin/gvx +bin/math2oogl +bin/offconsol +bin/oogl2rib +bin/oogl2vrml +bin/polymerge +bin/togeomview +bin/ucdtooff +bin/vrml2oogl +share/geomview/data/.geomview +share/geomview/data/cmap.fmap +share/geomview/data/geom/HingeCube +share/geomview/data/geom/HingeDiamond +share/geomview/data/geom/HingeDodec +share/geomview/data/geom/HingeLongcube +share/geomview/data/geom/HingeTetra +share/geomview/data/geom/HingeTriangle +share/geomview/data/geom/abstr.off +share/geomview/data/geom/alphabet.vect +share/geomview/data/geom/antoine0.oogl +share/geomview/data/geom/antoine1.oogl +share/geomview/data/geom/antoine2.oogl +share/geomview/data/geom/antoine3.oogl +share/geomview/data/geom/axes.list +share/geomview/data/geom/br2.grp +share/geomview/data/geom/br2.off +share/geomview/data/geom/br4.2 +share/geomview/data/geom/br4fd.grp +share/geomview/data/geom/br4fd.list +share/geomview/data/geom/cam.off +share/geomview/data/geom/camera-frustum +share/geomview/data/geom/catenoid +share/geomview/data/geom/cone.off +share/geomview/data/geom/csquare.quad +share/geomview/data/geom/cube +share/geomview/data/geom/cube.off +share/geomview/data/geom/diamond +share/geomview/data/geom/dodec +share/geomview/data/geom/dodec.off +share/geomview/data/geom/dodec.quad +share/geomview/data/geom/dodec.vect +share/geomview/data/geom/dodec2.off +share/geomview/data/geom/facecube.off +share/geomview/data/geom/flythrough_diagram.gv +share/geomview/data/geom/hdodec.off +share/geomview/data/geom/helicoid +share/geomview/data/geom/hypercube.off +share/geomview/data/geom/ico.grp +share/geomview/data/geom/icosa.off +share/geomview/data/geom/icosa.quad +share/geomview/data/geom/jungle.list +share/geomview/data/geom/klein8 +share/geomview/data/geom/link2.grp +share/geomview/data/geom/link8.grp +share/geomview/data/geom/moebius.4d.mesh +share/geomview/data/geom/mushroom.off +share/geomview/data/geom/nsquare.quad +share/geomview/data/geom/octa.off +share/geomview/data/geom/octant.bez +share/geomview/data/geom/office.oogl +share/geomview/data/geom/pieces/cube1.off +share/geomview/data/geom/pieces/linkA.bez +share/geomview/data/geom/pieces/linkB.bez +share/geomview/data/geom/polyhedra/cube +share/geomview/data/geom/polyhedra/cuboctahedron +share/geomview/data/geom/polyhedra/dodecahedron +share/geomview/data/geom/polyhedra/icosahedron +share/geomview/data/geom/polyhedra/icosidodecahedron +share/geomview/data/geom/polyhedra/octahedron +share/geomview/data/geom/polyhedra/rhombicosidodecahedron +share/geomview/data/geom/polyhedra/rhombicuboctahedron +share/geomview/data/geom/polyhedra/rhombitruncated_cubeoctahedron +share/geomview/data/geom/polyhedra/rhombitruncated_icosidodecahedron +share/geomview/data/geom/polyhedra/snub_cube +share/geomview/data/geom/polyhedra/snub_dodecahedron +share/geomview/data/geom/polyhedra/tetrahedron +share/geomview/data/geom/polyhedra/truncated_cube +share/geomview/data/geom/polyhedra/truncated_dodecahedron +share/geomview/data/geom/polyhedra/truncated_icosahedron +share/geomview/data/geom/polyhedra/truncated_octahedron +share/geomview/data/geom/polyhedra/truncated_tetrahedron +share/geomview/data/geom/ref.inst +share/geomview/data/geom/ref.list +share/geomview/data/geom/ref1.grp +share/geomview/data/geom/ref2.list +share/geomview/data/geom/sample.mesh +share/geomview/data/geom/sph12.mesh +share/geomview/data/geom/sphere.mesh +share/geomview/data/geom/spherical/dodecaplex.off +share/geomview/data/geom/spherical/flattorus.mesh +share/geomview/data/geom/spherical/hypercube.off +share/geomview/data/geom/spherical/octaplex.off +share/geomview/data/geom/spherical/orthoplex.off +share/geomview/data/geom/spherical/ruledtorus.mesh +share/geomview/data/geom/spherical/simplex.off +share/geomview/data/geom/spherical/tetraplex.off +share/geomview/data/geom/spherical/twosided.flattorus +share/geomview/data/geom/square.quad +share/geomview/data/geom/teapot.bez +share/geomview/data/geom/tent.mesh +share/geomview/data/geom/tetra +share/geomview/data/geom/tetra.off +share/geomview/data/geom/textured/Antenna.geom +share/geomview/data/geom/textured/GCGball +share/geomview/data/geom/textured/dodec.off +share/geomview/data/geom/textured/lunar-t.oogl +share/geomview/data/geom/textured/rabbitball +share/geomview/data/geom/textured/rabbits.ppm.gz +share/geomview/data/geom/textured/square.off +share/geomview/data/geom/textured/themi.bez +share/geomview/data/geom/torus.bez +share/geomview/data/geom/torus3.oogl +share/geomview/data/geom/torus8.oogl +share/geomview/data/geom/trapezoid.4d.off +share/geomview/data/geom/tref.mesh +share/geomview/data/geom/tref.off +share/geomview/data/geom/tri.4d.vect +share/geomview/data/geom/tri.vect +share/geomview/data/geom/triangle +share/geomview/data/geom/twosidedsquare.quad +share/geomview/data/geom/unit.sphere +share/geomview/data/geom/unitcube.off +share/geomview/data/geom/vertcube.off +share/geomview/data/geom/warp.inst +share/geomview/data/geom/wraptent.mesh +share/geomview/data/geom/xwyezed.vect +share/geomview/data/geom/xyz.grp +share/geomview/data/geom/xyz.vect +share/geomview/data/geom/ztent.mesh +@unexec install-info --delete --info-dir=%D/info %D/info/geomview +info/geomview +info/geomview-1 +info/geomview-2 +info/geomview-3 +info/geomview-4 +info/geomview-5 +info/geomview-6 +info/geomview-7 +@exec install-info --info-dir=%D/info %D/info/geomview +man/man1/anytooff.1 +man/man1/anytoucd.1 +man/man1/bdy.1 +man/man1/clip.1 +man/man1/geomview.1 +man/man1/offconsol.1 +man/man1/polymerge.1 +man/man1/togeomview.1 +man/man1/ucdtooff.1 +@dirrm share/geomview/data/geom/textured +@dirrm share/geomview/data/geom/spherical +@dirrm share/geomview/data/geom/polyhedra +@dirrm share/geomview/data/geom/pieces +@dirrm share/geomview/data/geom +@dirrm share/geomview/data |