[Kde-pim] Fwd: KDE

Alexander Neundorf neundorf at kde.org
Tue Dec 2 09:10:05 GMT 2008


----------  Forwarded Message  ----------

Subject: KDE
Date: Tuesday 02 December 2008
From: Alexander Neundorf <neundorf at kde.org>
To: kde-commits at kde.org

SVN commit 891439 by neundorf:

big patch which makes the reduced link interface work for kdepimlibs and 
kdepim:

* Use target_link_libraries(... LINK_INTERFACE_LIBRARIES ...) to define 
the "link interface" of the libs in kdepimlibs.
To enable this, set the option KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT to on 
using "make edit_cache". Then
apps linking to libraries will only link to the library itself and to the 
libraries specified using
LINK_INTERFACE_LIBRARIES. This gives less dependencies for packagers, after 
startup and I think there were more advantages.

* To make this work, export_library_dependencies() may not be used anymore, 
but instead the library targets have 
to be "exported", so they can be imported again later by other projects and 
this way bring their link interface with them.
So now all library targets from kdepimlibs are exported in the set 
kdepimlibsLibraryTargets. 

* To be able to give the developer some useful error message, 
KdepimLibsDependencies.cmake now errors out
and tells the developer to update kdelibs, and the install location 
information is now in KdepimLibsInformation.cmake,
which tells the developer to update kdepimlibs if it's not recent enough.

So: you need now an up-to-date version of kdepimlibs and kdesupport !
If that's not acceptable let me know and I'll add some workaround.

* Search the xsl file in the install location of the already installed 
kdelibs, not in the current install location, which may be in a completely 
different place.

* Use the correct install location (KDEPIMLIBS_INSTALL_DIR) in 
KdepimLibsInformation.cmake instead of KDE4_INSTALL_DIR, which is the one for 
kdelibs, but not for kdepimlibs.

* more minor things I don't remember right now

* Do you actually have a version number for kdepimlibs ? It would be easy to 
add via KdepimLibsInformation.cmake

Alex


CCMAIL: kdepim at kde.org
CCMAIL: winter at kde.org



 M  +63 -57    kdelibs/cmake/modules/FindKdepimLibs.cmake  
 M  +4 -4      kdepim/CMakeLists.txt  
 M  +2 -2      kdepim/akonadi/CMakeLists.txt  
 M  +3 -2      kdepim/akonadi/kabc/CMakeLists.txt  
 M  +1 -1      kdepim/akonadi/kcal/CMakeLists.txt  
 M  +3 -3      kdepim/akregator/src/CMakeLists.txt  
 M  +3 -0      kdepim/kaddressbook/CMakeLists.txt  
 M  +0 -2      kdepim/kaddressbook/xxport/CMakeLists.txt  
 M  +1 -1      kdepim/kalarm/resources/CMakeLists.txt  
 M  +10 -1     kdepim/kmail/CMakeLists.txt  
 M  +2 -1      kdepim/knode/CMakeLists.txt  
 M  +2 -2      kdepim/kode/common/CMakeLists.txt  
 M  +2 -2      kdepim/kode/kxml_compiler/CMakeLists.txt  
 M  +2 -2      kdepim/kode/schema/CMakeLists.txt  
 M  +3 -1      kdepim/kpilot/lib/CMakeLists.txt  
 M  +1 -1      kdepim/kresources/akonadi/kcal/CMakeLists.txt  
 M  +1 -1      kdepim/kresources/lib/CMakeLists.txt  
 M  +1 -1      kdepim/kresources/scalix/kcal/CMakeLists.txt  
 M  +2 -1      kdepim/libkdepim/CMakeLists.txt  
 M  +33 -23    kdepimlibs/CMakeLists.txt  
 M  +4 -1      kdepimlibs/akonadi/CMakeLists.txt  
 M  +1 -1      kdepimlibs/akonadi/kabc/CMakeLists.txt  
 M  +1 -1      kdepimlibs/akonadi/kmime/CMakeLists.txt  
 M  +5 -5      kdepimlibs/gpgme++/CMakeLists.txt  
 M  +2 -1      kdepimlibs/kabc/CMakeLists.txt  
 M  +1 -1      kdepimlibs/kabc/plugins/file/CMakeLists.txt  
 M  +1 -1      kdepimlibs/kblog/CMakeLists.txt  
 M  +2 -1      kdepimlibs/kcal/CMakeLists.txt  
 M  +1 -1      kdepimlibs/kimap/CMakeLists.txt  
 M  +1 -1      kdepimlibs/kldap/CMakeLists.txt  
 M  +1 -1      kdepimlibs/kmime/CMakeLists.txt  
 M  +1 -1      kdepimlibs/kpimidentities/CMakeLists.txt  
 M  +1 -1      kdepimlibs/kpimutils/CMakeLists.txt  
 M  +1 -1      kdepimlibs/kresources/CMakeLists.txt  
 M  +1 -1      kdepimlibs/ktnef/CMakeLists.txt  
 M  +1 -1      kdepimlibs/kxmlrpcclient/CMakeLists.txt  
 M  +1 -1      kdepimlibs/mailtransport/CMakeLists.txt  
 M  +1 -1      kdepimlibs/qgpgme/CMakeLists.txt  
 M  +1 -1      kdepimlibs/syndication/CMakeLists.txt  


-------------------------------------------------------
_______________________________________________
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