关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。
想改进这个问题?将问题更新为 on-topic对于堆栈溢出。
6年前关闭。
Improve this question
在贡献新文件而不是修改文件时,如何编写 GPL 版权声明?在项目中,所有文件都以:
/**
* Some open source application
* Component Foo
* (C) 20?? by Scruffy H. Hacker (scruffy@foo.bar)
* Released under the GPL
*
* Awesome description here.
*/
我是否应该只将我的名字写在版权声明中,如下所示:
/**
* Some open source application
* Component Bar
* (C) 20?? by Tobier Hackerson <tobier@foo.bar)
* Released under the GPL
*
* Awesome description here.
*/
或者我应该包括项目的原始创建者:
/**
* Some open source application
* Component Bar
* (C) 20?? by Scruffy H. Hacker (scruffy@foo.bar)
* (C) 20?? by Tobier Hackerson (tobier@foo.bar)
* Released under the GPL
*
* Awesome description here.
*/
最佳答案
伊纳尔
如果原始作者贡献了此文件中的任何代码(例如,您复制了他的一个文件并对其进行了修改),那么两者都应该被记入。如果您编写了所有代码,那么您的名字就足够了。
您应该符合项目模板,但通常您会包含以下内容:
* Released under the GNU General Public License
'GPL' 并不像它应该的那样精确。您可能还需要指定版本。有关详细信息,请参阅许可证( Version 2 或 Version 3 )本身。就目前而言,理论上它可以在 GPL 版本 1 下发布,尽管这不太可能是任何人的想法(但律师不会认为假设有任何问题)。GNU GPL 版本 2 建议(最后,在“如何将这些条款应用于您的新程序”下):
one line to give the program's name and an idea of what it does.
Copyright (C) yyyy name of author
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
(以及另外两段)。
关于licensing - 提交新文件时的 GPL 版权声明,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11670368/