Extensions GPL notices

From Joomla! Documentation
Revision as of 00:47, 9 May 2010 by Horus 68 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Note

Please note that the content on this page is currently incomplete. Please treat it as a work in progress.

This article was last edited by Horus 68 (talk| contribs) 3 years ago. (Purge)

Contents

To list your file in JED under GPL license its required 3 things

All source code files in the core Joomla distribution must contain the following comment block as the header:

PHP files

1- Notice at the top of each php file stating that it is distributed under the terms of the GPL

as in this comment block as the header:

<?php
/**
 * @extension Module XYZ for Joomla! 1.5
 * @version $Id: mod_XYZ.php 599 2010-03-20 23:26:33Z you $
 * @author YOUR NAME HERE
 * @copyright (C) 2010- YOUR NAME HERE
 * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
 * @link http://www.yoursite.com
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
**/

XML file

A <license> tag in your extension's XML file stating that it is under GPL, as in this tags for a module:

<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.0">
        <name>Extension name goes here</name>
        <creationDate>20 April 2010</creationDate>
        <author>Author name goes here</author>
        <copyright>Copyright holder name goes here</copyright>
        <license>GNU/GPLv3 http://www.gnu.org/copyleft/gpl.html</license>
        <authorEmail>you@youremail.com</authorEmail>
        <authorUrl>http://www.yoursite.com</authorUrl>
        <version>1.0</version>
        <description>DESCRIPTION GOES HERE</description>

For GPL you could use other versions of the license:

TXT file

3- Provide a copy of the GPL license within your package

  • note: this file doesn't need to be installed with the extension, just included with the package as a text file

Libraries

Libraries (Js scripts, flash) can be licensed under other licenses as in:

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox