[Kde-pim] Review Request: find_package support for libkleo

Eduardo Robles Elvira edulix at gmail.com
Tue Oct 27 11:06:58 GMT 2009



> On 2009-10-26 22:30:10, Ingo Klöcker wrote:
> > Are you aware that libkleo is licensed under the GPL (and will never be relicensed to LGPL because its author does not want to do so)? This means that anything linking libkleo will also have to be GPL licensed.
> 
> Ingo Klöcker wrote:
>     FWIW, we (the KDE PIM team) have discussed to allow GPL licensed libraries in kdepimlibs. This would allow us to move libkleo to kdepimlibs from where it could be used by anything not in kdelibs. Of course, this move wouldn't change the GPL requirement for anything using libkleo.
> 
> Eduardo Robles Elvira wrote:
>     > Are you aware that libkleo is licensed under the GPL (and will never be relicensed to LGPL because its author does not want to do so)? This means that anything linking libkleo will also have to be GPL licensed.
>      
>     Oh I had not noticed, anyway Khtml is LGPL which is GPL compatible so it should be fine I suppose?
>      
>     > FWIW, we (the KDE PIM team) have discussed to allow GPL licensed libraries in kdepimlibs. This would allow us to move libkleo to kdepimlibs from where it could be used by anything not in kdelibs. Of course, this move wouldn't change the GPL requirement for anything using libkleo.
>     
>     That would be cool, anyway the move from kdepim to kdepimlibs would depend on more factors that factor it seems, for
>     example Christophe Giboudeaux mentioned that being it in kdepim has the advantage (for libkleo developers at least)
>     of not being forced to maintain BC, so I guess that's something up to KDAB people :P. Other than that, I think that
>     would be the best case scenario for those who would like to use libkleo (a KMyMoney developer already mentioned that
>     he would like to use it too).
> 
> Thomas McGuire wrote:
>     > Oh I had not noticed, anyway Khtml is LGPL which is GPL compatible so it should be fine I suppose?
>     
>     No, you can't use GPL libraries in LGPL projects.
>     Stuff using GPL libraries needs to be GPL itself.

> No, you can't use GPL libraries in LGPL projects.
> Stuff using GPL libraries needs to be GPL itself.

Are you 100% sure? I might be wrong in this, but let me cite the FSF GPL FAQ:

http://www.gnu.org/licenses/gpl-faq.html#IfLibraryIsGPL
"If a library is released under the GPL (not the LGPL), does that mean that any program which uses it has to be under the GPL or a GPL-compatible license?

    Yes, because the program as it is actually run includes the library."

Key being here "GPL-compatible license". And LGPL is such a license, as shown here: http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses


- Eduardo


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1967/#review2816
-----------------------------------------------------------


On 2009-10-24 23:48:22, Eduardo Robles Elvira wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1967/
> -----------------------------------------------------------
> 
> (Updated 2009-10-24 23:48:22)
> 
> 
> Review request for KDE PIM.
> 
> 
> Summary
> -------
> 
> Currently libkleo is not being used by any application outside kdepim, but I'm working in a project which involves using libkleo in konqueror/khtml, which means I need to link to it from outside kdepim. 
> 
> This patch adds a KleoConfig.cmake file that will let anyone use find_package(Kleo REQUIRED) in any other KDE4 application to be able to easily find and use libkleo.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdepim/libkleo/CMakeLists.txt 1034981 
>   /trunk/KDE/kdepim/libkleo/KleoConfig.cmake.in PRE-CREATION 
> 
> Diff: http://reviewboard.kde.org/r/1967/diff
> 
> 
> Testing
> -------
> 
> So far I've tested it locally and it works as expected, I can find Libkleo, include its headers and link to the library itself.
> 
> 
> Thanks,
> 
> Eduardo
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list