Remove stale Debian packaging data.

- The Debian packaging for unstable is tracked at
  https://salsa.debian.org/reichel/cgal.
- No real need to track the Debian packaging for stable and testing in VCS, the
  changes are usually minimal and can be recovered from the published packages
  or the description in README.
- Remove stale tagging information from README.
- Remote stale uploading information from README.
- Update announcement text.
This commit is contained in:
Joachim Reichel 2024-09-10 13:26:40 +02:00
parent 30e1848c0a
commit 809c6463a1
82 changed files with 16 additions and 3736 deletions

View File

@ -1,23 +0,0 @@
Debian packages for CGAL 4.1 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 squeeze main
deb-src http://www.joachim-reichel.de/debian/repository squeeze main
deb http://www.joachim-reichel.de/debian/repository wheezy main
deb-src http://www.joachim-reichel.de/debian/repository wheezy main
deb http://www.joachim-reichel.de/debian/repository sid main
deb-src http://www.joachim-reichel.de/debian/repository sid main
to /etc/apt/sources.list (you only need the pair of lines corresponding
to the release you are using). The packages are called libcgal10,
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/main/c/cgal/
For the final 4.1 release, similar packages will be uploaded to the
official Debian repository and/or be available from the CGAL web site.
See also https://www.cgal.org/FAQ.html#debian_packages .

View File

@ -1,18 +1,19 @@
Debian packages for CGAL 4.1 are now available as well. Simply add Debian packages for CGAL 6.0 are now available as well. Simply add
deb ftp://ftp.mpi-sb.mpg.de/pub/outgoing/CGAL/debian squeeze main deb http://debian.cgal.org bullseye main
deb-src ftp://ftp.mpi-sb.mpg.de/pub/outgoing/CGAL/debian squeeze main deb-src http://debian.cgal.org bullseye main
deb ftp://ftp.mpi-sb.mpg.de/pub/outgoing/CGAL/debian wheezy main deb http://debian.cgal.org bookworm main
deb-src ftp://ftp.mpi-sb.mpg.de/pub/outgoing/CGAL/debian wheezy main deb-src http://debian.cgal.org bookworm main
to /etc/apt/sources list (you only need the pair of lines corresponding to /etc/apt/sources.list (you only need the pair of lines
to the release you are using). For sid, packages should be available corresponding to the release you are using) and make sure that the
from the official Debian repository in a few days. The packages are called package apt-transport-https is installed. For sid/unstable,
libcgal10, libcgal-dev, libcgal-qt4-10. libcgal-qt4-dev, libcgal-demo, and packages are available from the official Debian repository. The
libcgal-ipelets. packages are called libcgal-dev, libcgal-qt6-dev, libcgal-demo,
and libcgal-ipelets.
In case you want to download the packages manually, have a look at In case you want to download the packages manually, have a look at
ftp://ftp.mpi-sb.mpg.de/pub/outgoing/CGAL/debian/pool/main/c/cgal/ https://debian.cgal.org/pool/main/c/cgal/ .
See also https://www.cgal.org/FAQ.html#debian_packages . See also https://www.cgal.org/FAQ.html#debian_packages .

View File

