mbox series

[libgpiod,0/3] licensing: try to get licensing right

Message ID 20210217130225.6378-1-brgl@bgdev.pl
Headers show
Series licensing: try to get licensing right | expand

Message

Bartosz Golaszewski Feb. 17, 2021, 1:02 p.m. UTC
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

This series tries to improve the licensing situation of libgpiod before we
proceed with v2.0.

The first patch is rather uncotroversial: it makes the project compliant
with the REUSE v3.0 specification.

Next two patches propose to change the licenses for certain files:
non-library source files are relicensed under GPL-2.0-or-later while C++
library code's license is upgraded to LGPL-3.0-or-later.

The only person other than myself who contributed significant code to the
relicensed files is Kent Gibson (Cc'ed) so these patches will need his
ack.

Bartosz Golaszewski (3):
  licensing: make the project REUSE-compliant
  licensing: relicense non-library code under GPL-2.0-or-later
  licensing: relicense C++ library code under LGPL-3.0-or-later

 .gitignore                                 |   3 +
 COPYING                                    | 511 +--------------------
 Doxyfile.in                                |   9 +-
 LICENSES/CC-BY-SA-4.0.txt                  | 427 +++++++++++++++++
 LICENSES/GPL-2.0-only.txt                  | 339 ++++++++++++++
 LICENSES/GPL-2.0-or-later.txt              |   1 +
 LICENSES/LGPL-2.1-or-later.txt             | 502 ++++++++++++++++++++
 LICENSES/LGPL-3.0-or-later.txt             | 165 +++++++
 LICENSES/Linux-syscall-note.txt            |  25 +
 Makefile.am                                |  19 +-
 NEWS                                       |   3 +
 README                                     |   3 +
 TODO                                       |   3 +
 autogen.sh                                 |  11 +-
 bindings/Makefile.am                       |   9 +-
 bindings/cxx/Makefile.am                   |   9 +-
 bindings/cxx/chip.cpp                      |   8 +-
 bindings/cxx/examples/.gitignore           |   3 +
 bindings/cxx/examples/Makefile.am          |   9 +-
 bindings/cxx/examples/gpiodetectcxx.cpp    |   8 +-
 bindings/cxx/examples/gpiofindcxx.cpp      |   8 +-
 bindings/cxx/examples/gpiogetcxx.cpp       |   8 +-
 bindings/cxx/examples/gpioinfocxx.cpp      |   8 +-
 bindings/cxx/examples/gpiomoncxx.cpp       |   8 +-
 bindings/cxx/examples/gpiosetcxx.cpp       |   8 +-
 bindings/cxx/gpiod.hpp                     |   8 +-
 bindings/cxx/iter.cpp                      |   8 +-
 bindings/cxx/libgpiodcxx.pc.in             |   3 +
 bindings/cxx/line.cpp                      |  10 +-
 bindings/cxx/line_bulk.cpp                 |   8 +-
 bindings/cxx/tests/.gitignore              |   3 +
 bindings/cxx/tests/Makefile.am             |   9 +-
 bindings/cxx/tests/gpio-mockup.cpp         |   8 +-
 bindings/cxx/tests/gpio-mockup.hpp         |   8 +-
 bindings/cxx/tests/gpiod-cxx-test-main.cpp |   8 +-
 bindings/cxx/tests/gpiod-cxx-test.cpp      |   8 +-
 bindings/cxx/tests/tests-chip.cpp          |   8 +-
 bindings/cxx/tests/tests-event.cpp         |   8 +-
 bindings/cxx/tests/tests-iter.cpp          |   8 +-
 bindings/cxx/tests/tests-line.cpp          |   8 +-
 bindings/python/Makefile.am                |   9 +-
 bindings/python/examples/Makefile.am       |   9 +-
 bindings/python/examples/gpiodetect.py     |   9 +-
 bindings/python/examples/gpiofind.py       |   9 +-
 bindings/python/examples/gpioget.py        |   9 +-
 bindings/python/examples/gpioinfo.py       |   9 +-
 bindings/python/examples/gpiomon.py        |   9 +-
 bindings/python/examples/gpioset.py        |   9 +-
 bindings/python/gpiodmodule.c              |   6 +-
 bindings/python/tests/Makefile.am          |   9 +-
 bindings/python/tests/gpiod_py_test.py     |   9 +-
 bindings/python/tests/gpiomockupmodule.c   |   6 +-
 configure.ac                               |   9 +-
 include/Makefile.am                        |   9 +-
 include/gpiod.h                            |   6 +-
 lib/Makefile.am                            |   9 +-
 lib/core.c                                 |   6 +-
 lib/helpers.c                              |   6 +-
 lib/libgpiod.pc.in                         |   4 +
 lib/misc.c                                 |   6 +-
 lib/uapi/gpio.h                            |  22 +-
 man/.gitignore                             |   3 +
 man/Makefile.am                            |   9 +-
 man/template                               |   3 +
 tests/.gitignore                           |   3 +
 tests/Makefile.am                          |   9 +-
 tests/gpiod-test.c                         |   8 +-
 tests/gpiod-test.h                         |   8 +-
 tests/mockup/Makefile.am                   |   9 +-
 tests/mockup/gpio-mockup.c                 |   8 +-
 tests/mockup/gpio-mockup.h                 |   6 +-
 tests/tests-bulk.c                         |   8 +-
 tests/tests-chip.c                         |   8 +-
 tests/tests-event.c                        |   8 +-
 tests/tests-line.c                         |   8 +-
 tests/tests-misc.c                         |   8 +-
 tools/.gitignore                           |   3 +
 tools/Makefile.am                          |   9 +-
 tools/gpio-tools-test                      |   9 +-
 tools/gpio-tools-test.bats                 |   9 +-
 tools/gpiodetect.c                         |   8 +-
 tools/gpiofind.c                           |   8 +-
 tools/gpioget.c                            |   8 +-
 tools/gpioinfo.c                           |   8 +-
 tools/gpiomon.c                            |   8 +-
 tools/gpioset.c                            |   8 +-
 tools/tools-common.c                       |   8 +-
 tools/tools-common.h                       |   8 +-
 88 files changed, 1663 insertions(+), 936 deletions(-)
 create mode 100644 LICENSES/CC-BY-SA-4.0.txt
 create mode 100644 LICENSES/GPL-2.0-only.txt
 create mode 120000 LICENSES/GPL-2.0-or-later.txt
 create mode 100644 LICENSES/LGPL-2.1-or-later.txt
 create mode 100644 LICENSES/LGPL-3.0-or-later.txt
 create mode 100644 LICENSES/Linux-syscall-note.txt

Comments

Linus Walleij March 2, 2021, 9:05 a.m. UTC | #1
On Wed, Feb 17, 2021 at 2:02 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> This series tries to improve the licensing situation of libgpiod before we
> proceed with v2.0.
>
> The first patch is rather uncotroversial: it makes the project compliant
> with the REUSE v3.0 specification.
>
> Next two patches propose to change the licenses for certain files:
> non-library source files are relicensed under GPL-2.0-or-later while C++
> library code's license is upgraded to LGPL-3.0-or-later.
>
> The only person other than myself who contributed significant code to the
> relicensed files is Kent Gibson (Cc'ed) so these patches will need his
> ack.
>
> Bartosz Golaszewski (3):
>   licensing: make the project REUSE-compliant
>   licensing: relicense non-library code under GPL-2.0-or-later
>   licensing: relicense C++ library code under LGPL-3.0-or-later

LooksGoodToMe thanks for paying so much attention to detail here,
licenses give me migraine.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij