[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [PATCH] Some cmake hacks
From:       Szombathelyi "György" <gyurco () freemail ! hu>
Date:       2006-03-19 22:19:46
Message-ID: 200603192319.47051.gyurco () freemail ! hu
[Download RAW message or body]

Hi!

I played a bit with cmake in kdebase and finally got the thing compiled. I 
needed the attached patch to compile without an already installed kdebase, 
and for linking the redmond ksplash theme. Also I had problems with 
some .kcfg files, but I the solution I used was not a clean hack, so the 
patch doesn't contain these.

Bye,
György

____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol
Probald ki most! http://www.freestart.hu


["cmake.diff" (text/x-diff)]

Index: konqueror/settings/konq/CMakeLists.txt
===================================================================
--- konqueror/settings/konq/CMakeLists.txt	(revision 520409)
+++ konqueror/settings/konq/CMakeLists.txt	(working copy)
@@ -1,6 +1,6 @@
 kde4_header()
 
-include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} \
${CMAKE_CURRENT_BINARY_DIR}  ) +include_directories( ${CMAKE_SOURCE_DIR}/libkonq \
${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} \
${CMAKE_CURRENT_BINARY_DIR}  )  
 
 ########### next target ###############
Index: konqueror/settings/konqhtml/CMakeLists.txt
===================================================================
--- konqueror/settings/konqhtml/CMakeLists.txt	(revision 520409)
+++ konqueror/settings/konqhtml/CMakeLists.txt	(working copy)
@@ -1,6 +1,6 @@
 kde4_header()
 
-include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} \
${CMAKE_CURRENT_BINARY_DIR}  ) +include_directories( ${CMAKE_SOURCE_DIR}/libkonq \
${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} \
${CMAKE_CURRENT_BINARY_DIR}  )  
 
 ########### next target ###############
Index: workspace/kcontrol/background/CMakeLists.txt
===================================================================
--- workspace/kcontrol/background/CMakeLists.txt	(revision 520409)
+++ workspace/kcontrol/background/CMakeLists.txt	(working copy)
@@ -2,7 +2,7 @@
 
 add_subdirectory( pics ) 
 
-include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} \
${CMAKE_CURRENT_BINARY_DIR}  ) +include_directories( ${CMAKE_SOURCE_DIR}/libkonq \
${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} \
${CMAKE_CURRENT_BINARY_DIR}  )  
 
 ########### next target ###############
Index: workspace/kcontrol/kdm/CMakeLists.txt
===================================================================
--- workspace/kcontrol/kdm/CMakeLists.txt	(revision 520409)
+++ workspace/kcontrol/kdm/CMakeLists.txt	(working copy)
@@ -1,6 +1,6 @@
 kde4_header()
 
-include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} \
${CMAKE_CURRENT_BINARY_DIR}  ) +include_directories( ${CMAKE_SOURCE_DIR}/libkonq \
${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} \
${CMAKE_CURRENT_BINARY_DIR}  )  
 
 ########### next target ###############
Index: ksplashml/themeengine/redmond/CMakeLists.txt
===================================================================
--- ksplashml/themeengine/redmond/CMakeLists.txt	(revision 520409)
+++ ksplashml/themeengine/redmond/CMakeLists.txt	(working copy)
@@ -15,7 +15,7 @@
 
 kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} ksplashredmond )
 
-target_link_libraries(ksplashredmond  ${LIB_KDEUI} kdefx)
+target_link_libraries(ksplashredmond  ${LIB_KDEUI} ${LIB_KIO} kdefx ksplashthemes )
 
 install_targets(${LIB_INSTALL_DIR}/kde4 ksplashredmond )
 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic