Page 1 of 1

Twig and Doctrine in GPL project.

Posted: Wed Jun 02, 2010 10:26 am
by Ragnis
Can i license my open sourced CMS under GPL v2/v3 license if it uses Twig (BSD License) and Doctrine (LGPL)?

And do i have to put this text to the beginning of all my source files...

Code: Select all

* This file is part of Foobar.
 * 
 * Foobar 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.
 * 
 * Foobar 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/>.
..or can i do it like phpbb does?

Code: Select all

/**
*
* @package mcp
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

Re: Twig and Doctrine in GPL project.

Posted: Wed Jun 02, 2010 10:36 am
by phu
You'll need to read the individual licenses and assess whether the terms under which you're distributing those packages are compatible. You can package yours under a different license without issue as long as you are distributing those projects in compliance with their own licenses.

You can also just note prominently that your project requires those two as external dependencies, link to their sites, and not worry about distribution issues.

Re: Twig and Doctrine in GPL project.

Posted: Wed Jun 02, 2010 11:53 am
by Ragnis
Ok. But can i apply GPL license to my project like phpbb does? (The other question)

Re: Twig and Doctrine in GPL project.

Posted: Wed Jun 02, 2010 11:59 am
by AbraCadaver
Ragnis wrote:Ok. But can i apply GPL license to my project like phpbb does? (The other question)
Yes, since the BSD and LGPL are more permissive you can license your project under GPL, but the Twig and Doctrine components themselves will still be licensed under their respective licenses.