summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt129
-rw-r--r--ConfigureChecks.cmake63
-rw-r--r--akregator/CMakeLists.txt12
-rw-r--r--akregator/src/CMakeLists.txt122
-rw-r--r--akregator/src/about/CMakeLists.txt14
-rw-r--r--akregator/src/librss/CMakeLists.txt26
-rw-r--r--akregator/src/mk4storage/CMakeLists.txt43
-rw-r--r--akregator/src/mk4storage/metakit/CMakeLists.txt12
-rw-r--r--akregator/src/mk4storage/metakit/src/CMakeLists.txt27
-rw-r--r--akregator/src/pics/CMakeLists.txt16
-rw-r--r--certmanager/CMakeLists.txt57
-rw-r--r--certmanager/ConfigureChecks.cmake22
-rw-r--r--certmanager/conf/CMakeLists.txt55
-rw-r--r--certmanager/kwatchgnupg/CMakeLists.txt47
-rw-r--r--certmanager/lib/CMakeLists.txt52
-rw-r--r--certmanager/lib/backends/CMakeLists.txt13
-rw-r--r--certmanager/lib/backends/chiasmus/CMakeLists.txt33
-rw-r--r--certmanager/lib/backends/chiasmus/ConfigureChecks.cmake15
-rw-r--r--certmanager/lib/backends/qgpgme/CMakeLists.txt38
-rw-r--r--certmanager/lib/kleo/CMakeLists.txt48
-rw-r--r--certmanager/lib/pics/CMakeLists.txt16
-rw-r--r--certmanager/lib/ui/CMakeLists.txt46
-rw-r--r--config.h.cmake46
-rw-r--r--kaddressbook/CMakeLists.txt109
-rw-r--r--kaddressbook/common/CMakeLists.txt26
-rw-r--r--kaddressbook/csv-templates/CMakeLists.txt14
-rw-r--r--kaddressbook/editors/CMakeLists.txt51
-rw-r--r--kaddressbook/editors/icons/CMakeLists.txt12
-rw-r--r--kaddressbook/editors/protocols/CMakeLists.txt17
-rw-r--r--kaddressbook/features/CMakeLists.txt59
-rw-r--r--kaddressbook/interfaces/CMakeLists.txt50
-rw-r--r--kaddressbook/kcmconfigs/CMakeLists.txt61
-rw-r--r--kaddressbook/pics/CMakeLists.txt13
-rw-r--r--kaddressbook/printing/CMakeLists.txt31
-rw-r--r--kaddressbook/thumbnailcreator/CMakeLists.txt33
-rw-r--r--kaddressbook/views/CMakeLists.txt65
-rw-r--r--kaddressbook/xxport/CMakeLists.txt132
-rw-r--r--kaddressbook/xxport/ConfigureChecks.cmake18
-rw-r--r--kalarm/CMakeLists.txt77
-rw-r--r--kalarm/kalarmd/CMakeLists.txt46
-rw-r--r--kalarm/lib/CMakeLists.txt32
-rw-r--r--kalarm/pixmaps/CMakeLists.txt12
-rw-r--r--kioslaves/CMakeLists.txt16
-rw-r--r--kioslaves/ConfigureChecks.cmake22
-rw-r--r--kioslaves/imap4/CMakeLists.txt44
-rw-r--r--kioslaves/mbox/CMakeLists.txt36
-rw-r--r--kioslaves/sieve/CMakeLists.txt35
-rw-r--r--kmail/CMakeLists.txt225
-rw-r--r--kmail/ConfigureChecks.cmake23
-rw-r--r--kmail/about/CMakeLists.txt14
-rw-r--r--kmail/avscripts/CMakeLists.txt14
-rw-r--r--kmail/interfaces/CMakeLists.txt15
-rw-r--r--kmail/pics/CMakeLists.txt30
-rw-r--r--kmail/pics/icons/CMakeLists.txt12
-rw-r--r--kmail/profiles/CMakeLists.txt18
-rw-r--r--ktnef/CMakeLists.txt19
-rw-r--r--ktnef/ConfigureChecks.cmake17
-rw-r--r--ktnef/gui/CMakeLists.txt43
-rw-r--r--ktnef/gui/pics/CMakeLists.txt13
-rw-r--r--ktnef/ktnef/CMakeLists.txt16
-rw-r--r--ktnef/lib/CMakeLists.txt35
-rw-r--r--libemailfunctions/CMakeLists.txt38
-rw-r--r--libkcal/CMakeLists.txt92
-rw-r--r--libkcal/ConfigureChecks.cmake15
-rw-r--r--libkcal/versit/CMakeLists.txt14
-rw-r--r--libkdenetwork/CMakeLists.txt20
-rw-r--r--libkdenetwork/gpgmepp/CMakeLists.txt54
-rw-r--r--libkdenetwork/gpgmepp/interfaces/CMakeLists.txt14
-rw-r--r--libkdenetwork/qgpgme/CMakeLists.txt41
-rw-r--r--libkdepim/CMakeLists.txt108
-rw-r--r--libkdepim/ConfigureChecks.cmake10
-rw-r--r--libkdepim/about/CMakeLists.txt19
-rw-r--r--libkdepim/icons/CMakeLists.txt12
-rw-r--r--libkdepim/kpartsdesignerplugin/CMakeLists.txt32
-rw-r--r--libkdepim/pics/CMakeLists.txt15
-rw-r--r--libkmime/CMakeLists.txt48
-rw-r--r--libkmime/ConfigureChecks.cmake1
-rw-r--r--libkpgp/CMakeLists.txt47
-rw-r--r--libkpgp/pics/CMakeLists.txt18
-rw-r--r--libkpimidentities/CMakeLists.txt47
-rw-r--r--libkpimidentities/ConfigureChecks.cmake11
-rw-r--r--libksieve/CMakeLists.txt39
-rw-r--r--libksieve/ksieve/CMakeLists.txt14
-rw-r--r--libksieve/parser/CMakeLists.txt25
-rw-r--r--libksieve/shared/CMakeLists.txt25
-rw-r--r--mimelib/CMakeLists.txt46
-rw-r--r--mimelib/mimelib/CMakeLists.txt19
87 files changed, 3281 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 000000000..d91a16b53
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,129 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+cmake_minimum_required( VERSION 2.6 )
+
+
+##### general package setup #####################
+
+project( kdepim )
+set( PACKAGE kdepim )
+set( VERSION "3.5.13" )
+
+
+##### include essential cmake modules ###########
+
+include( FindPkgConfig )
+include( CheckIncludeFile )
+include( CheckTypeSize )
+# include( CheckCSourceRuns )
+include( CheckCSourceCompiles )
+include( CheckCXXSourceCompiles )
+include( CheckLibraryExists )
+# include( CheckFunctionExists )
+# include( CheckStructHasMember )
+
+
+##### include our cmake modules #################
+
+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
+include( TDEMacros )
+
+
+##### setup install paths #######################
+
+include( TDESetupPaths )
+tde_setup_paths( )
+
+
+##### optional stuff ############################
+
+option( WITH_ARTS "Enable aRts support" OFF )
+# option( WITH_LDAP "Enable LDAP support" OFF )
+option( WITH_SASL "Enable cyrus-sasl support" OFF )
+option( WITH_NEWDISTRLISTS "Enable the new distribution lists" ON )
+option( WITH_GNOKII "Enable gnokii support" OFF )
+
+if( NOT WITH_ARTS )
+ set( WITHOUT_ARTS 1 )
+endif( )
+
+if( WITH_NEWDISTRLISTS )
+ set( KDEPIM_NEW_DISTRLISTS 1 )
+endif( )
+
+
+##### user requested modules ####################
+
+option( BUILD_ALL "Build all" OFF )
+option( BUILD_LIBKMIME "Build libkmime" ${BUILD_ALL} )
+option( BUILD_KTNEF "Build ktnef" ${BUILD_ALL} )
+option( BUILD_LIBKCAL "Build libkcal" ${BUILD_ALL} )
+option( BUILD_LIBKDEPIM "Build libkdepim" ${BUILD_ALL} )
+option( BUILD_LIBKPIMIDENTITIES "Build libkpimidentities" ${BUILD_ALL} )
+option( BUILD_LIBKDENETWORK "Build libkdenetwork" ${BUILD_ALL} )
+option( BUILD_CERTMANAGER "Build certmanager" ${BUILD_ALL} )
+option( BUILD_LIBKPGP "Build libkpgp" ${BUILD_ALL} )
+option( BUILD_MIMELIB "Build mimelib" ${BUILD_ALL} )
+option( BUILD_LIBKSIEVE "Build libksieve" ${BUILD_ALL} )
+option( BUILD_KIOSLAVES "Build kioslaves" ${BUILD_ALL} )
+option( BUILD_KMAIL "Build kmail" ${BUILD_ALL} )
+option( BUILD_AKREGATOR "Build akregator" ${BUILD_ALL} )
+option( BUILD_KALARM "Build kalarm" ${BUILD_ALL} )
+option( BUILD_KADDRESSBOOK "Build kaddressbook" ${BUILD_ALL} )
+
+
+##### configure checks ##########################
+
+include( ConfigureChecks.cmake )
+
+
+###### global compiler settings #################
+
+add_definitions(
+ -DHAVE_CONFIG_H
+ ${TQT_CFLAGS_OTHER}
+)
+
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include tqt.h" )
+set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
+set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
+
+
+##### activate dependencies #####################
+
+if( BUILD_LIBKCAL OR BUILD_LIBKDEPIM OR BUILD_LIBKPIMIDENTITIES OR BUILD_KIOSLAVES OR BUILD_KMAIL )
+ add_subdirectory( libemailfunctions )
+endif()
+
+
+##### kdepim directories ########################
+
+tde_conditional_add_subdirectory( BUILD_LIBKMIME libkmime )
+tde_conditional_add_subdirectory( BUILD_KTNEF ktnef )
+tde_conditional_add_subdirectory( BUILD_LIBKCAL libkcal )
+tde_conditional_add_subdirectory( BUILD_LIBKDEPIM libkdepim )
+tde_conditional_add_subdirectory( BUILD_LIBKPIMIDENTITIES libkpimidentities )
+tde_conditional_add_subdirectory( BUILD_LIBKDENETWORK libkdenetwork )
+tde_conditional_add_subdirectory( BUILD_CERTMANAGER certmanager )
+tde_conditional_add_subdirectory( BUILD_LIBKPGP libkpgp )
+tde_conditional_add_subdirectory( BUILD_MIMELIB mimelib )
+tde_conditional_add_subdirectory( BUILD_LIBKSIEVE libksieve )
+tde_conditional_add_subdirectory( BUILD_KIOSLAVES kioslaves )
+tde_conditional_add_subdirectory( BUILD_KMAIL kmail )
+tde_conditional_add_subdirectory( BUILD_AKREGATOR akregator )
+tde_conditional_add_subdirectory( BUILD_KALARM kalarm )
+tde_conditional_add_subdirectory( BUILD_KADDRESSBOOK kaddressbook )
+
+
+##### write configure files #####################
+
+configure_file( config.h.cmake config.h @ONLY )
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 000000000..047111149
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,63 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+if( BUILD_LIBKDEPIM OR BUILD_KMAIL )
+ option( KDEPIM_NEW_DISTRLISTS "Define if you want to use the new distribution lists" ON )
+endif( )
+
+
+if( BUILD_LIBKDENETWORK OR BUILD_CERTMANAGER OR BUILD_KMAIL OR BUILD_KADDRESSBOOK )
+
+ if( NOT HAVE_GPGME_0_4_BRANCH )
+ message( STATUS "checking for 'gpgme'" )
+ endif( )
+
+ # find gpgme-config
+ find_program( GPGME_EXECUTABLE NAMES gpgme-config )
+ if( NOT GPGME_EXECUTABLE )
+ tde_message_fatal( "gpgme-config are NOT found.\n gpgme library are installed?" )
+ endif( )
+
+ macro( __run_gpgme_config __type __var )
+ execute_process(
+ COMMAND ${GPGME_EXECUTABLE} --${__type}
+ OUTPUT_VARIABLE ${__var}
+ RESULT_VARIABLE __result
+ OUTPUT_STRIP_TRAILING_WHITESPACE )
+ if( _result )
+ tde_message_fatal( "Unable to run ${GPGME_EXECUTABLE}!\n gpgme library are correctly installed?\n Path to gpgme-config are corect?" )
+ endif( )
+ endmacro( )
+
+ __run_gpgme_config( version GPGME_VERSION )
+ __run_gpgme_config( cflags GPGME_INCLUDE_DIRS )
+ __run_gpgme_config( libs GPGME_LIBRARIES )
+
+ # cleanup
+ string( REGEX REPLACE "(^| )-I" ";" GPGME_INCLUDE_DIRS ${GPGME_INCLUDE_DIRS} )
+ string( REGEX REPLACE "(^| )-l" ";" GPGME_LIBRARIES ${GPGME_LIBRARIES} )
+
+ # assuming that all newer system have gpgme >= 0.4
+ set( HAVE_GPGME_0_4_BRANCH 1 CACHE INTERNAL "" )
+
+ # NOTE: assume we have largefile support (need for gpgme)
+ # FIXME: to be sure, we must check it
+ add_definitions( -D_FILE_OFFSET_BITS=64 )
+
+ if( NOT HAVE_GPGME_0_4_BRANCH )
+ message( STATUS " found 'gpgme', version ${GPGME_VERSION}" )
+ endif( )
+endif( )
+
+# required stuff
+find_package( Qt )
+find_package( TQt )
+find_package( TDE )
diff --git a/akregator/CMakeLists.txt b/akregator/CMakeLists.txt
new file mode 100644
index 000000000..7356f2217
--- /dev/null
+++ b/akregator/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( src )
diff --git a/akregator/src/CMakeLists.txt b/akregator/src/CMakeLists.txt
new file mode 100644
index 000000000..f039f3769
--- /dev/null
+++ b/akregator/src/CMakeLists.txt
@@ -0,0 +1,122 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkmime)
+tde_import( ktnef )
+tde_import( libkcal )
+tde_import( libkdepim )
+
+add_subdirectory( librss )
+add_subdirectory( about )
+add_subdirectory( mk4storage )
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ plugin.h articleinterceptor.h akregator_export.h storage.h
+ feedstorage.h storagefactory.h storagefactoryregistry.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/akregator )
+
+
+##### other data ################################
+
+tde_install_icons( )
+
+install( FILES
+ akregator.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ akregator.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR} )
+
+install( FILES
+ akregator_part.desktop feed.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+install( FILES
+ akregator_plugin.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+install( FILES
+ akregator_shell.rc articleviewer.rc eventsrc
+ pageviewer.rc akregator_part.rc
+ DESTINATION ${DATA_INSTALL_DIR}/akregator )
+
+
+##### akregatorprivate (shared) #################
+
+tde_add_library( akregatorprivate SHARED AUTOMOC
+ SOURCES
+ aboutdata.cpp akregatorconfig.kcfgc article.cpp
+ articlefilter.cpp articleinterceptor.cpp dragobjects.cpp
+ feed.cpp feediconmanager.cpp feediconmanager.skel
+ feedlist.cpp feedstoragedummyimpl.cpp fetchqueue.cpp
+ folder.cpp nodelist.cpp plugin.cpp pluginmanager.cpp
+ simplenodeselector.cpp storage.cpp storagedummyimpl.cpp
+ storagefactorydummyimpl.cpp storagefactoryregistry.cpp
+ tag.cpp tagfolder.cpp tagnode.cpp tagnodelist.cpp
+ tagset.cpp trayicon.cpp treenode.cpp treenodevisitor.cpp
+ utils.cpp
+ VERSION 0.0.0
+ LINK rsslocal-static kio-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### akregator (executable) ####################
+
+tde_add_executable( akregator AUTOMOC
+ SOURCES main.cpp mainwindow.cpp
+ LINK akregatorprivate-shared kdepim-shared kparts-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### libakregatorpart (module) #################
+
+tde_add_kpart( libakregatorpart AUTOMOC
+ SOURCES
+ actionmanager.cpp actionmanagerimpl.cpp
+ addfeeddialog.cpp addfeedwidgetbase.ui
+ akregator_part.cpp akregator_partiface.skel
+ akregator_run.cpp akregator_view.cpp articlelistview.cpp
+ articleviewer.cpp configdialog.cpp feeditem.cpp
+ feedlistview.cpp folderitem.cpp frame.cpp kernel.cpp
+ notificationmanager.cpp pageviewer.cpp progressmanager.cpp
+ propertiesdialog.cpp propertieswidgetbase.ui searchbar.cpp
+ settings_advancedbase.ui settings_advanced.cpp
+ settings_appearance.ui settings_archive.ui
+ settings_browser.ui settings_general.ui speechclient.cpp
+ tabwidget.cpp tagaction.cpp tagfolderitem.cpp
+ tagnodeitem.cpp tagpropertiesdialog.cpp
+ tagpropertieswidgetbase.ui treenodeitem.cpp
+ viewer.cpp ${TDE_INCLUDE_DIR}/kspeechsink.skel
+ ${TDE_INCLUDE_DIR}/kspeech.stub listtabwidget.cpp
+ LINK akregatorprivate-shared kdepim-shared khtml-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/akregator/src/about/CMakeLists.txt b/akregator/src/about/CMakeLists.txt
new file mode 100644
index 000000000..6bd6bdf81
--- /dev/null
+++ b/akregator/src/about/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ top-right-akregator.png main.html akregator.css
+ DESTINATION ${DATA_INSTALL_DIR}/akregator/about )
diff --git a/akregator/src/librss/CMakeLists.txt b/akregator/src/librss/CMakeLists.txt
new file mode 100644
index 000000000..79e3b560a
--- /dev/null
+++ b/akregator/src/librss/CMakeLists.txt
@@ -0,0 +1,26 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### rsslocal (static) #########################
+
+tde_add_library( rsslocal STATIC_PIC AUTOMOC
+ SOURCES
+ article.cpp document.cpp image.cpp textinput.cpp
+ tools_p.cpp loader.cpp enclosure.cpp category.cpp
+ feeddetector.cpp
+)
diff --git a/akregator/src/mk4storage/CMakeLists.txt b/akregator/src/mk4storage/CMakeLists.txt
new file mode 100644
index 000000000..01795d996
--- /dev/null
+++ b/akregator/src/mk4storage/CMakeLists.txt
@@ -0,0 +1,43 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( metakit )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/akregator/src
+ ${CMAKE_SOURCE_DIR}/akregator/src/mk4storage/metakit/include
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES akregator_mk4storage_plugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES mk4config.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### libakregator_mk4storage_plugin (module) ##
+
+tde_add_kpart( libakregator_mk4storage_plugin AUTOMOC
+ SOURCES
+ feedstoragemk4impl.cpp mk4plugin.cpp storagemk4impl.cpp
+ storagefactorymk4impl.cpp
+ LINK
+ rsslocal-static metakitlocal-static
+ akregatorprivate-shared kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/akregator/src/mk4storage/metakit/CMakeLists.txt b/akregator/src/mk4storage/metakit/CMakeLists.txt
new file mode 100644
index 000000000..7356f2217
--- /dev/null
+++ b/akregator/src/mk4storage/metakit/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( src )
diff --git a/akregator/src/mk4storage/metakit/src/CMakeLists.txt b/akregator/src/mk4storage/metakit/src/CMakeLists.txt
new file mode 100644
index 000000000..dd5a9abde
--- /dev/null
+++ b/akregator/src/mk4storage/metakit/src/CMakeLists.txt
@@ -0,0 +1,27 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}/../include
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### metakitlocal (static) #####################
+
+tde_add_library( metakitlocal STATIC_PIC
+ SOURCES
+ column.cpp custom.cpp derived.cpp field.cpp fileio.cpp
+ format.cpp handler.cpp persist.cpp remap.cpp std.cpp
+ store.cpp string.cpp table.cpp univ.cpp view.cpp viewx.cpp
+)
diff --git a/akregator/src/pics/CMakeLists.txt b/akregator/src/pics/CMakeLists.txt
new file mode 100644
index 000000000..fd2c9a866
--- /dev/null
+++ b/akregator/src/pics/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( )
+
+install( FILES
+ akregator_flag.png kmmsgflag.png kmmsgnew.png kmmsgunseen.png
+ DESTINATION ${DATA_INSTALL_DIR}/akregator/pics )
diff --git a/certmanager/CMakeLists.txt b/certmanager/CMakeLists.txt
new file mode 100644
index 000000000..e6f00d9da
--- /dev/null
+++ b/certmanager/CMakeLists.txt
@@ -0,0 +1,57 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( certmanager )
+
+include( ConfigureChecks.cmake )
+
+tde_import( libkdenetwork )
+
+add_subdirectory( lib )
+add_subdirectory( conf )
+add_subdirectory( kwatchgnupg )
+
+add_definitions( -DLIBKLEOPATRA_NO_COMPAT )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/lib
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kleopatra_import.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kleopatraui.rc DESTINATION ${XDG_APPS_INSTALL_DIR}/kleopatra )
+
+
+##### kleopatra (executable) ####################
+
+tde_add_executable( kleopatra AUTOMOC
+ SOURCES
+ customactions.cpp aboutdata.cpp main.cpp certmanager.cpp
+ hierarchyanalyser.cpp certificatewizard.ui certificatewizardimpl.cpp
+ certificateinfowidget.ui certificateinfowidgetimpl.cpp
+ crlview.cpp storedtransferjob.cpp certlistview.cpp
+ LINK conf-static kleopatra-shared kutils-shared kabc-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+tde_install_export( )
diff --git a/certmanager/ConfigureChecks.cmake b/certmanager/ConfigureChecks.cmake
new file mode 100644
index 000000000..fc51483e8
--- /dev/null
+++ b/certmanager/ConfigureChecks.cmake
@@ -0,0 +1,22 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# get MAX_CMD_LENGTH
+execute_process(
+ COMMAND getconf ARG_MAX
+ OUTPUT_VARIABLE MAX_CMD_LENGTH
+ RESULT_VARIABLE _result
+ OUTPUT_STRIP_TRAILING_WHITESPACE )
+if( _result )
+ tde_message_fatal( "Unable to run getconf!\n MAX_CMD_LENGTH cannot be determined." )
+endif()
+math( EXPR MAX_CMD_LENGTH "(${MAX_CMD_LENGTH} / 4) * 3" )
+set( MAX_CMD_LENGTH ${MAX_CMD_LENGTH} CACHE INTERNAL "" FORCE )
diff --git a/certmanager/conf/CMakeLists.txt b/certmanager/conf/CMakeLists.txt
new file mode 100644
index 000000000..7b756d3a2
--- /dev/null
+++ b/certmanager/conf/CMakeLists.txt
@@ -0,0 +1,55 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -DLIBKLEOPATRA_NO_COMPAT )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/certmanager/lib/ui
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${CMAKE_SOURCE_DIR}/certmanager/lib/ui
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ kleopatra_config_dirserv.desktop
+ kleopatra_config_appear.desktop
+ kleopatra_config_dnorder.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kcm_kleopatra (module) ####################
+
+tde_add_kpart( kcm_kleopatra AUTOMOC
+ SOURCES
+ dirservconfigpage.cpp appearanceconfigpage.cpp
+ appearanceconfigwidgetbase.ui dnorderconfigpage.cpp
+ appearanceconfigwidget.cpp
+ LINK kleopatra-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### conf (static) #############################
+
+tde_add_library( conf STATIC AUTOMOC
+ SOURCES configuredialog.cpp
+)
diff --git a/certmanager/kwatchgnupg/CMakeLists.txt b/certmanager/kwatchgnupg/CMakeLists.txt
new file mode 100644
index 000000000..4267cff5a
--- /dev/null
+++ b/certmanager/kwatchgnupg/CMakeLists.txt
@@ -0,0 +1,47 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -DLIBKLEOPATRA_NO_COMPAT )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ kwatchgnupg.png kwatchgnupg2.png
+ DESTINATION ${DATA_INSTALL_DIR}/kwatchgnupg/pics )
+
+install( FILES
+ kwatchgnupgui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kwatchgnupg )
+
+
+##### kwatchgnupg (executable) ##################
+
+tde_add_executable( kwatchgnupg AUTOMOC
+ SOURCES
+ kwatchgnupgmainwin.cpp kwatchgnupgconfig.cpp
+ aboutdata.cpp tray.cpp main.cpp
+ LINK kleopatra-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/certmanager/lib/CMakeLists.txt b/certmanager/lib/CMakeLists.txt
new file mode 100644
index 000000000..8bdec7a19
--- /dev/null
+++ b/certmanager/lib/CMakeLists.txt
@@ -0,0 +1,52 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( pics )
+add_subdirectory( kleo )
+add_subdirectory( backends )
+add_subdirectory( ui )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GPGME_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES libkleopatrarc.desktop DESTINATION ${CONFIG_INSTALL_DIR} RENAME libkleopatrarc )
+
+
+##### kleopatra (shared) ########################
+
+tde_add_library( kleopatra SHARED AUTOMOC
+ SOURCES
+ cryptplug.cpp cryptplugwrapper.cpp
+ cryptplugwrapperlist.cpp cryptplugfactory.cpp
+ VERSION 1.0.0
+ EMBED
+ kleopatra_core-static kleopatra_ui-static
+ LINK
+ kleopatra_backend_qgpgme-static
+ kleopatra_backend_chiasmus-static
+ qgpgme-shared kio-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/certmanager/lib/backends/CMakeLists.txt b/certmanager/lib/backends/CMakeLists.txt
new file mode 100644
index 000000000..8695ad83f
--- /dev/null
+++ b/certmanager/lib/backends/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( qgpgme )
+add_subdirectory( chiasmus )
diff --git a/certmanager/lib/backends/chiasmus/CMakeLists.txt b/certmanager/lib/backends/chiasmus/CMakeLists.txt
new file mode 100644
index 000000000..62e71adbf
--- /dev/null
+++ b/certmanager/lib/backends/chiasmus/CMakeLists.txt
@@ -0,0 +1,33 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include( ConfigureChecks.cmake )
+
+add_definitions( "-DGPG_ERR_SOURCE_DEFAULT=((gpg_err_source_t)176)" )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### kleopatra_backend_chiasmus (static) #######
+
+tde_add_library( kleopatra_backend_chiasmus STATIC_PIC AUTOMOC
+ SOURCES
+ config_data.c obtainkeysjob.cpp symcryptrunprocessbase.cpp
+ chiasmusjob.cpp chiasmuslibrary.cpp chiasmusbackend.cpp
+)
diff --git a/certmanager/lib/backends/chiasmus/ConfigureChecks.cmake b/certmanager/lib/backends/chiasmus/ConfigureChecks.cmake
new file mode 100644
index 000000000..570afff3d
--- /dev/null
+++ b/certmanager/lib/backends/chiasmus/ConfigureChecks.cmake
@@ -0,0 +1,15 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+check_c_source_compiles("
+ union { int one; const char * two } foo = { .two = \"Hello\" };
+ int main() { return 0; }"
+ HAVE_C99_INITIALIZERS )
diff --git a/certmanager/lib/backends/qgpgme/CMakeLists.txt b/certmanager/lib/backends/qgpgme/CMakeLists.txt
new file mode 100644
index 000000000..ae2789155
--- /dev/null
+++ b/certmanager/lib/backends/qgpgme/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GPGME_INCLUDE_DIRS}
+)
+
+
+##### kleopatra_backend_qgpgme (static) #########
+
+tde_add_library( kleopatra_backend_qgpgme STATIC_PIC AUTOMOC
+ SOURCES
+ gnupgprocessbase.cpp qgpgmeprogresstokenmapper.cpp
+ qgpgmebackend.cpp qgpgmejob.cpp qgpgmekeylistjob.cpp
+ qgpgmekeygenerationjob.cpp qgpgmeimportjob.cpp
+ qgpgmeexportjob.cpp qgpgmesecretkeyexportjob.cpp
+ qgpgmedownloadjob.cpp qgpgmedeletejob.cpp
+ qgpgmeencryptjob.cpp qgpgmedecryptjob.cpp
+ qgpgmesignjob.cpp qgpgmeverifydetachedjob.cpp
+ qgpgmeverifyopaquejob.cpp qgpgmesignencryptjob.cpp
+ qgpgmedecryptverifyjob.cpp qgpgmecryptoconfig.cpp
+ qgpgmerefreshkeysjob.cpp
+)
diff --git a/certmanager/lib/kleo/CMakeLists.txt b/certmanager/lib/kleo/CMakeLists.txt
new file mode 100644
index 000000000..e94b8449c
--- /dev/null
+++ b/certmanager/lib/kleo/CMakeLists.txt
@@ -0,0 +1,48 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ enum.h cryptobackend.h cryptobackendfactory.h
+ cryptoconfig.h dn.h job.h keylistjob.h keygenerationjob.h
+ importjob.h exportjob.h downloadjob.h deletejob.h
+ encryptjob.h decryptjob.h signjob.h verifydetachedjob.h
+ verifyopaquejob.h decryptverifyjob.h signencryptjob.h
+ refreshkeysjob.h multideletejob.h hierarchicalkeylistjob.h
+ keyfilter.h keyfiltermanager.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kleo )
+
+
+##### kleopatra_core (static) ###################
+
+tde_add_library( kleopatra_core STATIC_PIC AUTOMOC
+ SOURCES
+ cryptobackend.cpp cryptobackendfactory.cpp
+ enum.cpp dn.cpp job.cpp multideletejob.cpp
+ hierarchicalkeylistjob.cpp kconfigbasedkeyfilter.cpp
+ keyfiltermanager.cpp
+)
diff --git a/certmanager/lib/pics/CMakeLists.txt b/certmanager/lib/pics/CMakeLists.txt
new file mode 100644
index 000000000..751dcf023
--- /dev/null
+++ b/certmanager/lib/pics/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( gpg gpgsm )
+
+install( FILES
+ key.png key_ok.png key_bad.png key_unknown.png chiasmus_chi.png
+ DESTINATION ${DATA_INSTALL_DIR}/libkleopatra/pics )
diff --git a/certmanager/lib/ui/CMakeLists.txt b/certmanager/lib/ui/CMakeLists.txt
new file mode 100644
index 000000000..61a46c6f8
--- /dev/null
+++ b/certmanager/lib/ui/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/libkpgp
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GPGME_INCLUDE_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ kdhorizontalline.h messagebox.h progressbar.h
+ progressdialog.h keylistview.h keyselectiondialog.h
+ keyrequester.h passphrasedialog.h keyapprovaldialog.h
+ backendconfigwidget.h dnattributeorderconfigwidget.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kleo )
+
+
+##### kleopatra_ui (static) #####################
+
+tde_add_library( kleopatra_ui STATIC_PIC AUTOMOC
+ SOURCES
+ kdhorizontalline.cpp messagebox.cpp progressbar.cpp
+ progressdialog.cpp keylistview.cpp keyselectiondialog.cpp
+ keyrequester.cpp passphrasedialog.cpp keyapprovaldialog.cpp
+ backendconfigwidget.cpp dnattributeorderconfigwidget.cpp
+ cryptoconfigmodule.cpp cryptoconfigdialog.cpp
+ directoryserviceswidgetbase.ui directoryserviceswidget.cpp
+ adddirectoryservicedialog.ui adddirectoryservicedialogimpl.cpp
+)
diff --git a/config.h.cmake b/config.h.cmake
new file mode 100644
index 000000000..9d5298d4e
--- /dev/null
+++ b/config.h.cmake
@@ -0,0 +1,46 @@
+// kalarm
+#cmakedefine WITHOUT_ARTS 1
+
+// ktnef
+#cmakedefine HAVE_INTTYPES_H 1
+#cmakedefine HAVE_STDINT_H 1
+#cmakedefine SIZEOF_UNSIGNED_LONG_LONG @SIZEOF_UNSIGNED_LONG_LONG@
+#cmakedefine SIZEOF_UNSIGNED_LONG @SIZEOF_UNSIGNED_LONG@
+#cmakedefine SIZEOF_UINT64_T @SIZEOF_UINT64_T@
+
+// libkdepim, kmail
+#cmakedefine KDEPIM_NEW_DISTRLISTS 1
+
+// libkdemanager, certmanager
+#cmakedefine HAVE_GPGME_0_4_BRANCH 1
+
+// certmanager
+#cmakedefine MAX_CMD_LENGTH @MAX_CMD_LENGTH@
+#cmakedefine HAVE_C99_INITIALIZERS 1
+
+// kioslaves
+#cmakedefine HAVE_LIBSASL2 1
+
+// kmail
+#cmakedefine HAVE_STLNAMESPACE 1
+#cmakedefine STD_NAMESPACE_PREFIX @STD_NAMESPACE_PREFIX@
+
+// kaddressbook
+#cmakedefine KDEPIM_NEW_DISTRLISTS 1
+
+// mimelib
+#ifdef __cplusplus
+extern "C" {
+#endif
+unsigned long strlcpy(char*, const char*, unsigned long);
+#ifdef __cplusplus
+}
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+unsigned long strlcat(char*, const char*, unsigned long);
+#ifdef __cplusplus
+}
+#endif
diff --git a/kaddressbook/CMakeLists.txt b/kaddressbook/CMakeLists.txt
new file mode 100644
index 000000000..20788aa51
--- /dev/null
+++ b/kaddressbook/CMakeLists.txt
@@ -0,0 +1,109 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkdenetwork )
+tde_import( certmanager )
+tde_import( libkmime )
+tde_import( ktnef )
+tde_import( libkcal )
+tde_import( libkdepim )
+
+add_subdirectory( interfaces )
+add_subdirectory( common )
+add_subdirectory( printing )
+add_subdirectory( editors )
+add_subdirectory( views )
+add_subdirectory( features )
+add_subdirectory( xxport )
+add_subdirectory( kcmconfigs )
+add_subdirectory( pics )
+add_subdirectory( csv-templates )
+add_subdirectory( thumbnailcreator )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/common
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/common
+ ${CMAKE_CURRENT_SOURCE_DIR}/interfaces
+ ${CMAKE_CURRENT_SOURCE_DIR}/editors
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kaddressbook )
+
+install( FILES
+ kaddressbook.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ kaddressbook_view.desktop dcopaddressbook.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+install( FILES
+ kaddressbookui.rc kaddressbook_part.rc zone.tab
+ DESTINATION ${DATA_INSTALL_DIR}/kaddressbook )
+
+
+##### libkaddressbookpart (module) ##############
+
+tde_add_kpart( libkaddressbookpart AUTOMOC
+ SOURCES kaddressbook_part.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kaddressbook (executable) #################
+
+tde_add_executable( kaddressbook AUTOMOC
+ SOURCES main.cpp kaddressbookmain.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kaddressbook (shared) #####################
+
+tde_add_library( kaddressbook SHARED AUTOMOC
+ SOURCES
+ addresseeconfig.cpp addresseeeditordialog.cpp addresseeeditorwidget.cpp
+ addresseeeditorbase.cpp addresseeeditorextension.cpp addresseeutil.cpp
+ addresseditwidget.cpp addviewdialog.cpp emaileditwidget.cpp
+ extensionmanager.cpp filtereditdialog.cpp filterselectionwidget.cpp
+ geowidget.cpp imagewidget.cpp incsearchwidget.cpp jumpbuttonbar.cpp kabcore.cpp
+ kablock.cpp kaddressbookiface.skel kaddressbookservice.cpp kaddressbookview.cpp
+ keywidget.cpp ldapsearchdialog.cpp nameeditdialog.cpp phoneeditwidget.cpp
+ secrecywidget.cpp soundwidget.cpp viewconfigurefieldspage.cpp
+ viewconfigurefilterpage.cpp viewconfigurewidget.cpp undocmds.cpp
+ viewmanager.cpp xxportmanager.cpp xxportselectdialog.cpp
+ contacteditorwidgetmanager.cpp simpleaddresseeeditor.cpp
+ advancedcustomfields.cpp customfieldswidget.cpp freebusywidget.cpp
+ searchmanager.cpp imeditwidget.cpp kabtools.cpp distributionlistpicker.cpp
+ distributionlisteditor.cpp distributionlistentryview.cpp
+ VERSION 0.0.0
+ LINK
+ kabcommon-static kabim-static printer-static
+ kabinterfaces-shared
+ kdepim-shared kabc_file-shared kdeprint-shared kutils-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kaddressbook/common/CMakeLists.txt b/kaddressbook/common/CMakeLists.txt
new file mode 100644
index 000000000..369638387
--- /dev/null
+++ b/kaddressbook/common/CMakeLists.txt
@@ -0,0 +1,26 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### kabcommon (static) ########################
+
+tde_add_library( kabcommon STATIC_PIC AUTOMOC
+ SOURCES
+ kabprefs.cpp kabprefs_base.kcfgc locationmap.cpp
+ filter.cpp
+)
diff --git a/kaddressbook/csv-templates/CMakeLists.txt b/kaddressbook/csv-templates/CMakeLists.txt
new file mode 100644
index 000000000..983b5a6ca
--- /dev/null
+++ b/kaddressbook/csv-templates/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ kaddressbook.desktop outlook2000.desktop yahoo.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kaddressbook/csv-templates )
diff --git a/kaddressbook/editors/CMakeLists.txt b/kaddressbook/editors/CMakeLists.txt
new file mode 100644
index 000000000..0d4e12372
--- /dev/null
+++ b/kaddressbook/editors/CMakeLists.txt
@@ -0,0 +1,51 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( protocols )
+add_subdirectory( icons )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GPGME_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES cryptosettings.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
+install( FILES kaddressbookimprotocol.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### kabim (static) ############################
+
+tde_add_library( kabim STATIC_PIC AUTOMOC
+ SOURCES
+ imeditorwidget.cpp imeditorbase.ui imaddressbase.ui imaddresswidget.cpp
+)
+
+
+##### libkaddrbk_cryptosettings (module) ########
+
+tde_add_kpart( libkaddrbk_cryptosettings AUTOMOC
+ SOURCES cryptowidget.cpp
+ LINK kabinterfaces-shared kleopatra-shared kabc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kaddressbook/editors/icons/CMakeLists.txt b/kaddressbook/editors/icons/CMakeLists.txt
new file mode 100644
index 000000000..fa71f9d59
--- /dev/null
+++ b/kaddressbook/editors/icons/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kaddressbook/icons )
diff --git a/kaddressbook/editors/protocols/CMakeLists.txt b/kaddressbook/editors/protocols/CMakeLists.txt
new file mode 100644
index 000000000..87e3e32c8
--- /dev/null
+++ b/kaddressbook/editors/protocols/CMakeLists.txt
@@ -0,0 +1,17 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ icqprotocol.desktop aimprotocol.desktop ircprotocol.desktop smsprotocol.desktop
+ gaduprotocol.desktop jabberprotocol.desktop yahooprotocol.desktop
+ msnprotocol.desktop groupwiseprotocol.desktop meanwhileprotocol.desktop
+ skypeprotocol.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
diff --git a/kaddressbook/features/CMakeLists.txt b/kaddressbook/features/CMakeLists.txt
new file mode 100644
index 000000000..73f47ba13
--- /dev/null
+++ b/kaddressbook/features/CMakeLists.txt
@@ -0,0 +1,59 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook
+ ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+if( WITH_NEWDISTRLISTS )
+ set( DESKTOP distributionlistng.desktop )
+ set( SOURCE distributionlistngwidget.cpp )
+ set( TARGET libkaddrbk_distributionlistng )
+else( )
+ set( DESKTOP distributionlist.desktop )
+ set( SOURCE distributionlistwidget.cpp )
+ set( TARGET libkaddrbk_distributionlist )
+endif( )
+
+
+##### other data ################################
+
+install( FILES
+ ${DESKTOP} resourceselection.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
+
+
+##### libkaddrbk_distributionlist (module) ######
+
+tde_add_kpart( ${TARGET} AUTOMOC
+ SOURCES ${SOURCE}
+ LINK kabinterfaces-shared kdepim-shared kabc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_resourceselection (module) #####
+
+tde_add_kpart( libkaddrbk_resourceselection AUTOMOC
+ SOURCES resourceselection.cpp
+ LINK kabinterfaces-shared kdepim-shared kabc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kaddressbook/interfaces/CMakeLists.txt b/kaddressbook/interfaces/CMakeLists.txt
new file mode 100644
index 000000000..67438ece5
--- /dev/null
+++ b/kaddressbook/interfaces/CMakeLists.txt
@@ -0,0 +1,50 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ configurewidget.h contacteditorwidget.h core.h
+ extensionwidget.h xxport.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kaddressbook )
+
+
+##### other data ################################
+
+install( FILES
+ kaddressbook_contacteditorwidget.desktop
+ kaddressbook_extension.desktop kaddressbook_xxport.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### kabinterfaces (shared) ####################
+
+tde_add_library( kabinterfaces SHARED AUTOMOC
+ SOURCES
+ configurewidget.cpp contacteditorwidget.cpp
+ core.cpp extensionwidget.cpp xxport.cpp
+ VERSION 1.0.0
+ LINK kabc-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kaddressbook/kcmconfigs/CMakeLists.txt b/kaddressbook/kcmconfigs/CMakeLists.txt
new file mode 100644
index 000000000..835acb61c
--- /dev/null
+++ b/kaddressbook/kcmconfigs/CMakeLists.txt
@@ -0,0 +1,61 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/kaddressbook/common
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook/common
+ ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ kabconfig.desktop kabldapconfig.desktop kabcustomfields.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kcm_kabconfig (module) ####################
+
+tde_add_kpart( kcm_kabconfig AUTOMOC
+ SOURCES
+ kcmkabconfig.cpp kabconfigwidget.cpp extensionconfigdialog.cpp
+ addresseewidget.cpp
+ LINK kabcommon-static kdepim-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_kabldapconfig (module) ################
+
+tde_add_kpart( kcm_kabldapconfig AUTOMOC
+ SOURCES
+ addhostdialog.cpp kcmkabldapconfig.cpp ldapoptionswidget.cpp
+ LINK kdepim-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_kabcustomfields (module) ##############
+
+tde_add_kpart( kcm_kabcustomfields AUTOMOC
+ SOURCES kcmkabcustomfields.cpp
+ LINK kabcommon-static kdepim-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kaddressbook/pics/CMakeLists.txt b/kaddressbook/pics/CMakeLists.txt
new file mode 100644
index 000000000..8e6a7c45c
--- /dev/null
+++ b/kaddressbook/pics/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kaddressbook/icons )
+install( FILES world.jpg DESTINATION ${DATA_INSTALL_DIR}/kaddressbook/pics )
diff --git a/kaddressbook/printing/CMakeLists.txt b/kaddressbook/printing/CMakeLists.txt
new file mode 100644
index 000000000..7e3d6d565
--- /dev/null
+++ b/kaddressbook/printing/CMakeLists.txt
@@ -0,0 +1,31 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/kaddressbook/common
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook
+ ${CMAKE_SOURCE_DIR}/kaddressbook/common
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### printer (static) ##########################
+
+tde_add_library( printer STATIC_PIC AUTOMOC
+ SOURCES
+ detailledstyle.cpp ds_appearance.ui kabentrypainter.cpp mikesstyle.cpp
+ printingwizard.cpp printprogress.cpp printstyle.cpp selectionpage.cpp
+ stylepage.cpp printsortmode.cpp
+)
diff --git a/kaddressbook/thumbnailcreator/CMakeLists.txt b/kaddressbook/thumbnailcreator/CMakeLists.txt
new file mode 100644
index 000000000..d8ac40f06
--- /dev/null
+++ b/kaddressbook/thumbnailcreator/CMakeLists.txt
@@ -0,0 +1,33 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES ldifvcardthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### ldifvcardthumbnail (module) ###############
+
+tde_add_kpart( ldifvcardthumbnail
+ SOURCES ldifvcardcreator.cpp
+ LINK kabc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kaddressbook/views/CMakeLists.txt b/kaddressbook/views/CMakeLists.txt
new file mode 100644
index 000000000..b1ab1103e
--- /dev/null
+++ b/kaddressbook/views/CMakeLists.txt
@@ -0,0 +1,65 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/kaddressbook/common
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook
+ ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
+ ${CMAKE_SOURCE_DIR}/kaddressbook/common
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ cardview.desktop iconview.desktop tableview.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
+
+
+##### libkaddrbk_cardview (module) ##############
+
+tde_add_kpart( libkaddrbk_cardview AUTOMOC
+ SOURCES
+ cardview.cpp colorlistbox.cpp configurecardviewdialog.cpp
+ kaddressbookcardview.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_iconview (module) ##############
+
+tde_add_kpart( libkaddrbk_iconview AUTOMOC
+ SOURCES
+ kaddressbookiconview.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_tableview (module) #############
+
+tde_add_kpart( libkaddrbk_tableview AUTOMOC
+ SOURCES
+ configuretableviewdialog.cpp contactlistview.cpp
+ kaddressbooktableview.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kaddressbook/xxport/CMakeLists.txt b/kaddressbook/xxport/CMakeLists.txt
new file mode 100644
index 000000000..6d61f97e3
--- /dev/null
+++ b/kaddressbook/xxport/CMakeLists.txt
@@ -0,0 +1,132 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include( ConfigureChecks.cmake )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook
+ ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GNOKII_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+if( WITH_GNOKII )
+ set( GNOKII_DESKTOP gnokii_xxport.desktop )
+ set( GNOKII_RCFILE gnokii_xxportui.rc )
+endif( )
+
+
+##### other data ################################
+
+install( FILES
+ csv_xxport.desktop vcard_xxport.desktop kde2_xxport.desktop
+ bookmark_xxport.desktop eudora_xxport.desktop ldif_xxport.desktop
+ opera_xxport.desktop pab_xxport.desktop ${GNOKII_DESKTOP}
+ DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
+
+install( FILES
+ csv_xxportui.rc vcard_xxportui.rc kde2_xxportui.rc bookmark_xxportui.rc
+ eudora_xxportui.rc ldif_xxportui.rc opera_xxportui.rc pab_xxportui.rc
+ ${GNOKII_RCFILE}
+ DESTINATION ${DATA_INSTALL_DIR}/kaddressbook )
+
+
+##### libkaddrbk_csv_xxport (module) ############
+
+tde_add_kpart( libkaddrbk_csv_xxport AUTOMOC
+ SOURCES csv_xxport.cpp csvimportdialog.cpp dateparser.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_vcard_xxport (module) ##########
+
+tde_add_kpart( libkaddrbk_vcard_xxport AUTOMOC
+ SOURCES vcard_xxport.cpp
+ LINK kaddressbook-shared qgpgme-shared kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_kde2_xxport (module) ###########
+
+tde_add_kpart( libkaddrbk_kde2_xxport AUTOMOC
+ SOURCES kde2_xxport.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_bookmark_xxport (module) #######
+
+tde_add_kpart( libkaddrbk_bookmark_xxport AUTOMOC
+ SOURCES bookmark_xxport.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_eudora_xxport (module) #########
+
+tde_add_kpart( libkaddrbk_eudora_xxport AUTOMOC
+ SOURCES eudora_xxport.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_ldif_xxport (module) ###########
+
+tde_add_kpart( libkaddrbk_ldif_xxport AUTOMOC
+ SOURCES ldif_xxport.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_opera_xxport (module) ##########
+
+tde_add_kpart( libkaddrbk_opera_xxport AUTOMOC
+ SOURCES opera_xxport.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_pab_xxport (module) ############
+
+tde_add_kpart( libkaddrbk_pab_xxport AUTOMOC
+ SOURCES pab_xxport.cpp pab_mapihd.cpp pab_pablib.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_gnokii_xxport (module) #########
+
+# FIXME gnokii suport are not ready
+if( WITH_GNOKII )
+ tde_add_kpart( libkaddrbk_gnokii_xxport AUTOMOC
+ SOURCES gnokii_xxport.cpp
+ LINK kabinterfaces-shared ${GNOKII_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+endif( )
diff --git a/kaddressbook/xxport/ConfigureChecks.cmake b/kaddressbook/xxport/ConfigureChecks.cmake
new file mode 100644
index 000000000..340842a88
--- /dev/null
+++ b/kaddressbook/xxport/ConfigureChecks.cmake
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# gnokii
+if( WITH_GNOKII )
+ pkg_search_module( GNOKII gnokii )
+ if( NOT GNOKII_FOUND )
+ tde_message_fatal( "gnokii are requested, but was not found on your system" )
+ endif( )
+endif( )
diff --git a/kalarm/CMakeLists.txt b/kalarm/CMakeLists.txt
new file mode 100644
index 000000000..3ff683946
--- /dev/null
+++ b/kalarm/CMakeLists.txt
@@ -0,0 +1,77 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkmime )
+tde_import( ktnef )
+tde_import( libkdepim )
+tde_import( libkdenetwork )
+tde_import( certmanager )
+tde_import( libkcal )
+tde_import( libkpimidentities )
+
+add_subdirectory( kalarmd )
+add_subdirectory( lib )
+add_subdirectory( pixmaps )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/lib
+ ${CMAKE_CURRENT_SOURCE_DIR}/kalarmd
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkmime
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIB_DIR}
+ ${TQT_LIBRARY_DIRS}
+)
+
+if( WITH_ARTS )
+ set( ARTS_LIBRARIES artskde-shared mcop )
+endif( )
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES kalarm.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kalarm.tray.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+install( FILES kalarmui.rc DESTINATION ${DATA_INSTALL_DIR}/kalarm )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Applications RENAME kalarm.desktop )
+
+
+##### kalarm (executable) #######################
+
+tde_add_executable( kalarm AUTOMOC
+ SOURCES
+ birthdaydlg.cpp main.cpp alarmevent.cpp editdlg.cpp
+ emailidcombo.cpp find.cpp pickfileradio.cpp
+ calendarcompat.cpp eventlistviewbase.cpp alarmlistview.cpp
+ kamail.cpp timeselector.cpp fontcolourbutton.cpp
+ alarmtimewidget.cpp fontcolour.cpp soundpicker.cpp
+ sounddlg.cpp alarmcalendar.cpp daemon.cpp undo.cpp
+ kalarmapp.cpp mainwindowbase.cpp mainwindow.cpp
+ messagewin.cpp preferences.cpp prefdlg.cpp
+ kalarmiface.skel recurrenceedit.cpp karecurrence.cpp
+ deferdlg.cpp functions.cpp specialactions.cpp reminder.cpp
+ startdaytimer.cpp templatelistview.cpp templatepickdlg.cpp
+ templatedlg.cpp templatemenuaction.cpp latecancel.cpp
+ repetition.cpp alarmtext.cpp traywindow.cpp dcophandler.cpp
+ kalarmd/alarmguiiface.skel
+ LINK
+ kalarm-static kalarmd-static
+ kpimidentities-shared kutils-shared ${ARTS_LIBRARIES}
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kalarm/kalarmd/CMakeLists.txt b/kalarm/kalarmd/CMakeLists.txt
new file mode 100644
index 000000000..c3e163367
--- /dev/null
+++ b/kalarm/kalarmd/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kalarmd.autostart.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+install( FILES kalarmd.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kalarmd (executable) ######################
+
+tde_add_executable( kalarmd AUTOMOC
+ SOURCES
+ adcalendar.cpp adconfigdata.cpp clientinfo.cpp
+ alarmdaemon.cpp admain.cpp adapp.cpp alarmdaemoniface.skel
+ LINK kalarmd-static kcal-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kalarmd (static) ##########################
+
+tde_add_library( kalarmd STATIC_PIC
+ SOURCES alarmdaemoniface.stub alarmguiiface.stub
+)
diff --git a/kalarm/lib/CMakeLists.txt b/kalarm/lib/CMakeLists.txt
new file mode 100644
index 000000000..6564d5f16
--- /dev/null
+++ b/kalarm/lib/CMakeLists.txt
@@ -0,0 +1,32 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kalarm
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### kalarm (static) ###########################
+
+tde_add_library( kalarm STATIC_PIC AUTOMOC
+ SOURCES
+ buttongroup.cpp checkbox.cpp colourcombo.cpp colourlist.cpp
+ combobox.cpp dateedit.cpp datetime.cpp label.cpp
+ messagebox.cpp lineedit.cpp synchtimer.cpp pushbutton.cpp
+ radiobutton.cpp timeedit.cpp timespinbox.cpp timeperiod.cpp
+ shellprocess.cpp slider.cpp spinbox.cpp spinbox2.cpp
+)
diff --git a/kalarm/pixmaps/CMakeLists.txt b/kalarm/pixmaps/CMakeLists.txt
new file mode 100644
index 000000000..b67484672
--- /dev/null
+++ b/kalarm/pixmaps/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( kalarm DESTINATION ${DATA_INSTALL_DIR}/kalarm/icons )
diff --git a/kioslaves/CMakeLists.txt b/kioslaves/CMakeLists.txt
new file mode 100644
index 000000000..e26d079c0
--- /dev/null
+++ b/kioslaves/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include( ConfigureChecks.cmake )
+
+add_subdirectory( imap4 )
+add_subdirectory( mbox )
+add_subdirectory( sieve )
diff --git a/kioslaves/ConfigureChecks.cmake b/kioslaves/ConfigureChecks.cmake
new file mode 100644
index 000000000..9cbd46c01
--- /dev/null
+++ b/kioslaves/ConfigureChecks.cmake
@@ -0,0 +1,22 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+if( WITH_SASL )
+ check_include_file( sasl/sasl.h HAVE_SASL_SASL_H )
+ if( HAVE_SASL_SASL_H )
+ check_library_exists( sasl2 sasl_client_init "" HAVE_LIBSASL2 )
+ endif( )
+ if( HAVE_LIBSASL2 )
+ set( SASL_LIBRARY sasl2 CACHE INTERNAL "" )
+ else( )
+ tde_message_fatal( "cyrus-sasl are requested, but not found on your system" )
+ endif( )
+endif( )
diff --git a/kioslaves/imap4/CMakeLists.txt b/kioslaves/imap4/CMakeLists.txt
new file mode 100644
index 000000000..5f332a472
--- /dev/null
+++ b/kioslaves/imap4/CMakeLists.txt
@@ -0,0 +1,44 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkmime )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libemailfunctions
+ ${CMAKE_SOURCE_DIR}/libkmime
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ imap4.protocol imaps.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_imap4 (module) ########################
+
+tde_add_kpart( kio_imap4
+ SOURCES
+ imapcommand.cc imaplist.cc mailaddress.cc mimeheader.cc
+ rfcdecoder.cc imap4.cc imapinfo.cc imapparser.cc
+ mailheader.cc mimehdrline.cc mimeio.cc
+ LINK emailfunctions-static kmime-shared kio-shared ${SASL_LIBRARY}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslaves/mbox/CMakeLists.txt b/kioslaves/mbox/CMakeLists.txt
new file mode 100644
index 000000000..33e9d3dcd
--- /dev/null
+++ b/kioslaves/mbox/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES mbox.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_mbox (module) #########################
+
+tde_add_kpart( kio_mbox
+ SOURCES
+ mbox.cc mboxfile.cc readmbox.cc stat.cc urlinfo.cc
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kioslaves/sieve/CMakeLists.txt b/kioslaves/sieve/CMakeLists.txt
new file mode 100644
index 000000000..fc63faa4e
--- /dev/null
+++ b/kioslaves/sieve/CMakeLists.txt
@@ -0,0 +1,35 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES sieve.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kio_sieve (module) ########################
+
+tde_add_kpart( kio_sieve
+ SOURCES sieve.cpp
+ LINK kio-shared ${SASL_LIBRARY}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kmail/CMakeLists.txt b/kmail/CMakeLists.txt
new file mode 100644
index 000000000..9e1e9f36e
--- /dev/null
+++ b/kmail/CMakeLists.txt
@@ -0,0 +1,225 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include( ConfigureChecks.cmake )
+
+tde_import( libkdenetwork )
+tde_import( certmanager )
+tde_import( ktnef )
+tde_import( libkcal )
+tde_import( libkmime )
+tde_import( libkpgp )
+tde_import( libkdepim )
+tde_import( mimelib )
+tde_import( libkpimidentities )
+tde_import( libksieve )
+
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions" )
+
+add_subdirectory( interfaces )
+add_subdirectory( about )
+add_subdirectory( pics )
+add_subdirectory( profiles )
+add_subdirectory( avscripts )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libemailfunctions
+ ${CMAKE_SOURCE_DIR}/mimelib
+ ${CMAKE_SOURCE_DIR}/libkmime
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/libkpgp
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${CMAKE_SOURCE_DIR}/libksieve
+ ${CMAKE_SOURCE_DIR}/ktnef
+ ${CMAKE_SOURCE_DIR}/korganizer
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GPGME_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ kmailIface.h kmailpartIface.h kmailicalIface.h
+ DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+
+##### other data ################################
+
+tde_install_icons( )
+
+install( FILES
+ KMail.desktop kmail_view.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ kmcomposerui.rc kmmainwin.rc kmreadermainwin.rc
+ eventsrc kmail_part.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kmail )
+
+install( FILES
+ kmail.upd
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+install( PROGRAMS
+ upgrade-transport.pl kmail-pgpidentity.pl
+ upgrade-signature.pl kmail-upd-identities.pl
+ kmail-3.1-use-UOID-for-identities.pl
+ kmail-3.1-update-new-mail-notification-settings.pl
+ kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl
+ kmail-3.2-update-loop-on-goto-unread-settings.sh
+ kmail-3.2-misc.sh kmail-3.3-use-ID-for-accounts.pl
+ kmail-3.3-move-identities.pl kmail-3.3-aegypten.pl
+ kmail-3.3-split-sign-encr-keys.sh kmail-3.3-misc.pl
+ kmail-3.3b1-misc.pl kmail-3.4-misc.pl
+ kmail-3.4.1-update-status-filters.pl
+ kmail-3.5-filter-icons.pl kmail-3.5-trigger-flag-migration.pl
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+install( FILES
+ kmail.antispamrc kmail.antivirusrc
+ DESTINATION ${CONFIG_INSTALL_DIR} )
+
+install( FILES
+ tips
+ DESTINATION ${DATA_INSTALL_DIR}/kmail )
+
+install( FILES
+ dcopmail.desktop dcopimap.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+install( FILES
+ kmail_config_misc.desktop kmail_config_appearance.desktop
+ kmail_config_identity.desktop kmail_config_accounts.desktop
+ kmail_config_composer.desktop kmail_config_security.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+install( FILES
+ kmail.kcfg replyphrases.kcfg custommimeheader.kcfg
+ templatesconfiguration_kfg.kcfg customtemplates_kfg.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR} )
+
+install( FILES
+ application_octetstream.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kmail/plugins/bodypartformatter )
+
+
+##### kmailprivate (shared) #####################
+
+set( target kmailprivate )
+
+set( ${target}_SRCS
+ kmmessage.cpp kmmainwin.cpp configuredialog.cpp configuredialog_p.cpp
+ klistviewindexedsearchline.cpp simplestringlisteditor.cpp index.cpp headeritem.cpp
+ identitydrag.cpp identitylistview.cpp identitydialog.cpp kmfolderdia.cpp kmmsgdict.cpp
+ kmfoldertree.cpp kmtransport.cpp kmfoldercombobox.cpp kmaccount.cpp kmheaders.cpp
+ kmcomposewin.cpp kmfolder.cpp kmmsgpartdlg.cpp kmreaderwin.cpp htmlstatusbar.cpp
+ kmgroupware.cpp folderstorage.cpp listjob.cpp csshelper.cpp klistboxdialog.cpp
+ kmmsginfo.cpp actionscheduler.cpp messageproperty.cpp accountmanager.cpp kmacctfolder.cpp
+ kmdict.cpp kmsystemtray.cpp kmacctlocal.cpp kmfolderdir.cpp kmfoldermgr.cpp
+ kmfoldernode.cpp kmsender.cpp kmacctseldlg.cpp kmfiltermgr.cpp kmfilterdlg.cpp
+ filterimporterexporter.cpp kmsearchpatternedit.cpp encodingdetector.cpp encodingdetector_ja.cpp
+ kmfilteraction.cpp kmsearchpattern.cpp kmfolderimap.cpp kmfolderseldlg.cpp kmfilter.cpp
+ kmmsgpart.cpp kmmsgbase.cpp kmmsglist.cpp kmaddrbook.cpp signatureconfigurator.cpp
+ xfaceconfigurator.cpp networkaccount.cpp imapaccountbase.cpp popaccount.cpp kmservertest.cpp
+ kmacctimap.cpp kmacctcachedimap.cpp kmfawidgets.cpp kmfoldermbox.cpp colorlistbox.cpp
+ undostack.cpp kmfoldercachedimap.cpp attachmentstrategy.cpp kmfoldermaildir.cpp
+ kmkernel.cpp accountdialog.cpp searchwindow.cpp vcardviewer.cpp vacationdialog.cpp
+ vacation.cpp sievedebugdialog.cpp sieveconfig.cpp sievejob.cpp kmpopheaders.cpp
+ kmpopfiltercnfrmdlg.cpp kmmimeparttree.cpp mailinglist-magic.cpp kmacctmaildir.cpp
+ headerstyle.cpp headerstrategy.cpp khtmlparthtmlwriter.cpp filehtmlwriter.cpp
+ teehtmlwriter.cpp mailcomposerIface.skel objecttreeparser.cpp objecttreeparser_p.cpp
+ attachmentcollector.cpp bodypartformatterfactory.cpp bodypartformatter.cpp partNode.cpp
+ mailsourceviewer.cpp kmcommands.cpp kmreadermainwin.cpp kmstartup.cpp kmmainwidget.cpp
+ folderpropertiesdialog.ui kmfolderindex.cpp kmfoldersearch.cpp transportmanager.cpp
+ imapjob.cpp folderjob.cpp cachedimapjob.cpp maildirjob.cpp mboxjob.cpp subscriptiondialog.cpp
+ kmailicalifaceimpl.cpp aboutdata.cpp folderIface.cpp folderIface.skel mailserviceimpl.cpp
+ attachmentlistview.cpp kmedit.cpp kmlineeditspell.cpp kmatmlistview.cpp composer.cpp
+ isubject.cpp bodyvisitor.cpp antispamwizard.cpp urlhandlermanager.cpp dictionarycombobox.cpp
+ secondarywindow.cpp filterlog.cpp filterlogdlg.cpp messagecomposer.cpp keyresolver.cpp
+ globalsettings.cpp globalsettings_base.kcfgc regexplineedit.cpp rulewidgethandlermanager.cpp
+ headerlistquicksearch.cpp acljobs.cpp folderdiaacltab.cpp quotajobs.cpp expirejob.cpp
+ folderdiaquotatab.cpp folderdiaquotatab_p.cpp jobscheduler.cpp partnodebodypart.cpp
+ compactionjob.cpp callback.cpp searchjob.cpp renamejob.cpp composercryptoconfiguration.ui
+ warningconfiguration.ui smimeconfiguration.ui annotationjobs.cpp accountcombobox.cpp
+ redirectdialog.cpp foldershortcutdialog.cpp folderrequester.cpp spamheaderanalyzer.cpp
+ antispamconfig.cpp replyphrases.kcfgc custommimeheader.kcfgc recipientseditor.cpp
+ recipientspicker.cpp kwindowpositioner.cpp textsource.cpp distributionlistdialog.cpp
+ expirypropertiesdialog.cpp scalix.cpp mailinglistpropertiesdialog.cpp newfolderdialog.cpp
+ accountwizard.cpp managesievescriptsdialog.cpp chiasmuskeyselector.cpp
+ util.cpp templatesinsertcommand.cpp customtemplates_base.ui customtemplates.cpp
+ customtemplates_kfg.kcfgc templatesconfiguration_base.ui templatesconfiguration.cpp
+ templatesconfiguration_kfg.kcfgc templateparser.cpp copyfolderjob.cpp messagecopyhelper.cpp
+ localsubscriptiondialog.cpp editorwatcher.cpp favoritefolderview.cpp
+ foldertreebase.cpp snippetdlgbase.ui snippetwidget.cpp snippetconfig.cpp
+ snippetdlg.cpp snippetitem.cpp snippetsettings.cpp snippetsettingsbase.ui
+ messageactions.cpp korghelper.cpp foldersetselector.cpp stringutil.cpp
+ treebase.cpp backupjob.cpp importjob.cpp folderutil.cpp archivefolderdialog.cpp
+ importarchivedialog.cpp ${CMAKE_SOURCE_DIR}/korganizer/kcalendariface.stub
+ ${CMAKE_SOURCE_DIR}/korganizer/korganizeriface.stub )
+
+tde_save( KDE3_DCOPIDL_EXECUTABLE )
+set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
+kde3_add_dcop_skels( ${target}_SRCS kmailIface.h kmailicalIface.h )
+tde_restore( KDE3_DCOPIDL_EXECUTABLE )
+
+tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK
+ emailfunctions-static kmime-shared kpgp-shared kdepim-shared kpimidentities-shared
+ mimelib-shared ksieve-shared khtml-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### kmail (executable) ########################
+
+tde_add_executable( kmail
+ SOURCES main.cpp
+ LINK kmailprivate-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kcm_kmail (module) ########################
+
+tde_add_kpart( kcm_kmail AUTOMOC
+ SOURCES kcm_kmail.cpp
+ LINK kmailprivate-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkmailpart (module) #####################
+
+tde_add_kpart( libkmailpart AUTOMOC
+ SOURCES kmailpartIface.skel kmail_part.cpp
+ LINK kmailprivate-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkmail_bodypartformatter_application_octetstream (module)
+
+tde_add_kpart( libkmail_bodypartformatter_application_octetstream
+ SOURCES app_octetstream.cpp
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kmail/ConfigureChecks.cmake b/kmail/ConfigureChecks.cmake
new file mode 100644
index 000000000..dbda06e3f
--- /dev/null
+++ b/kmail/ConfigureChecks.cmake
@@ -0,0 +1,23 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# check for stl coping with namespace std
+tde_save( CMAKE_CXX_FLAGS )
+string( REGEX REPLACE "-include tqt.h" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" )
+check_cxx_source_compiles("
+ #include <iterator>
+ struct s : public std::iterator<std::forward_iterator_tag, int> {};
+ int main(int, char**) { return 0; } "
+ HAVE_STLNAMESPACE )
+tde_restore( CMAKE_CXX_FLAGS )
+if( HAVE_STLNAMESPACE )
+ set( STD_NAMESPACE_PREFIX "std::" CACHE INTERNAL "" FORCE )
+endif( )
diff --git a/kmail/about/CMakeLists.txt b/kmail/about/CMakeLists.txt
new file mode 100644
index 000000000..44457be7c
--- /dev/null
+++ b/kmail/about/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ top-right-kmail.png main.html kmail.css
+ DESTINATION ${DATA_INSTALL_DIR}/kmail/about )
diff --git a/kmail/avscripts/CMakeLists.txt b/kmail/avscripts/CMakeLists.txt
new file mode 100644
index 000000000..c2621dca7
--- /dev/null
+++ b/kmail/avscripts/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( PROGRAMS
+ kmail_clamav.sh kmail_sav.sh kmail_fprot.sh kmail_antivir.sh
+ DESTINATION ${BIN_INSTALL_DIR} )
diff --git a/kmail/interfaces/CMakeLists.txt b/kmail/interfaces/CMakeLists.txt
new file mode 100644
index 000000000..1dd411dfd
--- /dev/null
+++ b/kmail/interfaces/CMakeLists.txt
@@ -0,0 +1,15 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ observer.h observable.h htmlwriter.h bodypart.h
+ bodypartformatter.h bodyparturlhandler.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kmail/interfaces )
diff --git a/kmail/pics/CMakeLists.txt b/kmail/pics/CMakeLists.txt
new file mode 100644
index 000000000..ea728f8b7
--- /dev/null
+++ b/kmail/pics/CMakeLists.txt
@@ -0,0 +1,30 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( icons )
+
+install( FILES
+ kmmsgdel.png kmmsgnew.png kmmsgunseen.png kmmsgread.png
+ kmmsgreplied.png kmmsgforwarded.png kmmsgqueued.png
+ kmmsgflag.png kmmsgsent.png kmmsgwatched.png kmmsgignored.png
+ kmmsgtodo.png kmmsgread_fwd.png kmmsgread_replied.png
+ kmmsgread_fwd_replied.png pgp-keys.png kmmsgpartiallyencrypted.png
+ kmmsgpartiallysigned.png kmmsgfullyencrypted.png kmmsgfullysigned.png
+ kmmsgundefinedencrypted.png kmmsgundefinedsigned.png kmmsgspam.png
+ kmmsgham.png kmmsgattachment.png kmmsginvitation.png kmwizard.png
+ quotecollapse.png quoteexpand.png enterprise_bottom_left.png
+ enterprise_bottom.png enterprise_bottom_right.png enterprise_icon.png
+ enterprise_left.png enterprise_right.png enterprise_s_left.png
+ enterprise_sbar.png enterprise_s_right.png enterprise_sp_right.png
+ enterprise_top_left.png enterprise_top.png enterprise_top_right.png
+ enterprise_sw.png enterprise_w.png attachmentQuicklistClosed.png
+ attachmentQuicklistOpened.png
+ DESTINATION ${DATA_INSTALL_DIR}/kmail/pics )
diff --git a/kmail/pics/icons/CMakeLists.txt b/kmail/pics/icons/CMakeLists.txt
new file mode 100644
index 000000000..665f509c9
--- /dev/null
+++ b/kmail/pics/icons/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kmail/icons )
diff --git a/kmail/profiles/CMakeLists.txt b/kmail/profiles/CMakeLists.txt
new file mode 100644
index 000000000..2d2367b0b
--- /dev/null
+++ b/kmail/profiles/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+set( profiles default html high-contrast purist secure )
+
+foreach( profile ${profiles} )
+ install( FILES "profile-${profile}-rc.desktop"
+ DESTINATION ${DATA_INSTALL_DIR}/kmail
+ RENAME profile-${profile}-rc )
+endforeach( )
diff --git a/ktnef/CMakeLists.txt b/ktnef/CMakeLists.txt
new file mode 100644
index 000000000..a7f250c1e
--- /dev/null
+++ b/ktnef/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( ktnef )
+include( ConfigureChecks.cmake )
+
+add_subdirectory( ktnef )
+add_subdirectory( lib )
+add_subdirectory( gui )
+
+tde_install_export( )
diff --git a/ktnef/ConfigureChecks.cmake b/ktnef/ConfigureChecks.cmake
new file mode 100644
index 000000000..3271dfc05
--- /dev/null
+++ b/ktnef/ConfigureChecks.cmake
@@ -0,0 +1,17 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+check_include_file( inttypes.h HAVE_INTTYPES_H )
+check_include_file( stdint.h HAVE_STDINT_H )
+
+check_type_size( "unsigned long long" SIZEOF_UNSIGNED_LONG_LONG )
+check_type_size( "unsigned long" SIZEOF_UNSIGNED_LONG )
+check_type_size( "uint64_t" SIZEOF_UINT64_T )
diff --git a/ktnef/gui/CMakeLists.txt b/ktnef/gui/CMakeLists.txt
new file mode 100644
index 000000000..2f5df39ed
--- /dev/null
+++ b/ktnef/gui/CMakeLists.txt
@@ -0,0 +1,43 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/ktnef
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES ktnef.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES ktnefui.rc DESTINATION ${DATA_INSTALL_DIR}/ktnef )
+install( FILES ms-tnef.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
+
+
+##### ktnef (executable) ########################
+
+tde_add_executable( ktnef AUTOMOC
+ SOURCES
+ ktnefmain.cpp ktnefview.cpp attachpropertydialogbase.ui
+ attachpropertydialog.cpp messagepropertydialog.cpp
+ qwmf.cpp main.cpp
+ LINK ktnef-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/ktnef/gui/pics/CMakeLists.txt b/ktnef/gui/pics/CMakeLists.txt
new file mode 100644
index 000000000..92c9a1a9c
--- /dev/null
+++ b/ktnef/gui/pics/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( ktnef )
+tde_install_icons( ktnef_extract_all_to ktnef_extract_to DESTINATION ${DATA_INSTALL_DIR}/ktnef/icons )
diff --git a/ktnef/ktnef/CMakeLists.txt b/ktnef/ktnef/CMakeLists.txt
new file mode 100644
index 000000000..e356bcea9
--- /dev/null
+++ b/ktnef/ktnef/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ ktnefparser.h ktnefattach.h ktnefproperty.h
+ ktnefpropertyset.h ktnefmessage.h ktnefwriter.h
+ ktnefdefs.h
+ DESTINATION ${INSTALL_INSTALL_DIR}/ktnef )
diff --git a/ktnef/lib/CMakeLists.txt b/ktnef/lib/CMakeLists.txt
new file mode 100644
index 000000000..257c52ab5
--- /dev/null
+++ b/ktnef/lib/CMakeLists.txt
@@ -0,0 +1,35 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/ktnef
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### ktnef (shared) ############################
+
+tde_add_library( ktnef SHARED
+ SOURCES
+ ktnefparser.cpp ktnefproperty.cpp ktnefattach.cpp
+ mapi.cpp ktnefpropertyset.cpp ktnefmessage.cpp
+ ktnefwriter.cpp lzfu.cpp
+ VERSION 1.0.0
+ LINK kio-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/libemailfunctions/CMakeLists.txt b/libemailfunctions/CMakeLists.txt
new file mode 100644
index 000000000..13004d64d
--- /dev/null
+++ b/libemailfunctions/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/libkmime
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### header files ################################
+
+if( BUILD_LIBKDEPIM )
+ install( FILES idmapper.h DESTINATION ${INCLUDE_INSTALL_DIR}/libemailfunctions )
+endif()
+
+
+##### emailfunctions (static) ###################
+
+tde_add_library( emailfunctions STATIC_PIC AUTOMOC
+ SOURCES
+ email.cpp idmapper.cpp kasciistricmp.cpp
+ kasciistringtools.cpp networkstatus.cpp networkstatus.skel
+)
diff --git a/libkcal/CMakeLists.txt b/libkcal/CMakeLists.txt
new file mode 100644
index 000000000..2a730d115
--- /dev/null
+++ b/libkcal/CMakeLists.txt
@@ -0,0 +1,92 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( libkcal )
+
+include( ConfigureChecks.cmake )
+
+tde_import( libkmime )
+tde_import( ktnef )
+
+add_subdirectory( versit )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/versit
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/ktnef
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBICAL_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES local.desktop localdir.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
+install( FILES kcal_manager.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kresources )
+
+
+##### kcal_local (module) #######################
+
+tde_add_kpart( kcal_local AUTOMOC
+ SOURCES resourcelocal_plugin.cpp
+ LINK kcal-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcal_localdir (module) ####################
+
+tde_add_kpart( kcal_localdir AUTOMOC
+ SOURCES resourcelocaldir_plugin.cpp
+ LINK kcal-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcal (shared) #############################
+
+tde_add_library( kcal SHARED AUTOMOC
+ SOURCES
+ assignmentvisitor.cpp comparisonvisitor.cpp
+ incidencebase.cpp incidence.cpp journal.cpp
+ todo.cpp event.cpp freebusy.cpp attendee.cpp
+ attachment.cpp recurrencerule.cpp recurrence.cpp
+ alarm.cpp customproperties.cpp calendar.cpp
+ calendarlocal.cpp calformat.cpp vcalformat.cpp
+ icalformat.cpp icalformatimpl.cpp incidenceformatter.cpp
+ calhelper.cpp calselectdialog.cpp vcaldrag.cpp
+ icaldrag.cpp exceptions.cpp scheduler.cpp
+ imipscheduler.cpp dummyscheduler.cpp calfilter.cpp
+ person.cpp period.cpp duration.cpp dndfactory.cpp
+ filestorage.cpp compat.cpp resourcecalendar.cpp
+ resourcelocal.cpp resourcelocalconfig.cpp
+ resourcelocaldir.cpp resourcelocaldirconfig.cpp
+ resourcecached.cpp resourcecachedconfig.cpp
+ calendarresources.cpp qtopiaformat.cpp attachmenthandler.cpp
+ htmlexportsettings.kcfgc htmlexport.cpp calendarnull.cpp
+ freebusyurlstore.cpp confirmsavedialog.cpp
+ VERSION 2.0.0
+ LINK versit-static emailfunctions-static ktnef-shared kmime-shared kabc-shared ${LIBICAL_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### install import cmake modules ###############
+
+tde_install_export( )
diff --git a/libkcal/ConfigureChecks.cmake b/libkcal/ConfigureChecks.cmake
new file mode 100644
index 000000000..90edc7f33
--- /dev/null
+++ b/libkcal/ConfigureChecks.cmake
@@ -0,0 +1,15 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+pkg_search_module( LIBICAL libical )
+if( NOT LIBICAL_FOUND )
+ tde_message_fatal( "libical are required, but not found on your system" )
+endif()
diff --git a/libkcal/versit/CMakeLists.txt b/libkcal/versit/CMakeLists.txt
new file mode 100644
index 000000000..dd3e89684
--- /dev/null
+++ b/libkcal/versit/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_add_library( versit STATIC_PIC
+ SOURCES vcc.c vobject.c
+)
diff --git a/libkdenetwork/CMakeLists.txt b/libkdenetwork/CMakeLists.txt
new file mode 100644
index 000000000..5c0290f15
--- /dev/null
+++ b/libkdenetwork/CMakeLists.txt
@@ -0,0 +1,20 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( libkdenetwork )
+
+add_subdirectory( gpgmepp )
+add_subdirectory( qgpgme )
+
+
+##### install import cmake modules ###############
+
+tde_install_export( )
diff --git a/libkdenetwork/gpgmepp/CMakeLists.txt b/libkdenetwork/gpgmepp/CMakeLists.txt
new file mode 100644
index 000000000..a05169037
--- /dev/null
+++ b/libkdenetwork/gpgmepp/CMakeLists.txt
@@ -0,0 +1,54 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( interfaces )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GPGME_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ context.h key.h trustitem.h eventloopinteractor.h
+ data.h gpgmefw.h result.h keylistresult.h
+ keygenerationresult.h importresult.h decryptionresult.h
+ verificationresult.h signingresult.h encryptionresult.h
+ engineinfo.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/gpgme++ )
+
+
+##### gpgme++ (shared) ##########################
+
+tde_add_library( gpgme++ SHARED
+ SOURCES
+ context.cpp key.cpp trustitem.cpp data.cpp
+ callbacks.cpp eventloopinteractor.cpp
+ keylistresult.cpp keygenerationresult.cpp
+ importresult.cpp decryptionresult.cpp
+ verificationresult.cpp signingresult.cpp
+ encryptionresult.cpp engineinfo.cpp
+ VERSION 0.4.0
+ LINK ${GPGME_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/libkdenetwork/gpgmepp/interfaces/CMakeLists.txt b/libkdenetwork/gpgmepp/interfaces/CMakeLists.txt
new file mode 100644
index 000000000..db5b88ee8
--- /dev/null
+++ b/libkdenetwork/gpgmepp/interfaces/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ editinteractor.h passphraseprovider.h progressprovider.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/gpgme++/interfaces )
diff --git a/libkdenetwork/qgpgme/CMakeLists.txt b/libkdenetwork/qgpgme/CMakeLists.txt
new file mode 100644
index 000000000..064c0fe4a
--- /dev/null
+++ b/libkdenetwork/qgpgme/CMakeLists.txt
@@ -0,0 +1,41 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ eventloopinteractor.h dataprovider.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/qgpgme )
+
+
+##### qgpgme (shared) ###########################
+
+tde_add_library( qgpgme SHARED AUTOMOC
+ SOURCES
+ eventloopinteractor.cpp dataprovider.cpp
+ VERSION 0.0.0
+ LINK gpgme++-shared ${TQT_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/libkdepim/CMakeLists.txt b/libkdepim/CMakeLists.txt
new file mode 100644
index 000000000..621c39574
--- /dev/null
+++ b/libkdepim/CMakeLists.txt
@@ -0,0 +1,108 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( libkdepim )
+
+include( ConfigureChecks.cmake )
+
+tde_import( libkmime )
+tde_import( libkcal )
+tde_import( ktnef )
+
+add_subdirectory( icons )
+add_subdirectory( pics )
+add_subdirectory( kpartsdesignerplugin )
+add_subdirectory( about )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ kdepimmacros.h kpimprefs.h
+ DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+
+##### other data ################################
+
+install( FILES pimemoticons.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### kdepimwidgets (module) ####################
+
+add_custom_command( OUTPUT kdepimwidgets.cpp
+ COMMAND
+ ${KDE3_MAKEKDEWIDGETS_EXECUTABLE}
+ -o kdepimwidgets.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/kdepim.widgets
+ DEPENDS
+ ${CMAKE_CURRENT_SOURCE_DIR}/kdepim.widgets )
+
+set_source_files_properties( kdepimwidgets.cpp PROPERTIES COMPILE_FLAGS "-DQT_PLUGIN" )
+
+tde_add_kpart( kdepimwidgets
+ SOURCES kdepimwidgets.cpp
+ LINK kdepim-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kdepim (shared) ###########################
+
+set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
+
+tde_add_library( kdepim SHARED AUTOMOC
+ SOURCES
+ ktimeedit.cpp alarmclient.cpp kprefsdialog.cpp kpimprefs.cpp
+ categoryselectdialog_base.ui categoryselectdialog.cpp
+ categoryeditdialog_base.ui categoryeditdialog.cpp kdateedit.cpp
+ kimportdialog.cpp kvcarddrag.cpp sidebarextension.cpp
+ infoextension.cpp addressesdialog.cpp addresspicker.ui
+ addresseeview.cpp maillistdrag.cpp interfaces/MailTransportServiceIface.skel
+ interfaces/AddressBookServiceIface.skel kconfigpropagator.cpp kconfigwizard.cpp
+ weaver.cpp weaverextensions.cpp weaverlogger.cpp pluginloaderbase.cpp
+ addresseelineedit.cpp addresseelineedit.skel kdatepickerpopup.cpp
+ kfileio.cpp clicklineedit.cpp configmanager.cpp collectingprocess.cpp
+ ldapclient.cpp overlaywidget.cpp progressmanager.cpp progressdialog.cpp
+ statusbarprogresswidget.cpp ssllabel.cpp completionordereditor.cpp
+ resourceabc.cpp diffalgo.cpp addresseediffalgo.cpp calendardiffalgo.cpp
+ htmldiffalgodisplay.cpp ldapsearchdialog.cpp broadcaststatus.cpp
+ kresourceprefs.cpp kpixmapregionselectorwidget.cpp
+ kpixmapregionselectordialog.cpp kabcresourcecached.cpp
+ kxface.cpp kaccount.cpp kaddrbook.cpp kfoldertree.cpp kregexp3.cpp
+ kscoring.cpp kscoringeditor.cpp ksubscription.cpp kwidgetlister.cpp
+ linklocator.cpp qutf7codec.cpp recentaddresses.cpp spellingfilter.cpp
+ addresseeselector.cpp addresseeemailselection.cpp designerfields.cpp
+ kcmdesignerfields.cpp embeddedurlpage.cpp kincidencechooser.cpp
+ groupwarejob.cpp pimemoticons.kcfgc krsqueezedtextlabel.cpp
+ csshelper.cpp distributionlist.cpp kpimurlrequesterdlg.cpp
+ sendsmsdialog.cpp kmailcompletion.cpp
+ VERSION 1.0.0
+ LINK kcal-shared kimproxy-shared kparts-shared qui
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### install import cmake modules ###############
+
+tde_install_export( )
diff --git a/libkdepim/ConfigureChecks.cmake b/libkdepim/ConfigureChecks.cmake
new file mode 100644
index 000000000..96e1e621a
--- /dev/null
+++ b/libkdepim/ConfigureChecks.cmake
@@ -0,0 +1,10 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
diff --git a/libkdepim/about/CMakeLists.txt b/libkdepim/about/CMakeLists.txt
new file mode 100644
index 000000000..8fa99df96
--- /dev/null
+++ b/libkdepim/about/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ bar-bottom-left.png bar-top-right.png bar-bottom-middle.png bottom-left.png
+ box-middle-left.png top-left.png bar-bottom-right.png bottom-middle.png
+ box-middle-right.png top-middle.png bar-middle-left.png bottom-right.png
+ box-top-left.png bar-middle-right.png box-bottom-left.png box-top-middle.png
+ bar-top-left.png box-bottom-middle.png box-top-right.png bar-top-middle.png
+ box-bottom-right.png kde_infopage.css kde_infopage_rtl.css
+ DESTINATION ${DATA_INSTALL_DIR}/libkdepim/about )
diff --git a/libkdepim/icons/CMakeLists.txt b/libkdepim/icons/CMakeLists.txt
new file mode 100644
index 000000000..189a3a200
--- /dev/null
+++ b/libkdepim/icons/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons()
diff --git a/libkdepim/kpartsdesignerplugin/CMakeLists.txt b/libkdepim/kpartsdesignerplugin/CMakeLists.txt
new file mode 100644
index 000000000..2d7f5611f
--- /dev/null
+++ b/libkdepim/kpartsdesignerplugin/CMakeLists.txt
@@ -0,0 +1,32 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -DQT_PLUGIN )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kpartsdesignerplugin (module) #############
+
+tde_add_kpart( kpartsdesignerplugin AUTOMOC
+ SOURCES kpartsdesignerplugin.cpp
+ LINK kparts-shared kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/libkdepim/pics/CMakeLists.txt b/libkdepim/pics/CMakeLists.txt
new file mode 100644
index 000000000..04f64a51a
--- /dev/null
+++ b/libkdepim/pics/CMakeLists.txt
@@ -0,0 +1,15 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ addresseelineedit.png clicklineedit.png
+ kdateedit.png ktimeedit.png
+ DESTINATION ${DATA_INSTALL_DIR}/kdepimwidgets/pics )
diff --git a/libkmime/CMakeLists.txt b/libkmime/CMakeLists.txt
new file mode 100644
index 000000000..d6d128766
--- /dev/null
+++ b/libkmime/CMakeLists.txt
@@ -0,0 +1,48 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME need some configure checks
+
+project( libkmime )
+
+include( ConfigureChecks.cmake )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kmime (shared) ############################
+
+tde_add_library( kmime SHARED
+ SOURCES
+ kmime_charfreq.cpp kmime_util.cpp kmime_mdn.cpp
+ kmime_codecs.cpp kmime_codec_base64.cpp kmime_codec_uuencode.cpp
+ kmime_codec_qp.cpp kmime_codec_identity.cpp kmime_parsers.cpp
+ kmime_header_parsing.cpp kmime_content.cpp kmime_headers.cpp
+ kmime_message.cpp kmime_newsarticle.cpp boolflags.cpp
+ kqcstringsplitter.cpp
+ VERSION 2.2.0
+ LINK kdecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### install import cmake modules ###############
+
+tde_install_export( )
diff --git a/libkmime/ConfigureChecks.cmake b/libkmime/ConfigureChecks.cmake
new file mode 100644
index 000000000..8d1c8b69c
--- /dev/null
+++ b/libkmime/ConfigureChecks.cmake
@@ -0,0 +1 @@
+
diff --git a/libkpgp/CMakeLists.txt b/libkpgp/CMakeLists.txt
new file mode 100644
index 000000000..c6c9d9160
--- /dev/null
+++ b/libkpgp/CMakeLists.txt
@@ -0,0 +1,47 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( libkpgp )
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kpgp.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( PROGRAMS kpgp-3.1-upgrade-address-data.pl DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+
+##### kpgp (shared) #############################
+
+tde_add_library( kpgp SHARED AUTOMOC
+ SOURCES
+ kpgpblock.cpp kpgpui.cpp kpgpkey.cpp kpgp.cpp kpgpbase.cpp
+ kpgpbaseG.cpp kpgpbase2.cpp kpgpbase5.cpp kpgpbase6.cpp
+ VERSION 2.2.0
+ LINK kdeui-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+tde_install_export( )
diff --git a/libkpgp/pics/CMakeLists.txt b/libkpgp/pics/CMakeLists.txt
new file mode 100644
index 000000000..91ab2f703
--- /dev/null
+++ b/libkpgp/pics/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ key_ok.png key_bad.png key_unknown.png key.png
+ DESTINATION ${DATA_INSTALL_DIR}/kmail/pics )
+
+install( FILES
+ key_ok.png key_bad.png key_unknown.png key.png
+ DESTINATION ${DATA_INSTALL_DIR}/knode/pics )
diff --git a/libkpimidentities/CMakeLists.txt b/libkpimidentities/CMakeLists.txt
new file mode 100644
index 000000000..b110c6331
--- /dev/null
+++ b/libkpimidentities/CMakeLists.txt
@@ -0,0 +1,47 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( libkpimidentities )
+
+tde_import( ktnef )
+tde_import( libkmime )
+tde_import( libkcal )
+tde_import( libkdenetwork )
+tde_import( certmanager )
+tde_import( libkdepim )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kpimidentities (shared) ###################
+
+tde_add_library( kpimidentities SHARED AUTOMOC
+ SOURCES
+ identitymanager.cpp identity.cpp identitymanager.skel
+ identitycombo.cpp
+ VERSION 1.0.0
+ LINK kleopatra-shared kdepim-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+tde_install_export( )
diff --git a/libkpimidentities/ConfigureChecks.cmake b/libkpimidentities/ConfigureChecks.cmake
new file mode 100644
index 000000000..7b3214088
--- /dev/null
+++ b/libkpimidentities/ConfigureChecks.cmake
@@ -0,0 +1,11 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
diff --git a/libksieve/CMakeLists.txt b/libksieve/CMakeLists.txt
new file mode 100644
index 000000000..d28674d9d
--- /dev/null
+++ b/libksieve/CMakeLists.txt
@@ -0,0 +1,39 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( libksieve )
+
+add_subdirectory( ksieve )
+add_subdirectory( shared )
+add_subdirectory( parser )
+
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### ksieve (shared) ###########################
+
+configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_dummy_cpp.cmake dummy.cpp COPYONLY )
+
+tde_add_library( ksieve SHARED
+ SOURCES dummy.cpp
+ VERSION 0.0.0
+ EMBED ksieve_parser-static ksieve_shared-static
+ LINK kdecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+tde_install_export( )
diff --git a/libksieve/ksieve/CMakeLists.txt b/libksieve/ksieve/CMakeLists.txt
new file mode 100644
index 000000000..9765ddfa0
--- /dev/null
+++ b/libksieve/ksieve/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ error.h lexer.h parser.h scriptbuilder.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/ksieve )
diff --git a/libksieve/parser/CMakeLists.txt b/libksieve/parser/CMakeLists.txt
new file mode 100644
index 000000000..526bb1685
--- /dev/null
+++ b/libksieve/parser/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libksieve
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### ksieve_parser (static) ####################
+
+tde_add_library( ksieve_parser STATIC_PIC
+ SOURCES utf8validator.cpp lexer.cpp parser.cpp
+)
diff --git a/libksieve/shared/CMakeLists.txt b/libksieve/shared/CMakeLists.txt
new file mode 100644
index 000000000..5f3e92f42
--- /dev/null
+++ b/libksieve/shared/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libksieve
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### ksieve_shared (static) ####################
+
+tde_add_library( ksieve_shared STATIC_PIC
+ SOURCES error.cpp
+)
diff --git a/mimelib/CMakeLists.txt b/mimelib/CMakeLists.txt
new file mode 100644
index 000000000..262fa1805
--- /dev/null
+++ b/mimelib/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( mimelib )
+
+add_subdirectory( mimelib )
+
+add_definitions(
+ -DDW_DEVELOPMENT_VERSION
+ -D_REENTRANT
+)
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### mimelib (shared) ##########################
+
+tde_add_library( mimelib SHARED
+ SOURCES
+ protocol.cpp address.cpp addrlist.cpp body.cpp
+ bodypart.cpp boyermor.cpp datetime.cpp disptype.cpp
+ dw_cte.cpp dw_date.cpp dw_mime.cpp entity.cpp
+ field.cpp fieldbdy.cpp group.cpp headers.cpp mailbox.cpp
+ mboxlist.cpp mechansm.cpp mediatyp.cpp message.cpp
+ msgcmp.cpp msgid.cpp nntp.cpp param.cpp pop.cpp
+ dwstring.cpp text.cpp token.cpp uuencode.cpp
+ binhex.cpp
+ VERSION 1.0.1
+ LINK ${TDE_LIB_DIR}/libkdefakes_pic.a
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+tde_install_export( )
diff --git a/mimelib/mimelib/CMakeLists.txt b/mimelib/mimelib/CMakeLists.txt
new file mode 100644
index 000000000..0f2c61417
--- /dev/null
+++ b/mimelib/mimelib/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ address.h addrlist.h body.h bodypart.h boyermor.h
+ config.h datetime.h debug.h disptype.h entity.h
+ enum.h field.h fieldbdy.h group.h headers.h mailbox.h
+ mboxlist.h mechansm.h mediatyp.h message.h mimepp.h
+ msgcmp.h msgid.h nntp.h param.h pop.h protocol.h
+ string.h text.h token.h utility.h uuencode.h binhex.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/mimelib )