On Tue, Apr 16, 2024 at 11:21:40PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > > Commit ea84f882d5d3 ("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@xxxxxxxxxxxxx> > Suggested-by: Grant Likely <grant.likely@xxxxxxxxxx> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> Acked-by: Kent Gibson <warthog618@xxxxxxxxx>