mirror of https://github.com/CGAL/cgal
fix (part 2)
Missing ranges: /branches/CGAL-3.8-branch/Maintenance/deb:61542-63108 while reintegrating
This commit is contained in:
parent
cd00ecfcd1
commit
97538fefc4
|
|
@ -2087,6 +2087,50 @@ Maintenance/MacOSX_Installer/Resources/postupgrade -text
|
||||||
Maintenance/Third_party/GMP/create_mangled_versions.bat eol=crlf
|
Maintenance/Third_party/GMP/create_mangled_versions.bat eol=crlf
|
||||||
Maintenance/Third_party/GMP/gmp-4.2.4.patch.gz -text svneol=unset#application/gzip
|
Maintenance/Third_party/GMP/gmp-4.2.4.patch.gz -text svneol=unset#application/gzip
|
||||||
Maintenance/Third_party/GMP/mpfr-2.3.2.patch.gz -text svneol=unset#application/gzip
|
Maintenance/Third_party/GMP/mpfr-2.3.2.patch.gz -text svneol=unset#application/gzip
|
||||||
|
Maintenance/deb/ANNOUNCEMENT.beta -text
|
||||||
|
Maintenance/deb/ANNOUNCEMENT.final -text
|
||||||
|
Maintenance/deb/sid/debian/README.Debian -text
|
||||||
|
Maintenance/deb/sid/debian/README.source -text
|
||||||
|
Maintenance/deb/sid/debian/changelog -text
|
||||||
|
Maintenance/deb/sid/debian/compat -text
|
||||||
|
Maintenance/deb/sid/debian/control -text
|
||||||
|
Maintenance/deb/sid/debian/libcgal-demo.install -text
|
||||||
|
Maintenance/deb/sid/debian/libcgal-dev.install -text
|
||||||
|
Maintenance/deb/sid/debian/libcgal-ipelets.install -text
|
||||||
|
Maintenance/deb/sid/debian/libcgal8.install -text
|
||||||
|
Maintenance/deb/sid/debian/libcgal8.shlibs -text
|
||||||
|
Maintenance/deb/sid/debian/patches/00list -text
|
||||||
|
Maintenance/deb/sid/debian/rules -text
|
||||||
|
Maintenance/deb/sid/debian/source/format -text
|
||||||
|
Maintenance/deb/sid/debian/watch -text
|
||||||
|
Maintenance/deb/squeeze/debian/README.Debian -text
|
||||||
|
Maintenance/deb/squeeze/debian/README.source -text
|
||||||
|
Maintenance/deb/squeeze/debian/changelog -text
|
||||||
|
Maintenance/deb/squeeze/debian/compat -text
|
||||||
|
Maintenance/deb/squeeze/debian/control -text
|
||||||
|
Maintenance/deb/squeeze/debian/libcgal-demo.install -text
|
||||||
|
Maintenance/deb/squeeze/debian/libcgal-dev.install -text
|
||||||
|
Maintenance/deb/squeeze/debian/libcgal-ipelets.install -text
|
||||||
|
Maintenance/deb/squeeze/debian/libcgal8.install -text
|
||||||
|
Maintenance/deb/squeeze/debian/libcgal8.shlibs -text
|
||||||
|
Maintenance/deb/squeeze/debian/patches/00list -text
|
||||||
|
Maintenance/deb/squeeze/debian/rules -text
|
||||||
|
Maintenance/deb/squeeze/debian/source/format -text
|
||||||
|
Maintenance/deb/squeeze/debian/watch -text
|
||||||
|
Maintenance/deb/wheezy/debian/README.Debian -text
|
||||||
|
Maintenance/deb/wheezy/debian/README.source -text
|
||||||
|
Maintenance/deb/wheezy/debian/changelog -text
|
||||||
|
Maintenance/deb/wheezy/debian/compat -text
|
||||||
|
Maintenance/deb/wheezy/debian/control -text
|
||||||
|
Maintenance/deb/wheezy/debian/libcgal-demo.install -text
|
||||||
|
Maintenance/deb/wheezy/debian/libcgal-dev.install -text
|
||||||
|
Maintenance/deb/wheezy/debian/libcgal-ipelets.install -text
|
||||||
|
Maintenance/deb/wheezy/debian/libcgal8.install -text
|
||||||
|
Maintenance/deb/wheezy/debian/libcgal8.shlibs -text
|
||||||
|
Maintenance/deb/wheezy/debian/patches/00list -text
|
||||||
|
Maintenance/deb/wheezy/debian/rules -text
|
||||||
|
Maintenance/deb/wheezy/debian/source/format -text
|
||||||
|
Maintenance/deb/wheezy/debian/watch -text
|
||||||
Maintenance/infrastructure/cgal.geometryfactory.com/.autocgal_with_cmake_rc -text
|
Maintenance/infrastructure/cgal.geometryfactory.com/.autocgal_with_cmake_rc -text
|
||||||
Maintenance/infrastructure/cgal.geometryfactory.com/.autocgalrc -text
|
Maintenance/infrastructure/cgal.geometryfactory.com/.autocgalrc -text
|
||||||
Maintenance/infrastructure/cgal.geometryfactory.com/.cgal_create_new_release_rc -text
|
Maintenance/infrastructure/cgal.geometryfactory.com/.cgal_create_new_release_rc -text
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
Debian packages for CGAL 3.6 Beta 1 are now available for i386 and
|
||||||
|
amd64. To download the packages via apt-get you need to add
|
||||||
|
|
||||||
|
deb http://www.joachim-reichel.de/debian/repository lenny non-free
|
||||||
|
deb-src http://www.joachim-reichel.de/debian/repository lenny non-free
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
deb http://www.joachim-reichel.de/debian/repository squeeze non-free
|
||||||
|
deb-src http://www.joachim-reichel.de/debian/repository squeeze non-free
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
deb http://www.joachim-reichel.de/debian/repository sid non-free
|
||||||
|
deb-src http://www.joachim-reichel.de/debian/repository sid non-free
|
||||||
|
|
||||||
|
to /etc/apt/sources.list (you only need the pair of lines corresponding
|
||||||
|
to the release you are using). The packages are called libcgal7,
|
||||||
|
libcgal-dev, libcgal-demo, and libcgal-ipelets.
|
||||||
|
|
||||||
|
In case you want to download the packages manually, have a look at
|
||||||
|
http://www.joachim-reichel.de/debian/repository/pool/non-free/c/cgal/
|
||||||
|
|
||||||
|
For the final 3.8 release, similar packages will be uploaded to the
|
||||||
|
official Debian repository and/or be available from the CGAL web site.
|
||||||
|
|
||||||
|
See also http://www.cgal.org/FAQ.html#debian_packages .
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
Debian packages for CGAL 3.8 are now available as well. Simply add
|
||||||
|
|
||||||
|
deb ftp://ftp.mpi-sb.mpg.de/pub/outgoing/CGAL/debian squeeze main contrib non-free
|
||||||
|
deb-src ftp://ftp.mpi-sb.mpg.de/pub/outgoing/CGAL/debian squeeze main contrib non-free
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
deb ftp://ftp.mpi-sb.mpg.de/pub/outgoing/CGAL/debian wheezy main contrib non-free
|
||||||
|
deb-src ftp://ftp.mpi-sb.mpg.de/pub/outgoing/CGAL/debian wheezy main contrib non-free
|
||||||
|
|
||||||
|
to /etc/apt/sources list (you only need the pair of lines corresponding
|
||||||
|
to the release you are using). For sid, packages should be available
|
||||||
|
from the official Debian repository in a few days.
|
||||||
|
|
||||||
|
See also http://www.cgal.org/FAQ.html#debian_packages .
|
||||||
|
|
@ -0,0 +1,42 @@
|
||||||
|
README
|
||||||
|
======
|
||||||
|
|
||||||
|
Backports
|
||||||
|
---------
|
||||||
|
|
||||||
|
backport for wheezy:
|
||||||
|
- debian/changelog:
|
||||||
|
* adjust version suffix from -X to -X~wheezy1
|
||||||
|
* adjust suite from unstable to testing
|
||||||
|
|
||||||
|
backport for squeeze:
|
||||||
|
- debian/changelog:
|
||||||
|
* adjust version suffix from -X to -X~squeeze1
|
||||||
|
* adjust suite from unstable to stable
|
||||||
|
- debian/control
|
||||||
|
* adjust Standards-Version from 3.9.2 to 3.9.1
|
||||||
|
* replace libgmp10-dev by libgmp3-dev (twice)
|
||||||
|
|
||||||
|
|
||||||
|
Tags
|
||||||
|
----
|
||||||
|
|
||||||
|
svn copy $SVNROOT/branches/next/Maintenance/deb/sid/debian $SVNROOT/tags/debian/3.9-1
|
||||||
|
svn copy $SVNROOT/branches/next/Maintenance/deb/wheezy/debian $SVNROOT/tags/debian/3.9-1~wheezy1
|
||||||
|
svn copy $SVNROOT/branches/next/Maintenance/deb/squeeze/debian $SVNROOT/tags/debian/3.9-1~squeeze1
|
||||||
|
|
||||||
|
or:
|
||||||
|
svn copy $SVNROOT/branches/CGAL-3.9-branch/Maintenance/deb/sid/debian $SVNROOT/tags/debian/3.9-1
|
||||||
|
svn copy $SVNROOT/branches/CGAL-3.9-branch/Maintenance/deb/wheezy/debian $SVNROOT/tags/debian/3.9-1~wheezy1
|
||||||
|
svn copy $SVNROOT/branches/CGAL-3.9-branch/Maintenance/deb/squeeze/debian $SVNROOT/tags/debian/3.9-1~squeeze1
|
||||||
|
|
||||||
|
|
||||||
|
FTP server
|
||||||
|
----------
|
||||||
|
|
||||||
|
wget http://www.joachim-reichel.de/tmp/cgal-3.9.tar.bz2
|
||||||
|
su cgal
|
||||||
|
cd /ftp/pub/outgoing/CGAL/debian
|
||||||
|
mv pool/non-free/c/cgal/* archive
|
||||||
|
rm -fr dists pool
|
||||||
|
tar xjf /path/to/downloaded/tarball
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
TODO
|
||||||
|
====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
README.Debian
|
||||||
|
-------------
|
||||||
|
|
||||||
|
The homepage of CGAL (http://www.cgal.org/) offers more information about CGAL.
|
||||||
|
In particular, a mailing list and the documentation for the library (in PDF and
|
||||||
|
HTML) are available. The authors ask you to give some feedback about your usage
|
||||||
|
of CGAL in a short questionnaire (in the download section).
|
||||||
|
|
||||||
|
|
||||||
|
Documentation
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Note that the CGAL documentation cannot be packaged for Debian due to unclear
|
||||||
|
license conditions. The complete documentation in PDF and HTML is available at
|
||||||
|
http://www.cgal.org/.
|
||||||
|
|
||||||
|
|
||||||
|
Demos and examples
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Tarballs with demos and examples can be found in /usr/share/doc/libcgal-demo.
|
||||||
|
Extract the tarballs somewhere and call "cmake ." to configure the
|
||||||
|
demos/examples. Call "make" to build them, either in the top-level directory
|
||||||
|
to build all demos/examples (which takes some time and needs quite some disk
|
||||||
|
space), or in the subdirectory of the desired demo/exmaple. The cmake option
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON is useful to generate verbose makefiles that show
|
||||||
|
each executed command.
|
||||||
|
|
||||||
|
|
||||||
|
Demos using libQGLViewer
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
The Debian package of libQGLViewer uses non-standard library names to offer the
|
||||||
|
library in a Qt3 and Qt4 flavor. The build system of CGAL has been patched to
|
||||||
|
handle the non-standard library name. If your libQGLViewer packages are older
|
||||||
|
than 2.3.1-4 you need to work around another problem with the non-standard
|
||||||
|
include directory. Create an include directory with the expected name
|
||||||
|
"QGLViewer", e.g.,
|
||||||
|
|
||||||
|
mkdir -p /some/dir
|
||||||
|
ln -s /usr/include/qglviewer-qt4 /some/dir/QGLViewer
|
||||||
|
|
||||||
|
and pass the option
|
||||||
|
|
||||||
|
-DQGLVIEWER_INCLUDE_DIR=/some/dir
|
||||||
|
|
||||||
|
to cmake. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522659 for more
|
||||||
|
information.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 06 Feb 2010 12:29:02 +0100
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
README.source
|
||||||
|
-------------
|
||||||
|
|
||||||
|
The package uses dpatch to manage patches to the original source.
|
||||||
|
See /usr/share/doc/dpatch/README.source.gz for details.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Mon, 28 Sep 2009 21:19:03 +0200
|
||||||
|
|
@ -0,0 +1,259 @@
|
||||||
|
cgal (3.9-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal7 to libcgal8 to reflect SONAME change.
|
||||||
|
* Add workaround for bug #643278.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Wed, 28 Sep 2011 19:51:35 +0200
|
||||||
|
|
||||||
|
cgal (3.8-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal6 to libcgal7 to reflect SONAME change.
|
||||||
|
* Update Standards-Version to 3.9.2 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 21 Apr 2011 18:45:25 +0200
|
||||||
|
|
||||||
|
cgal (3.7-5) unstable; urgency=low
|
||||||
|
|
||||||
|
* Upload to unstable.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 06 Mar 2011 17:26:11 +0100
|
||||||
|
|
||||||
|
cgal (3.7-4) experimental; urgency=low
|
||||||
|
|
||||||
|
* Build with libgmp10 (Closes: #614797). Thanks to Christian M. Amsüss.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 27 Feb 2011 16:36:22 +0100
|
||||||
|
|
||||||
|
cgal (3.7-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Disable support for Qt3 because Qt3 has been removed from the repository
|
||||||
|
(Closes: #604478).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 10 Feb 2011 21:06:09 +0100
|
||||||
|
|
||||||
|
cgal (3.7-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Upload to unstable.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 06 Feb 2011 13:53:00 +0100
|
||||||
|
|
||||||
|
cgal (3.7-1) experimental; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal5 to libcgal6 to reflect SONAME change.
|
||||||
|
* Rename binary package libcgal5-ipelets to libcgal-ipelets because it is
|
||||||
|
not possible to install the ipelets for different SONAMEs in parallel.
|
||||||
|
* Remove ipe-default-to-version-7.dpatch: the Ipe version is now
|
||||||
|
auto-detected.
|
||||||
|
* Remove fix-core-64bit.dpatch (fixed upstream).
|
||||||
|
* Add qt4-dev-tools to Suggests: of libcgal-demo for qcollectiongenerator.
|
||||||
|
* Update Standards-Version to 3.9.1 (-D_REENTRANT no longer needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 17 Oct 2010 14:27:54 +0200
|
||||||
|
|
||||||
|
cgal (3.6.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add fix-core-64bit.dpatch: use CORE::CHUNK_BIT instead of hard-coded
|
||||||
|
constant 14.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Tue, 24 Aug 2010 19:46:36 +0200
|
||||||
|
|
||||||
|
cgal (3.6.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Set SOVERSION explicitly to 5.0.1 as told by upstream.
|
||||||
|
* Remove architecture exceptions from Suggests: for libcgal-demo which is no
|
||||||
|
longer allowed by dpkg-gencontrol (see #560071).
|
||||||
|
* Fix debian/watch file.
|
||||||
|
* Change license of packaging to LGPL 2.1 or later because referencing the
|
||||||
|
BSD license in /usr/share/common-licenses is deprecated.
|
||||||
|
* Update Standards-Version to 3.9.0 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 01 Jul 2010 23:37:41 +0200
|
||||||
|
|
||||||
|
cgal (3.6-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal4 to libcgal5 to reflect SONAME change.
|
||||||
|
* Remove fix-cmake-qglviewer-detection.dpatch (fixed upstream).
|
||||||
|
* New binary package libcgal5-ipelets which contains plugins for Ipe 7.x
|
||||||
|
(Closes: #557643).
|
||||||
|
* Add ipe-default-to-version-7.dpatch: change default of WITH_IPE_7 to ON.
|
||||||
|
* Remove libboost-graph1.35-dev from Build-Depends: and Suggests: of
|
||||||
|
libcgal-demo (not needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Mon, 22 Mar 2010 19:09:15 +0100
|
||||||
|
|
||||||
|
|
||||||
|
cgal (3.5.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add fix-cmake-qglviewer-detection.dpatch (Closes: #564126), thanks to
|
||||||
|
Marc Glisse for the patch.
|
||||||
|
* Update Standards-Version to 3.8.4 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 06 Feb 2010 12:29:02 +0100
|
||||||
|
|
||||||
|
cgal (3.5.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Fix error in handling of "debug" and "nostrip" in $(DEB_BUILD_OPTIONS)
|
||||||
|
(see also #552961).
|
||||||
|
* Unset QTDIR before calling cmake to reduce problems in non-clean build
|
||||||
|
environments.
|
||||||
|
* Add ${misc:Depends} to Depends: of all binary packages as found by
|
||||||
|
lintian.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 22 Nov 2009 22:31:00 +0100
|
||||||
|
|
||||||
|
cgal (3.5-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal3 to libcgal4 to reflect SONAME change.
|
||||||
|
* Remove fix-FindCGAL-cmake.dpatch (fixed upstream).
|
||||||
|
* Remove fix-demos-examples-configuration.dpatch (fixed upstream).
|
||||||
|
* Remove add-cmake-2.6.3-support.dpatch (fixed upstream).
|
||||||
|
* Remove fix-demo-polyheron-3.dpatch (fixed upstream).
|
||||||
|
* Remove "-mieee -mfp-rounding-mode=d" from CGAL_CXX_FLAGS on alpha
|
||||||
|
(fixed upstream).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 03 Oct 2009 16:43:08 +0200
|
||||||
|
|
||||||
|
cgal (3.4-5) unstable; urgency=low
|
||||||
|
|
||||||
|
* Return to unversioned boost dependencies.
|
||||||
|
* Re-add working watch file.
|
||||||
|
* Update Standards-Version to 3.8.3 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Wed, 16 Sep 2009 19:25:09 +0200
|
||||||
|
|
||||||
|
cgal (3.4-4) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add patch fix-demos-examples-configuration.dpatch.
|
||||||
|
* Add patch add-cmake-2.6.3-support.dpatch.
|
||||||
|
* Add patch fix-demo-polyheron-3.dpatch.
|
||||||
|
* Fix support for nocheck in DEB_BUILD_OPTIONS (was broken in 3.4-3).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Fri, 01 May 2009 17:31:00 +0200
|
||||||
|
|
||||||
|
cgal (3.4-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Update boost dependencies to 1.38.
|
||||||
|
* Remove watch file (new upstream location uses unpredictable paths).
|
||||||
|
* Update Standards-Version to 3.8.1 (add support for nocheck in
|
||||||
|
DEB_BUILD_OPTIONS).
|
||||||
|
* Change Suggests: dependency of libcgal-demo from libqglviewer-dev
|
||||||
|
to libqglviewer-qt4-dev (all demos using libQGLViewer use Qt4).
|
||||||
|
* Add workaround for #522659 to README.Debian.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 18 Apr 2009 11:46:19 +0200
|
||||||
|
|
||||||
|
cgal (3.4-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add "-mieee -mfp-rounding-mode=d" to CGAL_CXX_FLAGS on alpha (got lost
|
||||||
|
during the transition to cmake).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 15 Feb 2009 15:06:31 +0100
|
||||||
|
|
||||||
|
cgal (3.4-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Adapt debian/rules to the new cmake-based build system.
|
||||||
|
* Downgrade LAPACK- and BLAS-related Build-Depends: to Suggests: for
|
||||||
|
libcgal-demo, since it is now possible to configure demos and examples
|
||||||
|
independently of the library.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 22 Jan 2009 18:39:44 +0100
|
||||||
|
|
||||||
|
cgal (3.3.1-4) unstable; urgency=low
|
||||||
|
|
||||||
|
* Remove fortran-transition.dpatch, update build-library.dpatch:
|
||||||
|
Do not link with -lg2c in configuration tests (Closes: #475721).
|
||||||
|
* Update cgal_create_makefile.dpatch to remove bashisms (Closes: #486045).
|
||||||
|
* Update debian/tests/rounding_modes2.cpp to stop constant propagation.
|
||||||
|
* Update Standards-Version to 3.8.0 (explain in debian/copyright why package
|
||||||
|
is in non-free).
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Sun, 15 Jun 2008 22:11:14 +0200
|
||||||
|
|
||||||
|
cgal (3.3.1-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add patch fortran-transition.dpatch (Closes: #470359), thanks to Kumar
|
||||||
|
Appaiah for the patch.
|
||||||
|
* debian/rules: s/lapack3-dev/liblapack-dev/,
|
||||||
|
s/atlas3-base-dev/libatlas-base-dev/, s/libatlas-3.so/libatlas.so.3gf/ .
|
||||||
|
* Fix manpage w.r.t. makefile vs. cgal.mk (Closes: #466430).
|
||||||
|
* Add second test for FPU rounding modes.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Wed, 19 Mar 2008 20:27:34 +0100
|
||||||
|
|
||||||
|
cgal (3.3.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* debian/control: Really really drop support for atlas and lapack on arm
|
||||||
|
and m68k, fix atlas and lapack support on other architectures.
|
||||||
|
* debian/control: Extend exclusions for arm to variants armeb and armel
|
||||||
|
(Closes: #460141).
|
||||||
|
* debian/control: Remove virtual dependency liblapack-3.so which is
|
||||||
|
provided by atlas3-base-dev (which does *not* provide
|
||||||
|
/usr/lib/liblapack.so, just /usr/lib/atlas/liblapack.so).
|
||||||
|
* debian/control: Replace virtual dependency libblas-3.so by
|
||||||
|
libatlas-3.so.
|
||||||
|
* Add patch qt-compatibility-headers.dpatch (Closes: #464251).
|
||||||
|
* debian/control: Add Homepage: field, adjust Description: accordingly.
|
||||||
|
* Update Standards-Version to 3.7.3 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Wed, 06 Feb 2008 18:37:52 +0100
|
||||||
|
|
||||||
|
cgal (3.3.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Remove patch bugfix-fpu-rounding-mode-alpha.dpatch (included by
|
||||||
|
upstream).
|
||||||
|
* Fail build if FPU rounding mode test fails.
|
||||||
|
* Really drop support for atlas and lapack on arm and m68k.
|
||||||
|
* Fix cgal_create_makefile w.r.t. makefile vs. cgal.mk.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Mon, 3 Sep 2007 18:57:36 +0200
|
||||||
|
|
||||||
|
cgal (3.3-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add patch bugfix-fpu-rounding-mode-alpha.dpatch (Closes: #431230).
|
||||||
|
* debian/control: Add versioned depends on libboost-program-options-dev,
|
||||||
|
drop build-dependency on libboost-graph-dev.
|
||||||
|
* Drop support for atlas on arm and m68k.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Mon, 16 Jul 2007 15:32:35 +0200
|
||||||
|
|
||||||
|
cgal (3.3-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Sun, 3 Jun 2007 09:36:36 +0200
|
||||||
|
|
||||||
|
cgal (3.2.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Fix FTBFS on hppa (and probably also on other architectures) related
|
||||||
|
to FPU rounding modes (Closes: #404464).
|
||||||
|
* debian/control: Add tag XS-Autobuild.
|
||||||
|
* debian/copyright: Add note about autobuilding.
|
||||||
|
* debian/control: Make package binNMU-safe.
|
||||||
|
* Remove linda override for bug #369977 (no longer needed).
|
||||||
|
* Add watch file.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Fri, 26 Jan 2007 19:16:36 +0100
|
||||||
|
|
||||||
|
cgal (3.2.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Add linda override for bug #369977.
|
||||||
|
* Remove patch bugfix-demo-examples-makefiles.dpatch (no longer needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Fri, 14 Jul 2006 21:20:16 +0200
|
||||||
|
|
||||||
|
cgal (3.2-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* First upload to Debian archive. (Closes: #251885)
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Mon, 29 May 2006 20:24:27 +0200
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
7
|
||||||
|
|
@ -0,0 +1,74 @@
|
||||||
|
Source: cgal
|
||||||
|
Section: non-free/libs
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Joachim Reichel <reichel@debian.org>
|
||||||
|
# "ipe" is only needed because it contains goodies.lua which is needed by FindIPE.cmake
|
||||||
|
Build-Depends: debhelper (>= 7), dpatch, cmake, libboost-dev,
|
||||||
|
libboost-thread-dev, libboost-program-options-dev, libgmp10-dev, libmpfr-dev,
|
||||||
|
libqt4-dev, libqt4-opengl-dev, zlib1g-dev, libipe-dev (>= 7), ipe
|
||||||
|
Standards-Version: 3.9.2
|
||||||
|
Homepage: http://www.cgal.org/
|
||||||
|
XS-Autobuild: yes
|
||||||
|
|
||||||
|
Package: libcgal8
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: C++ library for computational geometry
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
The CGAL library contains:
|
||||||
|
- the Kernel with geometric primitives such as points, vectors, lines,
|
||||||
|
predicates for testing things such as relative positions of points, and
|
||||||
|
operations such as intersections and distance calculation.
|
||||||
|
- the Basic Library which is a collection of standard data structures and
|
||||||
|
geometric algorithms, such as convex hull in 2D/3D, (Delaunay)
|
||||||
|
triangulation in 2D/3D, planar map, polyhedron, smallest enclosing circle,
|
||||||
|
and multidimensional query structures.
|
||||||
|
- the Support Library which offers interfaces to other packages, e.g., for
|
||||||
|
visualisation, and I/O, and other support facilities.
|
||||||
|
|
||||||
|
Package: libcgal-dev
|
||||||
|
Section: non-free/libdevel
|
||||||
|
Architecture: any
|
||||||
|
Depends: libcgal8 (= ${binary:Version}), libboost-dev,
|
||||||
|
libboost-thread-dev, libboost-program-options-dev, libgmp10-dev, libmpfr-dev,
|
||||||
|
libqt4-dev, zlib1g-dev, ${misc:Depends}
|
||||||
|
Description: C++ library for computational geometry (development files)
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
This package contains the header files and static libraries.
|
||||||
|
|
||||||
|
Package: libcgal-demo
|
||||||
|
Section: non-free/devel
|
||||||
|
Architecture: all
|
||||||
|
Depends: libcgal-dev (>= ${binary:Version}), libcgal8 (>= ${binary:Version}),
|
||||||
|
${misc:Depends}
|
||||||
|
Suggests: liblapack-dev, libatlas-base-dev | libatlas.so.3gf, gfortran,
|
||||||
|
geomview, libqglviewer-qt4-dev, libipe-dev (>= 7), libglew1.5-dev | libglew-dev,
|
||||||
|
libmagick++-dev | libmagick++9-dev, qt4-dev-tools
|
||||||
|
Description: C++ library for computational geometry (demos)
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
This package contains the demos and examples.
|
||||||
|
|
||||||
|
Package: libcgal-ipelets
|
||||||
|
Architecture: any
|
||||||
|
Depends: libcgal8 (>= ${binary:Version}), ipe (>= 7), ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Conflicts: libcgal5-ipelets
|
||||||
|
Replaces: libcgal5-ipelets
|
||||||
|
Description: C++ library for computational geometry (ipelets)
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
This package contains the ipelets, i.e., plugins for ipe.
|
||||||
|
|
@ -0,0 +1,442 @@
|
||||||
|
This package was debianized by Joachim Reichel <reichel@debian.org> on
|
||||||
|
Thu, 29 Apr 2004 18:43:18 +0200.
|
||||||
|
|
||||||
|
It was downloaded from http://www.cgal.org/download/index.html.
|
||||||
|
|
||||||
|
The Debian packaging is Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009
|
||||||
|
Joachim Reichel <reichel@debian.org> and is licensed under the LGPL license,
|
||||||
|
either version 3 or later (at your option), which can be found in
|
||||||
|
/usr/share/common-licenses/LGPL-3.
|
||||||
|
|
||||||
|
The package is not in main, but in non-free since parts of it are licensed
|
||||||
|
under the QPL. This license is not DFSG-free, but it permits one to autobuild
|
||||||
|
the package and to redistribute it in the non-free archive.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors
|
||||||
|
=======
|
||||||
|
|
||||||
|
Pierre Alliez
|
||||||
|
Matthias Bäsken
|
||||||
|
Eric Berberich
|
||||||
|
Olivier Billet
|
||||||
|
Jean-Daniel Boissonnat
|
||||||
|
Carine Bonetto
|
||||||
|
Mario Botsch
|
||||||
|
Hervé Brönnimann
|
||||||
|
Fernando Cacciola
|
||||||
|
Manuel Caroli
|
||||||
|
Nicolas Carrez
|
||||||
|
Frédéric Cazals
|
||||||
|
Raphaëlle Chaine
|
||||||
|
Tran Kai Frank Da
|
||||||
|
Christophe Delage
|
||||||
|
Olivier Devillers
|
||||||
|
Katrin Dobrindt
|
||||||
|
Arno Eigenwillig
|
||||||
|
Eti Ezra
|
||||||
|
Andreas Fabri
|
||||||
|
Frédéric Fichel
|
||||||
|
Kaspar Fischer
|
||||||
|
Eyal Flato
|
||||||
|
Julia Flötotto
|
||||||
|
Efi Fogel
|
||||||
|
Wolfgang Freiseisen
|
||||||
|
Bernd Gärtner
|
||||||
|
Geert-Jan Giezeman
|
||||||
|
Marc Glisse
|
||||||
|
Shlomo Golubev
|
||||||
|
Miguel Granados
|
||||||
|
Gael Guennebaud
|
||||||
|
Philippe Guigue
|
||||||
|
Ankit Gupta
|
||||||
|
Peter Hachenberger
|
||||||
|
Iddo Hanniel
|
||||||
|
Idit Haran
|
||||||
|
Sariel Har-Peled
|
||||||
|
Julien Hazebrouck
|
||||||
|
Michael Hemmer
|
||||||
|
Thomas Herrmann
|
||||||
|
Susan Hert
|
||||||
|
Shai Hirsch
|
||||||
|
Michael Hoffmann
|
||||||
|
Dominik Huelse
|
||||||
|
Marcel Janer
|
||||||
|
Athanasios Kakargias
|
||||||
|
Menelaos Karavelas
|
||||||
|
Michael Kerber
|
||||||
|
Lutz Kettner
|
||||||
|
Nico Kruithof
|
||||||
|
Sylvain Lazard
|
||||||
|
Eran Leiserowitz
|
||||||
|
Bruno Lévy
|
||||||
|
Sebastian Limbach
|
||||||
|
Kapelushnik Lior
|
||||||
|
Eugene Lipovetsky
|
||||||
|
Sébastien Loriot
|
||||||
|
Pedro Machado
|
||||||
|
Bastien Manuel
|
||||||
|
Naama Mayer
|
||||||
|
Abdelkrim Mebarki
|
||||||
|
Kurt Mehlhorn
|
||||||
|
Naceur Meskini
|
||||||
|
Andreas Meyer
|
||||||
|
Michal Meyerovitch
|
||||||
|
Oren Nechushtan
|
||||||
|
Gabriele Neyer
|
||||||
|
Ralf Osbild
|
||||||
|
Steve Oudot
|
||||||
|
Eli Packer
|
||||||
|
Dmitrii Pasechnik
|
||||||
|
Luis Peñaranda
|
||||||
|
Sylvain Pion
|
||||||
|
Marc Pouget
|
||||||
|
Sigal Raab
|
||||||
|
François Rebufat
|
||||||
|
Joachim Reichel
|
||||||
|
David Rey
|
||||||
|
Laurent Rineau
|
||||||
|
Daniel Russel
|
||||||
|
Niv Sabath
|
||||||
|
Laurent Saboret
|
||||||
|
Nader Salman
|
||||||
|
Stefan Schirra
|
||||||
|
Sven Schönherr
|
||||||
|
Michael Seel
|
||||||
|
Ophir Setter
|
||||||
|
Le-Jeng Shiue
|
||||||
|
Hans Tangelder
|
||||||
|
Stéphane Tayeb
|
||||||
|
Monique Teillaud
|
||||||
|
Jane Tournois
|
||||||
|
Constantinos Tsirogiannis
|
||||||
|
Radu Ursu
|
||||||
|
Carl Van Geem
|
||||||
|
Remco Veltkamp
|
||||||
|
Ron Wein
|
||||||
|
Wieger Wesselink
|
||||||
|
Camille Wormser
|
||||||
|
Mariette Yvinec
|
||||||
|
Afra Zomorodian
|
||||||
|
Guy Zucker
|
||||||
|
Baruch Zukerman
|
||||||
|
Tali Zvi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright holders
|
||||||
|
=================
|
||||||
|
|
||||||
|
Utrecht University (The Netherlands)
|
||||||
|
ETH Zurich (Switzerland)
|
||||||
|
Freie Universitaet Berlin (Germany)
|
||||||
|
INRIA Sophia-Antipolis (France)
|
||||||
|
Martin-Luther-University Halle-Wittenberg (Germany)
|
||||||
|
Max-Planck-Institute Saarbruecken (Germany)
|
||||||
|
RISC Linz (Austria)
|
||||||
|
Tel-Aviv University (Israel)
|
||||||
|
|
||||||
|
Stanford University (USA)
|
||||||
|
Foundation for Research and Technology-Hellas (Greece)
|
||||||
|
|
||||||
|
GeometryFactory
|
||||||
|
|
||||||
|
Fernando Luis Cacciola Carballal
|
||||||
|
Le-Jeng Shiue
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (from upstream file LICENSE)
|
||||||
|
======================================
|
||||||
|
|
||||||
|
The CGAL software consists of several parts, each of which is licensed under
|
||||||
|
an open source license. It is also possible to obtain commercial licenses
|
||||||
|
from GeometryFactory (www.geometryfactory.com) for all or parts of CGAL.
|
||||||
|
|
||||||
|
The source code of the CGAL library can be found in the directories
|
||||||
|
"src/CGAL", "src/CGALQt", "src/CGALQt4" and "include/CGAL" (with the
|
||||||
|
exception of "include/CGAL/CORE", and "include/CGAL/OpenNL").
|
||||||
|
It is specified in each file of the CGAL library which
|
||||||
|
license applies to it. This is either the GNU Lesser General Public License
|
||||||
|
(as published by the Free Software Foundation; version 3 of the License)
|
||||||
|
or the Q Public License (version 1.0), *depending on each file*. The texts
|
||||||
|
of both licenses can be found in the files LICENSE.LGPL and LICENSE.QPL.
|
||||||
|
|
||||||
|
Distributed along with CGAL (for the users' convenience), but not part of
|
||||||
|
CGAL, are the following third-party libraries, available under their own
|
||||||
|
licenses:
|
||||||
|
|
||||||
|
- CORE, in the directories "include/CGAL/CORE" and "src/CGALCore", is
|
||||||
|
licensed under the QPL (see LICENSE.QPL).
|
||||||
|
- ImageIO, in the directory "src/CGALimageIO", is licensed under the LGPL
|
||||||
|
(see LICENSE.LGPL).
|
||||||
|
- OpenNL, in the directory "include/CGAL/OpenNL", is licensed under the LGPL
|
||||||
|
(see LICENSE.LGPL).
|
||||||
|
|
||||||
|
All other files that do not have an explicit copyright notice (e.g., all
|
||||||
|
examples and some demos) are licensed under a very permissive license. The
|
||||||
|
exact license text can be found in the file LICENSE.FREE_USE.
|
||||||
|
|
||||||
|
More information on the CGAL license can be found at
|
||||||
|
http://www.cgal.org/license.html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright statements for LGPL'd files
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
The following copyright statement is taken from include/CGAL/config.h. The
|
||||||
|
year numbers and the set of copyright holders (see list above) varies from
|
||||||
|
file to file.
|
||||||
|
|
||||||
|
Copyright (c) 1997-2004 Utrecht University (The Netherlands),
|
||||||
|
ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
|
||||||
|
INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
|
||||||
|
(Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
|
||||||
|
and Tel-Aviv University (Israel). All rights reserved.
|
||||||
|
|
||||||
|
This file is part of CGAL (www.cgal.org); you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public License as
|
||||||
|
published by the Free Software Foundation; either version 3 of the License,
|
||||||
|
or (at your option) any later version.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the software.
|
||||||
|
|
||||||
|
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright statement for QPL'd files
|
||||||
|
===================================
|
||||||
|
|
||||||
|
The following copyright statement is taken from include/CGAL/Width_3.h. The
|
||||||
|
year numbers and the set of copyright holders (see list above) varies from
|
||||||
|
file to file.
|
||||||
|
|
||||||
|
Copyright (c) 1997-2000 ETH Zurich (Switzerland).
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
This file is part of CGAL (www.cgal.org); you may redistribute it under
|
||||||
|
the terms of the Q Public License version 1.0.
|
||||||
|
See the file LICENSE.QPL distributed with CGAL.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the software.
|
||||||
|
|
||||||
|
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copright statement for files under the FREE_USE license
|
||||||
|
=======================================================
|
||||||
|
|
||||||
|
Copyright (c) 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007
|
||||||
|
Utrecht University (The Netherlands),
|
||||||
|
ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
|
||||||
|
INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
|
||||||
|
(Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
|
||||||
|
and Tel-Aviv University (Israel). All rights reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
The following copyright statements apply to third-party libraries
|
||||||
|
distributed with CGAL:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
CORE
|
||||||
|
====
|
||||||
|
|
||||||
|
The following copyright statement applies to the CORE library in
|
||||||
|
src/CGALCore and include/CGAL/CORE.
|
||||||
|
|
||||||
|
Core Library Version 1.7, August 2004
|
||||||
|
Copyright (c) 1995-2004 Exact Computation Project
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
This file is part of CORE (http://cs.nyu.edu/exact/core/); you may
|
||||||
|
redistribute it under the terms of the Q Public License version 1.0.
|
||||||
|
See the file LICENSE.QPL distributed with CORE.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the
|
||||||
|
software.
|
||||||
|
|
||||||
|
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ImageIO
|
||||||
|
=======
|
||||||
|
|
||||||
|
The following copyright statement applies to the ImageIO library in
|
||||||
|
src/CGALimageIO.
|
||||||
|
|
||||||
|
Copyright (c) 2005, 2006 ASCLEPIOS Project, INRIA Sophia-Antipolis (France)
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
The files in this directory are part of the ImageIO Library.
|
||||||
|
You can redistribute them and/or modify them under the terms of the
|
||||||
|
GNU Lesser General Public License as published by the Free Software Foundation;
|
||||||
|
either version 3 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the software.
|
||||||
|
|
||||||
|
These files are provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
OpenNL
|
||||||
|
======
|
||||||
|
|
||||||
|
The following copyright statement applies to the OpenNL library in
|
||||||
|
include/CGAL/OpenNL.
|
||||||
|
|
||||||
|
author: Bruno Levy, INRIA, project ALICE
|
||||||
|
website: http://www.loria.fr/~levy/software
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License version 3 as published by the Free Software Foundation
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with this library; see the file /usr/share/common-licenses/LGPL-3.
|
||||||
|
If not, write to the Free Software Foundation, Inc., 51 Franklin St,
|
||||||
|
Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
LICENSE.QPL
|
||||||
|
===========
|
||||||
|
|
||||||
|
THE Q PUBLIC LICENSE
|
||||||
|
version 1.0
|
||||||
|
|
||||||
|
Copyright (C) 1999-2000 Troll Tech AS, Norway.
|
||||||
|
Everyone is permitted to copy and
|
||||||
|
distribute this license document.
|
||||||
|
|
||||||
|
The intent of this license is to establish freedom to share and change the
|
||||||
|
software regulated by this license under the open source model.
|
||||||
|
|
||||||
|
This license applies to any software containing a notice placed by the
|
||||||
|
copyright holder saying that it may be distributed under the terms of
|
||||||
|
the Q Public License version 1.0. Such software is herein referred to as
|
||||||
|
the Software. This license covers modification and distribution of the
|
||||||
|
Software, use of third-party application programs based on the Software,
|
||||||
|
and development of free software which uses the Software.
|
||||||
|
|
||||||
|
Granted Rights
|
||||||
|
|
||||||
|
1. You are granted the non-exclusive rights set forth in this license
|
||||||
|
provided you agree to and comply with any and all conditions in this
|
||||||
|
license. Whole or partial distribution of the Software, or software
|
||||||
|
items that link with the Software, in any form signifies acceptance of
|
||||||
|
this license.
|
||||||
|
|
||||||
|
2. You may copy and distribute the Software in unmodified form provided
|
||||||
|
that the entire package, including - but not restricted to - copyright,
|
||||||
|
trademark notices and disclaimers, as released by the initial developer
|
||||||
|
of the Software, is distributed.
|
||||||
|
|
||||||
|
3. You may make modifications to the Software and distribute your
|
||||||
|
modifications, in a form that is separate from the Software, such as
|
||||||
|
patches. The following restrictions apply to modifications:
|
||||||
|
|
||||||
|
a. Modifications must not alter or remove any copyright notices in
|
||||||
|
the Software.
|
||||||
|
|
||||||
|
b. When modifications to the Software are released under this
|
||||||
|
license, a non-exclusive royalty-free right is granted to the
|
||||||
|
initial developer of the Software to distribute your modification
|
||||||
|
in future versions of the Software provided such versions remain
|
||||||
|
available under these terms in addition to any other license(s) of
|
||||||
|
the initial developer.
|
||||||
|
|
||||||
|
4. You may distribute machine-executable forms of the Software or
|
||||||
|
machine-executable forms of modified versions of the Software, provided
|
||||||
|
that you meet these restrictions:
|
||||||
|
|
||||||
|
a. You must include this license document in the distribution.
|
||||||
|
|
||||||
|
b. You must ensure that all recipients of the machine-executable forms
|
||||||
|
are also able to receive the complete machine-readable source code
|
||||||
|
to the distributed Software, including all modifications, without
|
||||||
|
any charge beyond the costs of data transfer, and place prominent
|
||||||
|
notices in the distribution explaining this.
|
||||||
|
|
||||||
|
c. You must ensure that all modifications included in the
|
||||||
|
machine-executable forms are available under the terms of this
|
||||||
|
license.
|
||||||
|
|
||||||
|
5. You may use the original or modified versions of the Software to
|
||||||
|
compile, link and run application programs legally developed by you
|
||||||
|
or by others.
|
||||||
|
|
||||||
|
6. You may develop application programs, reusable components and other
|
||||||
|
software items that link with the original or modified versions of the
|
||||||
|
Software. These items, when distributed, are subject to the following
|
||||||
|
requirements:
|
||||||
|
|
||||||
|
a. You must ensure that all recipients of machine-executable forms of
|
||||||
|
these items are also able to receive and use the complete
|
||||||
|
machine-readable source code to the items without any charge
|
||||||
|
beyond the costs of data transfer.
|
||||||
|
|
||||||
|
b. You must explicitly license all recipients of your items to use
|
||||||
|
and re-distribute original and modified versions of the items in
|
||||||
|
both machine-executable and source code forms. The recipients must
|
||||||
|
be able to do so without any charges whatsoever, and they must be
|
||||||
|
able to re-distribute to anyone they choose.
|
||||||
|
|
||||||
|
|
||||||
|
c. If the items are not available to the general public, and the
|
||||||
|
initial developer of the Software requests a copy of the items,
|
||||||
|
then you must supply one.
|
||||||
|
|
||||||
|
Limitations of Liability
|
||||||
|
|
||||||
|
In no event shall the initial developers or copyright holders be liable
|
||||||
|
for any damages whatsoever, including - but not restricted to - lost
|
||||||
|
revenue or profits or other direct, indirect, special, incidental or
|
||||||
|
consequential damages, even if they have been advised of the possibility
|
||||||
|
of such damages, except to the extent invariable law, if any, provides
|
||||||
|
otherwise.
|
||||||
|
|
||||||
|
No Warranty
|
||||||
|
|
||||||
|
The Software and this license document are provided AS IS with NO WARRANTY
|
||||||
|
OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE.
|
||||||
|
Choice of Law
|
||||||
|
|
||||||
|
This license is governed by the Laws of Norway. Disputes shall be settled
|
||||||
|
by Oslo City Court.
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
usr/share/doc/cgal/demo.tar.gz usr/share/doc/libcgal8
|
||||||
|
usr/share/doc/cgal/examples.tar.gz usr/share/doc/libcgal8
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
usr/bin/*
|
||||||
|
usr/include/*
|
||||||
|
usr/lib/lib*.a
|
||||||
|
usr/lib/lib*.so
|
||||||
|
usr/lib/CGAL/*
|
||||||
|
usr/share/cmake-2.8/Modules/*
|
||||||
|
usr/share/man/man1/cgal_create_cmake_script.1
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
# use wildcard to avoid hard-coding the Ipe version
|
||||||
|
usr/lib/ipe/* usr/lib/ipe
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
usr/lib/lib*.so.* usr/lib
|
||||||
|
usr/share/doc/cgal/changelog usr/share/doc/libcgal8
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
libCGAL 8 libcgal8
|
||||||
|
libCGAL_Core 8 libcgal8
|
||||||
|
libCGAL_ImageIO 8 libcgal8
|
||||||
|
libCGAL_Qt4 8 libcgal8
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
# currently empty
|
||||||
|
|
@ -0,0 +1,143 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
.NOTPARALLEL:
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
# export DH_VERBOSE=1
|
||||||
|
|
||||||
|
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
||||||
|
CXXFLAGS += -g
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||||
|
INSTALL_PROGRAM += -s
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(DEB_BUILD_ARCH),alpha)
|
||||||
|
IEEE_FPU_OPTION = -mieee -mfp-rounding-mode=d
|
||||||
|
endif
|
||||||
|
|
||||||
|
configure-stamp: patch-stamp
|
||||||
|
dh_testdir
|
||||||
|
mkdir -p static
|
||||||
|
cd static && QTDIR= cmake .. \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_SKIP_RPATH=TRUE -DBUILD_SHARED_LIBS=FALSE \
|
||||||
|
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF
|
||||||
|
mkdir -p shared
|
||||||
|
cd shared && QTDIR= cmake .. \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_SKIP_RPATH=TRUE -DBUILD_SHARED_LIBS=TRUE \
|
||||||
|
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF
|
||||||
|
touch configure-stamp
|
||||||
|
|
||||||
|
build: build-arch build-indep
|
||||||
|
build-arch: build-stamp
|
||||||
|
build-indep: build-stamp
|
||||||
|
build-stamp: configure-stamp
|
||||||
|
dh_testdir
|
||||||
|
dh_prep
|
||||||
|
$(MAKE) -C static
|
||||||
|
$(MAKE) -C shared
|
||||||
|
|
||||||
|
mkdir -p shared/demo/CGAL_ipelets
|
||||||
|
cd shared/demo/CGAL_ipelets && QTDIR= cmake ../../../demo/CGAL_ipelets \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_SKIP_RPATH=TRUE -DBUILD_SHARED_LIBS=TRUE \
|
||||||
|
-DWITH_CGAL_Qt3=OFF -DCGAL_DIR=$(CURDIR)/shared
|
||||||
|
$(MAKE) -C shared/demo/CGAL_ipelets
|
||||||
|
|
||||||
|
ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
|
||||||
|
$(MAKE) -C debian/tests IEEE_FPU_OPTION="$(IEEE_FPU_OPTION)" rounding_modes1
|
||||||
|
LD_LIBRARY_PATH=shared/lib debian/tests/rounding_modes1
|
||||||
|
$(MAKE) -C debian/tests IEEE_FPU_OPTION="$(IEEE_FPU_OPTION)" rounding_modes2
|
||||||
|
LD_LIBRARY_PATH=shared/lib debian/tests/rounding_modes2
|
||||||
|
endif
|
||||||
|
touch build-stamp
|
||||||
|
|
||||||
|
clean: clean-patched unpatch
|
||||||
|
clean-patched: patch
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
$(MAKE) -C debian/tests clean
|
||||||
|
rm -fr shared static ipelets
|
||||||
|
rm -f build-stamp configure-stamp
|
||||||
|
dh_clean
|
||||||
|
|
||||||
|
install: build
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
# dh_prep
|
||||||
|
dh_installdirs
|
||||||
|
|
||||||
|
$(MAKE) -C static DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
$(MAKE) -C shared DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
|
||||||
|
# see bug #643278
|
||||||
|
# $(MAKE) -C shared/demo/CGAL_ipelets DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
IPE_VERSION=`dpkg-query -W -f='$${Version}' libipe-dev | sed 's/-.*$$//'`; \
|
||||||
|
mkdir -p debian/tmp/usr/lib/ipe/$$IPE_VERSION/ipelets; \
|
||||||
|
cp demo/CGAL_ipelets/lua/libCGAL_*.lua shared/demo/CGAL_ipelets/libCGAL_*.so \
|
||||||
|
debian/tmp/usr/lib/ipe/$$IPE_VERSION/ipelets
|
||||||
|
|
||||||
|
mkdir -p debian/tmp/usr/share/cmake-2.8/Modules
|
||||||
|
cp cmake/modules/FindCGAL.cmake debian/tmp/usr/share/cmake-2.8/Modules
|
||||||
|
|
||||||
|
mv debian/tmp/usr/share/doc/CGAL-`cat VERSION` debian/tmp/usr/share/doc/cgal
|
||||||
|
mv debian/tmp/usr/share/doc/cgal/CHANGES debian/tmp/usr/share/doc/cgal/changelog
|
||||||
|
rm debian/tmp/usr/share/doc/cgal/LICENSE*
|
||||||
|
rm debian/tmp/usr/share/doc/cgal/AUTHORS
|
||||||
|
|
||||||
|
tar cf - examples | gzip --best >debian/tmp/usr/share/doc/cgal/examples.tar.gz
|
||||||
|
tar cf - demo | gzip --best >debian/tmp/usr/share/doc/cgal/demo.tar.gz
|
||||||
|
|
||||||
|
rm debian/tmp/usr/bin/cgal_make_macosx_app
|
||||||
|
|
||||||
|
dh_install --sourcedir=debian/tmp --list-missing
|
||||||
|
|
||||||
|
ln -s libcgal8 debian/libcgal-demo/usr/share/doc/libcgal-demo
|
||||||
|
mkdir -p debian/libcgal-dev/usr/share/doc
|
||||||
|
ln -s libcgal8 debian/libcgal-dev/usr/share/doc/libcgal-dev
|
||||||
|
mkdir -p debian/libcgal-ipelets/usr/share/doc
|
||||||
|
ln -s libcgal8 debian/libcgal-ipelets/usr/share/doc/libcgal-ipelets
|
||||||
|
|
||||||
|
binary-indep: build install
|
||||||
|
dh_testdir -i
|
||||||
|
dh_testroot -i
|
||||||
|
dh_link -i
|
||||||
|
dh_compress -i
|
||||||
|
dh_fixperms -i
|
||||||
|
dh_installdeb -i
|
||||||
|
dh_gencontrol -i
|
||||||
|
dh_md5sums -i
|
||||||
|
dh_builddeb -i
|
||||||
|
|
||||||
|
binary-arch: build install
|
||||||
|
dh_testdir -a
|
||||||
|
dh_testroot -a
|
||||||
|
dh_installdocs -plibcgal8 debian/copyright
|
||||||
|
dh_installchangelogs -plibcgal8
|
||||||
|
dh_installman -a
|
||||||
|
dh_link -a
|
||||||
|
dh_strip -a
|
||||||
|
dh_compress -a
|
||||||
|
dh_fixperms -a
|
||||||
|
dh_makeshlibs -a
|
||||||
|
dh_installdeb -a
|
||||||
|
dh_shlibdeps -a -ldebian/libcgal8/usr/lib
|
||||||
|
dh_gencontrol -a
|
||||||
|
dh_md5sums -a
|
||||||
|
dh_builddeb -a
|
||||||
|
|
||||||
|
binary: binary-indep binary-arch
|
||||||
|
|
||||||
|
patch: patch-stamp
|
||||||
|
patch-stamp:
|
||||||
|
dpatch apply-all
|
||||||
|
touch patch-stamp
|
||||||
|
|
||||||
|
unpatch:
|
||||||
|
dpatch deapply-all
|
||||||
|
rm -fr patch-stamp debian/patched
|
||||||
|
|
||||||
|
.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
1.0
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
rounding_modes1: rounding_modes1.o
|
||||||
|
g++ $^ -o $@
|
||||||
|
|
||||||
|
rounding_modes2: rounding_modes2.o
|
||||||
|
g++ $^ -o $@ -lCGAL -L../../shared/lib
|
||||||
|
|
||||||
|
rounding_modes1.o: rounding_modes1.cpp
|
||||||
|
g++ -c $< -o $@ -frounding-math $(IEEE_FPU_OPTION)
|
||||||
|
|
||||||
|
rounding_modes2.o: rounding_modes2.cpp
|
||||||
|
g++ -c $< -o $@ -frounding-math $(IEEE_FPU_OPTION) -I../../include -I../../shared/include
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.o rounding_modes1 rounding_modes2
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
#include <fenv.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
|
int modes[4] = { FE_TOWARDZERO, FE_UPWARD, FE_DOWNWARD, FE_TONEAREST };
|
||||||
|
|
||||||
|
std::string str (int mode)
|
||||||
|
{
|
||||||
|
switch (mode)
|
||||||
|
{
|
||||||
|
case FE_TOWARDZERO: return "FE_TOWARDZERO";
|
||||||
|
case FE_UPWARD: return "FE_UPWARD";
|
||||||
|
case FE_DOWNWARD: return "FE_DOWNWARD";
|
||||||
|
case FE_TONEAREST: return "FE_TONEAREST";
|
||||||
|
default: throw __LINE__;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// global variable to stop constant propagation
|
||||||
|
double eps;
|
||||||
|
|
||||||
|
int fetestround ()
|
||||||
|
{
|
||||||
|
eps = std::numeric_limits<double>::denorm_min();
|
||||||
|
|
||||||
|
double x = -1.0;
|
||||||
|
double y = 1.0;
|
||||||
|
double x_plus_eps = x + eps;
|
||||||
|
double y_minus_eps = y - eps;
|
||||||
|
|
||||||
|
if ((x == x_plus_eps) && (y == y_minus_eps))
|
||||||
|
return FE_TONEAREST;
|
||||||
|
if (y == y_minus_eps)
|
||||||
|
return FE_UPWARD;
|
||||||
|
if (x == x_plus_eps)
|
||||||
|
return FE_DOWNWARD;
|
||||||
|
return FE_TOWARDZERO;
|
||||||
|
}
|
||||||
|
|
||||||
|
int main (int argc, char* argv[])
|
||||||
|
{
|
||||||
|
int errors = 0;
|
||||||
|
|
||||||
|
int mode_get = fegetround();
|
||||||
|
std::cout << "fegetround() = " << str(mode_get) << " " << std::endl;
|
||||||
|
|
||||||
|
for (int i=0; i<4; i++)
|
||||||
|
{
|
||||||
|
int mode_set = modes[i];
|
||||||
|
fesetround (mode_set);
|
||||||
|
std::cout << "fesetround (" << str(mode_set) << ")" << std::endl;
|
||||||
|
|
||||||
|
int mode_get = fegetround();
|
||||||
|
std::cout << "fegetround() = " << str(mode_get) << " ";
|
||||||
|
bool ok_get = mode_get == mode_set;
|
||||||
|
if (!ok_get)
|
||||||
|
errors++;
|
||||||
|
std::cout << (ok_get ? "(ok)" : "(error)") << std::endl;
|
||||||
|
|
||||||
|
int mode_test = fetestround();
|
||||||
|
std::cout << "fetestround() = " << str(mode_test) << " ";
|
||||||
|
bool ok_test = mode_test == mode_set;
|
||||||
|
if (!ok_test)
|
||||||
|
errors++;
|
||||||
|
std::cout << (ok_test ? "(ok)" : "(error)") << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
return errors;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,95 @@
|
||||||
|
// This tests the rounding mode functions.
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
|
#include <CGAL/Interval_nt.h>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
typedef CGAL::Interval_nt_advanced NT_adv;
|
||||||
|
typedef CGAL::Interval_nt<> NT;
|
||||||
|
|
||||||
|
void print_res (bool res)
|
||||||
|
{ std::cout << (res ? "ok" : "ERROR") << std::endl; }
|
||||||
|
|
||||||
|
// The results of 1-epsilon and -1+epsilon are enough
|
||||||
|
// to detect exactly the current rounding mode.
|
||||||
|
// 1-MIN_DOUBLE
|
||||||
|
// +------+-------+
|
||||||
|
// | 1 | 1-ulp |
|
||||||
|
// +--------+------+-------+
|
||||||
|
// -1+MIN_DOUBLE | -1 | near | -inf |
|
||||||
|
// | -1+ulp | +inf | zero |
|
||||||
|
// +--------+------+-------+
|
||||||
|
|
||||||
|
// I use a global variable here to avoid constant propagation.
|
||||||
|
double IA_min_double;
|
||||||
|
|
||||||
|
CGAL::FPU_CW_t
|
||||||
|
FPU_empiric_test()
|
||||||
|
{
|
||||||
|
IA_min_double = CGAL_IA_STOP_CPROP(CGAL_IA_MIN_DOUBLE);
|
||||||
|
double y = 1.0, z = -1.0;
|
||||||
|
double ye, ze;
|
||||||
|
ye = y - IA_min_double;
|
||||||
|
ze = z + IA_min_double;
|
||||||
|
if (y == ye && z == ze) return CGAL_FE_TONEAREST;
|
||||||
|
if (y == ye) return CGAL_FE_UPWARD;
|
||||||
|
if (z == ze) return CGAL_FE_DOWNWARD;
|
||||||
|
return CGAL_FE_TOWARDZERO;
|
||||||
|
}
|
||||||
|
|
||||||
|
void print_rounding_name (CGAL::FPU_CW_t r)
|
||||||
|
{
|
||||||
|
switch (r) {
|
||||||
|
case CGAL_FE_TONEAREST: std::cout << "NEAR\n"; break;
|
||||||
|
case CGAL_FE_DOWNWARD: std::cout << "DOWN\n"; break;
|
||||||
|
case CGAL_FE_UPWARD: std::cout << "UP\n"; break;
|
||||||
|
case CGAL_FE_TOWARDZERO: std::cout << "ZERO\n"; break;
|
||||||
|
default: std::cout << "unknown !\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
bool flag = true;
|
||||||
|
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TONEAREST);
|
||||||
|
std::cout << "default: ";
|
||||||
|
print_res(flag);
|
||||||
|
|
||||||
|
// Should be a no-op.
|
||||||
|
CGAL::FPU_set_cw(CGAL::FPU_get_cw());
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TONEAREST);
|
||||||
|
std::cout << "get/set: ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to zero.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_TOWARDZERO);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TOWARDZERO);
|
||||||
|
std::cout << "zero : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to infinity.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_UPWARD);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_UPWARD);
|
||||||
|
std::cout << "+inf : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to minus infinity.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_DOWNWARD);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_DOWNWARD);
|
||||||
|
std::cout << "-inf : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to nearest.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_TONEAREST);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TONEAREST);
|
||||||
|
std::cout << "near : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
return (int) !flag;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
# Note that the file URLs contain unpredictable IDs as directory. The
|
||||||
|
# uversionmagle options strips this ID.
|
||||||
|
#
|
||||||
|
# Note that only digits and "." are used to match the version number.
|
||||||
|
# Therefore we do not match beta releases.
|
||||||
|
#
|
||||||
|
version=3
|
||||||
|
opts=uversionmangle=s/(\d+).([\d\.]+)/$2/ \
|
||||||
|
https://gforge.inria.fr/frs/?group_id=52 \
|
||||||
|
https://gforge.inria.fr/frs/download.php/(\d+)/CGAL-([\d\.]+).tar.gz
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
README.Debian
|
||||||
|
-------------
|
||||||
|
|
||||||
|
The homepage of CGAL (http://www.cgal.org/) offers more information about CGAL.
|
||||||
|
In particular, a mailing list and the documentation for the library (in PDF and
|
||||||
|
HTML) are available. The authors ask you to give some feedback about your usage
|
||||||
|
of CGAL in a short questionnaire (in the download section).
|
||||||
|
|
||||||
|
|
||||||
|
Documentation
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Note that the CGAL documentation cannot be packaged for Debian due to unclear
|
||||||
|
license conditions. The complete documentation in PDF and HTML is available at
|
||||||
|
http://www.cgal.org/.
|
||||||
|
|
||||||
|
|
||||||
|
Demos and examples
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Tarballs with demos and examples can be found in /usr/share/doc/libcgal-demo.
|
||||||
|
Extract the tarballs somewhere and call "cmake ." to configure the
|
||||||
|
demos/examples. Call "make" to build them, either in the top-level directory
|
||||||
|
to build all demos/examples (which takes some time and needs quite some disk
|
||||||
|
space), or in the subdirectory of the desired demo/exmaple. The cmake option
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON is useful to generate verbose makefiles that show
|
||||||
|
each executed command.
|
||||||
|
|
||||||
|
|
||||||
|
Demos using libQGLViewer
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
The Debian package of libQGLViewer uses non-standard library names to offer the
|
||||||
|
library in a Qt3 and Qt4 flavor. The build system of CGAL has been patched to
|
||||||
|
handle the non-standard library name. If your libQGLViewer packages are older
|
||||||
|
than 2.3.1-4 you need to work around another problem with the non-standard
|
||||||
|
include directory. Create an include directory with the expected name
|
||||||
|
"QGLViewer", e.g.,
|
||||||
|
|
||||||
|
mkdir -p /some/dir
|
||||||
|
ln -s /usr/include/qglviewer-qt4 /some/dir/QGLViewer
|
||||||
|
|
||||||
|
and pass the option
|
||||||
|
|
||||||
|
-DQGLVIEWER_INCLUDE_DIR=/some/dir
|
||||||
|
|
||||||
|
to cmake. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522659 for more
|
||||||
|
information.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 06 Feb 2010 12:29:02 +0100
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
README.source
|
||||||
|
-------------
|
||||||
|
|
||||||
|
The package uses dpatch to manage patches to the original source.
|
||||||
|
See /usr/share/doc/dpatch/README.source.gz for details.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Mon, 28 Sep 2009 21:19:03 +0200
|
||||||
|
|
@ -0,0 +1,259 @@
|
||||||
|
cgal (3.9-1~squeeze1) stable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal7 to libcgal8 to reflect SONAME change.
|
||||||
|
* Add workaround for bug #643278.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Wed, 28 Sep 2011 19:51:35 +0200
|
||||||
|
|
||||||
|
cgal (3.8-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal6 to libcgal7 to reflect SONAME change.
|
||||||
|
* Update Standards-Version to 3.9.2 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 21 Apr 2011 18:45:25 +0200
|
||||||
|
|
||||||
|
cgal (3.7-5) unstable; urgency=low
|
||||||
|
|
||||||
|
* Upload to unstable.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 06 Mar 2011 17:26:11 +0100
|
||||||
|
|
||||||
|
cgal (3.7-4) experimental; urgency=low
|
||||||
|
|
||||||
|
* Build with libgmp10 (Closes: #614797). Thanks to Christian M. Amsüss.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 27 Feb 2011 16:36:22 +0100
|
||||||
|
|
||||||
|
cgal (3.7-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Disable support for Qt3 because Qt3 has been removed from the repository
|
||||||
|
(Closes: #604478).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 10 Feb 2011 21:06:09 +0100
|
||||||
|
|
||||||
|
cgal (3.7-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Upload to unstable.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 06 Feb 2011 13:53:00 +0100
|
||||||
|
|
||||||
|
cgal (3.7-1) experimental; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal5 to libcgal6 to reflect SONAME change.
|
||||||
|
* Rename binary package libcgal5-ipelets to libcgal-ipelets because it is
|
||||||
|
not possible to install the ipelets for different SONAMEs in parallel.
|
||||||
|
* Remove ipe-default-to-version-7.dpatch: the Ipe version is now
|
||||||
|
auto-detected.
|
||||||
|
* Remove fix-core-64bit.dpatch (fixed upstream).
|
||||||
|
* Add qt4-dev-tools to Suggests: of libcgal-demo for qcollectiongenerator.
|
||||||
|
* Update Standards-Version to 3.9.1 (-D_REENTRANT no longer needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 17 Oct 2010 14:27:54 +0200
|
||||||
|
|
||||||
|
cgal (3.6.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add fix-core-64bit.dpatch: use CORE::CHUNK_BIT instead of hard-coded
|
||||||
|
constant 14.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Tue, 24 Aug 2010 19:46:36 +0200
|
||||||
|
|
||||||
|
cgal (3.6.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Set SOVERSION explicitly to 5.0.1 as told by upstream.
|
||||||
|
* Remove architecture exceptions from Suggests: for libcgal-demo which is no
|
||||||
|
longer allowed by dpkg-gencontrol (see #560071).
|
||||||
|
* Fix debian/watch file.
|
||||||
|
* Change license of packaging to LGPL 2.1 or later because referencing the
|
||||||
|
BSD license in /usr/share/common-licenses is deprecated.
|
||||||
|
* Update Standards-Version to 3.9.0 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 01 Jul 2010 23:37:41 +0200
|
||||||
|
|
||||||
|
cgal (3.6-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal4 to libcgal5 to reflect SONAME change.
|
||||||
|
* Remove fix-cmake-qglviewer-detection.dpatch (fixed upstream).
|
||||||
|
* New binary package libcgal5-ipelets which contains plugins for Ipe 7.x
|
||||||
|
(Closes: #557643).
|
||||||
|
* Add ipe-default-to-version-7.dpatch: change default of WITH_IPE_7 to ON.
|
||||||
|
* Remove libboost-graph1.35-dev from Build-Depends: and Suggests: of
|
||||||
|
libcgal-demo (not needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Mon, 22 Mar 2010 19:09:15 +0100
|
||||||
|
|
||||||
|
|
||||||
|
cgal (3.5.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add fix-cmake-qglviewer-detection.dpatch (Closes: #564126), thanks to
|
||||||
|
Marc Glisse for the patch.
|
||||||
|
* Update Standards-Version to 3.8.4 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 06 Feb 2010 12:29:02 +0100
|
||||||
|
|
||||||
|
cgal (3.5.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Fix error in handling of "debug" and "nostrip" in $(DEB_BUILD_OPTIONS)
|
||||||
|
(see also #552961).
|
||||||
|
* Unset QTDIR before calling cmake to reduce problems in non-clean build
|
||||||
|
environments.
|
||||||
|
* Add ${misc:Depends} to Depends: of all binary packages as found by
|
||||||
|
lintian.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 22 Nov 2009 22:31:00 +0100
|
||||||
|
|
||||||
|
cgal (3.5-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal3 to libcgal4 to reflect SONAME change.
|
||||||
|
* Remove fix-FindCGAL-cmake.dpatch (fixed upstream).
|
||||||
|
* Remove fix-demos-examples-configuration.dpatch (fixed upstream).
|
||||||
|
* Remove add-cmake-2.6.3-support.dpatch (fixed upstream).
|
||||||
|
* Remove fix-demo-polyheron-3.dpatch (fixed upstream).
|
||||||
|
* Remove "-mieee -mfp-rounding-mode=d" from CGAL_CXX_FLAGS on alpha
|
||||||
|
(fixed upstream).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 03 Oct 2009 16:43:08 +0200
|
||||||
|
|
||||||
|
cgal (3.4-5) unstable; urgency=low
|
||||||
|
|
||||||
|
* Return to unversioned boost dependencies.
|
||||||
|
* Re-add working watch file.
|
||||||
|
* Update Standards-Version to 3.8.3 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Wed, 16 Sep 2009 19:25:09 +0200
|
||||||
|
|
||||||
|
cgal (3.4-4) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add patch fix-demos-examples-configuration.dpatch.
|
||||||
|
* Add patch add-cmake-2.6.3-support.dpatch.
|
||||||
|
* Add patch fix-demo-polyheron-3.dpatch.
|
||||||
|
* Fix support for nocheck in DEB_BUILD_OPTIONS (was broken in 3.4-3).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Fri, 01 May 2009 17:31:00 +0200
|
||||||
|
|
||||||
|
cgal (3.4-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Update boost dependencies to 1.38.
|
||||||
|
* Remove watch file (new upstream location uses unpredictable paths).
|
||||||
|
* Update Standards-Version to 3.8.1 (add support for nocheck in
|
||||||
|
DEB_BUILD_OPTIONS).
|
||||||
|
* Change Suggests: dependency of libcgal-demo from libqglviewer-dev
|
||||||
|
to libqglviewer-qt4-dev (all demos using libQGLViewer use Qt4).
|
||||||
|
* Add workaround for #522659 to README.Debian.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 18 Apr 2009 11:46:19 +0200
|
||||||
|
|
||||||
|
cgal (3.4-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add "-mieee -mfp-rounding-mode=d" to CGAL_CXX_FLAGS on alpha (got lost
|
||||||
|
during the transition to cmake).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 15 Feb 2009 15:06:31 +0100
|
||||||
|
|
||||||
|
cgal (3.4-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Adapt debian/rules to the new cmake-based build system.
|
||||||
|
* Downgrade LAPACK- and BLAS-related Build-Depends: to Suggests: for
|
||||||
|
libcgal-demo, since it is now possible to configure demos and examples
|
||||||
|
independently of the library.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 22 Jan 2009 18:39:44 +0100
|
||||||
|
|
||||||
|
cgal (3.3.1-4) unstable; urgency=low
|
||||||
|
|
||||||
|
* Remove fortran-transition.dpatch, update build-library.dpatch:
|
||||||
|
Do not link with -lg2c in configuration tests (Closes: #475721).
|
||||||
|
* Update cgal_create_makefile.dpatch to remove bashisms (Closes: #486045).
|
||||||
|
* Update debian/tests/rounding_modes2.cpp to stop constant propagation.
|
||||||
|
* Update Standards-Version to 3.8.0 (explain in debian/copyright why package
|
||||||
|
is in non-free).
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Sun, 15 Jun 2008 22:11:14 +0200
|
||||||
|
|
||||||
|
cgal (3.3.1-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add patch fortran-transition.dpatch (Closes: #470359), thanks to Kumar
|
||||||
|
Appaiah for the patch.
|
||||||
|
* debian/rules: s/lapack3-dev/liblapack-dev/,
|
||||||
|
s/atlas3-base-dev/libatlas-base-dev/, s/libatlas-3.so/libatlas.so.3gf/ .
|
||||||
|
* Fix manpage w.r.t. makefile vs. cgal.mk (Closes: #466430).
|
||||||
|
* Add second test for FPU rounding modes.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Wed, 19 Mar 2008 20:27:34 +0100
|
||||||
|
|
||||||
|
cgal (3.3.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* debian/control: Really really drop support for atlas and lapack on arm
|
||||||
|
and m68k, fix atlas and lapack support on other architectures.
|
||||||
|
* debian/control: Extend exclusions for arm to variants armeb and armel
|
||||||
|
(Closes: #460141).
|
||||||
|
* debian/control: Remove virtual dependency liblapack-3.so which is
|
||||||
|
provided by atlas3-base-dev (which does *not* provide
|
||||||
|
/usr/lib/liblapack.so, just /usr/lib/atlas/liblapack.so).
|
||||||
|
* debian/control: Replace virtual dependency libblas-3.so by
|
||||||
|
libatlas-3.so.
|
||||||
|
* Add patch qt-compatibility-headers.dpatch (Closes: #464251).
|
||||||
|
* debian/control: Add Homepage: field, adjust Description: accordingly.
|
||||||
|
* Update Standards-Version to 3.7.3 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Wed, 06 Feb 2008 18:37:52 +0100
|
||||||
|
|
||||||
|
cgal (3.3.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Remove patch bugfix-fpu-rounding-mode-alpha.dpatch (included by
|
||||||
|
upstream).
|
||||||
|
* Fail build if FPU rounding mode test fails.
|
||||||
|
* Really drop support for atlas and lapack on arm and m68k.
|
||||||
|
* Fix cgal_create_makefile w.r.t. makefile vs. cgal.mk.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Mon, 3 Sep 2007 18:57:36 +0200
|
||||||
|
|
||||||
|
cgal (3.3-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add patch bugfix-fpu-rounding-mode-alpha.dpatch (Closes: #431230).
|
||||||
|
* debian/control: Add versioned depends on libboost-program-options-dev,
|
||||||
|
drop build-dependency on libboost-graph-dev.
|
||||||
|
* Drop support for atlas on arm and m68k.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Mon, 16 Jul 2007 15:32:35 +0200
|
||||||
|
|
||||||
|
cgal (3.3-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Sun, 3 Jun 2007 09:36:36 +0200
|
||||||
|
|
||||||
|
cgal (3.2.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Fix FTBFS on hppa (and probably also on other architectures) related
|
||||||
|
to FPU rounding modes (Closes: #404464).
|
||||||
|
* debian/control: Add tag XS-Autobuild.
|
||||||
|
* debian/copyright: Add note about autobuilding.
|
||||||
|
* debian/control: Make package binNMU-safe.
|
||||||
|
* Remove linda override for bug #369977 (no longer needed).
|
||||||
|
* Add watch file.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Fri, 26 Jan 2007 19:16:36 +0100
|
||||||
|
|
||||||
|
cgal (3.2.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Add linda override for bug #369977.
|
||||||
|
* Remove patch bugfix-demo-examples-makefiles.dpatch (no longer needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Fri, 14 Jul 2006 21:20:16 +0200
|
||||||
|
|
||||||
|
cgal (3.2-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* First upload to Debian archive. (Closes: #251885)
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Mon, 29 May 2006 20:24:27 +0200
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
7
|
||||||
|
|
@ -0,0 +1,74 @@
|
||||||
|
Source: cgal
|
||||||
|
Section: non-free/libs
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Joachim Reichel <reichel@debian.org>
|
||||||
|
# "ipe" is only needed because it contains goodies.lua which is needed by FindIPE.cmake
|
||||||
|
Build-Depends: debhelper (>= 7), dpatch, cmake, libboost-dev,
|
||||||
|
libboost-thread-dev, libboost-program-options-dev, libgmp3-dev, libmpfr-dev,
|
||||||
|
libqt4-dev, libqt4-opengl-dev, zlib1g-dev, libipe-dev (>= 7), ipe
|
||||||
|
Standards-Version: 3.9.1
|
||||||
|
Homepage: http://www.cgal.org/
|
||||||
|
XS-Autobuild: yes
|
||||||
|
|
||||||
|
Package: libcgal8
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: C++ library for computational geometry
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
The CGAL library contains:
|
||||||
|
- the Kernel with geometric primitives such as points, vectors, lines,
|
||||||
|
predicates for testing things such as relative positions of points, and
|
||||||
|
operations such as intersections and distance calculation.
|
||||||
|
- the Basic Library which is a collection of standard data structures and
|
||||||
|
geometric algorithms, such as convex hull in 2D/3D, (Delaunay)
|
||||||
|
triangulation in 2D/3D, planar map, polyhedron, smallest enclosing circle,
|
||||||
|
and multidimensional query structures.
|
||||||
|
- the Support Library which offers interfaces to other packages, e.g., for
|
||||||
|
visualisation, and I/O, and other support facilities.
|
||||||
|
|
||||||
|
Package: libcgal-dev
|
||||||
|
Section: non-free/libdevel
|
||||||
|
Architecture: any
|
||||||
|
Depends: libcgal8 (= ${binary:Version}), libboost-dev,
|
||||||
|
libboost-thread-dev, libboost-program-options-dev, libgmp3-dev, libmpfr-dev,
|
||||||
|
libqt4-dev, zlib1g-dev, ${misc:Depends}
|
||||||
|
Description: C++ library for computational geometry (development files)
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
This package contains the header files and static libraries.
|
||||||
|
|
||||||
|
Package: libcgal-demo
|
||||||
|
Section: non-free/devel
|
||||||
|
Architecture: all
|
||||||
|
Depends: libcgal-dev (>= ${binary:Version}), libcgal8 (>= ${binary:Version}),
|
||||||
|
${misc:Depends}
|
||||||
|
Suggests: liblapack-dev, libatlas-base-dev | libatlas.so.3gf, gfortran,
|
||||||
|
geomview, libqglviewer-qt4-dev, libipe-dev (>= 7), libglew1.5-dev | libglew-dev,
|
||||||
|
libmagick++-dev | libmagick++9-dev, qt4-dev-tools
|
||||||
|
Description: C++ library for computational geometry (demos)
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
This package contains the demos and examples.
|
||||||
|
|
||||||
|
Package: libcgal-ipelets
|
||||||
|
Architecture: any
|
||||||
|
Depends: libcgal8 (>= ${binary:Version}), ipe (>= 7), ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Conflicts: libcgal5-ipelets
|
||||||
|
Replaces: libcgal5-ipelets
|
||||||
|
Description: C++ library for computational geometry (ipelets)
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
This package contains the ipelets, i.e., plugins for ipe.
|
||||||
|
|
@ -0,0 +1,442 @@
|
||||||
|
This package was debianized by Joachim Reichel <reichel@debian.org> on
|
||||||
|
Thu, 29 Apr 2004 18:43:18 +0200.
|
||||||
|
|
||||||
|
It was downloaded from http://www.cgal.org/download/index.html.
|
||||||
|
|
||||||
|
The Debian packaging is Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009
|
||||||
|
Joachim Reichel <reichel@debian.org> and is licensed under the LGPL license,
|
||||||
|
eihter version 3 or later (at your option), which can be found in
|
||||||
|
/usr/share/common-licenses/LGPL-3.
|
||||||
|
|
||||||
|
The package is not in main, but in non-free since parts of it are licensed
|
||||||
|
under the QPL. This license is not DFSG-free, but it permits one to autobuild
|
||||||
|
the package and to redistribute it in the non-free archive.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors
|
||||||
|
=======
|
||||||
|
|
||||||
|
Pierre Alliez
|
||||||
|
Matthias Bäsken
|
||||||
|
Eric Berberich
|
||||||
|
Olivier Billet
|
||||||
|
Jean-Daniel Boissonnat
|
||||||
|
Carine Bonetto
|
||||||
|
Mario Botsch
|
||||||
|
Hervé Brönnimann
|
||||||
|
Fernando Cacciola
|
||||||
|
Manuel Caroli
|
||||||
|
Nicolas Carrez
|
||||||
|
Frédéric Cazals
|
||||||
|
Raphaëlle Chaine
|
||||||
|
Tran Kai Frank Da
|
||||||
|
Christophe Delage
|
||||||
|
Olivier Devillers
|
||||||
|
Katrin Dobrindt
|
||||||
|
Arno Eigenwillig
|
||||||
|
Eti Ezra
|
||||||
|
Andreas Fabri
|
||||||
|
Frédéric Fichel
|
||||||
|
Kaspar Fischer
|
||||||
|
Eyal Flato
|
||||||
|
Julia Flötotto
|
||||||
|
Efi Fogel
|
||||||
|
Wolfgang Freiseisen
|
||||||
|
Bernd Gärtner
|
||||||
|
Geert-Jan Giezeman
|
||||||
|
Marc Glisse
|
||||||
|
Shlomo Golubev
|
||||||
|
Miguel Granados
|
||||||
|
Gael Guennebaud
|
||||||
|
Philippe Guigue
|
||||||
|
Ankit Gupta
|
||||||
|
Peter Hachenberger
|
||||||
|
Iddo Hanniel
|
||||||
|
Idit Haran
|
||||||
|
Sariel Har-Peled
|
||||||
|
Julien Hazebrouck
|
||||||
|
Michael Hemmer
|
||||||
|
Thomas Herrmann
|
||||||
|
Susan Hert
|
||||||
|
Shai Hirsch
|
||||||
|
Michael Hoffmann
|
||||||
|
Dominik Huelse
|
||||||
|
Marcel Janer
|
||||||
|
Athanasios Kakargias
|
||||||
|
Menelaos Karavelas
|
||||||
|
Michael Kerber
|
||||||
|
Lutz Kettner
|
||||||
|
Nico Kruithof
|
||||||
|
Sylvain Lazard
|
||||||
|
Eran Leiserowitz
|
||||||
|
Bruno Lévy
|
||||||
|
Sebastian Limbach
|
||||||
|
Kapelushnik Lior
|
||||||
|
Eugene Lipovetsky
|
||||||
|
Sébastien Loriot
|
||||||
|
Pedro Machado
|
||||||
|
Bastien Manuel
|
||||||
|
Naama Mayer
|
||||||
|
Abdelkrim Mebarki
|
||||||
|
Kurt Mehlhorn
|
||||||
|
Naceur Meskini
|
||||||
|
Andreas Meyer
|
||||||
|
Michal Meyerovitch
|
||||||
|
Oren Nechushtan
|
||||||
|
Gabriele Neyer
|
||||||
|
Ralf Osbild
|
||||||
|
Steve Oudot
|
||||||
|
Eli Packer
|
||||||
|
Dmitrii Pasechnik
|
||||||
|
Luis Peñaranda
|
||||||
|
Sylvain Pion
|
||||||
|
Marc Pouget
|
||||||
|
Sigal Raab
|
||||||
|
François Rebufat
|
||||||
|
Joachim Reichel
|
||||||
|
David Rey
|
||||||
|
Laurent Rineau
|
||||||
|
Daniel Russel
|
||||||
|
Niv Sabath
|
||||||
|
Laurent Saboret
|
||||||
|
Nader Salman
|
||||||
|
Stefan Schirra
|
||||||
|
Sven Schönherr
|
||||||
|
Michael Seel
|
||||||
|
Ophir Setter
|
||||||
|
Le-Jeng Shiue
|
||||||
|
Hans Tangelder
|
||||||
|
Stéphane Tayeb
|
||||||
|
Monique Teillaud
|
||||||
|
Jane Tournois
|
||||||
|
Constantinos Tsirogiannis
|
||||||
|
Radu Ursu
|
||||||
|
Carl Van Geem
|
||||||
|
Remco Veltkamp
|
||||||
|
Ron Wein
|
||||||
|
Wieger Wesselink
|
||||||
|
Camille Wormser
|
||||||
|
Mariette Yvinec
|
||||||
|
Afra Zomorodian
|
||||||
|
Guy Zucker
|
||||||
|
Baruch Zukerman
|
||||||
|
Tali Zvi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright holders
|
||||||
|
=================
|
||||||
|
|
||||||
|
Utrecht University (The Netherlands)
|
||||||
|
ETH Zurich (Switzerland)
|
||||||
|
Freie Universitaet Berlin (Germany)
|
||||||
|
INRIA Sophia-Antipolis (France)
|
||||||
|
Martin-Luther-University Halle-Wittenberg (Germany)
|
||||||
|
Max-Planck-Institute Saarbruecken (Germany)
|
||||||
|
RISC Linz (Austria)
|
||||||
|
Tel-Aviv University (Israel)
|
||||||
|
|
||||||
|
Stanford University (USA)
|
||||||
|
Foundation for Research and Technology-Hellas (Greece)
|
||||||
|
|
||||||
|
GeometryFactory
|
||||||
|
|
||||||
|
Fernando Luis Cacciola Carballal
|
||||||
|
Le-Jeng Shiue
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (from upstream file LICENSE)
|
||||||
|
======================================
|
||||||
|
|
||||||
|
The CGAL software consists of several parts, each of which is licensed under
|
||||||
|
an open source license. It is also possible to obtain commercial licenses
|
||||||
|
from GeometryFactory (www.geometryfactory.com) for all or parts of CGAL.
|
||||||
|
|
||||||
|
The source code of the CGAL library can be found in the directories
|
||||||
|
"src/CGAL", "src/CGALQt", "src/CGALQt4" and "include/CGAL" (with the
|
||||||
|
exception of "include/CGAL/CORE", and "include/CGAL/OpenNL").
|
||||||
|
It is specified in each file of the CGAL library which
|
||||||
|
license applies to it. This is either the GNU Lesser General Public License
|
||||||
|
(as published by the Free Software Foundation; version 3 of the License)
|
||||||
|
or the Q Public License (version 1.0), *depending on each file*. The texts
|
||||||
|
of both licenses can be found in the files LICENSE.LGPL and LICENSE.QPL.
|
||||||
|
|
||||||
|
Distributed along with CGAL (for the users' convenience), but not part of
|
||||||
|
CGAL, are the following third-party libraries, available under their own
|
||||||
|
licenses:
|
||||||
|
|
||||||
|
- CORE, in the directories "include/CGAL/CORE" and "src/CGALCore", is
|
||||||
|
licensed under the QPL (see LICENSE.QPL).
|
||||||
|
- ImageIO, in the directory "src/CGALimageIO", is licensed under the LGPL
|
||||||
|
(see LICENSE.LGPL).
|
||||||
|
- OpenNL, in the directory "include/CGAL/OpenNL", is licensed under the LGPL
|
||||||
|
(see LICENSE.LGPL).
|
||||||
|
|
||||||
|
All other files that do not have an explicit copyright notice (e.g., all
|
||||||
|
examples and some demos) are licensed under a very permissive license. The
|
||||||
|
exact license text can be found in the file LICENSE.FREE_USE.
|
||||||
|
|
||||||
|
More information on the CGAL license can be found at
|
||||||
|
http://www.cgal.org/license.html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright statements for LGPL'd files
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
The following copyright statement is taken from include/CGAL/config.h. The
|
||||||
|
year numbers and the set of copyright holders (see list above) varies from
|
||||||
|
file to file.
|
||||||
|
|
||||||
|
Copyright (c) 1997-2004 Utrecht University (The Netherlands),
|
||||||
|
ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
|
||||||
|
INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
|
||||||
|
(Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
|
||||||
|
and Tel-Aviv University (Israel). All rights reserved.
|
||||||
|
|
||||||
|
This file is part of CGAL (www.cgal.org); you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public License as
|
||||||
|
published by the Free Software Foundation; either version 3 of the License,
|
||||||
|
or (at your option) any later version.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the software.
|
||||||
|
|
||||||
|
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright statement for QPL'd files
|
||||||
|
===================================
|
||||||
|
|
||||||
|
The following copyright statement is taken from include/CGAL/Width_3.h. The
|
||||||
|
year numbers and the set of copyright holders (see list above) varies from
|
||||||
|
file to file.
|
||||||
|
|
||||||
|
Copyright (c) 1997-2000 ETH Zurich (Switzerland).
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
This file is part of CGAL (www.cgal.org); you may redistribute it under
|
||||||
|
the terms of the Q Public License version 1.0.
|
||||||
|
See the file LICENSE.QPL distributed with CGAL.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the software.
|
||||||
|
|
||||||
|
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copright statement for files under the FREE_USE license
|
||||||
|
=======================================================
|
||||||
|
|
||||||
|
Copyright (c) 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007
|
||||||
|
Utrecht University (The Netherlands),
|
||||||
|
ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
|
||||||
|
INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
|
||||||
|
(Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
|
||||||
|
and Tel-Aviv University (Israel). All rights reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
The following copyright statements apply to third-party libraries
|
||||||
|
distributed with CGAL:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
CORE
|
||||||
|
====
|
||||||
|
|
||||||
|
The following copyright statement applies to the CORE library in
|
||||||
|
src/CGALCore and include/CGAL/CORE.
|
||||||
|
|
||||||
|
Core Library Version 1.7, August 2004
|
||||||
|
Copyright (c) 1995-2004 Exact Computation Project
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
This file is part of CORE (http://cs.nyu.edu/exact/core/); you may
|
||||||
|
redistribute it under the terms of the Q Public License version 1.0.
|
||||||
|
See the file LICENSE.QPL distributed with CORE.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the
|
||||||
|
software.
|
||||||
|
|
||||||
|
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ImageIO
|
||||||
|
=======
|
||||||
|
|
||||||
|
The following copyright statement applies to the ImageIO library in
|
||||||
|
src/CGALimageIO.
|
||||||
|
|
||||||
|
Copyright (c) 2005, 2006 ASCLEPIOS Project, INRIA Sophia-Antipolis (France)
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
The files in this directory are part of the ImageIO Library.
|
||||||
|
You can redistribute them and/or modify them under the terms of the
|
||||||
|
GNU Lesser General Public License as published by the Free Software Foundation;
|
||||||
|
either version 3 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the software.
|
||||||
|
|
||||||
|
These files are provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
OpenNL
|
||||||
|
======
|
||||||
|
|
||||||
|
The following copyright statement applies to the OpenNL library in
|
||||||
|
include/CGAL/OpenNL.
|
||||||
|
|
||||||
|
author: Bruno Levy, INRIA, project ALICE
|
||||||
|
website: http://www.loria.fr/~levy/software
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License version 3 as published by the Free Software Foundation
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with this library; see the file /usr/share/common-licenses/LGPL-3.
|
||||||
|
If not, write to the Free Software Foundation, Inc., 51 Franklin St,
|
||||||
|
Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
LICENSE.QPL
|
||||||
|
===========
|
||||||
|
|
||||||
|
THE Q PUBLIC LICENSE
|
||||||
|
version 1.0
|
||||||
|
|
||||||
|
Copyright (C) 1999-2000 Troll Tech AS, Norway.
|
||||||
|
Everyone is permitted to copy and
|
||||||
|
distribute this license document.
|
||||||
|
|
||||||
|
The intent of this license is to establish freedom to share and change the
|
||||||
|
software regulated by this license under the open source model.
|
||||||
|
|
||||||
|
This license applies to any software containing a notice placed by the
|
||||||
|
copyright holder saying that it may be distributed under the terms of
|
||||||
|
the Q Public License version 1.0. Such software is herein referred to as
|
||||||
|
the Software. This license covers modification and distribution of the
|
||||||
|
Software, use of third-party application programs based on the Software,
|
||||||
|
and development of free software which uses the Software.
|
||||||
|
|
||||||
|
Granted Rights
|
||||||
|
|
||||||
|
1. You are granted the non-exclusive rights set forth in this license
|
||||||
|
provided you agree to and comply with any and all conditions in this
|
||||||
|
license. Whole or partial distribution of the Software, or software
|
||||||
|
items that link with the Software, in any form signifies acceptance of
|
||||||
|
this license.
|
||||||
|
|
||||||
|
2. You may copy and distribute the Software in unmodified form provided
|
||||||
|
that the entire package, including - but not restricted to - copyright,
|
||||||
|
trademark notices and disclaimers, as released by the initial developer
|
||||||
|
of the Software, is distributed.
|
||||||
|
|
||||||
|
3. You may make modifications to the Software and distribute your
|
||||||
|
modifications, in a form that is separate from the Software, such as
|
||||||
|
patches. The following restrictions apply to modifications:
|
||||||
|
|
||||||
|
a. Modifications must not alter or remove any copyright notices in
|
||||||
|
the Software.
|
||||||
|
|
||||||
|
b. When modifications to the Software are released under this
|
||||||
|
license, a non-exclusive royalty-free right is granted to the
|
||||||
|
initial developer of the Software to distribute your modification
|
||||||
|
in future versions of the Software provided such versions remain
|
||||||
|
available under these terms in addition to any other license(s) of
|
||||||
|
the initial developer.
|
||||||
|
|
||||||
|
4. You may distribute machine-executable forms of the Software or
|
||||||
|
machine-executable forms of modified versions of the Software, provided
|
||||||
|
that you meet these restrictions:
|
||||||
|
|
||||||
|
a. You must include this license document in the distribution.
|
||||||
|
|
||||||
|
b. You must ensure that all recipients of the machine-executable forms
|
||||||
|
are also able to receive the complete machine-readable source code
|
||||||
|
to the distributed Software, including all modifications, without
|
||||||
|
any charge beyond the costs of data transfer, and place prominent
|
||||||
|
notices in the distribution explaining this.
|
||||||
|
|
||||||
|
c. You must ensure that all modifications included in the
|
||||||
|
machine-executable forms are available under the terms of this
|
||||||
|
license.
|
||||||
|
|
||||||
|
5. You may use the original or modified versions of the Software to
|
||||||
|
compile, link and run application programs legally developed by you
|
||||||
|
or by others.
|
||||||
|
|
||||||
|
6. You may develop application programs, reusable components and other
|
||||||
|
software items that link with the original or modified versions of the
|
||||||
|
Software. These items, when distributed, are subject to the following
|
||||||
|
requirements:
|
||||||
|
|
||||||
|
a. You must ensure that all recipients of machine-executable forms of
|
||||||
|
these items are also able to receive and use the complete
|
||||||
|
machine-readable source code to the items without any charge
|
||||||
|
beyond the costs of data transfer.
|
||||||
|
|
||||||
|
b. You must explicitly license all recipients of your items to use
|
||||||
|
and re-distribute original and modified versions of the items in
|
||||||
|
both machine-executable and source code forms. The recipients must
|
||||||
|
be able to do so without any charges whatsoever, and they must be
|
||||||
|
able to re-distribute to anyone they choose.
|
||||||
|
|
||||||
|
|
||||||
|
c. If the items are not available to the general public, and the
|
||||||
|
initial developer of the Software requests a copy of the items,
|
||||||
|
then you must supply one.
|
||||||
|
|
||||||
|
Limitations of Liability
|
||||||
|
|
||||||
|
In no event shall the initial developers or copyright holders be liable
|
||||||
|
for any damages whatsoever, including - but not restricted to - lost
|
||||||
|
revenue or profits or other direct, indirect, special, incidental or
|
||||||
|
consequential damages, even if they have been advised of the possibility
|
||||||
|
of such damages, except to the extent invariable law, if any, provides
|
||||||
|
otherwise.
|
||||||
|
|
||||||
|
No Warranty
|
||||||
|
|
||||||
|
The Software and this license document are provided AS IS with NO WARRANTY
|
||||||
|
OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE.
|
||||||
|
Choice of Law
|
||||||
|
|
||||||
|
This license is governed by the Laws of Norway. Disputes shall be settled
|
||||||
|
by Oslo City Court.
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
usr/share/doc/cgal/demo.tar.gz usr/share/doc/libcgal8
|
||||||
|
usr/share/doc/cgal/examples.tar.gz usr/share/doc/libcgal8
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
usr/bin/*
|
||||||
|
usr/include/*
|
||||||
|
usr/lib/lib*.a
|
||||||
|
usr/lib/lib*.so
|
||||||
|
usr/lib/CGAL/*
|
||||||
|
usr/share/cmake-2.8/Modules/*
|
||||||
|
usr/share/man/man1/cgal_create_cmake_script.1
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
# use wildcard to avoid hard-coding the Ipe version
|
||||||
|
usr/lib/ipe/* usr/lib/ipe
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
usr/lib/lib*.so.* usr/lib
|
||||||
|
usr/share/doc/cgal/changelog usr/share/doc/libcgal8
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
libCGAL 8 libcgal8
|
||||||
|
libCGAL_Core 8 libcgal8
|
||||||
|
libCGAL_ImageIO 8 libcgal8
|
||||||
|
libCGAL_Qt4 8 libcgal8
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
# currently empty
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
## ipe-default-to-version-7.dpatch by Joachim Reichel <reichel@debian.org>
|
||||||
|
##
|
||||||
|
## All lines beginning with `## DP:' are a description of the patch.
|
||||||
|
## DP: Change default for WITH_IPE_7 to ON.
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' cgal-3.6~beta1~/demo/CGAL_ipelets/CMakeLists.txt cgal-3.6~beta1/demo/CGAL_ipelets/CMakeLists.txt
|
||||||
|
--- cgal-3.6~beta1~/demo/CGAL_ipelets/CMakeLists.txt 2010-01-28 21:00:13.000000000 +0100
|
||||||
|
+++ cgal-3.6~beta1/demo/CGAL_ipelets/CMakeLists.txt 2010-03-08 21:34:59.000000000 +0100
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY .build/ipelets)
|
||||||
|
|
||||||
|
find_package(CGAL QUIET COMPONENTS Core )
|
||||||
|
-option( WITH_IPE_7 "Use the version 7 of Ipe" OFF )
|
||||||
|
+option( WITH_IPE_7 "Use the version 7 of Ipe" ON )
|
||||||
|
|
||||||
|
if ( CGAL_FOUND )
|
||||||
|
include( ${CGAL_USE_FILE} )
|
||||||
|
|
@ -0,0 +1,143 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
.NOTPARALLEL:
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
# export DH_VERBOSE=1
|
||||||
|
|
||||||
|
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
||||||
|
CXXFLAGS += -g
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||||
|
INSTALL_PROGRAM += -s
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(DEB_BUILD_ARCH),alpha)
|
||||||
|
IEEE_FPU_OPTION = -mieee -mfp-rounding-mode=d
|
||||||
|
endif
|
||||||
|
|
||||||
|
configure-stamp: patch-stamp
|
||||||
|
dh_testdir
|
||||||
|
mkdir -p static
|
||||||
|
cd static && QTDIR= cmake .. \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_SKIP_RPATH=TRUE -DBUILD_SHARED_LIBS=FALSE \
|
||||||
|
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF
|
||||||
|
mkdir -p shared
|
||||||
|
cd shared && QTDIR= cmake .. \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_SKIP_RPATH=TRUE -DBUILD_SHARED_LIBS=TRUE \
|
||||||
|
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF
|
||||||
|
touch configure-stamp
|
||||||
|
|
||||||
|
build: build-arch build-indep
|
||||||
|
build-arch: build-stamp
|
||||||
|
build-indep: build-stamp
|
||||||
|
build-stamp: configure-stamp
|
||||||
|
dh_testdir
|
||||||
|
dh_prep
|
||||||
|
$(MAKE) -C static
|
||||||
|
$(MAKE) -C shared
|
||||||
|
|
||||||
|
mkdir -p shared/demo/CGAL_ipelets
|
||||||
|
cd shared/demo/CGAL_ipelets && QTDIR= cmake ../../../demo/CGAL_ipelets \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_SKIP_RPATH=TRUE -DBUILD_SHARED_LIBS=TRUE \
|
||||||
|
-DWITH_CGAL_Qt3=OFF -DCGAL_DIR=$(CURDIR)/shared
|
||||||
|
$(MAKE) -C shared/demo/CGAL_ipelets
|
||||||
|
|
||||||
|
ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
|
||||||
|
$(MAKE) -C debian/tests IEEE_FPU_OPTION="$(IEEE_FPU_OPTION)" rounding_modes1
|
||||||
|
LD_LIBRARY_PATH=shared/lib debian/tests/rounding_modes1
|
||||||
|
$(MAKE) -C debian/tests IEEE_FPU_OPTION="$(IEEE_FPU_OPTION)" rounding_modes2
|
||||||
|
LD_LIBRARY_PATH=shared/lib debian/tests/rounding_modes2
|
||||||
|
endif
|
||||||
|
touch build-stamp
|
||||||
|
|
||||||
|
clean: clean-patched unpatch
|
||||||
|
clean-patched: patch
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
$(MAKE) -C debian/tests clean
|
||||||
|
rm -fr shared static ipelets
|
||||||
|
rm -f build-stamp configure-stamp
|
||||||
|
dh_clean
|
||||||
|
|
||||||
|
install: build
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
# dh_prep
|
||||||
|
dh_installdirs
|
||||||
|
|
||||||
|
$(MAKE) -C static DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
$(MAKE) -C shared DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
|
||||||
|
# see bug #643278
|
||||||
|
# $(MAKE) -C shared/demo/CGAL_ipelets DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
IPE_VERSION=`dpkg-query -W -f='$${Version}' libipe-dev | sed 's/-.*$$//'`; \
|
||||||
|
mkdir -p debian/tmp/usr/lib/ipe/$$IPE_VERSION/ipelets; \
|
||||||
|
cp demo/CGAL_ipelets/lua/libCGAL_*.lua shared/demo/CGAL_ipelets/libCGAL_*.so \
|
||||||
|
debian/tmp/usr/lib/ipe/$$IPE_VERSION/ipelets
|
||||||
|
|
||||||
|
mkdir -p debian/tmp/usr/share/cmake-2.8/Modules
|
||||||
|
cp cmake/modules/FindCGAL.cmake debian/tmp/usr/share/cmake-2.8/Modules
|
||||||
|
|
||||||
|
mv debian/tmp/usr/share/doc/CGAL-`cat VERSION` debian/tmp/usr/share/doc/cgal
|
||||||
|
mv debian/tmp/usr/share/doc/cgal/CHANGES debian/tmp/usr/share/doc/cgal/changelog
|
||||||
|
rm debian/tmp/usr/share/doc/cgal/LICENSE*
|
||||||
|
rm debian/tmp/usr/share/doc/cgal/AUTHORS
|
||||||
|
|
||||||
|
tar cf - examples | gzip --best >debian/tmp/usr/share/doc/cgal/examples.tar.gz
|
||||||
|
tar cf - demo | gzip --best >debian/tmp/usr/share/doc/cgal/demo.tar.gz
|
||||||
|
|
||||||
|
rm debian/tmp/usr/bin/cgal_make_macosx_app
|
||||||
|
|
||||||
|
dh_install --sourcedir=debian/tmp --list-missing
|
||||||
|
|
||||||
|
ln -s libcgal8 debian/libcgal-demo/usr/share/doc/libcgal-demo
|
||||||
|
mkdir -p debian/libcgal-dev/usr/share/doc
|
||||||
|
ln -s libcgal8 debian/libcgal-dev/usr/share/doc/libcgal-dev
|
||||||
|
mkdir -p debian/libcgal-ipelets/usr/share/doc
|
||||||
|
ln -s libcgal8 debian/libcgal-ipelets/usr/share/doc/libcgal-ipelets
|
||||||
|
|
||||||
|
binary-indep: build install
|
||||||
|
dh_testdir -i
|
||||||
|
dh_testroot -i
|
||||||
|
dh_link -i
|
||||||
|
dh_compress -i
|
||||||
|
dh_fixperms -i
|
||||||
|
dh_installdeb -i
|
||||||
|
dh_gencontrol -i
|
||||||
|
dh_md5sums -i
|
||||||
|
dh_builddeb -i
|
||||||
|
|
||||||
|
binary-arch: build install
|
||||||
|
dh_testdir -a
|
||||||
|
dh_testroot -a
|
||||||
|
dh_installdocs -plibcgal8 debian/copyright
|
||||||
|
dh_installchangelogs -plibcgal8
|
||||||
|
dh_installman -a
|
||||||
|
dh_link -a
|
||||||
|
dh_strip -a
|
||||||
|
dh_compress -a
|
||||||
|
dh_fixperms -a
|
||||||
|
dh_makeshlibs -a
|
||||||
|
dh_installdeb -a
|
||||||
|
dh_shlibdeps -a -ldebian/libcgal8/usr/lib
|
||||||
|
dh_gencontrol -a
|
||||||
|
dh_md5sums -a
|
||||||
|
dh_builddeb -a
|
||||||
|
|
||||||
|
binary: binary-indep binary-arch
|
||||||
|
|
||||||
|
patch: patch-stamp
|
||||||
|
patch-stamp:
|
||||||
|
dpatch apply-all
|
||||||
|
touch patch-stamp
|
||||||
|
|
||||||
|
unpatch:
|
||||||
|
dpatch deapply-all
|
||||||
|
rm -fr patch-stamp debian/patched
|
||||||
|
|
||||||
|
.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
1.0
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
rounding_modes1: rounding_modes1.o
|
||||||
|
g++ $^ -o $@
|
||||||
|
|
||||||
|
rounding_modes2: rounding_modes2.o
|
||||||
|
g++ $^ -o $@ -lCGAL -L../../shared/lib
|
||||||
|
|
||||||
|
rounding_modes1.o: rounding_modes1.cpp
|
||||||
|
g++ -c $< -o $@ -frounding-math $(IEEE_FPU_OPTION)
|
||||||
|
|
||||||
|
rounding_modes2.o: rounding_modes2.cpp
|
||||||
|
g++ -c $< -o $@ -frounding-math $(IEEE_FPU_OPTION) -I../../include -I../../shared/include
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.o rounding_modes1 rounding_modes2
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
#include <fenv.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
|
int modes[4] = { FE_TOWARDZERO, FE_UPWARD, FE_DOWNWARD, FE_TONEAREST };
|
||||||
|
|
||||||
|
std::string str (int mode)
|
||||||
|
{
|
||||||
|
switch (mode)
|
||||||
|
{
|
||||||
|
case FE_TOWARDZERO: return "FE_TOWARDZERO";
|
||||||
|
case FE_UPWARD: return "FE_UPWARD";
|
||||||
|
case FE_DOWNWARD: return "FE_DOWNWARD";
|
||||||
|
case FE_TONEAREST: return "FE_TONEAREST";
|
||||||
|
default: throw __LINE__;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// global variable to stop constant propagation
|
||||||
|
double eps;
|
||||||
|
|
||||||
|
int fetestround ()
|
||||||
|
{
|
||||||
|
eps = std::numeric_limits<double>::denorm_min();
|
||||||
|
|
||||||
|
double x = -1.0;
|
||||||
|
double y = 1.0;
|
||||||
|
double x_plus_eps = x + eps;
|
||||||
|
double y_minus_eps = y - eps;
|
||||||
|
|
||||||
|
if ((x == x_plus_eps) && (y == y_minus_eps))
|
||||||
|
return FE_TONEAREST;
|
||||||
|
if (y == y_minus_eps)
|
||||||
|
return FE_UPWARD;
|
||||||
|
if (x == x_plus_eps)
|
||||||
|
return FE_DOWNWARD;
|
||||||
|
return FE_TOWARDZERO;
|
||||||
|
}
|
||||||
|
|
||||||
|
int main (int argc, char* argv[])
|
||||||
|
{
|
||||||
|
int errors = 0;
|
||||||
|
|
||||||
|
int mode_get = fegetround();
|
||||||
|
std::cout << "fegetround() = " << str(mode_get) << " " << std::endl;
|
||||||
|
|
||||||
|
for (int i=0; i<4; i++)
|
||||||
|
{
|
||||||
|
int mode_set = modes[i];
|
||||||
|
fesetround (mode_set);
|
||||||
|
std::cout << "fesetround (" << str(mode_set) << ")" << std::endl;
|
||||||
|
|
||||||
|
int mode_get = fegetround();
|
||||||
|
std::cout << "fegetround() = " << str(mode_get) << " ";
|
||||||
|
bool ok_get = mode_get == mode_set;
|
||||||
|
if (!ok_get)
|
||||||
|
errors++;
|
||||||
|
std::cout << (ok_get ? "(ok)" : "(error)") << std::endl;
|
||||||
|
|
||||||
|
int mode_test = fetestround();
|
||||||
|
std::cout << "fetestround() = " << str(mode_test) << " ";
|
||||||
|
bool ok_test = mode_test == mode_set;
|
||||||
|
if (!ok_test)
|
||||||
|
errors++;
|
||||||
|
std::cout << (ok_test ? "(ok)" : "(error)") << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
return errors;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,95 @@
|
||||||
|
// This tests the rounding mode functions.
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
|
#include <CGAL/Interval_nt.h>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
typedef CGAL::Interval_nt_advanced NT_adv;
|
||||||
|
typedef CGAL::Interval_nt<> NT;
|
||||||
|
|
||||||
|
void print_res (bool res)
|
||||||
|
{ std::cout << (res ? "ok" : "ERROR") << std::endl; }
|
||||||
|
|
||||||
|
// The results of 1-epsilon and -1+epsilon are enough
|
||||||
|
// to detect exactly the current rounding mode.
|
||||||
|
// 1-MIN_DOUBLE
|
||||||
|
// +------+-------+
|
||||||
|
// | 1 | 1-ulp |
|
||||||
|
// +--------+------+-------+
|
||||||
|
// -1+MIN_DOUBLE | -1 | near | -inf |
|
||||||
|
// | -1+ulp | +inf | zero |
|
||||||
|
// +--------+------+-------+
|
||||||
|
|
||||||
|
// I use a global variable here to avoid constant propagation.
|
||||||
|
double IA_min_double;
|
||||||
|
|
||||||
|
CGAL::FPU_CW_t
|
||||||
|
FPU_empiric_test()
|
||||||
|
{
|
||||||
|
IA_min_double = CGAL_IA_STOP_CPROP(CGAL_IA_MIN_DOUBLE);
|
||||||
|
double y = 1.0, z = -1.0;
|
||||||
|
double ye, ze;
|
||||||
|
ye = y - IA_min_double;
|
||||||
|
ze = z + IA_min_double;
|
||||||
|
if (y == ye && z == ze) return CGAL_FE_TONEAREST;
|
||||||
|
if (y == ye) return CGAL_FE_UPWARD;
|
||||||
|
if (z == ze) return CGAL_FE_DOWNWARD;
|
||||||
|
return CGAL_FE_TOWARDZERO;
|
||||||
|
}
|
||||||
|
|
||||||
|
void print_rounding_name (CGAL::FPU_CW_t r)
|
||||||
|
{
|
||||||
|
switch (r) {
|
||||||
|
case CGAL_FE_TONEAREST: std::cout << "NEAR\n"; break;
|
||||||
|
case CGAL_FE_DOWNWARD: std::cout << "DOWN\n"; break;
|
||||||
|
case CGAL_FE_UPWARD: std::cout << "UP\n"; break;
|
||||||
|
case CGAL_FE_TOWARDZERO: std::cout << "ZERO\n"; break;
|
||||||
|
default: std::cout << "unknown !\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
bool flag = true;
|
||||||
|
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TONEAREST);
|
||||||
|
std::cout << "default: ";
|
||||||
|
print_res(flag);
|
||||||
|
|
||||||
|
// Should be a no-op.
|
||||||
|
CGAL::FPU_set_cw(CGAL::FPU_get_cw());
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TONEAREST);
|
||||||
|
std::cout << "get/set: ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to zero.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_TOWARDZERO);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TOWARDZERO);
|
||||||
|
std::cout << "zero : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to infinity.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_UPWARD);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_UPWARD);
|
||||||
|
std::cout << "+inf : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to minus infinity.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_DOWNWARD);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_DOWNWARD);
|
||||||
|
std::cout << "-inf : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to nearest.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_TONEAREST);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TONEAREST);
|
||||||
|
std::cout << "near : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
return (int) !flag;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
# Note that the file URLs contain unpredictable IDs as directory. The
|
||||||
|
# uversionmagle options strips this ID.
|
||||||
|
#
|
||||||
|
# Note that only digits and "." are used to match the version number.
|
||||||
|
# Therefore we do not match beta releases.
|
||||||
|
#
|
||||||
|
version=3
|
||||||
|
opts=uversionmangle=s/(\d+).([\d\.]+)/$2/ \
|
||||||
|
https://gforge.inria.fr/frs/?group_id=52 \
|
||||||
|
https://gforge.inria.fr/frs/download.php/(\d+)/CGAL-([\d\.]+).tar.gz
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
README.Debian
|
||||||
|
-------------
|
||||||
|
|
||||||
|
The homepage of CGAL (http://www.cgal.org/) offers more information about CGAL.
|
||||||
|
In particular, a mailing list and the documentation for the library (in PDF and
|
||||||
|
HTML) are available. The authors ask you to give some feedback about your usage
|
||||||
|
of CGAL in a short questionnaire (in the download section).
|
||||||
|
|
||||||
|
|
||||||
|
Documentation
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Note that the CGAL documentation cannot be packaged for Debian due to unclear
|
||||||
|
license conditions. The complete documentation in PDF and HTML is available at
|
||||||
|
http://www.cgal.org/.
|
||||||
|
|
||||||
|
|
||||||
|
Demos and examples
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Tarballs with demos and examples can be found in /usr/share/doc/libcgal-demo.
|
||||||
|
Extract the tarballs somewhere and call "cmake ." to configure the
|
||||||
|
demos/examples. Call "make" to build them, either in the top-level directory
|
||||||
|
to build all demos/examples (which takes some time and needs quite some disk
|
||||||
|
space), or in the subdirectory of the desired demo/exmaple. The cmake option
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON is useful to generate verbose makefiles that show
|
||||||
|
each executed command.
|
||||||
|
|
||||||
|
|
||||||
|
Demos using libQGLViewer
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
The Debian package of libQGLViewer uses non-standard library names to offer the
|
||||||
|
library in a Qt3 and Qt4 flavor. The build system of CGAL has been patched to
|
||||||
|
handle the non-standard library name. If your libQGLViewer packages are older
|
||||||
|
than 2.3.1-4 you need to work around another problem with the non-standard
|
||||||
|
include directory. Create an include directory with the expected name
|
||||||
|
"QGLViewer", e.g.,
|
||||||
|
|
||||||
|
mkdir -p /some/dir
|
||||||
|
ln -s /usr/include/qglviewer-qt4 /some/dir/QGLViewer
|
||||||
|
|
||||||
|
and pass the option
|
||||||
|
|
||||||
|
-DQGLVIEWER_INCLUDE_DIR=/some/dir
|
||||||
|
|
||||||
|
to cmake. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522659 for more
|
||||||
|
information.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 06 Feb 2010 12:29:02 +0100
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
README.source
|
||||||
|
-------------
|
||||||
|
|
||||||
|
The package uses dpatch to manage patches to the original source.
|
||||||
|
See /usr/share/doc/dpatch/README.source.gz for details.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Mon, 28 Sep 2009 21:19:03 +0200
|
||||||
|
|
@ -0,0 +1,259 @@
|
||||||
|
cgal (3.9-1~wheezy1) testing; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal7 to libcgal8 to reflect SONAME change.
|
||||||
|
* Add workaround for bug #643278.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Wed, 28 Sep 2011 19:51:35 +0200
|
||||||
|
|
||||||
|
cgal (3.8-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal6 to libcgal7 to reflect SONAME change.
|
||||||
|
* Update Standards-Version to 3.9.2 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 21 Apr 2011 18:45:25 +0200
|
||||||
|
|
||||||
|
cgal (3.7-5) unstable; urgency=low
|
||||||
|
|
||||||
|
* Upload to unstable.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 06 Mar 2011 17:26:11 +0100
|
||||||
|
|
||||||
|
cgal (3.7-4) experimental; urgency=low
|
||||||
|
|
||||||
|
* Build with libgmp10 (Closes: #614797). Thanks to Christian M. Amsüss.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 27 Feb 2011 16:36:22 +0100
|
||||||
|
|
||||||
|
cgal (3.7-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Disable support for Qt3 because Qt3 has been removed from the repository
|
||||||
|
(Closes: #604478).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 10 Feb 2011 21:06:09 +0100
|
||||||
|
|
||||||
|
cgal (3.7-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Upload to unstable.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 06 Feb 2011 13:53:00 +0100
|
||||||
|
|
||||||
|
cgal (3.7-1) experimental; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal5 to libcgal6 to reflect SONAME change.
|
||||||
|
* Rename binary package libcgal5-ipelets to libcgal-ipelets because it is
|
||||||
|
not possible to install the ipelets for different SONAMEs in parallel.
|
||||||
|
* Remove ipe-default-to-version-7.dpatch: the Ipe version is now
|
||||||
|
auto-detected.
|
||||||
|
* Remove fix-core-64bit.dpatch (fixed upstream).
|
||||||
|
* Add qt4-dev-tools to Suggests: of libcgal-demo for qcollectiongenerator.
|
||||||
|
* Update Standards-Version to 3.9.1 (-D_REENTRANT no longer needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 17 Oct 2010 14:27:54 +0200
|
||||||
|
|
||||||
|
cgal (3.6.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add fix-core-64bit.dpatch: use CORE::CHUNK_BIT instead of hard-coded
|
||||||
|
constant 14.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Tue, 24 Aug 2010 19:46:36 +0200
|
||||||
|
|
||||||
|
cgal (3.6.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Set SOVERSION explicitly to 5.0.1 as told by upstream.
|
||||||
|
* Remove architecture exceptions from Suggests: for libcgal-demo which is no
|
||||||
|
longer allowed by dpkg-gencontrol (see #560071).
|
||||||
|
* Fix debian/watch file.
|
||||||
|
* Change license of packaging to LGPL 2.1 or later because referencing the
|
||||||
|
BSD license in /usr/share/common-licenses is deprecated.
|
||||||
|
* Update Standards-Version to 3.9.0 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 01 Jul 2010 23:37:41 +0200
|
||||||
|
|
||||||
|
cgal (3.6-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal4 to libcgal5 to reflect SONAME change.
|
||||||
|
* Remove fix-cmake-qglviewer-detection.dpatch (fixed upstream).
|
||||||
|
* New binary package libcgal5-ipelets which contains plugins for Ipe 7.x
|
||||||
|
(Closes: #557643).
|
||||||
|
* Add ipe-default-to-version-7.dpatch: change default of WITH_IPE_7 to ON.
|
||||||
|
* Remove libboost-graph1.35-dev from Build-Depends: and Suggests: of
|
||||||
|
libcgal-demo (not needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Mon, 22 Mar 2010 19:09:15 +0100
|
||||||
|
|
||||||
|
|
||||||
|
cgal (3.5.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add fix-cmake-qglviewer-detection.dpatch (Closes: #564126), thanks to
|
||||||
|
Marc Glisse for the patch.
|
||||||
|
* Update Standards-Version to 3.8.4 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 06 Feb 2010 12:29:02 +0100
|
||||||
|
|
||||||
|
cgal (3.5.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Fix error in handling of "debug" and "nostrip" in $(DEB_BUILD_OPTIONS)
|
||||||
|
(see also #552961).
|
||||||
|
* Unset QTDIR before calling cmake to reduce problems in non-clean build
|
||||||
|
environments.
|
||||||
|
* Add ${misc:Depends} to Depends: of all binary packages as found by
|
||||||
|
lintian.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 22 Nov 2009 22:31:00 +0100
|
||||||
|
|
||||||
|
cgal (3.5-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Rename binary package libcgal3 to libcgal4 to reflect SONAME change.
|
||||||
|
* Remove fix-FindCGAL-cmake.dpatch (fixed upstream).
|
||||||
|
* Remove fix-demos-examples-configuration.dpatch (fixed upstream).
|
||||||
|
* Remove add-cmake-2.6.3-support.dpatch (fixed upstream).
|
||||||
|
* Remove fix-demo-polyheron-3.dpatch (fixed upstream).
|
||||||
|
* Remove "-mieee -mfp-rounding-mode=d" from CGAL_CXX_FLAGS on alpha
|
||||||
|
(fixed upstream).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 03 Oct 2009 16:43:08 +0200
|
||||||
|
|
||||||
|
cgal (3.4-5) unstable; urgency=low
|
||||||
|
|
||||||
|
* Return to unversioned boost dependencies.
|
||||||
|
* Re-add working watch file.
|
||||||
|
* Update Standards-Version to 3.8.3 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Wed, 16 Sep 2009 19:25:09 +0200
|
||||||
|
|
||||||
|
cgal (3.4-4) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add patch fix-demos-examples-configuration.dpatch.
|
||||||
|
* Add patch add-cmake-2.6.3-support.dpatch.
|
||||||
|
* Add patch fix-demo-polyheron-3.dpatch.
|
||||||
|
* Fix support for nocheck in DEB_BUILD_OPTIONS (was broken in 3.4-3).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Fri, 01 May 2009 17:31:00 +0200
|
||||||
|
|
||||||
|
cgal (3.4-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Update boost dependencies to 1.38.
|
||||||
|
* Remove watch file (new upstream location uses unpredictable paths).
|
||||||
|
* Update Standards-Version to 3.8.1 (add support for nocheck in
|
||||||
|
DEB_BUILD_OPTIONS).
|
||||||
|
* Change Suggests: dependency of libcgal-demo from libqglviewer-dev
|
||||||
|
to libqglviewer-qt4-dev (all demos using libQGLViewer use Qt4).
|
||||||
|
* Add workaround for #522659 to README.Debian.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sat, 18 Apr 2009 11:46:19 +0200
|
||||||
|
|
||||||
|
cgal (3.4-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add "-mieee -mfp-rounding-mode=d" to CGAL_CXX_FLAGS on alpha (got lost
|
||||||
|
during the transition to cmake).
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Sun, 15 Feb 2009 15:06:31 +0100
|
||||||
|
|
||||||
|
cgal (3.4-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Adapt debian/rules to the new cmake-based build system.
|
||||||
|
* Downgrade LAPACK- and BLAS-related Build-Depends: to Suggests: for
|
||||||
|
libcgal-demo, since it is now possible to configure demos and examples
|
||||||
|
independently of the library.
|
||||||
|
|
||||||
|
-- Joachim Reichel <reichel@debian.org> Thu, 22 Jan 2009 18:39:44 +0100
|
||||||
|
|
||||||
|
cgal (3.3.1-4) unstable; urgency=low
|
||||||
|
|
||||||
|
* Remove fortran-transition.dpatch, update build-library.dpatch:
|
||||||
|
Do not link with -lg2c in configuration tests (Closes: #475721).
|
||||||
|
* Update cgal_create_makefile.dpatch to remove bashisms (Closes: #486045).
|
||||||
|
* Update debian/tests/rounding_modes2.cpp to stop constant propagation.
|
||||||
|
* Update Standards-Version to 3.8.0 (explain in debian/copyright why package
|
||||||
|
is in non-free).
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Sun, 15 Jun 2008 22:11:14 +0200
|
||||||
|
|
||||||
|
cgal (3.3.1-3) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add patch fortran-transition.dpatch (Closes: #470359), thanks to Kumar
|
||||||
|
Appaiah for the patch.
|
||||||
|
* debian/rules: s/lapack3-dev/liblapack-dev/,
|
||||||
|
s/atlas3-base-dev/libatlas-base-dev/, s/libatlas-3.so/libatlas.so.3gf/ .
|
||||||
|
* Fix manpage w.r.t. makefile vs. cgal.mk (Closes: #466430).
|
||||||
|
* Add second test for FPU rounding modes.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Wed, 19 Mar 2008 20:27:34 +0100
|
||||||
|
|
||||||
|
cgal (3.3.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* debian/control: Really really drop support for atlas and lapack on arm
|
||||||
|
and m68k, fix atlas and lapack support on other architectures.
|
||||||
|
* debian/control: Extend exclusions for arm to variants armeb and armel
|
||||||
|
(Closes: #460141).
|
||||||
|
* debian/control: Remove virtual dependency liblapack-3.so which is
|
||||||
|
provided by atlas3-base-dev (which does *not* provide
|
||||||
|
/usr/lib/liblapack.so, just /usr/lib/atlas/liblapack.so).
|
||||||
|
* debian/control: Replace virtual dependency libblas-3.so by
|
||||||
|
libatlas-3.so.
|
||||||
|
* Add patch qt-compatibility-headers.dpatch (Closes: #464251).
|
||||||
|
* debian/control: Add Homepage: field, adjust Description: accordingly.
|
||||||
|
* Update Standards-Version to 3.7.3 (no changes needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Wed, 06 Feb 2008 18:37:52 +0100
|
||||||
|
|
||||||
|
cgal (3.3.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Remove patch bugfix-fpu-rounding-mode-alpha.dpatch (included by
|
||||||
|
upstream).
|
||||||
|
* Fail build if FPU rounding mode test fails.
|
||||||
|
* Really drop support for atlas and lapack on arm and m68k.
|
||||||
|
* Fix cgal_create_makefile w.r.t. makefile vs. cgal.mk.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Mon, 3 Sep 2007 18:57:36 +0200
|
||||||
|
|
||||||
|
cgal (3.3-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Add patch bugfix-fpu-rounding-mode-alpha.dpatch (Closes: #431230).
|
||||||
|
* debian/control: Add versioned depends on libboost-program-options-dev,
|
||||||
|
drop build-dependency on libboost-graph-dev.
|
||||||
|
* Drop support for atlas on arm and m68k.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Mon, 16 Jul 2007 15:32:35 +0200
|
||||||
|
|
||||||
|
cgal (3.3-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Sun, 3 Jun 2007 09:36:36 +0200
|
||||||
|
|
||||||
|
cgal (3.2.1-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Fix FTBFS on hppa (and probably also on other architectures) related
|
||||||
|
to FPU rounding modes (Closes: #404464).
|
||||||
|
* debian/control: Add tag XS-Autobuild.
|
||||||
|
* debian/copyright: Add note about autobuilding.
|
||||||
|
* debian/control: Make package binNMU-safe.
|
||||||
|
* Remove linda override for bug #369977 (no longer needed).
|
||||||
|
* Add watch file.
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Fri, 26 Jan 2007 19:16:36 +0100
|
||||||
|
|
||||||
|
cgal (3.2.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* Add linda override for bug #369977.
|
||||||
|
* Remove patch bugfix-demo-examples-makefiles.dpatch (no longer needed).
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Fri, 14 Jul 2006 21:20:16 +0200
|
||||||
|
|
||||||
|
cgal (3.2-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release.
|
||||||
|
* First upload to Debian archive. (Closes: #251885)
|
||||||
|
|
||||||
|
-- Joachim Reichel <joachim.reichel@gmx.de> Mon, 29 May 2006 20:24:27 +0200
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
7
|
||||||
|
|
@ -0,0 +1,74 @@
|
||||||
|
Source: cgal
|
||||||
|
Section: non-free/libs
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Joachim Reichel <reichel@debian.org>
|
||||||
|
# "ipe" is only needed because it contains goodies.lua which is needed by FindIPE.cmake
|
||||||
|
Build-Depends: debhelper (>= 7), dpatch, cmake, libboost-dev,
|
||||||
|
libboost-thread-dev, libboost-program-options-dev, libgmp10-dev, libmpfr-dev,
|
||||||
|
libqt4-dev, libqt4-opengl-dev, zlib1g-dev, libipe-dev (>= 7), ipe
|
||||||
|
Standards-Version: 3.9.2
|
||||||
|
Homepage: http://www.cgal.org/
|
||||||
|
XS-Autobuild: yes
|
||||||
|
|
||||||
|
Package: libcgal8
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: C++ library for computational geometry
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
The CGAL library contains:
|
||||||
|
- the Kernel with geometric primitives such as points, vectors, lines,
|
||||||
|
predicates for testing things such as relative positions of points, and
|
||||||
|
operations such as intersections and distance calculation.
|
||||||
|
- the Basic Library which is a collection of standard data structures and
|
||||||
|
geometric algorithms, such as convex hull in 2D/3D, (Delaunay)
|
||||||
|
triangulation in 2D/3D, planar map, polyhedron, smallest enclosing circle,
|
||||||
|
and multidimensional query structures.
|
||||||
|
- the Support Library which offers interfaces to other packages, e.g., for
|
||||||
|
visualisation, and I/O, and other support facilities.
|
||||||
|
|
||||||
|
Package: libcgal-dev
|
||||||
|
Section: non-free/libdevel
|
||||||
|
Architecture: any
|
||||||
|
Depends: libcgal8 (= ${binary:Version}), libboost-dev,
|
||||||
|
libboost-thread-dev, libboost-program-options-dev, libgmp10-dev, libmpfr-dev,
|
||||||
|
libqt4-dev, zlib1g-dev, ${misc:Depends}
|
||||||
|
Description: C++ library for computational geometry (development files)
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
This package contains the header files and static libraries.
|
||||||
|
|
||||||
|
Package: libcgal-demo
|
||||||
|
Section: non-free/devel
|
||||||
|
Architecture: all
|
||||||
|
Depends: libcgal-dev (>= ${binary:Version}), libcgal8 (>= ${binary:Version}),
|
||||||
|
${misc:Depends}
|
||||||
|
Suggests: liblapack-dev, libatlas-base-dev | libatlas.so.3gf, gfortran,
|
||||||
|
geomview, libqglviewer-qt4-dev, libipe-dev (>= 7), libglew1.5-dev | libglew-dev,
|
||||||
|
libmagick++-dev | libmagick++9-dev, qt4-dev-tools
|
||||||
|
Description: C++ library for computational geometry (demos)
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
This package contains the demos and examples.
|
||||||
|
|
||||||
|
Package: libcgal-ipelets
|
||||||
|
Architecture: any
|
||||||
|
Depends: libcgal8 (>= ${binary:Version}), ipe (>= 7), ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Conflicts: libcgal5-ipelets
|
||||||
|
Replaces: libcgal5-ipelets
|
||||||
|
Description: C++ library for computational geometry (ipelets)
|
||||||
|
CGAL (Computational Geometry Algorithms Library) makes the most important
|
||||||
|
of the solutions and methods developed in computational geometry available
|
||||||
|
to users in industry and academia in a C++ library. The goal is to provide
|
||||||
|
easy access to useful, reliable geometric algorithms.
|
||||||
|
.
|
||||||
|
This package contains the ipelets, i.e., plugins for ipe.
|
||||||
|
|
@ -0,0 +1,442 @@
|
||||||
|
This package was debianized by Joachim Reichel <reichel@debian.org> on
|
||||||
|
Thu, 29 Apr 2004 18:43:18 +0200.
|
||||||
|
|
||||||
|
It was downloaded from http://www.cgal.org/download/index.html.
|
||||||
|
|
||||||
|
The Debian packaging is Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009
|
||||||
|
Joachim Reichel <reichel@debian.org> and is licensed under the LGPL license,
|
||||||
|
either version 3 or later (at your option), which can be found in
|
||||||
|
/usr/share/common-licenses/LGPL-3.
|
||||||
|
|
||||||
|
The package is not in main, but in non-free since parts of it are licensed
|
||||||
|
under the QPL. This license is not DFSG-free, but it permits one to autobuild
|
||||||
|
the package and to redistribute it in the non-free archive.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors
|
||||||
|
=======
|
||||||
|
|
||||||
|
Pierre Alliez
|
||||||
|
Matthias Bäsken
|
||||||
|
Eric Berberich
|
||||||
|
Olivier Billet
|
||||||
|
Jean-Daniel Boissonnat
|
||||||
|
Carine Bonetto
|
||||||
|
Mario Botsch
|
||||||
|
Hervé Brönnimann
|
||||||
|
Fernando Cacciola
|
||||||
|
Manuel Caroli
|
||||||
|
Nicolas Carrez
|
||||||
|
Frédéric Cazals
|
||||||
|
Raphaëlle Chaine
|
||||||
|
Tran Kai Frank Da
|
||||||
|
Christophe Delage
|
||||||
|
Olivier Devillers
|
||||||
|
Katrin Dobrindt
|
||||||
|
Arno Eigenwillig
|
||||||
|
Eti Ezra
|
||||||
|
Andreas Fabri
|
||||||
|
Frédéric Fichel
|
||||||
|
Kaspar Fischer
|
||||||
|
Eyal Flato
|
||||||
|
Julia Flötotto
|
||||||
|
Efi Fogel
|
||||||
|
Wolfgang Freiseisen
|
||||||
|
Bernd Gärtner
|
||||||
|
Geert-Jan Giezeman
|
||||||
|
Marc Glisse
|
||||||
|
Shlomo Golubev
|
||||||
|
Miguel Granados
|
||||||
|
Gael Guennebaud
|
||||||
|
Philippe Guigue
|
||||||
|
Ankit Gupta
|
||||||
|
Peter Hachenberger
|
||||||
|
Iddo Hanniel
|
||||||
|
Idit Haran
|
||||||
|
Sariel Har-Peled
|
||||||
|
Julien Hazebrouck
|
||||||
|
Michael Hemmer
|
||||||
|
Thomas Herrmann
|
||||||
|
Susan Hert
|
||||||
|
Shai Hirsch
|
||||||
|
Michael Hoffmann
|
||||||
|
Dominik Huelse
|
||||||
|
Marcel Janer
|
||||||
|
Athanasios Kakargias
|
||||||
|
Menelaos Karavelas
|
||||||
|
Michael Kerber
|
||||||
|
Lutz Kettner
|
||||||
|
Nico Kruithof
|
||||||
|
Sylvain Lazard
|
||||||
|
Eran Leiserowitz
|
||||||
|
Bruno Lévy
|
||||||
|
Sebastian Limbach
|
||||||
|
Kapelushnik Lior
|
||||||
|
Eugene Lipovetsky
|
||||||
|
Sébastien Loriot
|
||||||
|
Pedro Machado
|
||||||
|
Bastien Manuel
|
||||||
|
Naama Mayer
|
||||||
|
Abdelkrim Mebarki
|
||||||
|
Kurt Mehlhorn
|
||||||
|
Naceur Meskini
|
||||||
|
Andreas Meyer
|
||||||
|
Michal Meyerovitch
|
||||||
|
Oren Nechushtan
|
||||||
|
Gabriele Neyer
|
||||||
|
Ralf Osbild
|
||||||
|
Steve Oudot
|
||||||
|
Eli Packer
|
||||||
|
Dmitrii Pasechnik
|
||||||
|
Luis Peñaranda
|
||||||
|
Sylvain Pion
|
||||||
|
Marc Pouget
|
||||||
|
Sigal Raab
|
||||||
|
François Rebufat
|
||||||
|
Joachim Reichel
|
||||||
|
David Rey
|
||||||
|
Laurent Rineau
|
||||||
|
Daniel Russel
|
||||||
|
Niv Sabath
|
||||||
|
Laurent Saboret
|
||||||
|
Nader Salman
|
||||||
|
Stefan Schirra
|
||||||
|
Sven Schönherr
|
||||||
|
Michael Seel
|
||||||
|
Ophir Setter
|
||||||
|
Le-Jeng Shiue
|
||||||
|
Hans Tangelder
|
||||||
|
Stéphane Tayeb
|
||||||
|
Monique Teillaud
|
||||||
|
Jane Tournois
|
||||||
|
Constantinos Tsirogiannis
|
||||||
|
Radu Ursu
|
||||||
|
Carl Van Geem
|
||||||
|
Remco Veltkamp
|
||||||
|
Ron Wein
|
||||||
|
Wieger Wesselink
|
||||||
|
Camille Wormser
|
||||||
|
Mariette Yvinec
|
||||||
|
Afra Zomorodian
|
||||||
|
Guy Zucker
|
||||||
|
Baruch Zukerman
|
||||||
|
Tali Zvi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright holders
|
||||||
|
=================
|
||||||
|
|
||||||
|
Utrecht University (The Netherlands)
|
||||||
|
ETH Zurich (Switzerland)
|
||||||
|
Freie Universitaet Berlin (Germany)
|
||||||
|
INRIA Sophia-Antipolis (France)
|
||||||
|
Martin-Luther-University Halle-Wittenberg (Germany)
|
||||||
|
Max-Planck-Institute Saarbruecken (Germany)
|
||||||
|
RISC Linz (Austria)
|
||||||
|
Tel-Aviv University (Israel)
|
||||||
|
|
||||||
|
Stanford University (USA)
|
||||||
|
Foundation for Research and Technology-Hellas (Greece)
|
||||||
|
|
||||||
|
GeometryFactory
|
||||||
|
|
||||||
|
Fernando Luis Cacciola Carballal
|
||||||
|
Le-Jeng Shiue
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (from upstream file LICENSE)
|
||||||
|
======================================
|
||||||
|
|
||||||
|
The CGAL software consists of several parts, each of which is licensed under
|
||||||
|
an open source license. It is also possible to obtain commercial licenses
|
||||||
|
from GeometryFactory (www.geometryfactory.com) for all or parts of CGAL.
|
||||||
|
|
||||||
|
The source code of the CGAL library can be found in the directories
|
||||||
|
"src/CGAL", "src/CGALQt", "src/CGALQt4" and "include/CGAL" (with the
|
||||||
|
exception of "include/CGAL/CORE", and "include/CGAL/OpenNL").
|
||||||
|
It is specified in each file of the CGAL library which
|
||||||
|
license applies to it. This is either the GNU Lesser General Public License
|
||||||
|
(as published by the Free Software Foundation; version 3 of the License)
|
||||||
|
or the Q Public License (version 1.0), *depending on each file*. The texts
|
||||||
|
of both licenses can be found in the files LICENSE.LGPL and LICENSE.QPL.
|
||||||
|
|
||||||
|
Distributed along with CGAL (for the users' convenience), but not part of
|
||||||
|
CGAL, are the following third-party libraries, available under their own
|
||||||
|
licenses:
|
||||||
|
|
||||||
|
- CORE, in the directories "include/CGAL/CORE" and "src/CGALCore", is
|
||||||
|
licensed under the QPL (see LICENSE.QPL).
|
||||||
|
- ImageIO, in the directory "src/CGALimageIO", is licensed under the LGPL
|
||||||
|
(see LICENSE.LGPL).
|
||||||
|
- OpenNL, in the directory "include/CGAL/OpenNL", is licensed under the LGPL
|
||||||
|
(see LICENSE.LGPL).
|
||||||
|
|
||||||
|
All other files that do not have an explicit copyright notice (e.g., all
|
||||||
|
examples and some demos) are licensed under a very permissive license. The
|
||||||
|
exact license text can be found in the file LICENSE.FREE_USE.
|
||||||
|
|
||||||
|
More information on the CGAL license can be found at
|
||||||
|
http://www.cgal.org/license.html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright statements for LGPL'd files
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
The following copyright statement is taken from include/CGAL/config.h. The
|
||||||
|
year numbers and the set of copyright holders (see list above) varies from
|
||||||
|
file to file.
|
||||||
|
|
||||||
|
Copyright (c) 1997-2004 Utrecht University (The Netherlands),
|
||||||
|
ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
|
||||||
|
INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
|
||||||
|
(Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
|
||||||
|
and Tel-Aviv University (Israel). All rights reserved.
|
||||||
|
|
||||||
|
This file is part of CGAL (www.cgal.org); you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public License as
|
||||||
|
published by the Free Software Foundation; either version 3 of the License.
|
||||||
|
or (at your option) any later version.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the software.
|
||||||
|
|
||||||
|
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright statement for QPL'd files
|
||||||
|
===================================
|
||||||
|
|
||||||
|
The following copyright statement is taken from include/CGAL/Width_3.h. The
|
||||||
|
year numbers and the set of copyright holders (see list above) varies from
|
||||||
|
file to file.
|
||||||
|
|
||||||
|
Copyright (c) 1997-2000 ETH Zurich (Switzerland).
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
This file is part of CGAL (www.cgal.org); you may redistribute it under
|
||||||
|
the terms of the Q Public License version 1.0.
|
||||||
|
See the file LICENSE.QPL distributed with CGAL.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the software.
|
||||||
|
|
||||||
|
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copright statement for files under the FREE_USE license
|
||||||
|
=======================================================
|
||||||
|
|
||||||
|
Copyright (c) 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007
|
||||||
|
Utrecht University (The Netherlands),
|
||||||
|
ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
|
||||||
|
INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
|
||||||
|
(Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
|
||||||
|
and Tel-Aviv University (Israel). All rights reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
The following copyright statements apply to third-party libraries
|
||||||
|
distributed with CGAL:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
CORE
|
||||||
|
====
|
||||||
|
|
||||||
|
The following copyright statement applies to the CORE library in
|
||||||
|
src/CGALCore and include/CGAL/CORE.
|
||||||
|
|
||||||
|
Core Library Version 1.7, August 2004
|
||||||
|
Copyright (c) 1995-2004 Exact Computation Project
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
This file is part of CORE (http://cs.nyu.edu/exact/core/); you may
|
||||||
|
redistribute it under the terms of the Q Public License version 1.0.
|
||||||
|
See the file LICENSE.QPL distributed with CORE.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the
|
||||||
|
software.
|
||||||
|
|
||||||
|
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ImageIO
|
||||||
|
=======
|
||||||
|
|
||||||
|
The following copyright statement applies to the ImageIO library in
|
||||||
|
src/CGALimageIO.
|
||||||
|
|
||||||
|
Copyright (c) 2005, 2006 ASCLEPIOS Project, INRIA Sophia-Antipolis (France)
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
The files in this directory are part of the ImageIO Library.
|
||||||
|
You can redistribute them and/or modify them under the terms of the
|
||||||
|
GNU Lesser General Public License as published by the Free Software Foundation;
|
||||||
|
either version 3 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
Licensees holding a valid commercial license may use this file in
|
||||||
|
accordance with the commercial license agreement provided with the software.
|
||||||
|
|
||||||
|
These files are provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
OpenNL
|
||||||
|
======
|
||||||
|
|
||||||
|
The following copyright statement applies to the OpenNL library in
|
||||||
|
include/CGAL/OpenNL.
|
||||||
|
|
||||||
|
author: Bruno Levy, INRIA, project ALICE
|
||||||
|
website: http://www.loria.fr/~levy/software
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License version 3 as published by the Free Software Foundation
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with this library; see the file /usr/share/common-licenses/LGPL-3.
|
||||||
|
If not, write to the Free Software Foundation, Inc., 51 Franklin St,
|
||||||
|
Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
LICENSE.QPL
|
||||||
|
===========
|
||||||
|
|
||||||
|
THE Q PUBLIC LICENSE
|
||||||
|
version 1.0
|
||||||
|
|
||||||
|
Copyright (C) 1999-2000 Troll Tech AS, Norway.
|
||||||
|
Everyone is permitted to copy and
|
||||||
|
distribute this license document.
|
||||||
|
|
||||||
|
The intent of this license is to establish freedom to share and change the
|
||||||
|
software regulated by this license under the open source model.
|
||||||
|
|
||||||
|
This license applies to any software containing a notice placed by the
|
||||||
|
copyright holder saying that it may be distributed under the terms of
|
||||||
|
the Q Public License version 1.0. Such software is herein referred to as
|
||||||
|
the Software. This license covers modification and distribution of the
|
||||||
|
Software, use of third-party application programs based on the Software,
|
||||||
|
and development of free software which uses the Software.
|
||||||
|
|
||||||
|
Granted Rights
|
||||||
|
|
||||||
|
1. You are granted the non-exclusive rights set forth in this license
|
||||||
|
provided you agree to and comply with any and all conditions in this
|
||||||
|
license. Whole or partial distribution of the Software, or software
|
||||||
|
items that link with the Software, in any form signifies acceptance of
|
||||||
|
this license.
|
||||||
|
|
||||||
|
2. You may copy and distribute the Software in unmodified form provided
|
||||||
|
that the entire package, including - but not restricted to - copyright,
|
||||||
|
trademark notices and disclaimers, as released by the initial developer
|
||||||
|
of the Software, is distributed.
|
||||||
|
|
||||||
|
3. You may make modifications to the Software and distribute your
|
||||||
|
modifications, in a form that is separate from the Software, such as
|
||||||
|
patches. The following restrictions apply to modifications:
|
||||||
|
|
||||||
|
a. Modifications must not alter or remove any copyright notices in
|
||||||
|
the Software.
|
||||||
|
|
||||||
|
b. When modifications to the Software are released under this
|
||||||
|
license, a non-exclusive royalty-free right is granted to the
|
||||||
|
initial developer of the Software to distribute your modification
|
||||||
|
in future versions of the Software provided such versions remain
|
||||||
|
available under these terms in addition to any other license(s) of
|
||||||
|
the initial developer.
|
||||||
|
|
||||||
|
4. You may distribute machine-executable forms of the Software or
|
||||||
|
machine-executable forms of modified versions of the Software, provided
|
||||||
|
that you meet these restrictions:
|
||||||
|
|
||||||
|
a. You must include this license document in the distribution.
|
||||||
|
|
||||||
|
b. You must ensure that all recipients of the machine-executable forms
|
||||||
|
are also able to receive the complete machine-readable source code
|
||||||
|
to the distributed Software, including all modifications, without
|
||||||
|
any charge beyond the costs of data transfer, and place prominent
|
||||||
|
notices in the distribution explaining this.
|
||||||
|
|
||||||
|
c. You must ensure that all modifications included in the
|
||||||
|
machine-executable forms are available under the terms of this
|
||||||
|
license.
|
||||||
|
|
||||||
|
5. You may use the original or modified versions of the Software to
|
||||||
|
compile, link and run application programs legally developed by you
|
||||||
|
or by others.
|
||||||
|
|
||||||
|
6. You may develop application programs, reusable components and other
|
||||||
|
software items that link with the original or modified versions of the
|
||||||
|
Software. These items, when distributed, are subject to the following
|
||||||
|
requirements:
|
||||||
|
|
||||||
|
a. You must ensure that all recipients of machine-executable forms of
|
||||||
|
these items are also able to receive and use the complete
|
||||||
|
machine-readable source code to the items without any charge
|
||||||
|
beyond the costs of data transfer.
|
||||||
|
|
||||||
|
b. You must explicitly license all recipients of your items to use
|
||||||
|
and re-distribute original and modified versions of the items in
|
||||||
|
both machine-executable and source code forms. The recipients must
|
||||||
|
be able to do so without any charges whatsoever, and they must be
|
||||||
|
able to re-distribute to anyone they choose.
|
||||||
|
|
||||||
|
|
||||||
|
c. If the items are not available to the general public, and the
|
||||||
|
initial developer of the Software requests a copy of the items,
|
||||||
|
then you must supply one.
|
||||||
|
|
||||||
|
Limitations of Liability
|
||||||
|
|
||||||
|
In no event shall the initial developers or copyright holders be liable
|
||||||
|
for any damages whatsoever, including - but not restricted to - lost
|
||||||
|
revenue or profits or other direct, indirect, special, incidental or
|
||||||
|
consequential damages, even if they have been advised of the possibility
|
||||||
|
of such damages, except to the extent invariable law, if any, provides
|
||||||
|
otherwise.
|
||||||
|
|
||||||
|
No Warranty
|
||||||
|
|
||||||
|
The Software and this license document are provided AS IS with NO WARRANTY
|
||||||
|
OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE.
|
||||||
|
Choice of Law
|
||||||
|
|
||||||
|
This license is governed by the Laws of Norway. Disputes shall be settled
|
||||||
|
by Oslo City Court.
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
usr/share/doc/cgal/demo.tar.gz usr/share/doc/libcgal8
|
||||||
|
usr/share/doc/cgal/examples.tar.gz usr/share/doc/libcgal8
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
usr/bin/*
|
||||||
|
usr/include/*
|
||||||
|
usr/lib/lib*.a
|
||||||
|
usr/lib/lib*.so
|
||||||
|
usr/lib/CGAL/*
|
||||||
|
usr/share/cmake-2.8/Modules/*
|
||||||
|
usr/share/man/man1/cgal_create_cmake_script.1
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
# use wildcard to avoid hard-coding the Ipe version
|
||||||
|
usr/lib/ipe/* usr/lib/ipe
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
usr/lib/lib*.so.* usr/lib
|
||||||
|
usr/share/doc/cgal/changelog usr/share/doc/libcgal8
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
libCGAL 8 libcgal8
|
||||||
|
libCGAL_Core 8 libcgal8
|
||||||
|
libCGAL_ImageIO 8 libcgal8
|
||||||
|
libCGAL_Qt4 8 libcgal8
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
# currently empty
|
||||||
|
|
@ -0,0 +1,143 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
.NOTPARALLEL:
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
# export DH_VERBOSE=1
|
||||||
|
|
||||||
|
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
||||||
|
CXXFLAGS += -g
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||||
|
INSTALL_PROGRAM += -s
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(DEB_BUILD_ARCH),alpha)
|
||||||
|
IEEE_FPU_OPTION = -mieee -mfp-rounding-mode=d
|
||||||
|
endif
|
||||||
|
|
||||||
|
configure-stamp: patch-stamp
|
||||||
|
dh_testdir
|
||||||
|
mkdir -p static
|
||||||
|
cd static && QTDIR= cmake .. \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_SKIP_RPATH=TRUE -DBUILD_SHARED_LIBS=FALSE \
|
||||||
|
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF
|
||||||
|
mkdir -p shared
|
||||||
|
cd shared && QTDIR= cmake .. \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_SKIP_RPATH=TRUE -DBUILD_SHARED_LIBS=TRUE \
|
||||||
|
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF
|
||||||
|
touch configure-stamp
|
||||||
|
|
||||||
|
build: build-arch build-indep
|
||||||
|
build-arch: build-stamp
|
||||||
|
build-indep: build-stamp
|
||||||
|
build-stamp: configure-stamp
|
||||||
|
dh_testdir
|
||||||
|
dh_prep
|
||||||
|
$(MAKE) -C static
|
||||||
|
$(MAKE) -C shared
|
||||||
|
|
||||||
|
mkdir -p shared/demo/CGAL_ipelets
|
||||||
|
cd shared/demo/CGAL_ipelets && QTDIR= cmake ../../../demo/CGAL_ipelets \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_SKIP_RPATH=TRUE -DBUILD_SHARED_LIBS=TRUE \
|
||||||
|
-DWITH_CGAL_Qt3=OFF -DCGAL_DIR=$(CURDIR)/shared
|
||||||
|
$(MAKE) -C shared/demo/CGAL_ipelets
|
||||||
|
|
||||||
|
ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
|
||||||
|
$(MAKE) -C debian/tests IEEE_FPU_OPTION="$(IEEE_FPU_OPTION)" rounding_modes1
|
||||||
|
LD_LIBRARY_PATH=shared/lib debian/tests/rounding_modes1
|
||||||
|
$(MAKE) -C debian/tests IEEE_FPU_OPTION="$(IEEE_FPU_OPTION)" rounding_modes2
|
||||||
|
LD_LIBRARY_PATH=shared/lib debian/tests/rounding_modes2
|
||||||
|
endif
|
||||||
|
touch build-stamp
|
||||||
|
|
||||||
|
clean: clean-patched unpatch
|
||||||
|
clean-patched: patch
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
$(MAKE) -C debian/tests clean
|
||||||
|
rm -fr shared static ipelets
|
||||||
|
rm -f build-stamp configure-stamp
|
||||||
|
dh_clean
|
||||||
|
|
||||||
|
install: build
|
||||||
|
dh_testdir
|
||||||
|
dh_testroot
|
||||||
|
# dh_prep
|
||||||
|
dh_installdirs
|
||||||
|
|
||||||
|
$(MAKE) -C static DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
$(MAKE) -C shared DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
|
||||||
|
# see bug #643278
|
||||||
|
# $(MAKE) -C shared/demo/CGAL_ipelets DESTDIR=$(CURDIR)/debian/tmp install
|
||||||
|
IPE_VERSION=`dpkg-query -W -f='$${Version}' libipe-dev | sed 's/-.*$$//'`; \
|
||||||
|
mkdir -p debian/tmp/usr/lib/ipe/$$IPE_VERSION/ipelets; \
|
||||||
|
cp demo/CGAL_ipelets/lua/libCGAL_*.lua shared/demo/CGAL_ipelets/libCGAL_*.so \
|
||||||
|
debian/tmp/usr/lib/ipe/$$IPE_VERSION/ipelets
|
||||||
|
|
||||||
|
mkdir -p debian/tmp/usr/share/cmake-2.8/Modules
|
||||||
|
cp cmake/modules/FindCGAL.cmake debian/tmp/usr/share/cmake-2.8/Modules
|
||||||
|
|
||||||
|
mv debian/tmp/usr/share/doc/CGAL-`cat VERSION` debian/tmp/usr/share/doc/cgal
|
||||||
|
mv debian/tmp/usr/share/doc/cgal/CHANGES debian/tmp/usr/share/doc/cgal/changelog
|
||||||
|
rm debian/tmp/usr/share/doc/cgal/LICENSE*
|
||||||
|
rm debian/tmp/usr/share/doc/cgal/AUTHORS
|
||||||
|
|
||||||
|
tar cf - examples | gzip --best >debian/tmp/usr/share/doc/cgal/examples.tar.gz
|
||||||
|
tar cf - demo | gzip --best >debian/tmp/usr/share/doc/cgal/demo.tar.gz
|
||||||
|
|
||||||
|
rm debian/tmp/usr/bin/cgal_make_macosx_app
|
||||||
|
|
||||||
|
dh_install --sourcedir=debian/tmp --list-missing
|
||||||
|
|
||||||
|
ln -s libcgal8 debian/libcgal-demo/usr/share/doc/libcgal-demo
|
||||||
|
mkdir -p debian/libcgal-dev/usr/share/doc
|
||||||
|
ln -s libcgal8 debian/libcgal-dev/usr/share/doc/libcgal-dev
|
||||||
|
mkdir -p debian/libcgal-ipelets/usr/share/doc
|
||||||
|
ln -s libcgal8 debian/libcgal-ipelets/usr/share/doc/libcgal-ipelets
|
||||||
|
|
||||||
|
binary-indep: build install
|
||||||
|
dh_testdir -i
|
||||||
|
dh_testroot -i
|
||||||
|
dh_link -i
|
||||||
|
dh_compress -i
|
||||||
|
dh_fixperms -i
|
||||||
|
dh_installdeb -i
|
||||||
|
dh_gencontrol -i
|
||||||
|
dh_md5sums -i
|
||||||
|
dh_builddeb -i
|
||||||
|
|
||||||
|
binary-arch: build install
|
||||||
|
dh_testdir -a
|
||||||
|
dh_testroot -a
|
||||||
|
dh_installdocs -plibcgal8 debian/copyright
|
||||||
|
dh_installchangelogs -plibcgal8
|
||||||
|
dh_installman -a
|
||||||
|
dh_link -a
|
||||||
|
dh_strip -a
|
||||||
|
dh_compress -a
|
||||||
|
dh_fixperms -a
|
||||||
|
dh_makeshlibs -a
|
||||||
|
dh_installdeb -a
|
||||||
|
dh_shlibdeps -a -ldebian/libcgal8/usr/lib
|
||||||
|
dh_gencontrol -a
|
||||||
|
dh_md5sums -a
|
||||||
|
dh_builddeb -a
|
||||||
|
|
||||||
|
binary: binary-indep binary-arch
|
||||||
|
|
||||||
|
patch: patch-stamp
|
||||||
|
patch-stamp:
|
||||||
|
dpatch apply-all
|
||||||
|
touch patch-stamp
|
||||||
|
|
||||||
|
unpatch:
|
||||||
|
dpatch deapply-all
|
||||||
|
rm -fr patch-stamp debian/patched
|
||||||
|
|
||||||
|
.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
1.0
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
rounding_modes1: rounding_modes1.o
|
||||||
|
g++ $^ -o $@
|
||||||
|
|
||||||
|
rounding_modes2: rounding_modes2.o
|
||||||
|
g++ $^ -o $@ -lCGAL -L../../shared/lib
|
||||||
|
|
||||||
|
rounding_modes1.o: rounding_modes1.cpp
|
||||||
|
g++ -c $< -o $@ -frounding-math $(IEEE_FPU_OPTION)
|
||||||
|
|
||||||
|
rounding_modes2.o: rounding_modes2.cpp
|
||||||
|
g++ -c $< -o $@ -frounding-math $(IEEE_FPU_OPTION) -I../../include -I../../shared/include
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.o rounding_modes1 rounding_modes2
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
#include <fenv.h>
|
||||||
|
#include <iostream>
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
|
int modes[4] = { FE_TOWARDZERO, FE_UPWARD, FE_DOWNWARD, FE_TONEAREST };
|
||||||
|
|
||||||
|
std::string str (int mode)
|
||||||
|
{
|
||||||
|
switch (mode)
|
||||||
|
{
|
||||||
|
case FE_TOWARDZERO: return "FE_TOWARDZERO";
|
||||||
|
case FE_UPWARD: return "FE_UPWARD";
|
||||||
|
case FE_DOWNWARD: return "FE_DOWNWARD";
|
||||||
|
case FE_TONEAREST: return "FE_TONEAREST";
|
||||||
|
default: throw __LINE__;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// global variable to stop constant propagation
|
||||||
|
double eps;
|
||||||
|
|
||||||
|
int fetestround ()
|
||||||
|
{
|
||||||
|
eps = std::numeric_limits<double>::denorm_min();
|
||||||
|
|
||||||
|
double x = -1.0;
|
||||||
|
double y = 1.0;
|
||||||
|
double x_plus_eps = x + eps;
|
||||||
|
double y_minus_eps = y - eps;
|
||||||
|
|
||||||
|
if ((x == x_plus_eps) && (y == y_minus_eps))
|
||||||
|
return FE_TONEAREST;
|
||||||
|
if (y == y_minus_eps)
|
||||||
|
return FE_UPWARD;
|
||||||
|
if (x == x_plus_eps)
|
||||||
|
return FE_DOWNWARD;
|
||||||
|
return FE_TOWARDZERO;
|
||||||
|
}
|
||||||
|
|
||||||
|
int main (int argc, char* argv[])
|
||||||
|
{
|
||||||
|
int errors = 0;
|
||||||
|
|
||||||
|
int mode_get = fegetround();
|
||||||
|
std::cout << "fegetround() = " << str(mode_get) << " " << std::endl;
|
||||||
|
|
||||||
|
for (int i=0; i<4; i++)
|
||||||
|
{
|
||||||
|
int mode_set = modes[i];
|
||||||
|
fesetround (mode_set);
|
||||||
|
std::cout << "fesetround (" << str(mode_set) << ")" << std::endl;
|
||||||
|
|
||||||
|
int mode_get = fegetround();
|
||||||
|
std::cout << "fegetround() = " << str(mode_get) << " ";
|
||||||
|
bool ok_get = mode_get == mode_set;
|
||||||
|
if (!ok_get)
|
||||||
|
errors++;
|
||||||
|
std::cout << (ok_get ? "(ok)" : "(error)") << std::endl;
|
||||||
|
|
||||||
|
int mode_test = fetestround();
|
||||||
|
std::cout << "fetestround() = " << str(mode_test) << " ";
|
||||||
|
bool ok_test = mode_test == mode_set;
|
||||||
|
if (!ok_test)
|
||||||
|
errors++;
|
||||||
|
std::cout << (ok_test ? "(ok)" : "(error)") << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
return errors;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,95 @@
|
||||||
|
// This tests the rounding mode functions.
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
|
#include <CGAL/Interval_nt.h>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
typedef CGAL::Interval_nt_advanced NT_adv;
|
||||||
|
typedef CGAL::Interval_nt<> NT;
|
||||||
|
|
||||||
|
void print_res (bool res)
|
||||||
|
{ std::cout << (res ? "ok" : "ERROR") << std::endl; }
|
||||||
|
|
||||||
|
// The results of 1-epsilon and -1+epsilon are enough
|
||||||
|
// to detect exactly the current rounding mode.
|
||||||
|
// 1-MIN_DOUBLE
|
||||||
|
// +------+-------+
|
||||||
|
// | 1 | 1-ulp |
|
||||||
|
// +--------+------+-------+
|
||||||
|
// -1+MIN_DOUBLE | -1 | near | -inf |
|
||||||
|
// | -1+ulp | +inf | zero |
|
||||||
|
// +--------+------+-------+
|
||||||
|
|
||||||
|
// I use a global variable here to avoid constant propagation.
|
||||||
|
double IA_min_double;
|
||||||
|
|
||||||
|
CGAL::FPU_CW_t
|
||||||
|
FPU_empiric_test()
|
||||||
|
{
|
||||||
|
IA_min_double = CGAL_IA_STOP_CPROP(CGAL_IA_MIN_DOUBLE);
|
||||||
|
double y = 1.0, z = -1.0;
|
||||||
|
double ye, ze;
|
||||||
|
ye = y - IA_min_double;
|
||||||
|
ze = z + IA_min_double;
|
||||||
|
if (y == ye && z == ze) return CGAL_FE_TONEAREST;
|
||||||
|
if (y == ye) return CGAL_FE_UPWARD;
|
||||||
|
if (z == ze) return CGAL_FE_DOWNWARD;
|
||||||
|
return CGAL_FE_TOWARDZERO;
|
||||||
|
}
|
||||||
|
|
||||||
|
void print_rounding_name (CGAL::FPU_CW_t r)
|
||||||
|
{
|
||||||
|
switch (r) {
|
||||||
|
case CGAL_FE_TONEAREST: std::cout << "NEAR\n"; break;
|
||||||
|
case CGAL_FE_DOWNWARD: std::cout << "DOWN\n"; break;
|
||||||
|
case CGAL_FE_UPWARD: std::cout << "UP\n"; break;
|
||||||
|
case CGAL_FE_TOWARDZERO: std::cout << "ZERO\n"; break;
|
||||||
|
default: std::cout << "unknown !\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
bool flag = true;
|
||||||
|
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TONEAREST);
|
||||||
|
std::cout << "default: ";
|
||||||
|
print_res(flag);
|
||||||
|
|
||||||
|
// Should be a no-op.
|
||||||
|
CGAL::FPU_set_cw(CGAL::FPU_get_cw());
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TONEAREST);
|
||||||
|
std::cout << "get/set: ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to zero.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_TOWARDZERO);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TOWARDZERO);
|
||||||
|
std::cout << "zero : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to infinity.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_UPWARD);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_UPWARD);
|
||||||
|
std::cout << "+inf : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to minus infinity.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_DOWNWARD);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_DOWNWARD);
|
||||||
|
std::cout << "-inf : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
// Rounding to nearest.
|
||||||
|
CGAL::FPU_set_cw(CGAL_FE_TONEAREST);
|
||||||
|
flag = flag && (FPU_empiric_test() == CGAL_FE_TONEAREST);
|
||||||
|
std::cout << "near : ";
|
||||||
|
print_res(flag);
|
||||||
|
if (!flag) print_rounding_name(FPU_empiric_test());
|
||||||
|
|
||||||
|
return (int) !flag;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
# Note that the file URLs contain unpredictable IDs as directory. The
|
||||||
|
# uversionmagle options strips this ID.
|
||||||
|
#
|
||||||
|
# Note that only digits and "." are used to match the version number.
|
||||||
|
# Therefore we do not match beta releases.
|
||||||
|
#
|
||||||
|
version=3
|
||||||
|
opts=uversionmangle=s/(\d+).([\d\.]+)/$2/ \
|
||||||
|
https://gforge.inria.fr/frs/?group_id=52 \
|
||||||
|
https://gforge.inria.fr/frs/download.php/(\d+)/CGAL-([\d\.]+).tar.gz
|
||||||
Loading…
Reference in New Issue