]> Savannah Git Hosting - gnulib.git/commitdiff
Fix a copyright header - module license mismatch.
authorBruno Haible <bruno@clisp.org>
Tue, 7 Feb 2023 12:36:23 +0000 (13:36 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 7 Feb 2023 12:36:23 +0000 (13:36 +0100)
Reported by Bjarni Ingi Gislason <bjarniig@simnet.is> in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00057.html>.

* lib/gen-uni-tables.c (output_predicate): For uniwidth/width2.h, use an
LGPLv2+ license.
(output_nonspacing_property): Use an LGPLv2+ license.
* lib/uniwidth/width0.h: Regenerated.
* lib/uniwidth/width2.h: Likewise.

ChangeLog
lib/gen-uni-tables.c
lib/uniwidth/width0.h
lib/uniwidth/width2.h

index 9ac80d4e58a01fa7b444447cc0d45e7be3e4f390..b6eec570beb13508769d01171b8fd238eac01fa0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2023-02-07  Bruno Haible  <bruno@clisp.org>
+
+       Fix a copyright header - module license mismatch.
+       Reported by Bjarni Ingi Gislason <bjarniig@simnet.is> in
+       <https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00057.html>.
+       * lib/gen-uni-tables.c (output_predicate): For uniwidth/width2.h, use an
+       LGPLv2+ license.
+       (output_nonspacing_property): Use an LGPLv2+ license.
+       * lib/uniwidth/width0.h: Regenerated.
+       * lib/uniwidth/width2.h: Likewise.
+
 2023-02-07  Bruno Haible  <bruno@clisp.org>
 
        check-copyright: Don't fail because of the 'glob' module.
index d783f21cb662876ba9cc5fff5d40881575127d67..8b0efa9c44835113c87d6db052431b610bd3510b 100644 (file)
@@ -773,7 +773,9 @@ output_predicate (const char *filename, bool (*predicate) (unsigned int), const
 
   fprintf (stream, "/* Copyright (C) 2000-2022 Free Software Foundation, Inc.\n");
   fprintf (stream, "\n");
-  output_library_license (stream, strcmp (filename, "unictype/categ_M.h") == 0);
+  output_library_license (stream,
+                          strcmp (filename, "unictype/categ_M.h") == 0
+                          || strcmp (filename, "uniwidth/width2.h") == 0);
   fprintf (stream, "\n");
 
   t.p = 4; /* or: 5 */
@@ -6422,7 +6424,7 @@ output_nonspacing_property (const char *filename, const char *version)
 
   fprintf (stream, "/* Copyright (C) 2000-2022 Free Software Foundation, Inc.\n");
   fprintf (stream, "\n");
-  output_library_license (stream, false);
+  output_library_license (stream, true);
   fprintf (stream, "\n");
 
   next_ind = 0;
index a4de856fc173bf76ff9c5227e3e32960426defee..0c1713ac524283ec871f823d2a0fecc1daa6adb1 100644 (file)
@@ -4,26 +4,18 @@
 
 /* Copyright (C) 2000-2022 Free Software Foundation, Inc.
 
-   This file is free software.
-   It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+".
-   You can redistribute it and/or modify it under either
-     - the terms of the GNU Lesser General Public License as published
-       by the Free Software Foundation, either version 3, or (at your
-       option) any later version, or
-     - the terms of the GNU General Public License as published by the
-       Free Software Foundation; either version 2, or (at your option)
-       any later version, or
-     - the same dual license "the GNU LGPLv3+ or the GNU GPLv2+".
+   This file is free software: 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 2.1 of the
+   License, or (at your option) any later version.
 
    This file is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License and the GNU General Public License
-   for more details.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU Lesser General Public License for more details.
 
-   You should have received a copy of the GNU Lesser General Public
-   License and of the GNU General Public License along with this
-   program.  If not, see <https://www.gnu.org/licenses/>.  */
+   You should have received a copy of the GNU Lesser General Public License
+   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
 
 static const unsigned char nonspacing_table_data[48*64] = {
   /* 0x0000-0x01ff */
index 25a50e56836fc0cfd9d41cb39f31a657609b851a..19c8c02a51cab339b6324b894b6259a418ed1c40 100644 (file)
@@ -4,26 +4,18 @@
 
 /* Copyright (C) 2000-2022 Free Software Foundation, Inc.
 
-   This file is free software.
-   It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+".
-   You can redistribute it and/or modify it under either
-     - the terms of the GNU Lesser General Public License as published
-       by the Free Software Foundation, either version 3, or (at your
-       option) any later version, or
-     - the terms of the GNU General Public License as published by the
-       Free Software Foundation; either version 2, or (at your option)
-       any later version, or
-     - the same dual license "the GNU LGPLv3+ or the GNU GPLv2+".
+   This file is free software: 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 2.1 of the
+   License, or (at your option) any later version.
 
    This file is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License and the GNU General Public License
-   for more details.
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU Lesser General Public License for more details.
 
-   You should have received a copy of the GNU Lesser General Public
-   License and of the GNU General Public License along with this
-   program.  If not, see <https://www.gnu.org/licenses/>.  */
+   You should have received a copy of the GNU Lesser General Public License
+   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
 
 #define header_0 16
 #define header_2 9