Licensing 提供新文件时的GPL版权声明
当贡献新文件而不是修改文件时,如何编写GPL版权声明?在项目中,所有文件都以以下内容开头:Licensing 提供新文件时的GPL版权声明,licensing,gpl,Licensing,Gpl,当贡献新文件而不是修改文件时,如何编写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 so
/**
* 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.
*/
亚纳尔
如果原始作者在此文件中贡献了任何代码(例如,您复制了他的一个文件并对其进行了修改),则这两个代码都应记入贷方。如果所有的代码都是你写的,那么你的名字就足够了
您应该遵守项目模板,但通常包括以下内容:
* Released under the GNU General Public License
“GPL”并不像它应该的那样精确。您可能还需要指定版本。有关详细信息,请参阅许可证(或)本身。目前来看,理论上它可以在GPL版本1下发布,尽管这不太可能是任何人的想法(但律师们认为这一假设没有任何问题)
GNU GPL第2版建议(最后,在“如何将这些术语应用于新程序”下):
(还有另外两段)。GPL不是每个文件的copyleft许可证,而是整个软件包的许可证 因此,新文件也应该根据GPL获得许可。由于原始许可证标题未指定GPL版本,因此您可以选择您喜欢的任何GPL版本。如果您想了解更多关于为什么有多个GPL版本以及它如何与升级许可证版本一起工作的信息,请参阅:
/**
* My Extension to some open source application
*
* Copyright 2012 by Tobias Eriksson <author@tobier.se>
*/
如果您正在寻找信息压缩,并且作者可以不在每个文件中看到他们的名字。你不能对超级明星那样做,真的。所以可能会有一个社会排名,谁的名字排在第一,诸如此类。但是,不要让自己被愚弄:如果你是作家,你有权看到你的名字。如果有人否认你的权利,你就是在受骗。正如你所能想象的,这也告诉我们很多关于(自由)软件项目中的尊重
从技术上讲,你可以在上面添加你的版权行,因为是你做了最新的更改。许可证只说明您需要保留原始版权,而不是说您需要将其置于最上面:
/**
* Some open source application
*
* Copyright 2012 by Tobias Eriksson <author@tobier.se>
* Copyright 2010, 2011 by Scruffy H. Hacker <scruffy@foo.bar>
*
* Licensed under GNU General Public License 3.0 or later.
* Some rights reserved. See COPYING, AUTHORS.
*
* @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+>
*/
/**
*一些开源应用程序
*
*Tobias Eriksson版权所有2012
我投票结束这个问题,因为它涉及许可和法律问题,而不是编程或软件开发。有关详细信息和更多信息,请参见programmers.stackexchange.com上的类似问题:注意:该问题仅在当前问题发布前两天发布!我刚刚投票重新讨论这个问题,以便将其移至@olibre:可以移动吗?是不是太旧了?@TomZych你可能是对的。。。我不知道在SE网站上移动问题的规则。。。但是一些清洁是受欢迎的:)谢谢,我可以在GPL许可证中添加一个“此文件版权(C)Myname”吗?看:我不是你的律师,只是一个软件开发人员:不是在GPL许可证文本中,而是在软件中。但是,如果该软件是根据GPL许可证发布的,您必须明确它是根据GPL发布的(如果您是版权所有者,您可以决定)。是的,这就是我的意思,如果不清楚,对不起(不是在GPL文本中,而是在文件中,这是一个每个文件的版权项目,请参阅问题链接)。谢谢:)就最佳实践而言,恐怕这不太正确。Gnu基金会说,当根据GPL授权授权一个程序时,你应该包括一份版权声明和声明,该程序根据GPL授权给每个源文件。其思想是,即使文件与程序的其余部分分离,也必须有这些信息。在我看来,这很重要,因为如果你从另一个项目复制了一个文件,几年后想要更改许可证,你需要追踪所有作者或重写。@PeterGerdes:是的,这样的建议在我的回答中非常突出,但考虑到答案的长度和我有限的英语,很高兴看到你评论它的重要性+1.
/**
* My Extension to some open source application
*
* Copyright 2012 by Tobias Eriksson <author@tobier.se>
*/
/**
* My Extension to some open source application
*
* Copyright 2012 by Tobias Eriksson <author@tobier.se>
*
* This file is part of some open source application.
*
* Some open source application 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 3 of the License, or (at your option) any later version.
*
* Some open source application is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Foobar. If not, see <http://www.gnu.org/licenses/>.
*
* @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+>
*/
/**
* Some open source application
*
* Copyright 2010, 2012 by it's authors.
* Some rights reserved. See COPYING, AUTHORS.
*/
/**
* Some open source application
*
* Copyright 2012 by Tobias Eriksson <author@tobier.se>
* Copyright 2010, 2011 by Scruffy H. Hacker <scruffy@foo.bar>
*
* Licensed under GNU General Public License 3.0 or later.
* Some rights reserved. See COPYING, AUTHORS.
*
* @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+>
*/