Jim Meyering <[EMAIL PROTECTED]> writes:

> Changing them from GPL to LGPL is fine with me.

OK, I installed the following change.

I noticed that some modules are actually public domain, so I put that
info into each module file.  This patch also adds (untested) support
for a new license 'public domain' to gnulib-tool's --lgpl option.

I don't have the time right now to split the getcwd.c source into
GPLed and LGPLed bits, but perhaps someone who needs an LGPLed getcwd
can do that for us.  (If you're not sure whether you need getcwd, you
probably don't.  :-)

2005-07-05  Paul Eggert  <[EMAIL PROTECTED]>

        * gnulib-tool (func_import): Add support for 'public domain' license.
        * modules/alloca, modules/atexit, modules/memmove:
        Now public domain, not GPL.
        * modules/dup2, modules/getpagesize, modules/malloc, modules/memset:
        * modules/realloc, modules/strerror, modules/strtod:
        Now LGPL, not GPL.

Index: gnulib-tool
===================================================================
RCS file: /cvsroot/gnulib/gnulib/gnulib-tool,v
retrieving revision 1.46
diff -p -u -r1.46 gnulib-tool
--- gnulib-tool 14 May 2005 06:03:57 -0000      1.46
+++ gnulib-tool 5 Jul 2005 07:09:48 -0000
@@ -573,9 +573,12 @@ func_import ()
   if test -n "$lgpl"; then
     for module in $modules; do
       license=`func_get_license $module`
-      if test $license != LGPL; then
-        func_fatal_error "incompatible license on module \`$module\`: $license"
-      fi
+      case $license in
+       LGPL | 'public domain') ;;
+       *)
+         func_fatal_error \
+           "incompatible license on module \`$module\`: $license" ;;
+      esac
     done
   fi
 
Index: modules/alloca
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/alloca,v
retrieving revision 1.11
diff -p -u -r1.11 alloca
--- modules/alloca      18 Dec 2004 15:16:09 -0000      1.11
+++ modules/alloca      5 Jul 2005 07:09:48 -0000
@@ -15,7 +15,7 @@ Include:
 #include <alloca.h>
 
 License:
-GPL
+public domain
 
 Maintainer:
 bug-gnulib@gnu.org
Index: modules/atexit
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/atexit,v
retrieving revision 1.4
diff -p -u -r1.4 atexit
--- modules/atexit      22 Sep 2004 15:11:04 -0000      1.4
+++ modules/atexit      5 Jul 2005 07:09:48 -0000
@@ -16,8 +16,7 @@ Include:
 <stdlib.h>
 
 License:
-GPL
+public domain
 
 Maintainer:
 Jim Meyering
-
Index: modules/dup2
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/dup2,v
retrieving revision 1.4
diff -p -u -r1.4 dup2
--- modules/dup2        22 Sep 2004 15:11:04 -0000      1.4
+++ modules/dup2        5 Jul 2005 07:09:48 -0000
@@ -16,8 +16,7 @@ Include:
 <unistd.h>
 
 License:
-GPL
+LGPL
 
 Maintainer:
 Paul Eggert, Jim Meyering
-
Index: modules/getpagesize
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/getpagesize,v
retrieving revision 1.5
diff -p -u -r1.5 getpagesize
--- modules/getpagesize 21 Mar 2005 22:07:25 -0000      1.5
+++ modules/getpagesize 5 Jul 2005 07:09:48 -0000
@@ -16,7 +16,7 @@ Include:
 "getpagesize.h"
 
 License:
-GPL
+LGPL
 
 Maintainer:
 Jim Meyering
Index: modules/malloc
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/malloc,v
retrieving revision 1.5
diff -p -u -r1.5 malloc
--- modules/malloc      22 Sep 2004 15:11:04 -0000      1.5
+++ modules/malloc      5 Jul 2005 07:09:48 -0000
@@ -15,7 +15,7 @@ Include:
 <stdlib.h>
 
 License:
-GPL
+LGPL
 
 Maintainer:
 Jim Meyering
Index: modules/memmove
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/memmove,v
retrieving revision 1.4
diff -p -u -r1.4 memmove
--- modules/memmove     22 Sep 2004 15:11:04 -0000      1.4
+++ modules/memmove     5 Jul 2005 07:09:48 -0000
@@ -16,8 +16,7 @@ Include:
 <string.h>
 
 License:
-GPL
+public domain
 
 Maintainer:
 Jim Meyering
-
Index: modules/memset
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/memset,v
retrieving revision 1.4
diff -p -u -r1.4 memset
--- modules/memset      22 Sep 2004 15:11:04 -0000      1.4
+++ modules/memset      5 Jul 2005 07:09:48 -0000
@@ -16,8 +16,7 @@ Include:
 <string.h>
 
 License:
-GPL
+LGPL
 
 Maintainer:
 Jim Meyering
-
Index: modules/realloc
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/realloc,v
retrieving revision 1.5
diff -p -u -r1.5 realloc
--- modules/realloc     22 Sep 2004 15:11:04 -0000      1.5
+++ modules/realloc     5 Jul 2005 07:09:48 -0000
@@ -15,7 +15,7 @@ Include:
 <stdlib.h>
 
 License:
-GPL
+LGPL
 
 Maintainer:
 Jim Meyering
Index: modules/strerror
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/strerror,v
retrieving revision 1.4
diff -p -u -r1.4 strerror
--- modules/strerror    22 Sep 2004 15:11:04 -0000      1.4
+++ modules/strerror    5 Jul 2005 07:09:48 -0000
@@ -16,8 +16,7 @@ Include:
 <string.h>
 
 License:
-GPL
+LGPL
 
 Maintainer:
 all
-
Index: modules/strtod
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/strtod,v
retrieving revision 1.5
diff -p -u -r1.5 strtod
--- modules/strtod      22 Sep 2004 15:11:04 -0000      1.5
+++ modules/strtod      5 Jul 2005 07:09:48 -0000
@@ -17,7 +17,7 @@ Include:
 <stdlib.h>
 
 License:
-GPL
+LGPL
 
 Maintainer:
 all


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to