pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics GTS stands for the GNU Triangulated Surface L...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/594179dfd782
branches:  trunk
changeset: 362680:594179dfd782
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon May 22 08:49:48 2017 +0000

description:
GTS stands for the GNU Triangulated Surface Library. It provides a set of
useful functions to deal with 3D surfaces meshed with interconnected
triangles.

A brief summary of its main features:
* Simple object-oriented structure giving easy access to topological
  properties.
* 2D dynamic Delaunay and constrained Delaunay triangulations.
* Robust geometric predicates (orientation, in circle) using fast adaptive
  floating point arithmetic.
* Robust set operations on surfaces (union, intersection, difference).
* Surface refinement and coarsening (multiresolution models).
* Dynamic view-independent continuous level-of-detail.
* Preliminary support for view-dependent level-of-detail.
* Bounding-boxes trees and Kd-trees for efficient point location and
  collision/intersection detection.
* Graph operations: traversal, graph partitioning.
* Metric operations (area, volume, curvature ...).
* Triangle strips generation for fast rendering.

diffstat:

 graphics/Makefile          |   3 ++-
 graphics/gts/DESCR         |  19 +++++++++++++++++++
 graphics/gts/Makefile      |  24 ++++++++++++++++++++++++
 graphics/gts/PLIST         |  17 +++++++++++++++++
 graphics/gts/buildlink3.mk |  15 +++++++++++++++
 graphics/gts/distinfo      |   5 +++++
 6 files changed, 82 insertions(+), 1 deletions(-)

diffs (117 lines):

diff -r a2ebb4a8f810 -r 594179dfd782 graphics/Makefile
--- a/graphics/Makefile Mon May 22 08:40:10 2017 +0000
+++ b/graphics/Makefile Mon May 22 08:49:48 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.762 2017/05/04 19:21:35 adam Exp $
+# $NetBSD: Makefile,v 1.763 2017/05/22 08:49:48 adam Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -224,6 +224,7 @@
 SUBDIR+=       gtkglext
 SUBDIR+=       gtkimageview
 SUBDIR+=       gtksee
+SUBDIR+=       gts
 SUBDIR+=       guetzli
 SUBDIR+=       guile-cairo
 SUBDIR+=       gwenview
diff -r a2ebb4a8f810 -r 594179dfd782 graphics/gts/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gts/DESCR        Mon May 22 08:49:48 2017 +0000
@@ -0,0 +1,19 @@
+GTS stands for the GNU Triangulated Surface Library. It provides a set of
+useful functions to deal with 3D surfaces meshed with interconnected
+triangles.
+
+A brief summary of its main features:
+* Simple object-oriented structure giving easy access to topological
+  properties.
+* 2D dynamic Delaunay and constrained Delaunay triangulations.
+* Robust geometric predicates (orientation, in circle) using fast adaptive
+  floating point arithmetic.
+* Robust set operations on surfaces (union, intersection, difference).
+* Surface refinement and coarsening (multiresolution models).
+* Dynamic view-independent continuous level-of-detail.
+* Preliminary support for view-dependent level-of-detail.
+* Bounding-boxes trees and Kd-trees for efficient point location and
+  collision/intersection detection.
+* Graph operations: traversal, graph partitioning.
+* Metric operations (area, volume, curvature ...).
+* Triangle strips generation for fast rendering.
diff -r a2ebb4a8f810 -r 594179dfd782 graphics/gts/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gts/Makefile     Mon May 22 08:49:48 2017 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/05/22 08:49:48 adam Exp $
+
+DISTNAME=      gts-0.7.6
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gts/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://gts.sourceforge.net/
+COMMENT=       GNU Triangulated Surface Library
+LICENSE=       gnu-gpl-v2
+
+#USE_LANGUAGES=                c c++
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake pkg-config
+GNU_CONFIGURE=         yes
+# it is not necessary to configure libtool
+CONFIGURE_ARGS+=       --with-tags=""
+PKGCONFIG_OVERRIDE+=   gts.pc.in
+
+CPPFLAGS+=     -I${BUILDLINK_PREFIX.netpbm}/include/netpbm
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/netpbm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a2ebb4a8f810 -r 594179dfd782 graphics/gts/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gts/PLIST        Mon May 22 08:49:48 2017 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2017/05/22 08:49:48 adam Exp $
+bin/delaunay
+bin/gts-config
+bin/gts2dxf
+bin/gts2oogl
+bin/gts2stl
+bin/gtscheck
+bin/gtscompare
+bin/gtstemplate
+bin/happrox
+bin/stl2gts
+bin/transform
+include/gts.h
+include/gtsconfig.h
+lib/libgts.la
+lib/pkgconfig/gts.pc
+share/aclocal/gts.m4
diff -r a2ebb4a8f810 -r 594179dfd782 graphics/gts/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gts/buildlink3.mk        Mon May 22 08:49:48 2017 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/05/22 08:49:48 adam Exp $
+
+BUILDLINK_TREE+=       gts
+
+.if !defined(GTS_BUILDLINK3_MK)
+GTS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gts+=    gts>=0.7.6
+BUILDLINK_PKGSRCDIR.gts?=      ../../graphics/gts
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/netpbm/buildlink3.mk"
+.endif # GTS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -gts
diff -r a2ebb4a8f810 -r 594179dfd782 graphics/gts/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gts/distinfo     Mon May 22 08:49:48 2017 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2017/05/22 08:49:48 adam Exp $
+
+SHA1 (gts-0.7.6.tar.gz) = 000720bebecf0b153eb28260bd30fbd979dcc040
+RMD160 (gts-0.7.6.tar.gz) = 2bfd4121412c16d63ee0aca65ccbc2601d6a7d51
+Size (gts-0.7.6.tar.gz) = 948847 bytes



Home | Main Index | Thread Index | Old Index