I need a few libunistring modules under LGPLv2+:
  lib/unistr/u16-to-u32.c
  lib/unistr/u16-mbtoucr.c
  lib/unistr/u16-strlen.c
Since I am the only contributor of copyright-significant changes to these files,
I can do the license change directly.


2024-03-09  Bruno Haible  <br...@clisp.org>

        unistr/u16-to-u32: Relicense under LGPLv2+.
        * modules/unistr/u16-to-u32 (License): Change to LGPLv2+.
        * lib/unistr/u16-to-u32.c: Update license notice.

        unistr/u16-mbtoucr: Relicense under LGPLv2+.
        * modules/unistr/u16-mbtoucr (License): Change to LGPLv2+.
        * lib/unistr/u16-mbtoucr.c: Update license notice.

        unistr/u16-strlen: Relicense under LGPLv2+.
        * modules/unistr/u16-strlen (License): Change to LGPLv2+.
        * lib/unistr/u16-strlen.c: Update license notice.

>From 487dbc40a2ff2b1a84e654a3bd0fbca4d5170cd5 Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Sat, 9 Mar 2024 13:23:47 +0100
Subject: [PATCH 1/3] unistr/u16-strlen: Relicense under LGPLv2+.

* modules/unistr/u16-strlen (License): Change to LGPLv2+.
* lib/unistr/u16-strlen.c: Update license notice.
---
 ChangeLog                 |  6 ++++++
 lib/unistr/u16-strlen.c   | 24 ++++++++----------------
 modules/unistr/u16-strlen |  2 +-
 3 files changed, 15 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 66926b4268..175bcf39a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-03-09  Bruno Haible  <br...@clisp.org>
+
+	unistr/u16-strlen: Relicense under LGPLv2+.
+	* modules/unistr/u16-strlen (License): Change to LGPLv2+.
+	* lib/unistr/u16-strlen.c: Update license notice.
+
 2024-03-09  Bruno Haible  <br...@clisp.org>
 
 	parse-datetime: Simplify.
diff --git a/lib/unistr/u16-strlen.c b/lib/unistr/u16-strlen.c
index d6db917086..5ef212ec03 100644
--- a/lib/unistr/u16-strlen.c
+++ b/lib/unistr/u16-strlen.c
@@ -2,26 +2,18 @@
    Copyright (C) 1999, 2002, 2006, 2009-2024 Free Software Foundation, Inc.
    Written by Bruno Haible <br...@clisp.org>, 2002.
 
-   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/>.  */
 
 #include <config.h>
 
diff --git a/modules/unistr/u16-strlen b/modules/unistr/u16-strlen
index 44fa320078..9bc5b61589 100644
--- a/modules/unistr/u16-strlen
+++ b/modules/unistr/u16-strlen
@@ -20,7 +20,7 @@ Include:
 "unistr.h"
 
 License:
-LGPLv3+ or GPLv2+
+LGPLv2+
 
 Maintainer:
 all
-- 
2.34.1

>From e521e3090b7a8e1fd2409a621b3a54e1f74c8f5d Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Sat, 9 Mar 2024 13:28:06 +0100
Subject: [PATCH 2/3] unistr/u16-mbtoucr: Relicense under LGPLv2+.

* modules/unistr/u16-mbtoucr (License): Change to LGPLv2+.
* lib/unistr/u16-mbtoucr.c: Update license notice.
---
 ChangeLog                  |  4 ++++
 lib/unistr/u16-mbtoucr.c   | 24 ++++++++----------------
 modules/unistr/u16-mbtoucr |  2 +-
 3 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 175bcf39a8..847add61f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2024-03-09  Bruno Haible  <br...@clisp.org>
 
+	unistr/u16-mbtoucr: Relicense under LGPLv2+.
+	* modules/unistr/u16-mbtoucr (License): Change to LGPLv2+.
+	* lib/unistr/u16-mbtoucr.c: Update license notice.
+
 	unistr/u16-strlen: Relicense under LGPLv2+.
 	* modules/unistr/u16-strlen (License): Change to LGPLv2+.
 	* lib/unistr/u16-strlen.c: Update license notice.
diff --git a/lib/unistr/u16-mbtoucr.c b/lib/unistr/u16-mbtoucr.c
index 7a0ff452c7..b034022799 100644
--- a/lib/unistr/u16-mbtoucr.c
+++ b/lib/unistr/u16-mbtoucr.c
@@ -2,26 +2,18 @@
    Copyright (C) 1999-2002, 2006-2007, 2009-2024 Free Software Foundation, Inc.
    Written by Bruno Haible <br...@clisp.org>, 2001.
 
-   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/>.  */
 
 #include <config.h>
 
diff --git a/modules/unistr/u16-mbtoucr b/modules/unistr/u16-mbtoucr
index 149ffbd41e..f33941c9f1 100644
--- a/modules/unistr/u16-mbtoucr
+++ b/modules/unistr/u16-mbtoucr
@@ -20,7 +20,7 @@ Include:
 "unistr.h"
 
 License:
-LGPLv3+ or GPLv2+
+LGPLv2+
 
 Maintainer:
 all
-- 
2.34.1

>From 75c9cc0e5c6614028afdf9c15c1e3ce5e94dc0c8 Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Sat, 9 Mar 2024 13:30:32 +0100
Subject: [PATCH 3/3] unistr/u16-to-u32: Relicense under LGPLv2+.

* modules/unistr/u16-to-u32 (License): Change to LGPLv2+.
* lib/unistr/u16-to-u32.c: Update license notice.
---
 ChangeLog                 |  4 ++++
 lib/unistr/u16-to-u32.c   | 24 ++++++++----------------
 modules/unistr/u16-to-u32 |  2 +-
 3 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 847add61f9..cc1f322a17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2024-03-09  Bruno Haible  <br...@clisp.org>
 
+	unistr/u16-to-u32: Relicense under LGPLv2+.
+	* modules/unistr/u16-to-u32 (License): Change to LGPLv2+.
+	* lib/unistr/u16-to-u32.c: Update license notice.
+
 	unistr/u16-mbtoucr: Relicense under LGPLv2+.
 	* modules/unistr/u16-mbtoucr (License): Change to LGPLv2+.
 	* lib/unistr/u16-mbtoucr.c: Update license notice.
diff --git a/lib/unistr/u16-to-u32.c b/lib/unistr/u16-to-u32.c
index a75770a226..1a83b2de7e 100644
--- a/lib/unistr/u16-to-u32.c
+++ b/lib/unistr/u16-to-u32.c
@@ -2,26 +2,18 @@
    Copyright (C) 2002, 2006-2007, 2009-2024 Free Software Foundation, Inc.
    Written by Bruno Haible <br...@clisp.org>, 2002.
 
-   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/>.  */
 
 #include <config.h>
 
diff --git a/modules/unistr/u16-to-u32 b/modules/unistr/u16-to-u32
index 2ddc1b3538..2bbf6c5466 100644
--- a/modules/unistr/u16-to-u32
+++ b/modules/unistr/u16-to-u32
@@ -20,7 +20,7 @@ Include:
 "unistr.h"
 
 License:
-LGPLv3+ or GPLv2+
+LGPLv2+
 
 Maintainer:
 all
-- 
2.34.1

Reply via email to