@ -4,54 +4,10 @@ README
Backports Backports
--------- ---------
backport for wheezy: backport for trixie:
- debian/changelog: - debian/changelog:
* adjust version suffix from -X to -X~wheezy1 * add new section with version suffix ...-X~deb13u1 and suite testing
* adjust suite from unstable to testing
backport for squeeze: backport for bookworm:
- debian/changelog: - debian/changelog:
* adjust version suffix from -X to -X~squeeze1 * add new section with version suffix ...-X~deb12u1 and suite stable
* adjust suite from unstable to stable
- debian/control
* adjust Standards-Version from 3.9.3 to 3.9.1
* replace libgmp10-dev by libgmp3-dev (twice)
* adjust debhelper minimum version from 9 to 8
- debian/compat
* adjust debhelper compatibility version from 9 to 8
Tags
----
svn copy $SVNROOT/branches/next/Maintenance/deb/sid/debian $SVNROOT/tags/debian/4.1-1 -m "Tag for revision 4.1-1"
svn copy $SVNROOT/branches/next/Maintenance/deb/wheezy/debian $SVNROOT/tags/debian/4.1-1~wheezy1 -m "Tag for revision 4.1-1~wheezy1"
svn copy $SVNROOT/branches/next/Maintenance/deb/squeeze/debian $SVNROOT/tags/debian/4.1-1~squeeze1 -m "Tag for revision 4.1-1~squeeze1"
FTP server
----------
# on my server
cd /var/tmp
tar xjf cgal.org-debian-repository.tar.bz2
cd cgal.org-debian-repository
mv pool/main/c/cgal/* archive
reprepro -b . include wheezy|squeeze /path/to/*.changes
cd ..
tar cjf cgal.org-debian-repository.tar.bz2 cgal.org-debian-repository
cd cgal.org-debian-repository
rm -fr archive conf db
tar cjf /srv/www/www.joachim-reichel.de/tmp/cgal.tar.bz2 .
cd ..
rm -fr cgal.org-debian-repository
# on MPI machine
cd /tmp
wget http://www.joachim-reichel.de/tmp/cgal.tar.bz2
su cgal
cd /ftp/pub/outgoing/CGAL/debian
mv pool/main/c/cgal/* archive
rm -fr dists pool
tar xjf /tmp/cgal.tar.bz2
# There should be 3 subdirectories "archive", "dists", and "pool" now.

View File

@ -1,3 +0,0 @@
TODO
====

View File

@ -1,9 +0,0 @@
cgal (4.2-1) unstable; urgency=low
The Qt4 support library libCGAL_Qt4.so.10.0.0 has been moved from the package
libcgal10 to the new package libcgal-qt4-10. Similarly, the corresponding
headers and the static library have been moved from the package libcgal-dev
to the new package libcgal-qt4-dev. That is the packages libcgal10 and
libcgal-dev do not any longer depend on the Qt packages.
-- Joachim Reichel <reichel@debian.org> Sun, 02 Sep 2012 12:31:08 +0200

View File

@ -1,50 +0,0 @@
README.Debian
-------------
The homepage of CGAL (https://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
https://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/example. 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 https://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

View File

@ -1,11 +0,0 @@
normalize-audio for Debian
--------------------------
This package uses quilt to manage all modifications to the upstream source.
Changes are stored in the source package as diffs in debian/patches and
applied during the build.
See /usr/share/doc/quilt/README.source for a detailed explanation.
-- Joachim Reichel <joachim.reichel@gmx.de> Sun, 15 Jan 2012 14:38:04 +0100

View File

@ -1,348 +0,0 @@
cgal (4.1-1) unstable; urgency=low
* New upstream release.
* Rename binary package libcgal9 to libcgal10 to reflect SONAME change.
* Configure CGAL using -DCGAL_ENABLE_PRECONFIG=OFF since we do not want
that the accidental presence of optional libraries (for demos and
examples) influences the build of the library.
* Move the Qt4 support library and the corresponding headers into new
binary packages libcgal-qt4-10 and libcgal-qt4-dev (Closes: #683214).
* Add libboost-system-dev to Builds-Depends: of cgal.
* Move libmpfi-dev from Suggests: of cgal-demo to Build-Depends: of cgal.
-- Joachim Reichel <reichel@debian.org> Wed, 24 Oct 2012 19:08:35 +0200
cgal (4.0.2-1) unstable; urgency=low
* New upstream release.
* Remove gcc-4.7 patch (fixed upstream).
-- Joachim Reichel <reichel@debian.org> Wed, 04 Jul 2012 19:45:28 +0200
cgal (4.0-4) unstable; urgency=low
* Add Suggests: libeigen3-dev (>= 3.1.0~beta1-1), libmpfi-dev to
libcgal-demo.
-- Joachim Reichel <reichel@debian.org> Tue, 12 Jun 2012 23:53:14 +0200
cgal (4.0-3) unstable; urgency=low
* Change Build-Depends: debhelper (>= 8) to debhelper (>= 9), update
debian/compat to get the default build flags for hardening. Inject
CPPFLAGS into CFLAGS and CXXFLAGS, since CPPFLAGS is ignored by cmake.
* Add lintian override to silence incorrect warnings about
hardening-no-fortify-functions for some libraries (all libraries are
built with the same flags).
-- Joachim Reichel <reichel@debian.org> Sun, 10 Jun 2012 15:36:27 +0200
cgal (4.0-2) unstable; urgency=low
* Add patch gcc-4.7 to fix a syntax error in template code which is
not instantiated during the package build itself (Closes: #673554).
* Fix debian/watch.
-- Joachim Reichel <reichel@debian.org> Sun, 20 May 2012 22:47:56 +0200
cgal (4.0-1) unstable; urgency=low
* New upstream release.
* Move from non-free to main due to upstream license change from QPL
to GPL 3+ (and from LGPL 2.1 to LGPL 3+), updated debian/copyright
accordingly.
* Rename binary package libcgal8 to libcgal9 to reflect SONAME change.
* Update Standards-Version to 3.9.3 (no changes needed).
* Remove fix-ipe-version-detection.dpatch and
fix-qt-moc-parse-error.dpatch (fixed upstream).
* Removed libmagick++9-dev from Suggests: of libcgal-demo, because
that package does no longer exists.
-- Joachim Reichel <reichel@debian.org> Mon, 12 Mar 2012 19:14:55 +0100
cgal (3.9-4) unstable; urgency=low
* Rebuild against boost 1.48 (Closes: #659358).
* Add fix-qt-moc-parse-error.dpatch as workaround for
https://bugreports.qt-project.org/browse/QTBUG-22829.
-- Joachim Reichel <reichel@debian.org> Fri, 10 Feb 2012 22:41:26 +0100
cgal (3.9-3) unstable; urgency=low
* Fix FTBFS when building only architecture dependent packages caused
by recent transition to the new packaging format (Closes: #658191).
-- Joachim Reichel <reichel@debian.org> Wed, 01 Feb 2012 00:07:03 +0100
cgal (3.9-2) unstable; urgency=low
* Changed packaging format to "3.0 (quilt)".
* Add fix-ipe-version-detection.dpatch: upstream patch for bug #643278.
Remove workaround.
* Tighten Depends: of libcgal-ipelets on ipe (Closes: #657720).
* Move libcgal-ipelets to Section: graphics.
* Add libqt4-opengl-dev to Suggests: of libcgal-demo.
-- Joachim Reichel <reichel@debian.org> Mon, 30 Jan 2012 19:04:18 +0100
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
5~

View File

@ -1 +0,0 @@
9

View File

@ -1,120 +0,0 @@
Source: cgal
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 (>= 9), dpkg-awk, cmake, zlib1g-dev, libboost-dev,
libboost-thread-dev, libboost-program-options-dev, libboost-system-dev,
libgmp10-dev, libmpfr-dev, libmpfi-dev, libqt4-dev, libqt4-opengl-dev,
libipe-dev (>= 7), ipe
Standards-Version: 3.9.3
Section: libs
Homepage: https://www.cgal.org/
XS-Autobuild: yes
Package: libcgal10
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.
.
This package contains the main library libCGAL.so as well as two support
libraries libCGAL_Core.so (from the CORE project) and libCGAL_ImageIO.so
(image I/O). The library libCGAL_Qt4.so used for visualization in demos
can be found in the package libcgal-qt4-10.
Package: libcgal-qt4-10
Architecture: any
Depends: libcgal10 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: C++ library for computational geometry (support for Qt4)
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.
.
This package contains libCGAL_Qt4.so used for visualization in demos.
Package: libcgal-dev
Section: libdevel
Architecture: any
Depends: libcgal10 (= ${binary:Version}), libboost-dev, libboost-thread-dev,
libboost-program-options-dev, libgmp10-dev, libmpfr-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 for libCGAL.so,
libCGAL_Core.so, and libCGAL_ImageIO.so. The header files and static
libraries for libCGAL_Qt4.so can be found in the package libcgal-qt4-dev.
Package: libcgal-qt4-dev
Section: libdevel
Architecture: any
Depends: libcgal10 (= ${binary:Version}), libcgal-qt4-10 (= ${binary:Version}),
libcgal-dev, libqt4-dev, ${misc:Depends}
Description: C++ library for computational geometry (development files, support for Qt4)
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 for
libCGAL_Qt.so.
Package: libcgal-demo
Section: devel
Architecture: all
Depends: libcgal-dev (>= ${binary:Version}), libcgal10 (>= ${binary:Version}),
${misc:Depends}
Recommends: libcgal-qt4-dev (>= ${binary:Version}), libcgal10-qt4 (>= ${binary:Version})
Suggests: liblapack-dev, libatlas-base-dev | libatlas.so.3gf, gfortran,
geomview, libqglviewer-qt4-dev, libipe-dev (>= 7), libglew1.5-dev | libglew-dev,
libmagick++-dev, qt4-dev-tools, libqt4-opengl-dev, libeigen3-dev (>= 3.1.0~beta1-1)
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
Section: graphics
Architecture: any
Depends: libcgal10 (>= ${binary:Version}), ipe (>= ${Ipe-Version}), ipe (<< ${Ipe-Version}+),
${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.

View File

@ -1,351 +0,0 @@
This package was debianized by Joachim Reichel <reichel@debian.org> on
Thu, 29 Apr 2004 18:43:18 +0200.
It was downloaded from https://www.cgal.org/download/index.html.
The Debian packaging is Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009,
2010, 2011, 2012 Joachim Reichel <reichel@debian.org> and is licensed
under the LGPL license, version 2.1 or later (at your option), which can
be found in /usr/share/common-licenses/LGPL-2.1.
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").
It is specified in each file of the CGAL library which
license applies to it. This is either the GNU General Public License
or 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). The texts of both licenses can be found in the files LICENSE.GPL
and LICENSE.LGPL.
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 LGPL (see LICENSE.LGPL).
- ImageIO, in the directory "src/CGALimageIO", 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
https://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-2010
Utrecht University (The Netherlands),
ETH Zurich (Switzerland),
INRIA Sophia-Antipolis (France),
Max-Planck-Institute Saarbruecken (Germany),
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 GPL'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 can redistribute it and/or modify it under the terms of the GNU
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 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),
INRIA Sophia-Antipolis (France),
Max-Planck-Institute Saarbruecken (Germany),
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:
Boost
=====
The following files are modified versions originating from Boost:
./include/CGAL/STL_Extension/internal/boost/mutable_heap.hpp
./include/CGAL/STL_Extension/internal/boost/array_binary_tree.hpp
./include/CGAL/STL_Extension/internal/boost/mutable_queue.hpp
Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
./include/CGAL/internal/container_fwd_fixed.hpp
Copyright 2005-2008 Daniel James.
./include/CGAL/auto_link/auto_link.h
(C) Copyright John Maddock 2003.
All of these files are distributed under the Boost Software License,
version 1.0.
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
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 (https://cs.nyu.edu/exact/core/).
You can redistribute it and/or modify it under the terms of the GNU
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.
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.

View File

@ -1,2 +0,0 @@
usr/share/doc/cgal/demo.tar.gz usr/share/doc/libcgal10
usr/share/doc/cgal/examples.tar.gz usr/share/doc/libcgal10

View File

@ -1,11 +0,0 @@
usr/bin/*
usr/include/*
usr/lib/libCGAL.a
usr/lib/libCGAL_Core.a
usr/lib/libCGAL_ImageIO.a
usr/lib/libCGAL.so
usr/lib/libCGAL_Core.so
usr/lib/libCGAL_ImageIO.so
usr/lib/CGAL/*
usr/share/cmake-2.8/Modules/*
usr/share/man/man1/cgal_create_cmake_script.1

View File

@ -1,2 +0,0 @@
# use wildcard to avoid hard-coding the Ipe version
usr/lib/ipe/* usr/lib/ipe

View File

@ -1 +0,0 @@
libcgal-ipelets: hardening-no-fortify-functions usr/lib/ipe/*/ipelets/libCGAL_*.so

