8

I was looking at the GPLv3 License.

It states that when I modify the Program and distribute it, I need to meet the condition of:

a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.

Now let's say I found a GPLv3 source code on the web and want to put it on the GitHub and start making modifications on it.

Question:

  • What would be the required works to be done against this source code? Do I need to write down the cloned date? What about the subsequent changes I make to the repository? Do they also have to be written down somewhere on source code each time I make modification?
3
  • 1
    FWIW, those dates are stored in the history of the Git repository.
    – RubberDuck
    May 8, 2016 at 19:19
  • @RubberDuck yes, I'm aware. The author date and committer date. My question is whether I need to do anything special other than putting them into github and start making commits, in terms of GPL re-distribution.
    – Yuki Inoue
    May 8, 2016 at 19:21
  • Don't know. That's why I didn't answer.
    – RubberDuck
    May 8, 2016 at 19:22

2 Answers 2

3

Copyright notices

The reply I received from [email protected] (the compliance lab) suggested a copyright notice in the modified file is sufficient.

An example of a copyright notice:

Copyright (C) 2011, 2012, 2014 Ernest Thornhill ([email protected])

Something to note about the dates:

For software with several releases over multiple years, it's okay to use a range (“2008-2010”) instead of listing individual years (“2008, 2009, 2010”) if and only if every year in the range, inclusive, really is a “copyrightable” year that would be listed individually; and you make an explicit statement in your documentation about this usage.

https://www.gnu.org/licenses/gpl-howto.html

Comments

Something to consider is that you are not required to claim a copyright on your changes.
In this case it seems like you need some other prominent notice.

The Software Freedom Law Center states for GPLv2:

Section 2(a) requires that all modified versions be so marked, with basic indication of the modifications made, the date of modification, and some identification of the modifier. Compliance is achieved by any markings in source code that contain this information in a reasonable form. Not all the information available from a source code version control system need be provided, nor is the requirement a substitute of the project-level ChangeLog or similar file. Appropriate compliance assists a programmer using or reviewing any particular source file to know from what version of a project or program that source file comes, and to trace the history of recent substantive modification.

For GPLv3 that article states:

...with the additional requirement to provide notice of modification, date and some identification of modifier as under GPLv2 §2(a), above.

Therefore, it seems like they consider it the same for GPLv2 and GPLv3
(confirmed via [email protected]).

Based on that description, I imagine something like a simplified ChangeLog entry:

// 12-22-1999 Ernest Thornhill (set_date): switched to 4-digit years

... directly below the warranty disclaimer.

The authors, date and note doxygen commands for a function you just edited
might also be considered prominent.

ChangeLog

While it might not be a requirement, a GNU coding standard is to keep a ChangeLog.
This is for describing all the changes made to the source files.
The NEWS file contains a list of user-visible changes worth mentioning.

I've noticed that emacs contributors write the extended commit description
like it's the body of a ChangeLog entry.
Then they use a script to convert the git log to a ChangeLog.

3
  • I've tried to understand the citation, but as non-native, it's a bit difficult. In short, is it that they require to put the modification marker in the source code everytime I commit a file...?
    – Yuki Inoue
    Oct 9, 2016 at 2:45
  • @YukiInoue I did more research. Please review my update.
    – Honest Abe
    Oct 11, 2016 at 16:30
  • I've checked. Thanks for all the research. .. Pretty sad that I can't upvote twice.
    – Yuki Inoue
    Oct 11, 2016 at 17:38
3

I think that adding your own copyright statement for the portions that you modify, alongside the existing copyright statements, should be sufficient: it identifies the portions you've modified, with a date, and is as prominent as the license grant which indicates that the GPL applies in the first place. If the program you're modifying follows the usual GPL practice (as recommended in the license itself), this will involve

  • copyright statements in the various source files you modify;
  • whatever copyright statement is made visible when the program is run;
  • copyright statements in other files in the source distribution (README potentially).

In a typical GNU-style piece of software you would also add yourself to AUTHORS, and as you make changes, document them in ChangeLog, and add user-visible changes to NEWS. But that's just maintenance of the documentation, not (as I understand it) a licensing requirement.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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