robotology / stereo-vision

Repository containing apps for stereo vision
https://robotology.github.io/stereo-vision/
GNU General Public License v2.0
19 stars 19 forks source link

Clarify license of the external code vendored in the repo #26

Closed traversaro closed 3 years ago

traversaro commented 3 years ago

The repo README says that the code contained in the repo is licensed under the GPL2+ license. However, as the repo also include some vendored libraries, I think it is important to clearly state the license of the vendored libraries, including:

cc @maggia80 @pattacini

pattacini commented 3 years ago

cc @GiuliaP for libelas and @damianomal for sgbm_cuda.

GiuliaP commented 3 years ago

Thanks for reporting. Would it be fine if I

pattacini commented 3 years ago

We may proceed as done in https://github.com/icub-tech-iit/ventilator-FI5#-license.

What do you think @traversaro ?

traversaro commented 3 years ago

Sure! Technically speaking any resulting binary that gets linked with GPL-3.0-or-later code can only be distributed under the GPL-3.0-or-later license, but as we license the rest of code as GPL-2.0-or-later that is ok.

pattacini commented 3 years ago

So @GiuliaP, we could do the following:

  1. modify the README's License section, by clarifying that the libelas is under the GPL3+ license

    ✔ Yes, but let's refactor the main section as in https://github.com/icub-tech-iit/ventilator-FI5#-license, if possible.

  2. add the LICENSE file to the lib/src/elas directory?

    ✔ Yes, given that it won't harm.

Would this be sufficient for what concerns elas @traversaro ?

traversaro commented 3 years ago

Yes!

GiuliaP commented 3 years ago

Thanks for the suggestion, I will do it by next tuesday if it's ok.

GiuliaP commented 3 years ago

@pattacini : I have applied the modifications (by directly pushing to master since it was not involving code changes).

I have modified the main README (Installation and License) and created one README where I clarify the changes to LIBELAS and point to the LICENSE and the original LIBELAS' README, which I have also added in the same folder.

pattacini commented 3 years ago

Fantastic 👍🏻 Thanks @GiuliaP

pattacini commented 3 years ago

What do we do with sgbm_cuda? @traversaro @damianomal

vtikha commented 3 years ago

As far as I know it is an optional algorithm to be used to compare results with non cuda versions. A user can choose between sgbm, sgbm_cuda, libelas..

pattacini commented 3 years ago

That's correct @vtikha 👍🏻 We were just discussing what to do in terms of the license, as sgbm_cuda is vendored alongside this repo.

vtikha commented 3 years ago

Ah ok, I misunderstood your comment as a question of what is it used for. Sorry. For the licence I guess we need to contact the author to update his license, but there has not been an activity on that repo for about two years. Other option consider removing it/alternative?

pattacini commented 3 years ago

We've just asked @damianomal to show up as sgbm_cuda is vendored inside his DisparityModule.

See https://github.com/robotology/stereo-vision/issues/26#issue-720212599.

damianomal commented 3 years ago

I apologize for the late reply, I'll try to contact the original author of the project and I will update with a comment here as soon as I get an answer.

When writing to the author, should I specify something in particular about the nature of the project (i.e. this repo) in which their repository has been used?

pattacini commented 3 years ago

When writing to the author, should I specify something in particular about the nature of the project (i.e. this repo) in which their repository has been used?

You could cite this repo, yep, saying that we're making use of the original code 👍🏻

pattacini commented 3 years ago

@damianomal any news on this?

damianomal commented 3 years ago

@pattacini unfortunately I still have no updates, I tried to contact the author also on what seems to be his Linkedin account, with no success whatsoever

pattacini commented 3 years ago

Ok thank you! I think that we can close this then.