Bug 243805

Summary: JJ: add more common licenses to create class wizard
Product: [Applications] kdevelop Reporter: Paulo Romulo <paulo.romulo>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: minor CC: gkaukola, groot, paulo.romulo
Priority: NOR Keywords: junior-jobs
Version: 4.0.0   
Target Milestone: 4.0.1   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paulo Romulo 2010-07-07 00:05:48 UTC
Version:           4.0.0 (using KDE 4.4.4) 
OS:                Linux

KDE Licensing Policy [1] says:

"Source files that are part of a library with a public API which is part of the KDE Platform (kdelibs, kdepimlibs and kdebase-runtime) must be licensed under one of the following terms:

* LGPL version 2.1 as listed in kdelibs/COPYING.LIB or later
* LGPL version 2.1 or version 3 or later versions approved by the membership of KDE e.V."

The only option available is the LGPLv2, which is incompatible with the licensing policy aforementioned. Would be good if developers could create source files under LGPLv2+ automatically, instead of insert the license header through the license type "Other" provided.

[1] http://techbase.kde.org/Policies/Licensing_Policy

Reproducible: Always

Steps to Reproduce:
Code -> Create New Class -> Fill the class name and inheritances and choose 'Next'

Actual Results:  
Only LGPLv2 license type is available.

Expected Results:  
LGPLv2.1 and/or LGPLv3
Comment 1 Paulo Romulo 2010-07-07 00:12:40 UTC
BSD, MIT and X11 licenses are applicable, too, but these are already available on the wizard.
Comment 2 Glen Kaukola 2011-05-20 22:02:40 UTC
Looks like this happens in kdevplatform actually.  And even though it says LGPL v2, if you read the text of the license it's LGPL v2.1.

As for LGPL v3, it seems to be a simple matter of putting a LGPL v3 text file into:
kdevplatform/language/codegen/licenses
Comment 3 Kevin Funk 2012-12-22 22:14:53 UTC
Marking as fixed.
Comment 4 Kevin Funk 2013-11-11 17:15:45 UTC
Git commit 151b4305b3484084c9340c873b9e149a6453f0a1 by Kevin Funk.
Committed on 11/11/2013 at 17:10.
Pushed by kfunk into branch '1.6'.

Add LGPL v3 license template

M  +1    -0    plugins/filetemplates/CMakeLists.txt
A  +15   -0    plugins/filetemplates/licenses/LGPL v3

http://commits.kde.org/kdevplatform/151b4305b3484084c9340c873b9e149a6453f0a1