View File

@ -1 +0,0 @@
usr/lib/libCGAL_Qt4.so.* usr/lib

View File

@ -1 +0,0 @@
libcgal-qt4-10: hardening-no-fortify-functions usr/lib/libCGAL_Qt4.so.*

View File

@ -1 +0,0 @@
libCGAL_Qt4 10 libcgal-qt4-10

View File

@ -1,5 +0,0 @@
# The next entry is disabled here because it overlaps with the corresponding
# entry in libcgal-dev.install. The files are moved in debian/rules.
# usr/include/CGAL/Qt
usr/lib/libCGAL_Qt4.a
usr/lib/libCGAL_Qt4.so

View File

@ -1,4 +0,0 @@
usr/lib/libCGAL.so.* usr/lib
usr/lib/libCGAL_Core.so.* usr/lib
usr/lib/libCGAL_ImageIO.so.* usr/lib
usr/share/doc/cgal/changelog usr/share/doc/libcgal10

View File

@ -1 +0,0 @@
libcgal10: hardening-no-fortify-functions usr/lib/libCGAL.so.*

View File

@ -1,3 +0,0 @@
libCGAL 10 libcgal10
libCGAL_Core 10 libcgal10
libCGAL_ImageIO 10 libcgal10

View File

@ -1,12 +0,0 @@
Description: Avoid -lCGAL_Qt4 in linker command of Linear_cell_complex example
--- cgal-4.1~beta1.orig/examples/Linear_cell_complex/CMakeLists.txt
+++ cgal-4.1~beta1/examples/Linear_cell_complex/CMakeLists.txt
@@ -12,7 +12,7 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR
endif()
endif()
-find_package(CGAL QUIET COMPONENTS Core Qt4)
+find_package(CGAL QUIET COMPONENTS Core)
# For Gprof.
# ADD_DEFINITIONS("-pg")

View File

@ -1 +0,0 @@
do-not-link-example-with-qt4-support-library.patch

View File

@ -1,96 +0,0 @@
#!/usr/bin/make -f
# export DH_VERBOSE=1
# See https://wiki.debian.org/Hardening#Notes_for_packages_using_CMake
CFLAGS := $(CFLAGS) $(CPPFLAGS)
CXXFLAGS := $(CXXFLAGS) $(CPPFLAGS)
# The build system links all four libraries against all dependencies.
LDFLAGS += -Wl,--as-needed
ifeq ($(DEB_BUILD_ARCH),alpha)
IEEE_FPU_OPTION = -mieee -mfp-rounding-mode=d
endif
%:
dh $@
override_dh_auto_configure:
mkdir -p static
cd static && QTDIR= cmake .. \
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF \
-DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=FALSE
mkdir -p shared
cd shared && QTDIR= cmake .. \
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF \
-DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=TRUE -DCMAKE_SKIP_RPATH=TRUE
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 \
-DCGAL_DIR=$(CURDIR)/shared
override_dh_auto_build:
$(MAKE) -C static
$(MAKE) -C shared
$(MAKE) -C shared/demo/CGAL_ipelets
override_dh_auto_test:
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
override_dh_auto_clean:
dh_auto_clean
rm -fr shared static
override_dh_install:
$(MAKE) -C static DESTDIR=$(CURDIR)/debian/tmp install
$(MAKE) -C shared DESTDIR=$(CURDIR)/debian/tmp install
$(MAKE) -C shared/demo/CGAL_ipelets DESTDIR=$(CURDIR)/debian/tmp install
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
mkdir -p debian/libcgal-qt4-dev/usr/include/CGAL
mv debian/libcgal-dev/usr/include/CGAL/Qt debian/libcgal-qt4-dev/usr/include/CGAL
mkdir -p debian/libcgal-qt4-10/usr/share/doc
ln -s libcgal10 debian/libcgal-qt4-10/usr/share/doc/libcgal-qt4-10
mkdir -p debian/libcgal-dev/usr/share/doc
ln -s libcgal10 debian/libcgal-dev/usr/share/doc/libcgal-dev
mkdir -p debian/libcgal-qt4-dev/usr/share/doc
ln -s libcgal10 debian/libcgal-qt4-dev/usr/share/doc/libcgal-qt4-dev
mkdir -p debian/libcgal-demo/usr/share/doc
ln -s libcgal10 debian/libcgal-demo/usr/share/doc/libcgal-demo
mkdir -p debian/libcgal-ipelets/usr/share/doc
ln -s libcgal10 debian/libcgal-ipelets/usr/share/doc/libcgal-ipelets
override_dh_installdocs:
dh_installdocs -plibcgal10 debian/copyright
override_dh_installchangelogs:
dh_installchangelogs -plibcgal10
override_dh_shlibdeps: # TODO Is that really needed?
dh_shlibdeps -a -ldebian/libcgal10/usr/lib
override_dh_gencontrol:
dh_gencontrol -- -VIpe-Version=`dpkg-awk 'Package:^ipe$$' -- Version | grep Version | sed 's/Version: //;s/-[^-]*$$//'`

View File

@ -1 +0,0 @@
3.0 (quilt)

View File

@ -1,14 +0,0 @@
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 $@ -O2 -frounding-math $(IEEE_FPU_OPTION)
rounding_modes2.o: rounding_modes2.cpp
g++ -c $< -o $@ -O2 -frounding-math $(IEEE_FPU_OPTION) -I../../include -I../../shared/include
clean:
rm -f *.o rounding_modes1 rounding_modes2

View File

@ -1,66 +0,0 @@
#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__;
}
}
int fetestround ()
{
volatile double eps = std::numeric_limits<double>::denorm_min();
double x = -1.0;
double y = 1.0;
volatile double x_plus_eps = x + eps;
volatile 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;
}

View File

@ -1,95 +0,0 @@
// 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;
}

View File

@ -1,10 +0,0 @@
# 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 \
/frs/download.php/(\d+)/CGAL-([\d\.]+).tar.gz

View File

@ -1,9 +0,0 @@
cgal (4.2-1) unstable; urgency=low
The Qt4 support library libCGAL_Qt4.so.10.0.0 has been moved from the package
libcgal10 to the new package libcgal-qt4-10. Similarly, the corresponding
headers and the static library have been moved from the package libcgal-dev
to the new package libcgal-qt4-dev. That is the packages libcgal10 and
libcgal-dev do not any longer depend on the Qt packages.
-- Joachim Reichel <reichel@debian.org> Sun, 02 Sep 2012 12:31:08 +0200

View File

