changes to how kdepimlibs and kdebase/workspace are installed and found

Alexander Neundorf neundorf at kde.org
Tue Dec 9 00:42:14 GMT 2008


Hi,

if you are working on a module which uses kdepimlibs, please update both 
kdelibs/cmake/modules/ and kdepimlibs/

If you are working on a module which uses some stuff from kdebase/workspace 
(i.e. kdeotys, kdeartwork, kdeplasma-addons), please update both kdelibs and 
kdebase.

For both cases this should be really the last time, since now all the 
information for using these modules is provided by the respective module, and 
the FindKdepimLibs.cmake/FindKDE4Workspace.cmake is *very* simple now and 
loads only a file created and installed by that module (i.e. 
KdepimLibsConfig.cmake/KDE4WorkspaceConfig.cmake).
This file contains settings like the install directories and libraries of that 
module, so they are available to other modules.

In case kdepimlibs or kdeworkspace is not found (i.e if cmake complains e.g. 
about KdepimLibs_DIR), two things
-set the environment variable CMAKE_PREFIX_PATH so that it points also to the 
install prefix of kdepimlibs/kdebase
-try starting with a fresh build dir

You can find more information in kdepimlibs/CMakeLists.txt and 
kdebase/workspace/CMakeLists.txt.

I'm sorry for the inconvenience, but I hope with this change such chained 
updates won't be necessary any more.

Alex



More information about the kde-core-devel mailing list