Raised This Month: $51 Target: $400
 12% 

GPLv3 & Keep Copyright Headers


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 05-06-2016 , 23:23   GPLv3 & Keep Copyright Headers
Reply With Quote #1

I'm remembering about the Kigen journey with smac.
https://forums.alliedmods.net/showthread.php?t=228625

I read the GLP & translation many times but I'm not sure with this "lawer speech".

Currently I'm working on plugins that are merges and rewrites of a bunch of plugin from other authors. Many of them got their own Copyright header in their code.

For example walmars shortsprint:
https://github.com/walmar/ShortSprin...rtsprint.sp#L1

I stripped&merged his main features and put them in some of my plugins e.g.:
https://github.com/shanapu/MyJailbre.../catch.sp#L549

When walmars code would be the only one, I dont see a problem to recieve the header, but there are code from so many more authors.

So, my major question: is it enough to keep their credits in this way:

https://github.com/shanapu/MyJailbreak#credits
https://github.com/shanapu/MyJailbreak#detailed-credits

or does I have to merge all header to one "monster header"?


Thanks in Advance!
__________________
coding & free software
shanapu is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-07-2016 , 05:02   Re: GPLv3 & Keep Copyright Headers
Reply With Quote #2

At minimum, you need 1 copy of the standard GPL header at the top of every file, and list all the author lines from any you've copied code from.
__________________
asherkin is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 05-07-2016 , 14:30   Re: GPLv3 & Keep Copyright Headers
Reply With Quote #3

so my header, for the example above "catch.sp", would looks like that:
PHP Code:
/*
    This file is part of MyJailbreak.

        MyJailbreak 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.

        MyJailbreak 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 MyJailbreak. If not, see <http://www.gnu.org/licenses/>.
        
        Copyright (C) 2016 Thomas Schmidt - MyJailbreak
        Copyright (C) 2009-2013 Martin Walter - ShortSprint
        Floody.de - Original Krieg plugin
        Franc1sco Franug - Franug-JailBreak
        ReFlexPoison - Screen Overlays
        .#Zipcore - Warden: Sounds
*/ 
Is this the right way? Cause some of the authors haven't got headers with copyright informations.

And what about "standart" stocks like:
PHP Code:
stock bool IsValidClient(int clientbool bAllowBots falsebool bAllowDead true)
{
    if(!(
<= client <= MaxClients) || !IsClientInGame(client) || (IsFakeClient(client) && !bAllowBots) || IsClientSourceTV(client) || IsClientReplay(client) || (!bAllowDead && !IsPlayerAlive(client)))
    {
        return 
false;
    }
    return 
true;

does i have to add the author of these snippets too?
__________________
coding & free software

Last edited by shanapu; 05-07-2016 at 14:30.
shanapu is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode