Discussion:
license of lib/uniwidth/width.c
(too old to reply)
Bruno Haible
2017-06-11 11:26:59 UTC
Permalink
Raw Message
Hi Daiki,

When I run
./gnulib-tool --create-testdir --dir=/tmp/testdir1 --single-configure
I get a couple of warnings:

gnulib-tool: warning: module mbchar depends on a module with an incompatible license: uniwidth/base
gnulib-tool: warning: module mbchar depends on a module with an incompatible license: uniwidth/width
gnulib-tool: warning: module mbiter depends on a module with an incompatible license: uniwidth/base
gnulib-tool: warning: module mbiter depends on a module with an incompatible license: uniwidth/width
gnulib-tool: warning: module mbsnlen depends on a module with an incompatible license: uniwidth/base
gnulib-tool: warning: module mbsnlen depends on a module with an incompatible license: uniwidth/width

The reason is the modules mbchar, mbiter, mbsnlen (all under LGPLv2+) depend on
the modules uniwidth/base, uniwidth/width, which are "only" under LGPLv3+|GPLv2.

I would propose to change these two modules to LGPLv2+.

To do this, we need to look at the source files and its dependencies.
The dependencies (unitypes, streq) are already under LGPLv2+.
The source files are:

lib/localcharset.h -- already under LGPLv2+, per module 'localcharset' or 'uniconv/base'
lib/uniwidth.in.h
lib/uniwidth/width.c
lib/uniwidth/cjk.h

So we need to look at the relevant authors of these files:

lib/uniwidth.in.h -- Bruno
lib/uniwidth/width.c -- Bruno, Daiki
lib/uniwidth/cjk.h -- Bruno

I would agree to this copyright change.

Daiki, would you agree to put lib/uniwidth/width.c under LGPLv2+ as well?

Bruno
Daiki Ueno
2017-06-12 07:48:02 UTC
Permalink
Raw Message
Post by Bruno Haible
The reason is the modules mbchar, mbiter, mbsnlen (all under LGPLv2+) depend on
the modules uniwidth/base, uniwidth/width, which are "only" under LGPLv3+|GPLv2.
[...]
Post by Bruno Haible
Daiki, would you agree to put lib/uniwidth/width.c under LGPLv2+ as well?
Sure, I agree with that change.

Regards,
--
Daiki Ueno
Bruno Haible
2017-06-12 08:42:18 UTC
Permalink
Raw Message
Post by Daiki Ueno
Sure, I agree with that change.
Thanks, Daiki. I'm pushing this change:


2017-06-12 Bruno Haible <***@clisp.org>

Relicense some modules under LGPLv2+.
Daiki Ueno's approval is in
https://lists.gnu.org/archive/html/bug-gnulib/2017-06/msg00058.html.
* modules/uniwidth/base (License): Change to LGPLv2+.
* modules/uniwidth/width (License): Likewise.

diff --git a/modules/uniwidth/base b/modules/uniwidth/base
index 6ba7cde..3156cf7 100644
--- a/modules/uniwidth/base
+++ b/modules/uniwidth/base
@@ -27,7 +27,7 @@ Include:
"uniwidth.h"

License:
-LGPLv3+ or GPLv2
+LGPLv2+

Maintainer:
all
diff --git a/modules/uniwidth/width b/modules/uniwidth/width
index ad2893d..4e25aae 100644
--- a/modules/uniwidth/width
+++ b/modules/uniwidth/width
@@ -21,7 +21,7 @@ Include:
"uniwidth.h"

License:
-LGPLv3+ or GPLv2
+LGPLv2+

Maintainer:
all

Loading...