Blame SOURCES/kdepim-4.10-rhel.patch

3bf4d8
diff --git a/CMakeLists.txt b/CMakeLists.txt
3bf4d8
index 7125773..8836e3f 100644
3bf4d8
--- a/CMakeLists.txt
3bf4d8
+++ b/CMakeLists.txt
3bf4d8
@@ -12,7 +12,7 @@ option(KDEPIM_MOBILE_UI "Build UI for mobile devices instead of for desktops" FA
99d844
 option(KDEPIM_ONLY_KLEO "Only build Kleopatra. This option will build only libkleo and kleopatra" FALSE)
99d844
 option(KDEPIM_BUILD_STATIC "Build KDEPIM static." FALSE)
99d844
 option(KDEPIM_BUILD_DESKTOP "Build Desktop Applications. Can be deactivated for mobile" TRUE)
99d844
-option(KDEPIM_NO_WEBKIT "Do not use WebKit in the kdepim applications" FALSE)
99d844
+option(KDEPIM_NO_WEBKIT "Do not use WebKit in the kdepim applications" TRUE)
3bf4d8
99d844
 if(KDEPIM_BUILD_STATIC)
99d844
   set(LIBRARY_TYPE STATIC)
99d844
@@ -309,7 +309,6 @@ else()
99d844
     # move to runtime this can be avoided
99d844
     add_subdirectory(runtime)
99d844
   endif()
99d844
-  add_subdirectory(templateparser)
3bf4d8
99d844
   if(QGPGME_FOUND)
99d844
     if(Boost_TOPOLOGICAL_SORT_DIR)
99d844
@@ -317,14 +316,10 @@ else()
99d844
     endif()
99d844
   endif()
3bf4d8
99d844
-  # The following components depend on QGpgME.
99d844
-  set(MESSAGEVIEWER_SUPPORTED TRUE)
99d844
-  add_subdirectory(messageviewer)
99d844
-  macro_optional_add_subdirectory(messagecomposer)
99d844
   add_subdirectory(pimcommon)
99d844
-  add_subdirectory(mailcommon) # TODO: does this make sense?!?
99d844
-  add_subdirectory(mailfilteragent)
99d844
-  macro_optional_add_subdirectory(kmail)
99d844
+
99d844
+  # The following components depend on QGpgME.
99d844
+  set(MESSAGEVIEWER_SUPPORTED FALSE)
3bf4d8
99d844
   if(KDEPIM_BUILD_MOBILE)
99d844
     add_subdirectory(mobile)
3bf4d8
@@ -334,50 +329,24 @@ else()
99d844
     add_subdirectory(examples)
99d844
   endif()
3bf4d8
99d844
-  # If kmail is compiled, KMAIL_SUPPORTED is true (used in several places)
99d844
-  if(BUILD_kmail)
99d844
-    set(KMAIL_SUPPORTED TRUE)
99d844
-    add_definitions(-DKMAIL_SUPPORTED)
99d844
-  endif()
99d844
+  set(BUILD_kmail FALSE)
99d844
+  set(KMAIL_SUPPORTED FALSE)
99d844
+  set(BUILD_knode FALSE)
3bf4d8
99d844
   macro_optional_add_subdirectory(korganizer)
99d844
   if(KDEPIM_BUILD_DESKTOP)
99d844
     macro_optional_add_subdirectory(akregator)
99d844
-    macro_optional_add_subdirectory(archivemailagent)
99d844
-    macro_optional_add_subdirectory(importwizard)
3bf4d8
     macro_optional_add_subdirectory(kaddressbook)
99d844
-    macro_optional_add_subdirectory(kmailcvt)
99d844
     macro_optional_add_subdirectory(knotes)
99d844
-    macro_optional_add_subdirectory(ksendemail)
99d844
-    macro_optional_add_subdirectory(ktnef)
99d844
-    macro_optional_add_subdirectory(mailimporter)
99d844
-    macro_optional_add_subdirectory(pimsettingexporter)
3bf4d8
     macro_optional_add_subdirectory(kalarm)
99d844
-
99d844
-    if(KDEPIMLIBS_KCAL_LIBRARY)
99d844
-      macro_optional_add_subdirectory(blogilo)
99d844
-    endif()
99d844
-
99d844
-    if(Grantlee_FOUND)
99d844
-      macro_optional_add_subdirectory(kjots)
99d844
-    endif()
99d844
-
99d844
     if(KDEPIMLIBS_KRESOURCES_LIBRARY)
99d844
-      if(QT_QT3SUPPORT_FOUND)
99d844
-        macro_optional_add_subdirectory(knode)
99d844
-      endif()
99d844
-
99d844
       if(Q_WS_X11)
99d844
         macro_optional_add_subdirectory(ktimetracker)
99d844
       endif()
99d844
-
99d844
     endif()
99d844
-    macro_optional_add_subdirectory(kontact) # must be the last one.
99d844
   endif()
3bf4d8
99d844
-  macro_optional_add_subdirectory(akonadiconsole)
99d844
   macro_optional_add_subdirectory(console)
99d844
-  macro_optional_add_subdirectory(strigi-analyzer)
3bf4d8
99d844
   # These targets depend on optional applications
99d844
   if(KDEPIMLIBS_KRESOURCES_LIBRARY)