How should I mark a source file with GPLv2 as a derivative work?

2017-09-25 20:36:33

I want to include a file with GPLv2 license in my project. The file starts with a copyright line, and the license information.

I'll be making significant modifications to that file, and I imagine I need to indicate that the file has been changed from the original.

Also as far as I know, the copyright of the code I add to that file will be mine whereas the original code will belong to original author.

So, my question is, how can I indicate those 2 points above inside the source file?

Note 1: My own project is also GPL, so there are no worries there.

Note 2: Maybe the title is not accurate, but I didn't know how to word it. Feel free to update please.

I'm not a lawyer, but here is what I believe should be done.

Keep the original copyright line (You should keep the original author's copyright since you are claiming that your contributions make a derivative work.)

Keep the license information (It's still GPLv2 since it is a derivative work.)

Mention where the or

  • I'm not a lawyer, but here is what I believe should be done.

    Keep the original copyright line (You should keep the original author's copyright since you are claiming that your contributions make a derivative work.)

    Keep the license information (It's still GPLv2 since it is a derivative work.)

    Mention where the original file was obtained. A URL to a Github repository with a specific revision would be helpful.

    Add your copyright information. Remember to include a date in your copyright.

    (Optional, but recommended) Give a brief summary of what you added/changed

    Your understanding of shared copyright over the file is in line with my understanding. The original author owns the copyright over the unmodified (before you change it) file. You will own the copyright over your additions to the file.

    In reality, the copyright might be "shared" as you make modifications to the original author's work. Say you insert one line of code in an existing function. Sure, you can claim that the one l

    2017-09-25 21:29:41