[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#251885: ITP: cgal -- C++ library for computational geometry



On Tue, Feb 07, 2006 at 08:04:40PM +0100, Joachim Reichel wrote:

> > How does upstream release version 3.1 of CGAL, actually fixes these
> > issues?
> 
> The license of some files was changed such that all files in the Kernel
> and Support Library are licensed under LGPL, the files in the Basic
> Library are licensed under QPL. In particlar, all *.C files that end up
> in libCGAL.so are licensed under LGPL.

ok. I got a different impression at first about the libCGAL.so.

After doing QPL-cleanup:
$ rm `grep -lr LICENSE.QPL .`

Build do fails. There seems to be some debug headers that the core
uses. 

Fortunately it is rather easy to fix (either fixing the license of the
debug headers or the use of the debug header with an attached patch).


-- 
Toni Timonen "toni dot timonen at iki dot fi"
NP Solutions Ltd
Helsinki University of Technology
Department of Engineering Physics and Mathematics
diff -rub CGAL-3.1-orig/include/CGAL/Nef_2/Polynomial.h CGAL-3.1/include/CGAL/Nef_2/Polynomial.h
--- CGAL-3.1-orig/include/CGAL/Nef_2/Polynomial.h	2006-02-07 00:21:27.000000000 +0200
+++ CGAL-3.1/include/CGAL/Nef_2/Polynomial.h	2006-02-07 23:29:44.000000000 +0200
@@ -35,7 +35,6 @@
 #include <cstddef>
 #undef _DEBUG
 #define _DEBUG 3
-#include <CGAL/Nef_2/debug.h>
 #include <vector>
 
 
diff -rub CGAL-3.1-orig/src/Polynomial.C CGAL-3.1/src/Polynomial.C
--- CGAL-3.1-orig/src/Polynomial.C	2006-02-07 00:21:26.000000000 +0200
+++ CGAL-3.1/src/Polynomial.C	2006-02-07 07:27:24.000000000 +0200
@@ -24,6 +24,9 @@
 
 #include <CGAL/Nef_2/Polynomial.h>
 
+#define CGAL_NEF_TRACEN(foo) 
+#define CGAL_NEF_TRACEV(foo)
+
 namespace CGAL{
 
 

Attachment: signature.asc
Description: Digital signature


Reply to: