Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Licensing] DrumKit uses non-free code. #762

Open
rl2939 opened this issue Nov 22, 2024 · 2 comments
Open

[Licensing] DrumKit uses non-free code. #762

rl2939 opened this issue Nov 22, 2024 · 2 comments

Comments

@rl2939
Copy link
Contributor

rl2939 commented Nov 22, 2024

Description

DrumKit is supposed to be licensed under the CC0 1.0. However, I took a look at DrumKit's shadow.hpp, and it looks like they are using code from a non-GPL3.0+ compatible license. I think this portion of the code, and any calls to this code, should be removed from our version of Drumkit. If this is not possible, I think we should replace these modules with something else (such as the SickoCV modules).

The license in question:

/*
Shadow code taken and modified from https://github.com/lindenbergresearch/LRTRack

and is available under the following license:

Copyright (c) 2017-2018, Lindenberg Research / Patrick Lindenberg
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Commercial redistribution of the code, or parts, in any form
  must be granted by the author.

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

* Neither the name of Lindenberg Research nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.


THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

*/
@falkTX
Copy link
Contributor

falkTX commented Nov 22, 2024

huh thats very nasty. thanks for the finding.
It was added in SVModular/DrumKit@0d20223

so lets either remove that part of the code that does shadow, or replace it.

from looking at other parts of the codebase the "DK*" classes all follow the same style, so I dont think we need to remove the class altogether, just the nvg drawing part.

@falkTX
Copy link
Contributor

falkTX commented Nov 22, 2024

I did shadow for AIDA-X plugin before, a simple gradient is fine enough for this I think.
https://github.com/AidaDSP/AIDA-X/blob/main/src/aidadsp-ui.cpp#L398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants