Sign in to follow this  
CTar

zlib/libpng

Recommended Posts

CTar    1134
I will soon release the source for my game engine, I want to release it under the zlib/libpng license. The problem is that I don't know what to do to release the source under the license. Should I just put a LICENSE.TXT file with the license text in it, in the source folder or should I put the license in all source files? I have already registered the project at sourceforge.org and specified the license as zlib/libpng, but I doubt that is enough. I dont know if this is the right forum, but I couldn't find one more suitable.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
Take a look at a release like Quake 3 source, I believe they put a little note at the top of each source file (.h/.c/.cpp etc) and then just include the license.txt file.

Here's what they did:

/*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc.

This file is part of Quake III Arena source code.

Quake III Arena source code 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.

Quake III Arena source code 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, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
===========================================================================
*/

Just insert for your license.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this