[Github-comments] [geany] New License Templates (#752)

Devyn Collier Johnson notifications at xxxxx
Wed Nov 11 04:57:21 UTC 2015


[ci skip]

* Added the code needed for the proposed license templates.
    * ./src/templates.c
    * ./src/callbacks.c
    * ./data/geany.glade
    * ./data/Makefile.am
* Added the proposed licenses to "templates=" in ./data/Makefile.am
* Added AGPLv2 (GNU Affero General Public License v2)
* Added AGPLv3 (GNU Affero General Public License v3)
* Renamed ./data/templates/gpl to ./data/templates/gpl2
    * This makes it clear that the license is version 2
* Added GPLv3 (GNU General Public License v3)
    * Many developers prefer GPLv3 over GPLv2
* Added LGPLv2 license (GNU Lesser General Public License v2)
* Added LGPLv3 license (GNU Lesser General Public License v3)
    * The LGPL licenses are commonly used in libraries and other code
* Added BSD 2-Clause License
* Renamed ./data/templates/bsd to ./data/templates/bsd-3-clause (BSD 3-Clause License)
    * This makes it clear that the license is 3-Clause
* Updated ./data/templates/bsd-3-clause (BSD 3-Clause License)
    * Ensured that this license matches the official BSD 3-Clause License
* Variety is the spice of life; Some other commonly used licenses should be added
    * Added Apache License v2.0
    * Added cc0 (CC0 1.0 Universal (CC0 1.0))
    * Added the MIT License (MIT)
    * Added MPLv2 (Mozilla Public License v2.0)
    * Added zib/libpng License
    * I plan to add more licenses in the future (perhaps WTFPL)

The functions "editor_insert_snippet" and "editor_find_snippet" in ./src/editor.c dynamically find and add license templates to the "Edit > Insert Comments" sub-menu during compilation.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/752

-- Commit Summary --

  * Create lgpl3
  * Rename gpl to gpl2
  * Create lgpl2
  * Create cc0
  * Create mpl2
  * Create agpl3
  * Create agpl2
  * Create gpl3
  * Create bsd-2-clause
  * Update and rename bsd to bsd-3-clause
  * Update bsd-2-clause
  * Create zlib-libpng
  * Create apache2
  * Create mit
  * Update templates.c
  * Update callbacks.c
  * Update geany.glade
  * Update Makefile.am

-- File Changes --

    M data/Makefile.am (15)
    M data/geany.glade (222)
    A data/templates/agpl2 (14)
    A data/templates/agpl3 (12)
    A data/templates/apache2 (13)
    A data/templates/bsd-2-clause (24)
    R data/templates/bsd-3-clause (5)
    A data/templates/cc0 (4)
    R data/templates/gpl2 (0)
    A data/templates/gpl3 (12)
    A data/templates/lgpl2 (14)
    A data/templates/lgpl3 (12)
    A data/templates/mit (21)
    A data/templates/mpl2 (3)
    A data/templates/zlib-libpng (13)
    M src/callbacks.c (123)
    M src/templates.c (32)

-- Patch Links --

https://github.com/geany/geany/pull/752.patch
https://github.com/geany/geany/pull/752.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/752
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151110/92bc9ce4/attachment.html>


More information about the Github-comments mailing list