Permalink
Browse files

Initial Berlios import.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/vsg/trunk@1 7332c9bf-690c-0410-b12f-844d5cfd0fe5
  • Loading branch information...
peyo
peyo committed Feb 12, 2006
0 parents commit 2bb4b52c3650ee1f8ac768db902ef3a07da7aef5
Showing with 37,934 additions and 0 deletions.
  1. +1 −0 AUTHORS
  2. +458 −0 COPYING
  3. 0 ChangeLog
  4. +88 −0 INSTALL
  5. +13 −0 Makefile.am
  6. +3 −0 NEWS
  7. +27 −0 README
  8. +63 −0 acinclude.m4
  9. +7,235 −0 aclocal.m4
  10. +161 −0 autogen.sh
  11. +6 −0 bindings/Makefile.am
  12. +102 −0 bindings/python/Makefile.am
  13. +2 −0 bindings/python/__init__.py
  14. +70 −0 bindings/python/docs/Makefile.am
  15. +133 −0 bindings/python/docs/devhelp.xsl
  16. +4 −0 bindings/python/docs/images/Makefile.am
  17. BIN bindings/python/docs/images/home.png
  18. BIN bindings/python/docs/images/left.png
  19. BIN bindings/python/docs/images/right.png
  20. BIN bindings/python/docs/images/up.png
  21. +58 −0 bindings/python/docs/pyvsgdocs.xml
  22. +386 −0 bindings/python/docs/pyvsgdocs.xsl
  23. +53 −0 bindings/python/docs/vsgdocgen.py
  24. +61 −0 bindings/python/docs/vsgsupmatrix3@t@.defs
  25. +61 −0 bindings/python/docs/vsgsupmatrix4@t@.defs
  26. +52 −0 bindings/python/docs/vsgsupquaternion@t@.defs
  27. +72 −0 bindings/python/docs/vsgsupvector2@t@.defs
  28. +72 −0 bindings/python/docs/vsgsupvector3@t@.defs
  29. +4 −0 bindings/python/examples/Makefile.am
  30. +196 −0 bindings/python/examples/prtree2d.py
  31. +33 −0 bindings/python/examples/quatf.py
  32. +44 −0 bindings/python/examples/v2f.py
  33. +40 −0 bindings/python/examples/v3f.py
  34. +11 −0 bindings/python/files_list
  35. +440 −0 bindings/python/h2def.py
  36. +58 −0 bindings/python/pyvsg_boxed_pyobject.c
  37. +41 −0 bindings/python/pyvsg_boxed_pyobject.h
  38. +113 −0 bindings/python/vsg-types@t@.defs
  39. +46 −0 bindings/python/vsg.defs
  40. +1,936 −0 bindings/python/vsg@t@.defs
  41. +42 −0 bindings/python/vsg@t@.override
  42. +62 −0 bindings/python/vsgconstants.c
  43. +29 −0 bindings/python/vsgconstants.h
  44. +98 −0 bindings/python/vsgconstants@t@.c
  45. +29 −0 bindings/python/vsgconstants@t@.h
  46. +330 −0 bindings/python/vsgmatrix3@t@.override
  47. +342 −0 bindings/python/vsgmatrix4@t@.override
  48. +33 −0 bindings/python/vsgmodule.c
  49. +1,481 −0 bindings/python/vsgprtree2@t@.override
  50. +1,478 −0 bindings/python/vsgprtree3@t@.override
  51. +443 −0 bindings/python/vsgquaternion@t@.override
  52. +8 −0 bindings/python/vsgtypedefs.py
  53. +457 −0 bindings/python/vsgvector2@t@.override
  54. +483 −0 bindings/python/vsgvector3@t@.override
  55. +1 −0 build/Makefile.am
  56. +79 −0 build/vsg/Makefile.am
  57. +244 −0 configure.ac
  58. +1 −0 docs/Makefile.am
  59. +222 −0 docs/reference/Makefile.am
  60. +428 −0 docs/reference/tmpl/vsg-unused.sgml
  61. +23 −0 docs/reference/tmpl/vsg.sgml
  62. +23 −0 docs/reference/tmpl/vsgd.sgml
  63. +23 −0 docs/reference/tmpl/vsgf.sgml
  64. +19 −0 docs/reference/tmpl/vsgmatrix3@t@-intro.xml
  65. +285 −0 docs/reference/tmpl/vsgmatrix3d.sgml
  66. +285 −0 docs/reference/tmpl/vsgmatrix3f.sgml
  67. +19 −0 docs/reference/tmpl/vsgmatrix4@t@-intro.xml
  68. +391 −0 docs/reference/tmpl/vsgmatrix4d.sgml
  69. +391 −0 docs/reference/tmpl/vsgmatrix4f.sgml
  70. +132 −0 docs/reference/tmpl/vsgprtree2-common.sgml
  71. +19 −0 docs/reference/tmpl/vsgprtree2@t@-intro.xml
  72. +425 −0 docs/reference/tmpl/vsgprtree2d.sgml
  73. +427 −0 docs/reference/tmpl/vsgprtree2f.sgml
  74. +167 −0 docs/reference/tmpl/vsgprtree3-common.sgml
  75. +19 −0 docs/reference/tmpl/vsgprtree3@t@-intro.xml
  76. +420 −0 docs/reference/tmpl/vsgprtree3d.sgml
  77. +422 −0 docs/reference/tmpl/vsgprtree3f.sgml
  78. +20 −0 docs/reference/tmpl/vsgquaternion@t@-intro.xml
  79. +325 −0 docs/reference/tmpl/vsgquaterniond.sgml
  80. +325 −0 docs/reference/tmpl/vsgquaternionf.sgml
  81. +16 −0 docs/reference/tmpl/vsgvector2@t@-intro.xml
  82. +308 −0 docs/reference/tmpl/vsgvector2d.sgml
  83. +308 −0 docs/reference/tmpl/vsgvector2f.sgml
  84. +16 −0 docs/reference/tmpl/vsgvector3@t@-intro.xml
  85. +319 −0 docs/reference/tmpl/vsgvector3d.sgml
  86. +319 −0 docs/reference/tmpl/vsgvector3f.sgml
  87. +178 −0 docs/reference/vsg-docs.xml
  88. +702 −0 docs/reference/vsg-sections.txt
  89. 0 docs/reference/vsg.types
  90. +9 −0 gencode/Makefile.am
  91. +62 −0 gencode/typegens.py
  92. +2 −0 m4/Makefile.am
  93. +113 −0 m4/vl_prog_cc_warnings.m4
  94. +10 −0 src/Makefile.am
  95. +272 −0 src/prtreetest.c
  96. +46 −0 src/sources.list
  97. +31 −0 src/vsg.c
  98. +34 −0 src/vsg.h
  99. +63 −0 src/vsg@t@.c
  100. +48 −0 src/vsg@t@.h
  101. +794 −0 src/vsgmatrix3@t@.c
  102. +143 −0 src/vsgmatrix3@t@.h
  103. +1,144 −0 src/vsgmatrix4@t@.c
  104. +173 −0 src/vsgmatrix4@t@.h
  105. +157 −0 src/vsgprtree2-common.h
  106. +408 −0 src/vsgprtree2@t@-extras.c
  107. +41 −0 src/vsgprtree2@t@-extras.h
  108. +166 −0 src/vsgprtree2@t@-private.h
  109. +1,833 −0 src/vsgprtree2@t@.c
  110. +205 −0 src/vsgprtree2@t@.h
  111. +198 −0 src/vsgprtree3-common.h
  112. +480 −0 src/vsgprtree3@t@-extras.c
  113. +41 −0 src/vsgprtree3@t@-extras.h
  114. +167 −0 src/vsgprtree3@t@-private.h
  115. +1,875 −0 src/vsgprtree3@t@.c
  116. +204 −0 src/vsgprtree3@t@.h
  117. +857 −0 src/vsgquaternion@t@.c
  118. +154 −0 src/vsgquaternion@t@.h
  119. +741 −0 src/vsgvector2@t@.c
  120. +150 −0 src/vsgvector2@t@.h
  121. +847 −0 src/vsgvector3@t@.c
  122. +157 −0 src/vsgvector3@t@.h
  123. +31 −0 tests/Makefile.am
  124. 0 tests/atlocal.in
  125. +105 −0 tests/mat3add.c
  126. +27 −0 tests/mat3ops.at
  127. +121 −0 tests/mat4add.c
  128. +27 −0 tests/mat4ops.at
  129. +32 −0 tests/testsuite.at
  130. +71 −0 tests/vec2add.c
  131. +66 −0 tests/vec2dotp.c
  132. +87 −0 tests/vec2norm.c
  133. +51 −0 tests/vec2ops.at
  134. +33 −0 tests/vec2pred.c
  135. +72 −0 tests/vec2scalp.c
  136. +71 −0 tests/vec2sub.c
  137. +72 −0 tests/vec2vecp.c
  138. +73 −0 tests/vec3add.c
  139. +66 −0 tests/vec3dotp.c
  140. +87 −0 tests/vec3norm.c
  141. +52 −0 tests/vec3ops.at
  142. +34 −0 tests/vec3pred.c
  143. +74 −0 tests/vec3scalp.c
  144. +73 −0 tests/vec3sub.c
  145. +79 −0 tests/vec3vecp.c
  146. +31 −0 types.list
  147. +82 −0 vsg-config.h.in
  148. +11 −0 vsg.pc.in
  149. +11 −0 vsgd.pc.in
  150. +11 −0 vsgf.pc.in
@@ -0,0 +1 @@
Pierre Gay <peyo@berlios.de>
458 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
No changes.
88 INSTALL
@@ -0,0 +1,88 @@
Software Prerequisites
=====================
Vsg depends on the following software:
glib-2.0:
http://www.gtk.org
pkg-config:
http://www.freedesktop.org/software/pkgconfig/
Python for source generation:
http://www.python.org
Optional software may also be needed:
gtk-doc for reference documentation:
http://www.gtk.org/gtk-doc
pygtk for building Python wrapper:
http://www.pygtk.org
Basic Installation
==================
These are generic installation instructions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.
The file `configure.in' is used to create `configure' by a program
called `autoconf'. You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
@@ -0,0 +1,13 @@
# require automake-1.7
AUTOMAKE_OPTIONS = 1.7
SUBDIRS = gencode src build docs tests bindings m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = vsg.pc vsgd.pc vsgf.pc
$(pkgconfig_DATA): config.status
EXTRA_DIST = types.list autogen.sh
ACLOCAL_AMFLAGS = -I m4
3 NEWS
@@ -0,0 +1,3 @@
What's new in LibVsg 0.1.0:
===========================
* Everything, enjoy!
27 README
@@ -0,0 +1,27 @@
General Information
===================
LibVsg is a 2D/3D software library with a focus on basic geometric
manipulations. It's released under the GNU LGPL. Written for C, it
provides support for single and double precision arithmetics.
Provided features include several datatypes and the corresponding API:
- 2D/3D points/vectors.
- Quaternions (3D rotations presented in a 4D unit vector).
- 2D/3D affine transforms (3x3 and 4x4 martices, repsectively).
- Geometric containers, such as spatial filters: currently only
Point/Region binray trees (both 2D and 3D).
Although the main API is a C interface, a Python wrapper comes with the
library source distribution.
Installation
============
See the file 'INSTALL'
Documentation
=============
See the doc/reference of the distribution.
@@ -0,0 +1,63 @@
## this one is commonly used with AM_PATH_PYTHONDIR ...
dnl AM_CHECK_PYMOD(MODNAME [,SYMBOL [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]])
dnl Check if a module containing a given symbol is visible to python.
AC_DEFUN([AM_CHECK_PYMOD],
[AC_REQUIRE([AM_PATH_PYTHON])
py_mod_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'`
AC_MSG_CHECKING(for ifelse([$2],[],,[$2 in ])python module $1)
AC_CACHE_VAL(py_cv_mod_$py_mod_var, [
ifelse([$2],[], [prog="
import sys
try:
import $1
except ImportError:
sys.exit(1)
except:
sys.exit(0)
sys.exit(0)"], [prog="
import $1
$1.$2"])
if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC
then
eval "py_cv_mod_$py_mod_var=yes"
else
eval "py_cv_mod_$py_mod_var=no"
fi
])
py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
if test "x$py_val" != xno; then
AC_MSG_RESULT(yes)
ifelse([$3], [],, [$3
])dnl
else
AC_MSG_RESULT(no)
ifelse([$4], [],, [$4
])dnl
fi
])
dnl a macro to check for ability to create python extensions
dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE])
dnl function also defines PYTHON_INCLUDES
AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
[AC_REQUIRE([AM_PATH_PYTHON])
AC_MSG_CHECKING(for headers required to compile python extensions)
dnl deduce PYTHON_INCLUDES
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
if test "$py_prefix" != "$py_exec_prefix"; then
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
fi
AC_SUBST(PYTHON_INCLUDES)
dnl check if the headers exist:
save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
AC_TRY_CPP([#include <Python.h>],dnl
[AC_MSG_RESULT(found)
$1],dnl
[AC_MSG_RESULT(not found)
$2])
CPPFLAGS="$save_CPPFLAGS"
])
Oops, something went wrong.

0 comments on commit 2bb4b52

Please sign in to comment.