linux-usb-gadgets / libusbgx

C library encapsulating the Linux kernel USB gadget configfs userspace API functionality
GNU General Public License v2.0
216 stars 72 forks source link

License clarity? #70

Closed karlp closed 1 year ago

karlp commented 1 year ago

What's the actual license of this library please? There's both GPL and LGPL copying files, but I can't find any explanation what is covered by each?

I'm guessing the intent is library under lgpl and examples and docs under gpl? but guessing is never a good idea on licensing :)

kopasiak commented 1 year ago

Yes that's exactly how it is library - LGP and examples GPL. It should be mentioned in every file header. TBH I'd prefer to make examples MIT or sth more liberal but the original author of libusbg started it this way and I just continued.

pabs3 commented 1 year ago

I've added a couple of sentences to the README to clarify this.

-- bye, pabs

https://bonedaddy.net/pabs3/

karlp commented 1 year ago

It might be mentioned in every file header, but it's ..... not friendly, shall we say, to expect every user to look at every single source file to check. Thanks for clarifying!

pabs3 commented 1 year ago

Hopefully the new note in the README is clear enough?

-- bye, pabs

https://bonedaddy.net/pabs3/