[csw-devel] SF.net SVN: gar:[4934] csw/mgar/pkg
ellson at users.sourceforge.net
ellson at users.sourceforge.net
Mon May 18 19:09:59 CEST 2009
Revision: 4934
http://gar.svn.sourceforge.net/gar/?rev=4934&view=rev
Author: ellson
Date: 2009-05-18 17:09:56 +0000 (Mon, 18 May 2009)
Log Message:
-----------
gts: Initial commit
Added Paths:
-----------
csw/mgar/pkg/gts/
csw/mgar/pkg/gts/branches/
csw/mgar/pkg/gts/tags/
csw/mgar/pkg/gts/trunk/
csw/mgar/pkg/gts/trunk/Makefile
csw/mgar/pkg/gts/trunk/checksums
csw/mgar/pkg/gts/trunk/files/
csw/mgar/pkg/gts/trunk/files/CSWgts.depend
csw/mgar/pkg/gts/trunk/files/CSWgts.gspec
csw/mgar/pkg/gts/trunk/files/gts-fabsf.diff
Property changes on: csw/mgar/pkg/gts/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/gts/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gts/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/gts/trunk/Makefile 2009-05-18 17:09:56 UTC (rev 4934)
@@ -0,0 +1,37 @@
+GARNAME = gts
+GARVERSION = 0.7.6
+CATEGORIES = lib
+
+DESCRIPTION = GNU Triangulated Surface Library
+define BLURB
+ This is the GTS library. GTS stands for the GNU Triangulated
+ Surface Library. It includes a number of useful functions to deal with
+ triangulated surfaces including, but not limited to, multi-resolution
+ models, Delaunay and Constrained Delaunay triangulations, set operations on
+ surfaces (intersection, union etc ...), bounding-boxes trees for efficient
+ collision and intersection detection, triangle strips generation for fast
+ rendering.
+endef
+
+MASTER_SITES = http://downloads.sourceforge.net/gts/
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += $(call admfiles,CSWgts,depend)
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+UPSTREAM_MASTER_SITES = http://gts.sourceforge.net/
+
+CONFIGURE_ARGS = $(DIRPATHS) --disable-glibtest
+
+PATCHFILES = gts-fabsf.diff
+
+BUILD64 = 1
+
+NO_ISAEXEC = 1
+MERGE_EXCLUDE_FILES = .*\.la
+
+
+include gar/category.mk
Added: csw/mgar/pkg/gts/trunk/checksums
===================================================================
--- csw/mgar/pkg/gts/trunk/checksums (rev 0)
+++ csw/mgar/pkg/gts/trunk/checksums 2009-05-18 17:09:56 UTC (rev 4934)
@@ -0,0 +1,4 @@
+d41d8cd98f00b204e9800998ecf8427e download/CSWgts.depend
+50ce35b206d8e90818979611d5565771 download/CSWgts.gspec
+9f710aefd2ed9b3cc1b1216171fc5a8a download/gts-0.7.6.tar.gz
+ca517f230f97cec42b980489ab4f24fa download/gts-fabsf.diff
Added: csw/mgar/pkg/gts/trunk/files/CSWgts.gspec
===================================================================
--- csw/mgar/pkg/gts/trunk/files/CSWgts.gspec (rev 0)
+++ csw/mgar/pkg/gts/trunk/files/CSWgts.gspec 2009-05-18 17:09:56 UTC (rev 4934)
@@ -0,0 +1,4 @@
+%var bitname gts
+%var pkgname CSWgts
+%include url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright url file://%{WORKSRC_FIRSTMOD}/COPYING
Added: csw/mgar/pkg/gts/trunk/files/gts-fabsf.diff
===================================================================
--- csw/mgar/pkg/gts/trunk/files/gts-fabsf.diff (rev 0)
+++ csw/mgar/pkg/gts/trunk/files/gts-fabsf.diff 2009-05-18 17:09:56 UTC (rev 4934)
@@ -0,0 +1,12 @@
+diff --speed-large-files --minimal -Nru gts-0.7.6.orig/src/tribox3.c gts-0.7.6/src/tribox3.c
+--- gts-0.7.6.orig/src/tribox3.c 2005-01-19 05:48:22.000000000 +0100
++++ gts-0.7.6/src/tribox3.c 2009-05-18 17:42:33.086787517 +0200
+@@ -19,6 +19,8 @@
+ #include <math.h>
+ #include <stdio.h>
+
++#define fabsf(fv) (float)fabs((double)(fv))
++
+ #define X 0
+ #define Y 1
+ #define Z 2
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list