switch to LGPL

This commit is contained in:
Sébastien Loriot 2021-10-18 17:31:59 +02:00
parent bdec97bccb
commit 12bf0e9c60
24 changed files with 22 additions and 119 deletions

View File

@ -1,54 +0,0 @@
// Copyright (c) 2016 GeometryFactory SARL (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org)
//
// $URL$
// $Id$
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
//
// Author(s) : Andreas Fabri
//
// Warning: this file is generated, see include/CGAL/licence/README.md
#ifndef CGAL_LICENSE_WEIGHTS_H
#define CGAL_LICENSE_WEIGHTS_H
#include <CGAL/config.h>
#include <CGAL/license.h>
#ifdef CGAL_WEIGHTS_COMMERCIAL_LICENSE
# if CGAL_WEIGHTS_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
# if defined(CGAL_LICENSE_WARNING)
CGAL_pragma_warning("Your commercial license for CGAL does not cover "
"this release of the Weights package.")
# endif
# ifdef CGAL_LICENSE_ERROR
# error "Your commercial license for CGAL does not cover this release \
of the Weights package. \
You get this error, as you defined CGAL_LICENSE_ERROR."
# endif // CGAL_LICENSE_ERROR
# endif // CGAL_WEIGHTS_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
#else // no CGAL_WEIGHTS_COMMERCIAL_LICENSE
# if defined(CGAL_LICENSE_WARNING)
CGAL_pragma_warning("\nThe macro CGAL_WEIGHTS_COMMERCIAL_LICENSE is not defined."
"\nYou use the CGAL Weights package under "
"the terms of the GPLv3+.")
# endif // CGAL_LICENSE_WARNING
# ifdef CGAL_LICENSE_ERROR
# error "The macro CGAL_WEIGHTS_COMMERCIAL_LICENSE is not defined.\
You use the CGAL Weights package under the terms of \
the GPLv3+. You get this error, as you defined CGAL_LICENSE_ERROR."
# endif // CGAL_LICENSE_ERROR
#endif // no CGAL_WEIGHTS_COMMERCIAL_LICENSE
#endif // CGAL_LICENSE_WEIGHTS_H

View File

@ -97,4 +97,3 @@ Triangulation dD Triangulations
Visibility_2 2D Visibility Computation Visibility_2 2D Visibility Computation
Voronoi_diagram_2 2D Voronoi Diagram Adaptor Voronoi_diagram_2 2D Voronoi Diagram Adaptor
Tetrahedral_remeshing Tetrahedral Remeshing Tetrahedral_remeshing Tetrahedral Remeshing
Weights Weights

View File

@ -524,7 +524,7 @@ weights, and weighting regions. All weights are available both in 2D and 3D.}
\cgalPkgShortInfoBegin \cgalPkgShortInfoBegin
\cgalPkgSince{5.4} \cgalPkgSince{5.4}
\cgalPkgBib{cgal:a-wi} \cgalPkgBib{cgal:a-wi}
\cgalPkgLicense{\ref licensesGPL "GPL"} \cgalPkgLicense{\ref licensesLGPL "LGPL"}
\cgalPkgDemo{Polyhedron demo, polyhedron_3.zip} \cgalPkgDemo{Polyhedron demo, polyhedron_3.zip}
\cgalPkgShortInfoEnd \cgalPkgShortInfoEnd

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,10 +14,6 @@
#ifndef CGAL_WEIGHTS_H #ifndef CGAL_WEIGHTS_H
#define CGAL_WEIGHTS_H #define CGAL_WEIGHTS_H
/// \cond SKIP_IN_MANUAL
#include <CGAL/license/Weights.h>
/// \endcond
/** /**
* \ingroup PkgWeightsRef * \ingroup PkgWeightsRef
* \file CGAL/Weights.h * \file CGAL/Weights.h

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_AUTHALIC_WEIGHTS_H #ifndef CGAL_AUTHALIC_WEIGHTS_H
#define CGAL_AUTHALIC_WEIGHTS_H #define CGAL_AUTHALIC_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_BARYCENTRIC_REGION_WEIGHTS_H #ifndef CGAL_BARYCENTRIC_REGION_WEIGHTS_H
#define CGAL_BARYCENTRIC_REGION_WEIGHTS_H #define CGAL_BARYCENTRIC_REGION_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_COTANGENT_WEIGHTS_H #ifndef CGAL_COTANGENT_WEIGHTS_H
#define CGAL_COTANGENT_WEIGHTS_H #define CGAL_COTANGENT_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov, David Bommes, Kai Hormann, Pierre Alliez // Author(s) : Dmitry Anisimov, David Bommes, Kai Hormann, Pierre Alliez
@ -14,8 +14,6 @@
#ifndef CGAL_DISCRETE_HARMONIC_WEIGHTS_H #ifndef CGAL_DISCRETE_HARMONIC_WEIGHTS_H
#define CGAL_DISCRETE_HARMONIC_WEIGHTS_H #define CGAL_DISCRETE_HARMONIC_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>
#include <CGAL/Weights/internal/polygon_utils_2.h> #include <CGAL/Weights/internal/polygon_utils_2.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Yin Xu, Andreas Fabri, Ilker O. Yaz // Author(s) : Yin Xu, Andreas Fabri, Ilker O. Yaz
@ -14,8 +14,6 @@
#ifndef CGAL_WEIGHTS_PMP_DEPRECATED_H #ifndef CGAL_WEIGHTS_PMP_DEPRECATED_H
#define CGAL_WEIGHTS_PMP_DEPRECATED_H #define CGAL_WEIGHTS_PMP_DEPRECATED_H
#include <CGAL/license/Weights.h>
#define CGAL_DEPRECATED_HEADER "<CGAL/Weights/internal/pmp_weights_deprecated.h>" #define CGAL_DEPRECATED_HEADER "<CGAL/Weights/internal/pmp_weights_deprecated.h>"
#define CGAL_DEPRECATED_MESSAGE_DETAILS \ #define CGAL_DEPRECATED_MESSAGE_DETAILS \
"This part of the package is deprecated since the version 5.4 of CGAL!" "This part of the package is deprecated since the version 5.4 of CGAL!"

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_WEIGHTS_INTERNAL_POLYGON_UTILS_2_H #ifndef CGAL_WEIGHTS_INTERNAL_POLYGON_UTILS_2_H
#define CGAL_WEIGHTS_INTERNAL_POLYGON_UTILS_2_H #define CGAL_WEIGHTS_INTERNAL_POLYGON_UTILS_2_H
#include <CGAL/license/Weights.h>
// STL includes. // STL includes.
#include <cmath> #include <cmath>
#include <string> #include <string>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_WEIGHTS_INTERNAL_UTILS_H #ifndef CGAL_WEIGHTS_INTERNAL_UTILS_H
#define CGAL_WEIGHTS_INTERNAL_UTILS_H #define CGAL_WEIGHTS_INTERNAL_UTILS_H
#include <CGAL/license/Weights.h>
// STL includes. // STL includes.
#include <cmath> #include <cmath>
#include <string> #include <string>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_INVERSE_DISTANCE_WEIGHTS_H #ifndef CGAL_INVERSE_DISTANCE_WEIGHTS_H
#define CGAL_INVERSE_DISTANCE_WEIGHTS_H #define CGAL_INVERSE_DISTANCE_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov, David Bommes, Kai Hormann, Pierre Alliez // Author(s) : Dmitry Anisimov, David Bommes, Kai Hormann, Pierre Alliez
@ -14,8 +14,6 @@
#ifndef CGAL_MEAN_VALUE_WEIGHTS_H #ifndef CGAL_MEAN_VALUE_WEIGHTS_H
#define CGAL_MEAN_VALUE_WEIGHTS_H #define CGAL_MEAN_VALUE_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>
#include <CGAL/Weights/internal/polygon_utils_2.h> #include <CGAL/Weights/internal/polygon_utils_2.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_MIXED_VORONOI_REGION_WEIGHTS_H #ifndef CGAL_MIXED_VORONOI_REGION_WEIGHTS_H
#define CGAL_MIXED_VORONOI_REGION_WEIGHTS_H #define CGAL_MIXED_VORONOI_REGION_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_SHEPARD_WEIGHTS_H #ifndef CGAL_SHEPARD_WEIGHTS_H
#define CGAL_SHEPARD_WEIGHTS_H #define CGAL_SHEPARD_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_TANGENT_WEIGHTS_H #ifndef CGAL_TANGENT_WEIGHTS_H
#define CGAL_TANGENT_WEIGHTS_H #define CGAL_TANGENT_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_THREE_POINT_FAMILY_WEIGHTS_H #ifndef CGAL_THREE_POINT_FAMILY_WEIGHTS_H
#define CGAL_THREE_POINT_FAMILY_WEIGHTS_H #define CGAL_THREE_POINT_FAMILY_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_TRIANGULAR_REGION_WEIGHTS_H #ifndef CGAL_TRIANGULAR_REGION_WEIGHTS_H
#define CGAL_TRIANGULAR_REGION_WEIGHTS_H #define CGAL_TRIANGULAR_REGION_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_UNIFORM_REGION_WEIGHTS_H #ifndef CGAL_UNIFORM_REGION_WEIGHTS_H
#define CGAL_UNIFORM_REGION_WEIGHTS_H #define CGAL_UNIFORM_REGION_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_UNIFORM_WEIGHTS_H #ifndef CGAL_UNIFORM_WEIGHTS_H
#define CGAL_UNIFORM_WEIGHTS_H #define CGAL_UNIFORM_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_WEIGHTS_UTILS_H #ifndef CGAL_WEIGHTS_UTILS_H
#define CGAL_WEIGHTS_UTILS_H #define CGAL_WEIGHTS_UTILS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov // Author(s) : Dmitry Anisimov
@ -14,8 +14,6 @@
#ifndef CGAL_VORONOI_REGION_WEIGHTS_H #ifndef CGAL_VORONOI_REGION_WEIGHTS_H
#define CGAL_VORONOI_REGION_WEIGHTS_H #define CGAL_VORONOI_REGION_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>

View File

@ -5,7 +5,7 @@
// //
// $URL$ // $URL$
// $Id$ // $Id$
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
// //
// //
// Author(s) : Dmitry Anisimov, David Bommes, Kai Hormann, Pierre Alliez // Author(s) : Dmitry Anisimov, David Bommes, Kai Hormann, Pierre Alliez
@ -14,8 +14,6 @@
#ifndef CGAL_WACHSPRESS_WEIGHTS_H #ifndef CGAL_WACHSPRESS_WEIGHTS_H
#define CGAL_WACHSPRESS_WEIGHTS_H #define CGAL_WACHSPRESS_WEIGHTS_H
#include <CGAL/license/Weights.h>
// Internal includes. // Internal includes.
#include <CGAL/Weights/internal/utils.h> #include <CGAL/Weights/internal/utils.h>
#include <CGAL/Weights/internal/polygon_utils_2.h> #include <CGAL/Weights/internal/polygon_utils_2.h>

View File

@ -1 +1 @@
GPL (v3 or later) LGPL (v3 or later)