[kdepim]: initial cmake support for following subpackages: akregator, certmanager, kaddressbook, kalarm, kioslaves, kmail, ktnef, libemailfunctions, libkcal, libkdenetwork, libkdepim, libkmime, libkpgp, libkpimidentities, libksieve, mimelib

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1223912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
samelian 14 years ago
parent a21c1c9b1d
commit b67ece773c

@ -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 )

@ -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 )

@ -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 )

@ -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}
)

@ -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 )

@ -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
)

@ -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}
)

@ -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 )

@ -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
)

@ -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 )

@ -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( )

@ -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 )

@ -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
)

@ -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}
)

@ -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}
)

@ -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 )

@ -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
)

@ -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 )

@ -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
)

@ -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
)

@ -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 )

@ -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
)

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

@ -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}
)

@ -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
)

@ -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 )

@ -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}
)

@ -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 )

@ -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 )

@ -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}
)

@ -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}
)

@ -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}
)

@ -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 )

@ -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
)

@ -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}
)

@ -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}
)

@ -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( )

@ -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( )

@ -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}
)

@ -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
)

@ -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
)

@ -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 )

@ -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 )

@ -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( )

@ -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}
)

@ -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}
)

@ -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}
)

@ -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}
)

@ -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( )

@ -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 )

@ -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} )

@ -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 )

@ -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 )

@ -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 )

@ -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( )

@ -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( )

@ -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 )

@ -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}
)

@ -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 )

@ -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 )

@ -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}
)

@ -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
)

@ -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( )

@ -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()

@ -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
)

@ -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( )

@ -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}
)

@ -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 )

@ -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}
)

@ -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( )

@ -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
#
#################################################

@ -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 )

@ -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()

@ -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}
)

@ -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 )

@ -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( )

@ -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( )

@ -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 )

@ -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( )

@ -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
#
#################################################

@ -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( )

@ -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 )

@ -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
)

@ -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
)

@ -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( )

@ -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 )
Loading…
Cancel
Save