1

I have downloaded the SDL2 libraries source code and noticed that I do not use the majority of what is in there. However, there are licenses in there under the ZLib license.

So my question is whether I can remove files and the licenses going with those files?

2
  • Why do you think you might not be able to? The ZLib license is very short, and doesn't say anything about requiring you to keep a file you don't use. Jun 22 at 4:25
  • 1
    Well it did said to not remove the license notice from source distribution. Jun 22 at 4:51

1 Answer 1

2

So my question is whether I can remove files and the licenses going with those files?

Yes you can.

Nearly all copyright licenses state, in one form or another, that you must keep the license notices and/or license text. What is meant is that,

  • for the notices in a source file, you must keep those notices as long as there is any content in the file that is covered by the license referred to in the notice. As soon as all covered content is deleted, you can also delete that notice and/or remove the file.
  • for license files, you must keep them as long as there is any content in the project that is covered by the license. As soon as you removed the last content that was governed by the license from the project, you can also remove the file(s) with the license text and attribution notices.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.