licensing: relicense C++ library code under LGPL-3.0-or-later
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Sun, 14 Feb 2021 15:37:37 +0000 (16:37 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 18 Feb 2021 16:42:16 +0000 (17:42 +0100)
commitea84f882d5d39b734a5756b3a6950da4896b9a0a
tree74a87919b97bffdba5582f92f48f288b667fcd10
parent154e7c5a8271d564df9050095c4c81c992b2c252
licensing: relicense C++ library code under LGPL-3.0-or-later

Using LGPL-2.1 for C++ library code is an issue raised several times on
the linux-gpio mailing list. Programs using C++ libraries often include
significant portions of code generated behind the scenes from C++ headers
(via templates, default implementations etc.).

Section 3 of LGPL-3.0 clarifies the use of code defined in or generated
from C++ headers so this changset proposes to use LGPL-3.0 for all C++
library code in libgpiod.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Kent Gibson <warthog618@gmail.com>
LICENSES/LGPL-3.0-or-later.txt [new file with mode: 0644]
Makefile.am
bindings/cxx/chip.cpp
bindings/cxx/gpiod.hpp
bindings/cxx/iter.cpp
bindings/cxx/line.cpp
bindings/cxx/line_bulk.cpp
bindings/cxx/tests/gpio-mockup.cpp
bindings/cxx/tests/gpio-mockup.hpp