Skip to content

licensing: try to get licensing right

Bartosz Golaszewski linux-gpio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3licensing: make the project REUSE-compliant.gitignore COPYING Doxyfile.in +84 more+1445 -8850 replies
2/3licensing: relicense non-library code under GPL-2.0-or-laterMakefile.am autogen.sh bindings/Makefile.am +49 more+53 -520 replies
3/3licensing: relicense C++ library code under LGPL-3.0-or-laterLICENSES/LGPL-3.0-or-later.txt Makefile.am bindings/cxx/chip.cpp +6 more+173 -70 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKent GibsonLinus Walleij
SeriesA-b R-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [libgpiod][PATCH 0/3] licensing: try to get licensing right

From: Bartosz Golaszewski <[email protected]>

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
Signature · 1 line
2.29.1