bug-gnulib
[Top][All Lists]
Advanced

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

Re: gnulib-tool --lgpl doesn't convert gplv3 to lgplv2.1


From: Simon Josefsson
Subject: Re: gnulib-tool --lgpl doesn't convert gplv3 to lgplv2.1
Date: Mon, 29 Oct 2007 11:21:04 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Bruno Haible <address@hidden> writes:

> 2007-10-28  Bruno Haible  <address@hidden>
>
>       * gnulib-tool: Allow specifying the LGPL version number through
>       --lgpl=2 or --lgpl=3.
>       (func_usage): Document --lgpl with argument.
>       Handle --lgpl=... arguments.
>       (func_import): Recognize also gl_LGPL calls with an argument. When
>       --lgpl=2 is used and the module's license is just LGPL, report an
>       error. Set sed_transform_lib_file according to the lgpl variable. In
>       the generated files, use --lgpl or gl_LGPL invocations with argument,
>       if necessary.
>       * doc/gnulib-intro.texi (Copyright): Explain how to get modules under
>       an LGPv2+ license.
>       * doc/gnulib-tool.texi (Modified imports): Update explanation of
>       gl_LGPL macro.

Thanks!  It seems to work correctly with libidn, I'll try more projects
next.

However, some modules says GPLv2 in the files, and the GPL part of
libidn uses GPLv3.  It seems confusing to refer to GPLv2.  This text is
not modified by gnulib-tool now.  How about the following patch?

/Simon

2007-10-29  Simon Josefsson  <address@hidden>

        * lib/unistd.in.h: Use GPLv3.

        * lib/gettext.h: Likewise.

        * lib/string.in.h: Likewise.

diff --git a/lib/gettext.h b/lib/gettext.h
index 9d76ec9..763dd3c 100644
--- a/lib/gettext.h
+++ b/lib/gettext.h
@@ -3,7 +3,7 @@
 
    This program is free software; 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 2, or (at your option)
+   the Free Software Foundation; either version 3, or (at your option)
    any later version.
 
    This program is distributed in the hope that it will be useful,
diff --git a/lib/string.in.h b/lib/string.in.h
index ba7ca53..38bceb0 100644
--- a/lib/string.in.h
+++ b/lib/string.in.h
@@ -4,7 +4,7 @@
 
    This program is free software; 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 2, or (at your option)
+   the Free Software Foundation; either version 3, or (at your option)
    any later version.
 
    This program is distributed in the hope that it will be useful,
diff --git a/lib/unistd.in.h b/lib/unistd.in.h
index 07c4877..9c4cec2 100644
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -3,7 +3,7 @@
 
    This program is free software; 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 2, or (at your option)
+   the Free Software Foundation; either version 3, or (at your option)
    any later version.
 
    This program is distributed in the hope that it will be useful,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]