@ -1,50 +0,0 @@
README.Debian
-------------
The homepage of CGAL (https://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
https://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/example. 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 https://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

View File

@ -1,11 +0,0 @@
normalize-audio for Debian
--------------------------
This package uses quilt to manage all modifications to the upstream source.
Changes are stored in the source package as diffs in debian/patches and
applied during the build.
See /usr/share/doc/quilt/README.source for a detailed explanation.
-- Joachim Reichel <joachim.reichel@gmx.de> Sun, 15 Jan 2012 14:38:04 +0100

View File

@ -1,348 +0,0 @@
cgal (4.1-1~squeeze1) stable; urgency=low
* New upstream release.
* Rename binary package libcgal9 to libcgal10 to reflect SONAME change.
* Configure CGAL using -DCGAL_ENABLE_PRECONFIG=OFF since we do not want
that the accidental presence of optional libraries (for demos and
examples) influences the build of the library.
* Move the Qt4 support library and the corresponding headers into new
binary packages libcgal-qt4-10 and libcgal-qt4-dev (Closes: #683214).
* Add libboost-system-dev to Builds-Depends: of cgal.
* Move libmpfi-dev from Suggests: of cgal-demo to Build-Depends: of cgal.
-- Joachim Reichel <reichel@debian.org> Wed, 24 Oct 2012 19:08:35 +0200
cgal (4.0.2-1) unstable; urgency=low
* New upstream release.
* Remove gcc-4.7 patch (fixed upstream).
-- Joachim Reichel <reichel@debian.org> Wed, 04 Jul 2012 19:45:28 +0200
cgal (4.0-4) unstable; urgency=low
* Add Suggests: libeigen3-dev (>= 3.1.0~beta1-1), libmpfi-dev to
libcgal-demo.
-- Joachim Reichel <reichel@debian.org> Tue, 12 Jun 2012 23:53:14 +0200
cgal (4.0-3) unstable; urgency=low
* Change Build-Depends: debhelper (>= 8) to debhelper (>= 9), update
debian/compat to get the default build flags for hardening. Inject
CPPFLAGS into CFLAGS and CXXFLAGS, since CPPFLAGS is ignored by cmake.
* Add lintian override to silence incorrect warnings about
hardening-no-fortify-functions for some libraries (all libraries are
built with the same flags).
-- Joachim Reichel <reichel@debian.org> Sun, 10 Jun 2012 15:36:27 +0200
cgal (4.0-2) unstable; urgency=low
* Add patch gcc-4.7 to fix a syntax error in template code which is
not instantiated during the package build itself (Closes: #673554).
* Fix debian/watch.
-- Joachim Reichel <reichel@debian.org> Sun, 20 May 2012 22:47:56 +0200
cgal (4.0-1) unstable; urgency=low
* New upstream release.
* Move from non-free to main due to upstream license change from QPL
to GPL 3+ (and from LGPL 2.1 to LGPL 3+), updated debian/copyright
accordingly.
* Rename binary package libcgal8 to libcgal9 to reflect SONAME change.
* Update Standards-Version to 3.9.3 (no changes needed).
* Remove fix-ipe-version-detection.dpatch and
fix-qt-moc-parse-error.dpatch (fixed upstream).
* Removed libmagick++9-dev from Suggests: of libcgal-demo, because
that package does no longer exists.
-- Joachim Reichel <reichel@debian.org> Mon, 12 Mar 2012 19:14:55 +0100
cgal (3.9-4) unstable; urgency=low
* Rebuild against boost 1.48 (Closes: #659358).
* Add fix-qt-moc-parse-error.dpatch as workaround for
https://bugreports.qt-project.org/browse/QTBUG-22829.
-- Joachim Reichel <reichel@debian.org> Fri, 10 Feb 2012 22:41:26 +0100
cgal (3.9-3) unstable; urgency=low
* Fix FTBFS when building only architecture dependent packages caused
by recent transition to the new packaging format (Closes: #658191).
-- Joachim Reichel <reichel@debian.org> Wed, 01 Feb 2012 00:07:03 +0100
cgal (3.9-2) unstable; urgency=low
* Changed packaging format to "3.0 (quilt)".
* Add fix-ipe-version-detection.dpatch: upstream patch for bug #643278.
Remove workaround.
* Tighten Depends: of libcgal-ipelets on ipe (Closes: #657720).
* Move libcgal-ipelets to Section: graphics.
* Add libqt4-opengl-dev to Suggests: of libcgal-demo.
-- Joachim Reichel <reichel@debian.org> Mon, 30 Jan 2012 19:04:18 +0100
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
5~

View File

@ -1 +0,0 @@
8

View File

@ -1,120 +0,0 @@
Source: cgal
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 (>= 8), dpkg-awk, cmake, zlib1g-dev, libboost-dev,
libboost-thread-dev, libboost-program-options-dev, libboost-system-dev,
libgmp3-dev, libmpfr-dev, libmpfi-dev, libqt4-dev, libqt4-opengl-dev,
libipe-dev (>= 7), ipe
Standards-Version: 3.9.1
Section: libs
Homepage: https://www.cgal.org/
XS-Autobuild: yes
Package: libcgal10
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.
.
This package contains the main library libCGAL.so as well as two support
libraries libCGAL_Core.so (from the CORE project) and libCGAL_ImageIO.so
(image I/O). The library libCGAL_Qt4.so used for visualization in demos
can be found in the package libcgal-qt4-10.
Package: libcgal-qt4-10
Architecture: any
Depends: libcgal10 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: C++ library for computational geometry (support for Qt4)
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.
.
This package contains libCGAL_Qt4.so used for visualization in demos.
Package: libcgal-dev
Section: libdevel
Architecture: any
Depends: libcgal10 (= ${binary:Version}), libboost-dev, libboost-thread-dev,
libboost-program-options-dev, libgmp3-dev, libmpfr-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 for libCGAL.so,
libCGAL_Core.so, and libCGAL_ImageIO.so. The header files and static
libraries for libCGAL_Qt4.so can be found in the package libcgal-qt4-dev.
Package: libcgal-qt4-dev
Section: libdevel
Architecture: any
Depends: libcgal10 (= ${binary:Version}), libcgal-qt4-10 (= ${binary:Version}),
libcgal-dev, libqt4-dev, ${misc:Depends}
Description: C++ library for computational geometry (development files, support for Qt4)
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 for
libCGAL_Qt.so.
Package: libcgal-demo
Section: devel
Architecture: all
Depends: libcgal-dev (>= ${binary:Version}), libcgal10 (>= ${binary:Version}),
${misc:Depends}
Recommends: libcgal-qt4-dev (>= ${binary:Version}), libcgal10-qt4 (>= ${binary:Version})
Suggests: liblapack-dev, libatlas-base-dev | libatlas.so.3gf, gfortran,
geomview, libqglviewer-qt4-dev, libipe-dev (>= 7), libglew1.5-dev | libglew-dev,
libmagick++-dev, qt4-dev-tools, libqt4-opengl-dev, libeigen3-dev (>= 3.1.0~beta1-1)
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
Section: graphics
Architecture: any
Depends: libcgal10 (>= ${binary:Version}), ipe (>= ${Ipe-Version}), ipe (<< ${Ipe-Version}+),
${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.

View File

@ -1,351 +0,0 @@
This package was debianized by Joachim Reichel <reichel@debian.org> on
Thu, 29 Apr 2004 18:43:18 +0200.
It was downloaded from https://www.cgal.org/download/index.html.
The Debian packaging is Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009,
2010, 2011, 2012 Joachim Reichel <reichel@debian.org> and is licensed
under the LGPL license, version 2.1 or later (at your option), which can
be found in /usr/share/common-licenses/LGPL-2.1.
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").
It is specified in each file of the CGAL library which
license applies to it. This is either the GNU General Public License
or 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). The texts of both licenses can be found in the files LICENSE.GPL
and LICENSE.LGPL.
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 LGPL (see LICENSE.LGPL).
- ImageIO, in the directory "src/CGALimageIO", 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
https://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-2010
Utrecht University (The Netherlands),
ETH Zurich (Switzerland),
INRIA Sophia-Antipolis (France),
Max-Planck-Institute Saarbruecken (Germany),
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 GPL'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 can redistribute it and/or modify it under the terms of the GNU
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 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),
INRIA Sophia-Antipolis (France),
Max-Planck-Institute Saarbruecken (Germany),
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:
Boost
=====
The following files are modified versions originating from Boost:
./include/CGAL/STL_Extension/internal/boost/mutable_heap.hpp
./include/CGAL/STL_Extension/internal/boost/array_binary_tree.hpp
./include/CGAL/STL_Extension/internal/boost/mutable_queue.hpp
Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
./include/CGAL/internal/container_fwd_fixed.hpp
Copyright 2005-2008 Daniel James.
./include/CGAL/auto_link/auto_link.h
(C) Copyright John Maddock 2003.
All of these files are distributed under the Boost Software License,
version 1.0.
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
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 (https://cs.nyu.edu/exact/core/).
You can redistribute it and/or modify it under the terms of the GNU
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.
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.

View File

@ -1,2 +0,0 @@
usr/share/doc/cgal/demo.tar.gz usr/share/doc/libcgal10
usr/share/doc/cgal/examples.tar.gz usr/share/doc/libcgal10

View File

@ -1,11 +0,0 @@
usr/bin/*
usr/include/*
usr/lib/libCGAL.a
usr/lib/libCGAL_Core.a
usr/lib/libCGAL_ImageIO.a
usr/lib/libCGAL.so
usr/lib/libCGAL_Core.so
usr/lib/libCGAL_ImageIO.so
usr/lib/CGAL/*
usr/share/cmake-2.8/Modules/*
usr/share/man/man1/cgal_create_cmake_script.1

View File

@ -1,2 +0,0 @@
# use wildcard to avoid hard-coding the Ipe version
usr/lib/ipe/* usr/lib/ipe

View File

@ -1 +0,0 @@
libcgal-ipelets: hardening-no-fortify-functions usr/lib/ipe/*/ipelets/libCGAL_*.so

View File

@ -1 +0,0 @@
usr/lib/libCGAL_Qt4.so.* usr/lib

View File

@ -1 +0,0 @@
libcgal-qt4-10: hardening-no-fortify-functions usr/lib/libCGAL_Qt4.so.*

View File

@ -1 +0,0 @@
libCGAL_Qt4 10 libcgal-qt4-10

View File

@ -1,5 +0,0 @@
# The next entry is disabled here because it overlaps with the corresponding
# entry in libcgal-dev.install. The files are moved in debian/rules.
# usr/include/CGAL/Qt
usr/lib/libCGAL_Qt4.a
usr/lib/libCGAL_Qt4.so

View File

@ -1,4 +0,0 @@
usr/lib/libCGAL.so.* usr/lib
usr/lib/libCGAL_Core.so.* usr/lib
usr/lib/libCGAL_ImageIO.so.* usr/lib
usr/share/doc/cgal/changelog usr/share/doc/libcgal10

View File

@ -1 +0,0 @@
libcgal10: hardening-no-fortify-functions usr/lib/libCGAL.so.*

View File

@ -1,3 +0,0 @@
libCGAL 10 libcgal10
libCGAL_Core 10 libcgal10
libCGAL_ImageIO 10 libcgal10

View File

@ -1,12 +0,0 @@
Description: Avoid -lCGAL_Qt4 in linker command of Linear_cell_complex example
--- cgal-4.1~beta1.orig/examples/Linear_cell_complex/CMakeLists.txt
+++ cgal-4.1~beta1/examples/Linear_cell_complex/CMakeLists.txt
@@ -12,7 +12,7 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR
endif()
endif()
-find_package(CGAL QUIET COMPONENTS Core Qt4)
+find_package(CGAL QUIET COMPONENTS Core)
# For Gprof.
# ADD_DEFINITIONS("-pg")

View File

@ -1 +0,0 @@
do-not-link-example-with-qt4-support-library.patch

View File

@ -1,96 +0,0 @@
#!/usr/bin/make -f
# export DH_VERBOSE=1
# See https://wiki.debian.org/Hardening#Notes_for_packages_using_CMake
CFLAGS := $(CFLAGS) $(CPPFLAGS)
CXXFLAGS := $(CXXFLAGS) $(CPPFLAGS)
# The build system links all four libraries against all dependencies.
LDFLAGS += -Wl,--as-needed
ifeq ($(DEB_BUILD_ARCH),alpha)
IEEE_FPU_OPTION = -mieee -mfp-rounding-mode=d
endif
%:
dh $@
override_dh_auto_configure:
mkdir -p static
cd static && QTDIR= cmake .. \
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF \
-DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=FALSE
mkdir -p shared
cd shared && QTDIR= cmake .. \
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF \
-DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=TRUE -DCMAKE_SKIP_RPATH=TRUE
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 \
-DCGAL_DIR=$(CURDIR)/shared
override_dh_auto_build:
$(MAKE) -C static
$(MAKE) -C shared
$(MAKE) -C shared/demo/CGAL_ipelets
override_dh_auto_test:
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
override_dh_auto_clean:
dh_auto_clean
rm -fr shared static
override_dh_install:
$(MAKE) -C static DESTDIR=$(CURDIR)/debian/tmp install
$(MAKE) -C shared DESTDIR=$(CURDIR)/debian/tmp install
$(MAKE) -C shared/demo/CGAL_ipelets DESTDIR=$(CURDIR)/debian/tmp install
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
mkdir -p debian/libcgal-qt4-dev/usr/include/CGAL
mv debian/libcgal-dev/usr/include/CGAL/Qt debian/libcgal-qt4-dev/usr/include/CGAL
mkdir -p debian/libcgal-qt4-10/usr/share/doc
ln -s libcgal10 debian/libcgal-qt4-10/usr/share/doc/libcgal-qt4-10
mkdir -p debian/libcgal-dev/usr/share/doc
ln -s libcgal10 debian/libcgal-dev/usr/share/doc/libcgal-dev
mkdir -p debian/libcgal-qt4-dev/usr/share/doc
ln -s libcgal10 debian/libcgal-qt4-dev/usr/share/doc/libcgal-qt4-dev
mkdir -p debian/libcgal-demo/usr/share/doc
ln -s libcgal10 debian/libcgal-demo/usr/share/doc/libcgal-demo
mkdir -p debian/libcgal-ipelets/usr/share/doc
ln -s libcgal10 debian/libcgal-ipelets/usr/share/doc/libcgal-ipelets
override_dh_installdocs:
dh_installdocs -plibcgal10 debian/copyright
override_dh_installchangelogs:
dh_installchangelogs -plibcgal10
override_dh_shlibdeps: # TODO Is that really needed?
dh_shlibdeps -a -ldebian/libcgal10/usr/lib
override_dh_gencontrol:
dh_gencontrol -- -VIpe-Version=`dpkg-awk 'Package:^ipe$$' -- Version | grep Version | sed 's/Version: //;s/-[^-]*$$//'`

View File

@ -1 +0,0 @@
3.0 (quilt)

View File

@ -1,14 +0,0 @@
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 $@ -O2 -frounding-math $(IEEE_FPU_OPTION)
rounding_modes2.o: rounding_modes2.cpp
g++ -c $< -o $@ -O2 -frounding-math $(IEEE_FPU_OPTION) -I../../include -I../../shared/include
clean:
rm -f *.o rounding_modes1 rounding_modes2

View File

@ -1,66 +0,0 @@
#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__;
}
}
int fetestround ()
{
volatile double eps = std::numeric_limits<double>::denorm_min();
double x = -1.0;
double y = 1.0;
volatile double x_plus_eps = x + eps;
volatile 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;
}

View File

@ -1,95 +0,0 @@
// 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;
}

View File

@ -1,10 +0,0 @@
# 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 \
/frs/download.php/(\d+)/CGAL-([\d\.]+).tar.gz

View File

@ -1,9 +0,0 @@
cgal (4.2-1) unstable; urgency=low
The Qt4 support library libCGAL_Qt4.so.10.0.0 has been moved from the package
libcgal10 to the new package libcgal-qt4-10. Similarly, the corresponding
headers and the static library have been moved from the package libcgal-dev
to the new package libcgal-qt4-dev. That is the packages libcgal10 and
libcgal-dev do not any longer depend on the Qt packages.
-- Joachim Reichel <reichel@debian.org> Sun, 02 Sep 2012 12:31:08 +0200

View File

@ -1,50 +0,0 @@
README.Debian
-------------
The homepage of CGAL (https://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
https://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/example. 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 https://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

View File

@ -1,11 +0,0 @@
normalize-audio for Debian
--------------------------
This package uses quilt to manage all modifications to the upstream source.
Changes are stored in the source package as diffs in debian/patches and
applied during the build.
See /usr/share/doc/quilt/README.source for a detailed explanation.
-- Joachim Reichel <joachim.reichel@gmx.de> Sun, 15 Jan 2012 14:38:04 +0100

View File

@ -1,348 +0,0 @@
cgal (4.1-1~wheezy1) testing; urgency=low
* New upstream release.
* Rename binary package libcgal9 to libcgal10 to reflect SONAME change.
* Configure CGAL using -DCGAL_ENABLE_PRECONFIG=OFF since we do not want
that the accidental presence of optional libraries (for demos and
examples) influences the build of the library.
* Move the Qt4 support library and the corresponding headers into new
binary packages libcgal-qt4-10 and libcgal-qt4-dev (Closes: #683214).
* Add libboost-system-dev to Builds-Depends: of cgal.
* Move libmpfi-dev from Suggests: of cgal-demo to Build-Depends: of cgal.
-- Joachim Reichel <reichel@debian.org> Wed, 24 Oct 2012 19:08:35 +0200
cgal (4.0.2-1) unstable; urgency=low
* New upstream release.
* Remove gcc-4.7 patch (fixed upstream).
-- Joachim Reichel <reichel@debian.org> Wed, 04 Jul 2012 19:45:28 +0200
cgal (4.0-4) unstable; urgency=low
* Add Suggests: libeigen3-dev (>= 3.1.0~beta1-1), libmpfi-dev to
libcgal-demo.
-- Joachim Reichel <reichel@debian.org> Tue, 12 Jun 2012 23:53:14 +0200
cgal (4.0-3) unstable; urgency=low
* Change Build-Depends: debhelper (>= 8) to debhelper (>= 9), update
debian/compat to get the default build flags for hardening. Inject
CPPFLAGS into CFLAGS and CXXFLAGS, since CPPFLAGS is ignored by cmake.
* Add lintian override to silence incorrect warnings about
hardening-no-fortify-functions for some libraries (all libraries are
built with the same flags).
-- Joachim Reichel <reichel@debian.org> Sun, 10 Jun 2012 15:36:27 +0200
cgal (4.0-2) unstable; urgency=low
* Add patch gcc-4.7 to fix a syntax error in template code which is
not instantiated during the package build itself (Closes: #673554).
* Fix debian/watch.
-- Joachim Reichel <reichel@debian.org> Sun, 20 May 2012 22:47:56 +0200
cgal (4.0-1) unstable; urgency=low
* New upstream release.
* Move from non-free to main due to upstream license change from QPL
to GPL 3+ (and from LGPL 2.1 to LGPL 3+), updated debian/copyright
accordingly.
* Rename binary package libcgal8 to libcgal9 to reflect SONAME change.
* Update Standards-Version to 3.9.3 (no changes needed).
* Remove fix-ipe-version-detection.dpatch and
fix-qt-moc-parse-error.dpatch (fixed upstream).
* Removed libmagick++9-dev from Suggests: of libcgal-demo, because
that package does no longer exists.
-- Joachim Reichel <reichel@debian.org> Mon, 12 Mar 2012 19:14:55 +0100
cgal (3.9-4) unstable; urgency=low
* Rebuild against boost 1.48 (Closes: #659358).
* Add fix-qt-moc-parse-error.dpatch as workaround for
https://bugreports.qt-project.org/browse/QTBUG-22829.
-- Joachim Reichel <reichel@debian.org> Fri, 10 Feb 2012 22:41:26 +0100
cgal (3.9-3) unstable; urgency=low
* Fix FTBFS when building only architecture dependent packages caused
by recent transition to the new packaging format (Closes: #658191).
-- Joachim Reichel <reichel@debian.org> Wed, 01 Feb 2012 00:07:03 +0100
cgal (3.9-2) unstable; urgency=low
* Changed packaging format to "3.0 (quilt)".
* Add fix-ipe-version-detection.dpatch: upstream patch for bug #643278.
Remove workaround.
* Tighten Depends: of libcgal-ipelets on ipe (Closes: #657720).
* Move libcgal-ipelets to Section: graphics.
* Add libqt4-opengl-dev to Suggests: of libcgal-demo.
-- Joachim Reichel <reichel@debian.org> Mon, 30 Jan 2012 19:04:18 +0100
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
5~

View File

@ -1 +0,0 @@
9

View File

@ -1,120 +0,0 @@
Source: cgal
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 (>= 9), dpkg-awk, cmake, zlib1g-dev, libboost-dev,
libboost-thread-dev, libboost-program-options-dev, libboost-system-dev,
libgmp10-dev, libmpfr-dev, libmpfi-dev, libqt4-dev, libqt4-opengl-dev,
libipe-dev (>= 7), ipe
Standards-Version: 3.9.3
Section: libs
Homepage: https://www.cgal.org/
XS-Autobuild: yes
Package: libcgal10
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.
.
This package contains the main library libCGAL.so as well as two support
libraries libCGAL_Core.so (from the CORE project) and libCGAL_ImageIO.so
(image I/O). The library libCGAL_Qt4.so used for visualization in demos
can be found in the package libcgal-qt4-10.
Package: libcgal-qt4-10
Architecture: any
Depends: libcgal10 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: C++ library for computational geometry (support for Qt4)
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.
.
This package contains libCGAL_Qt4.so used for visualization in demos.
Package: libcgal-dev
Section: libdevel
Architecture: any
Depends: libcgal10 (= ${binary:Version}), libboost-dev, libboost-thread-dev,
libboost-program-options-dev, libgmp10-dev, libmpfr-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 for libCGAL.so,
libCGAL_Core.so, and libCGAL_ImageIO.so. The header files and static
libraries for libCGAL_Qt4.so can be found in the package libcgal-qt4-dev.
Package: libcgal-qt4-dev
Section: libdevel
Architecture: any
Depends: libcgal10 (= ${binary:Version}), libcgal-qt4-10 (= ${binary:Version}),
libcgal-dev, libqt4-dev, ${misc:Depends}
Description: C++ library for computational geometry (development files, support for Qt4)
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 for
libCGAL_Qt.so.
Package: libcgal-demo
Section: devel
Architecture: all
Depends: libcgal-dev (>= ${binary:Version}), libcgal10 (>= ${binary:Version}),
${misc:Depends}
Recommends: libcgal-qt4-dev (>= ${binary:Version}), libcgal10-qt4 (>= ${binary:Version})
Suggests: liblapack-dev, libatlas-base-dev | libatlas.so.3gf, gfortran,
geomview, libqglviewer-qt4-dev, libipe-dev (>= 7), libglew1.5-dev | libglew-dev,
libmagick++-dev, qt4-dev-tools, libqt4-opengl-dev, libeigen3-dev (>= 3.1.0~beta1-1)
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
Section: graphics
Architecture: any
Depends: libcgal10 (>= ${binary:Version}), ipe (>= ${Ipe-Version}), ipe (<< ${Ipe-Version}+),
${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.

View File

@ -1,351 +0,0 @@
This package was debianized by Joachim Reichel <reichel@debian.org> on
Thu, 29 Apr 2004 18:43:18 +0200.
It was downloaded from https://www.cgal.org/download/index.html.
The Debian packaging is Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009,
2010, 2011, 2012 Joachim Reichel <reichel@debian.org> and is licensed
under the LGPL license, version 2.1 or later (at your option), which can
be found in /usr/share/common-licenses/LGPL-2.1.
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").
It is specified in each file of the CGAL library which
license applies to it. This is either the GNU General Public License
or 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). The texts of both licenses can be found in the files LICENSE.GPL
and LICENSE.LGPL.
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 LGPL (see LICENSE.LGPL).
- ImageIO, in the directory "src/CGALimageIO", 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
https://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-2010
Utrecht University (The Netherlands),
ETH Zurich (Switzerland),
INRIA Sophia-Antipolis (France),
Max-Planck-Institute Saarbruecken (Germany),
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 GPL'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 can redistribute it and/or modify it under the terms of the GNU
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 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),
INRIA Sophia-Antipolis (France),
Max-Planck-Institute Saarbruecken (Germany),
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:
Boost
=====
The following files are modified versions originating from Boost:
./include/CGAL/STL_Extension/internal/boost/mutable_heap.hpp
./include/CGAL/STL_Extension/internal/boost/array_binary_tree.hpp
./include/CGAL/STL_Extension/internal/boost/mutable_queue.hpp
Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
./include/CGAL/internal/container_fwd_fixed.hpp
Copyright 2005-2008 Daniel James.
./include/CGAL/auto_link/auto_link.h
(C) Copyright John Maddock 2003.
All of these files are distributed under the Boost Software License,
version 1.0.
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
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 (https://cs.nyu.edu/exact/core/).
You can redistribute it and/or modify it under the terms of the GNU
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.
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.

View File

@ -1,2 +0,0 @@
usr/share/doc/cgal/demo.tar.gz usr/share/doc/libcgal10
usr/share/doc/cgal/examples.tar.gz usr/share/doc/libcgal10

View File

@ -1,11 +0,0 @@
usr/bin/*
usr/include/*
usr/lib/libCGAL.a
usr/lib/libCGAL_Core.a
usr/lib/libCGAL_ImageIO.a
usr/lib/libCGAL.so
usr/lib/libCGAL_Core.so
usr/lib/libCGAL_ImageIO.so
usr/lib/CGAL/*
usr/share/cmake-2.8/Modules/*
usr/share/man/man1/cgal_create_cmake_script.1

View File

@ -1,2 +0,0 @@
# use wildcard to avoid hard-coding the Ipe version
usr/lib/ipe/* usr/lib/ipe

View File

@ -1 +0,0 @@
libcgal-ipelets: hardening-no-fortify-functions usr/lib/ipe/*/ipelets/libCGAL_*.so

View File

@ -1 +0,0 @@
usr/lib/libCGAL_Qt4.so.* usr/lib

View File

@ -1 +0,0 @@
libcgal-qt4-10: hardening-no-fortify-functions usr/lib/libCGAL_Qt4.so.*

View File

@ -1 +0,0 @@
libCGAL_Qt4 10 libcgal-qt4-10

View File

@ -1,5 +0,0 @@
# The next entry is disabled here because it overlaps with the corresponding
# entry in libcgal-dev.install. The files are moved in debian/rules.
# usr/include/CGAL/Qt
usr/lib/libCGAL_Qt4.a
usr/lib/libCGAL_Qt4.so

View File

@ -1,4 +0,0 @@
usr/lib/libCGAL.so.* usr/lib
usr/lib/libCGAL_Core.so.* usr/lib
usr/lib/libCGAL_ImageIO.so.* usr/lib
usr/share/doc/cgal/changelog usr/share/doc/libcgal10

View File

@ -1 +0,0 @@
libcgal10: hardening-no-fortify-functions usr/lib/libCGAL.so.*

View File

@ -1,3 +0,0 @@
libCGAL 10 libcgal10
libCGAL_Core 10 libcgal10
libCGAL_ImageIO 10 libcgal10

View File

@ -1,12 +0,0 @@
Description: Avoid -lCGAL_Qt4 in linker command of Linear_cell_complex example
--- cgal-4.1~beta1.orig/examples/Linear_cell_complex/CMakeLists.txt
+++ cgal-4.1~beta1/examples/Linear_cell_complex/CMakeLists.txt
@@ -12,7 +12,7 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR
endif()
endif()
-find_package(CGAL QUIET COMPONENTS Core Qt4)
+find_package(CGAL QUIET COMPONENTS Core)
# For Gprof.
# ADD_DEFINITIONS("-pg")

View File

@ -1 +0,0 @@
do-not-link-example-with-qt4-support-library.patch

View File

@ -1,96 +0,0 @@
#!/usr/bin/make -f
# export DH_VERBOSE=1
# See https://wiki.debian.org/Hardening#Notes_for_packages_using_CMake
CFLAGS := $(CFLAGS) $(CPPFLAGS)
CXXFLAGS := $(CXXFLAGS) $(CPPFLAGS)
# The build system links all four libraries against all dependencies.
LDFLAGS += -Wl,--as-needed
ifeq ($(DEB_BUILD_ARCH),alpha)
IEEE_FPU_OPTION = -mieee -mfp-rounding-mode=d
endif
%:
dh $@
override_dh_auto_configure:
mkdir -p static
cd static && QTDIR= cmake .. \
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF \
-DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=FALSE
mkdir -p shared
cd shared && QTDIR= cmake .. \
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF -DWITH_examples=OFF \
-DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=TRUE -DCMAKE_SKIP_RPATH=TRUE
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 \
-DCGAL_DIR=$(CURDIR)/shared
override_dh_auto_build:
$(MAKE) -C static
$(MAKE) -C shared
$(MAKE) -C shared/demo/CGAL_ipelets
override_dh_auto_test:
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
override_dh_auto_clean:
dh_auto_clean
rm -fr shared static
override_dh_install:
$(MAKE) -C static DESTDIR=$(CURDIR)/debian/tmp install
$(MAKE) -C shared DESTDIR=$(CURDIR)/debian/tmp install
$(MAKE) -C shared/demo/CGAL_ipelets DESTDIR=$(CURDIR)/debian/tmp install
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
mkdir -p debian/libcgal-qt4-dev/usr/include/CGAL
mv debian/libcgal-dev/usr/include/CGAL/Qt debian/libcgal-qt4-dev/usr/include/CGAL
mkdir -p debian/libcgal-qt4-10/usr/share/doc
ln -s libcgal10 debian/libcgal-qt4-10/usr/share/doc/libcgal-qt4-10
mkdir -p debian/libcgal-dev/usr/share/doc
ln -s libcgal10 debian/libcgal-dev/usr/share/doc/libcgal-dev
mkdir -p debian/libcgal-qt4-dev/usr/share/doc
ln -s libcgal10 debian/libcgal-qt4-dev/usr/share/doc/libcgal-qt4-dev
mkdir -p debian/libcgal-demo/usr/share/doc
ln -s libcgal10 debian/libcgal-demo/usr/share/doc/libcgal-demo
mkdir -p debian/libcgal-ipelets/usr/share/doc
ln -s libcgal10 debian/libcgal-ipelets/usr/share/doc/libcgal-ipelets
override_dh_installdocs:
dh_installdocs -plibcgal10 debian/copyright
override_dh_installchangelogs:
dh_installchangelogs -plibcgal10
override_dh_shlibdeps: # TODO Is that really needed?
dh_shlibdeps -a -ldebian/libcgal10/usr/lib
override_dh_gencontrol:
dh_gencontrol -- -VIpe-Version=`dpkg-awk 'Package:^ipe$$' -- Version | grep Version | sed 's/Version: //;s/-[^-]*$$//'`

View File

@ -1 +0,0 @@
3.0 (quilt)

View File

@ -1,14 +0,0 @@
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 $@ -O2 -frounding-math $(IEEE_FPU_OPTION)
rounding_modes2.o: rounding_modes2.cpp
g++ -c $< -o $@ -O2 -frounding-math $(IEEE_FPU_OPTION) -I../../include -I../../shared/include
clean:
rm -f *.o rounding_modes1 rounding_modes2

View File

@ -1,66 +0,0 @@
#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__;
}
}
int fetestround ()
{
volatile double eps = std::numeric_limits<double>::denorm_min();
double x = -1.0;
double y = 1.0;
volatile double x_plus_eps = x + eps;
volatile 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;
}

View File

@ -1,95 +0,0 @@
// 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;
}

View File

@ -1,10 +0,0 @@
# 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 \
/frs/download.php/(\d+)/CGAL-([\d\.]+).tar.gz