licensing: relicense C++ bindings under LGPL-2.1-or-later
Commit ea84f882 ("licensing: relicense C++ library code under LGPL-3.0-or-later") changed the license of C++ bindings in order to solve potential issues with code generated from templates[1], default implementations, etc. However this change makes the bindings less attractive to projects that have strict licensing restrictions and avoid GPL-3.0 code[2]. After talking to Grant Likely I decided that the best approach is to make the bindings available under LGPL-v2.1-or-later and simply let the end user decide which version's text to apply. While at it: tweak the README to also mention that examples are provided under GPL-2.0-or-later. Link: [1] https://www.spinics.net/lists/linux-gpio/msg46605.html Link: [2] https://github.com/brgl/libgpiod/issues/72 Suggested-by: Walter Lozano <walter.lozano@collabora.com> Suggested-by: Grant Likely <grant.likely@linaro.org> Acked-by: Kent Gibson <warthog618@gmail.com> Acked-by: Kevin Hilman <khilman@baylibre.com> Acked-by: Grant Likely <grant.likely@linaro.org> Link: https://lore.kernel.org/r/20240416212141.6683-2-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Showing
- COPYING 1 addition, 10 deletionsCOPYING
- LICENSES/LGPL-3.0-or-later.txt 0 additions, 165 deletionsLICENSES/LGPL-3.0-or-later.txt
- bindings/cxx/chip-info.cpp 1 addition, 1 deletionbindings/cxx/chip-info.cpp
- bindings/cxx/chip.cpp 1 addition, 1 deletionbindings/cxx/chip.cpp
- bindings/cxx/edge-event-buffer.cpp 1 addition, 1 deletionbindings/cxx/edge-event-buffer.cpp
- bindings/cxx/edge-event.cpp 1 addition, 1 deletionbindings/cxx/edge-event.cpp
- bindings/cxx/exception.cpp 1 addition, 1 deletionbindings/cxx/exception.cpp
- bindings/cxx/gpiod.hpp 1 addition, 1 deletionbindings/cxx/gpiod.hpp
- bindings/cxx/gpiodcxx/chip-info.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/chip-info.hpp
- bindings/cxx/gpiodcxx/chip.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/chip.hpp
- bindings/cxx/gpiodcxx/edge-event-buffer.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/edge-event-buffer.hpp
- bindings/cxx/gpiodcxx/edge-event.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/edge-event.hpp
- bindings/cxx/gpiodcxx/exception.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/exception.hpp
- bindings/cxx/gpiodcxx/info-event.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/info-event.hpp
- bindings/cxx/gpiodcxx/line-config.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/line-config.hpp
- bindings/cxx/gpiodcxx/line-info.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/line-info.hpp
- bindings/cxx/gpiodcxx/line-request.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/line-request.hpp
- bindings/cxx/gpiodcxx/line-settings.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/line-settings.hpp
- bindings/cxx/gpiodcxx/line.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/line.hpp
- bindings/cxx/gpiodcxx/misc.hpp 1 addition, 1 deletionbindings/cxx/gpiodcxx/misc.hpp
Loading