[gts] 02/25: Import Debian patch 0.5.1-1
Andreas Tille
tille at debian.org
Tue Jan 31 12:40:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository gts.
commit 23b0cb9ece1c78a90c8e825d2ae762acbb4f459d
Author: Marcelo E. Magallon <mmagallo at debian.org>
Date: Mon Nov 12 08:34:33 2001 +0100
Import Debian patch 0.5.1-1
---
debian/README.Debian | 8 ++++
debian/changelog | 52 ++++++++++++++++++++++++++
debian/control | 35 ++++++++++++++++++
debian/copyright | 11 ++++++
debian/rules | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++
src/rounding.h | 13 ++++++-
tools/srf2oogl.1 | 56 ++++++++++++++++++++++++++++
7 files changed, 274 insertions(+), 2 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..c50fbe7
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+GTS for Debian
+--------------
+
+This is the Debianized version of GTS, the GNU Triangulated Surface
+Library. At the moment there's no shared library package, only
+development and documentation ones.
+
+ -- Marcelo E. Magallon <mmagallo at debian.org>, Sat, 19 Feb 2000 21:18:38 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b5805d0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,52 @@
+gts (0.5.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Marcelo E. Magallon <mmagallo at debian.org> Mon, 12 Nov 2001 08:34:33 +0100
+
+gts (0.5.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control, debian/rules: Use autotools-dev
+
+ -- Marcelo E. Magallon <mmagallo at debian.org> Sun, 11 Nov 2001 20:06:25 +0100
+
+gts (0.4.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Marcelo E. Magallon <mmagallo at debian.org> Thu, 1 Feb 2001 00:41:28 +0100
+
+gts (0.3.0-2) unstable; urgency=low
+
+ * Applied patches from Christopher Chimelis (sorry about the delay,
+ somehow I missed the report) (closes: bug#77260)
+
+ -- Marcelo E. Magallon <mmagallo at debian.org> Sun, 17 Dec 2000 13:49:20 +0100
+
+gts (0.3.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * src/predicate{_init,}.c: special case ARM. Other architectures seem
+ fine. (closes: bug#62124)
+
+ -- Marcelo E. Magallon <mmagallo at debian.org> Sat, 15 Apr 2000 11:25:32 +0200
+
+gts (0.2.0-2) unstable; urgency=low
+
+ * src/predicate{_init,}.c: replace hardcoded FPU maks by the
+ corresponding constants and bit operations. The used constans
+ replicate the hardcoded values (thanks to Roman for pointing this out)
+ (sent upstream) (closes: bug#62124)
+
+ -- Marcelo E. Magallon <mmagallo at debian.org> Sat, 15 Apr 2000 11:25:32 +0200
+
+gts (0.2.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Marcelo E. Magallon <mmagallo at debian.org> Sat, 19 Feb 2000 21:18:38 +0100
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f62169e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: gts
+Section: math
+Priority: optional
+Maintainer: Marcelo E. Magallon <mmagallo at debian.org>
+Standards-Version: 3.1.1
+Build-Depends: debhelper (>= 2.0.69), libglib1.2-dev, autotools-dev
+
+Package: libgts-dev
+Section: math
+Priority: optional
+Architecture: any
+Depends: libc6-dev, ${shlibs:Depends}
+Suggests: libgts-doc
+Description: GNU Triangulated Surface Library
+ GTS 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 and
+ binary heaps.
+
+Package: libgts-doc
+Section: doc
+Priority: optional
+Architecture: all
+Depends: lynx | www-browser
+Description: GNU Triangulated Surface Library documentation
+ GTS 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 and
+ binary heaps.
+ .
+ This package contains the GTS Referece, in HTML format.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..db31d23
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,11 @@
+This package was debianized by Marcelo E. Magallon <mmagallo at debian.org> on
+Sat, 19 Feb 2000 21:18:38 +0100.
+
+It was downloaded from http://gts.sourceforge.net/
+
+Upstream Author(s): St�phane Popinet <popinet at lmm.jussieu.fr>
+
+Copyright: GNU Library General Public License, Version 2.
+
+On Debian systems, the complete text of the LGPL is located in
+/usr/share/common-licenses/LGPL-2
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..23c0e17
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,101 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=2
+export DH_OPTIONS
+ARCH=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifeq ($(ARCH),alpha-linux)
+ CFL="-O2 -g -mieee"
+else
+ CFL="-O2 -g"
+endif
+
+#version=0.2.0
+#major=0
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ test -r /usr/share/misc/config.guess && cp /usr/share/misc/config.guess .
+ test -r /usr/share/misc/config.sub && cp /usr/share/misc/config.sub .
+ CFLAGS=$(CFL) ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-shared $(ARCH)
+ # Add here commands to compile the package.
+ $(MAKE)
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+
+ $(RM) $(patsubst %.in, %, $(shell find -name Makefile.in))
+ $(RM) config.guess config.sub
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs -a
+
+ # Add here commands to install the package into debian/tmp.
+ $(MAKE) install prefix=`pwd`/debian/libgts-dev/usr
+
+# Build architecture-dependent files here.
+binary-indep: DH_OPTIONS=-i
+binary-indep:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs -plibgts-doc usr/share/doc/libgts-doc/html
+ cp -a doc/html/*.html debian/libgts-doc/usr/share/doc/libgts-doc/html
+ dh_installdocs
+ dh_installchangelogs
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: DH_OPTIONS=-a
+binary-arch: build install
+# dh_testversion
+ dh_testdir
+ dh_testroot
+
+#
+# build libgts${major} package by moving files from gts-dev
+#
+
+# dh_movefiles -plibgts$(major) \
+# usr/lib/libgts.so.$(major) \
+# usr/lib/libgts.so.$(version)
+
+ dh_installdocs NEWS README TODO
+ dh_installmanpages
+ dh_installchangelogs ChangeLog
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/src/rounding.h b/src/rounding.h
index 32729ca..a2366dc 100644
--- a/src/rounding.h
+++ b/src/rounding.h
@@ -21,12 +21,21 @@
#ifdef HAVE_FPU_CONTROL_H
# include <fpu_control.h>
+# if !defined(__alpha__) && !defined(__GLIBC__)
+# if defined(__arm__)
+ static fpu_control_t fpu_round_double = _FPU_DEFAULT;
+# else
static fpu_control_t fpu_round_double =
(_FPU_DEFAULT & ~ _FPU_EXTENDED)|_FPU_DOUBLE;
+# endif
static fpu_control_t fpu_init;
-# define FPU_ROUND_DOUBLE { _FPU_GETCW(fpu_init);\
+# define FPU_ROUND_DOUBLE { _FPU_GETCW(fpu_init);\
_FPU_SETCW(fpu_round_double); }
-# define FPU_RESTORE {_FPU_SETCW(fpu_init);}
+# define FPU_RESTORE {_FPU_SETCW(fpu_init);}
+# else /* __alpha__ && __GLIBC__ */
+# define FPU_ROUND_DOUBLE
+# define FPU_RESTORE
+# endif /* __alpha__ && __GLIBC__ */
#else /* not HAVE_FPU_CONTROL_H */
# ifdef __FreeBSD__
# include <floatingpoint.h>
diff --git a/tools/srf2oogl.1 b/tools/srf2oogl.1
new file mode 100644
index 0000000..db0d9da
--- /dev/null
+++ b/tools/srf2oogl.1
@@ -0,0 +1,56 @@
+.\" Hey, EMACS: -*- nroff -*-
+.TH SRF2OOGL 1 "February 19, 2000" GTS
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+srf2oogl \- Convert an SRF file (GTS library) to OOGL file format (Geomview)
+.SH SYNOPSIS
+\fBsrf2oogl\fP [ \fIoptions\fP ] < \fIinput.srf\fP > \fIoutput.oogl\fP
+.SH DESCRIPTION
+\fBsrf2oogl\fP read an SRF file (surface file format generated by the
+GTS Library) on standard input and outputs an OOGL file (Geomview) to
+standard output.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-'). A summary of options is
+included below.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B --quality
+color triangles according to their quality
+.TP
+.B --area
+color triangles according to their area
+.TP
+.B --epv
+color vertices according to number of edges per vertex
+.TP
+.B --cmap=FILE
+load FILE as colormap
+.TP
+.B -m VAL, --min=VAL
+use \fIVAL\fP as minimum scaling value
+.TP
+.B -M VAL, --max=VAL
+use \fIVAL\fP as maximum scaling value
+.TP
+.B -r, --reverse
+reverse colormap
+.SH SEE ALSO
+\fIhttp://gts.sourceforge.net/\fP, the original distribution site of GTS.
+.SH AUTHOR
+The GTS library was written by St�phane Popinet <popinet at lmm.jussieu.fr>
+.PP
+This manual page was written by Marcelo E. Magallon
+<mmagallo at debian.org>, for the Debian GNU/Linux system (but may be
+used by others).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gts.git
More information about the debian-science-commits
mailing list