summaryrefslogtreecommitdiffstats
path: root/korganizer
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer')
-rw-r--r--korganizer/CMakeLists.txt208
-rw-r--r--korganizer/ConfigureChecks.cmake12
-rw-r--r--korganizer/interfaces/CMakeLists.txt13
-rw-r--r--korganizer/interfaces/calendar/CMakeLists.txt18
-rw-r--r--korganizer/interfaces/korganizer/CMakeLists.txt18
-rw-r--r--korganizer/korgac/CMakeLists.txt41
-rw-r--r--korganizer/korgac/pixmaps/CMakeLists.txt12
-rw-r--r--korganizer/pixmaps/CMakeLists.txt12
-rw-r--r--korganizer/plugins/CMakeLists.txt15
-rw-r--r--korganizer/plugins/datenums/CMakeLists.txt37
-rw-r--r--korganizer/plugins/exchange/CMakeLists.txt41
-rw-r--r--korganizer/plugins/hebrew/CMakeLists.txt37
-rw-r--r--korganizer/plugins/printing/CMakeLists.txt13
-rw-r--r--korganizer/plugins/printing/journal/CMakeLists.txt40
-rw-r--r--korganizer/plugins/printing/year/CMakeLists.txt38
-rw-r--r--korganizer/printing/CMakeLists.txt54
-rw-r--r--korganizer/sounds/CMakeLists.txt14
17 files changed, 623 insertions, 0 deletions
diff --git a/korganizer/CMakeLists.txt b/korganizer/CMakeLists.txt
new file mode 100644
index 000000000..2d81cbb53
--- /dev/null
+++ b/korganizer/CMakeLists.txt
@@ -0,0 +1,208 @@
+#################################################
+#
+# (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 )
+configure_file( ical2vcal.in ical2vcal @ONLY )
+
+tde_import( libkdepim )
+tde_import( libkmime )
+tde_import( ktnef )
+tde_import( libkcal )
+tde_import( libkdenetwork )
+tde_import( certmanager )
+tde_import( libkpimidentities )
+tde_import( libkholidays )
+
+add_subdirectory( printing )
+add_subdirectory( korgac )
+add_subdirectory( pixmaps )
+add_subdirectory( sounds )
+add_subdirectory( plugins )
+add_subdirectory( interfaces )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/interfaces
+ ${CMAKE_CURRENT_SOURCE_DIR}/printing
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkholidays
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+
+install( FILES
+ korganizer.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ dcopcalendar.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+install( FILES
+ korganizer_configmain.desktop korganizer_configtime.desktop
+ korganizer_configviews.desktop korganizer_configcolors.desktop
+ korganizer_configfonts.desktop korganizer_configplugins.desktop
+ korganizer_configgroupscheduling.desktop korganizer_configfreebusy.desktop
+ korganizer_configdesignerfields.desktop webcal.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+install( FILES
+ uninstall.desktop
+ RENAME korganizer_configgroupautomation.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+install( FILES
+ uninstall.desktop
+ RENAME webexport.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/korganizer )
+
+install( FILES
+ uninstall.desktop
+ RENAME holidays.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/korganizer )
+
+install( FILES
+ korganizer.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR} )
+
+install( FILES
+ korganizer.upd
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+install( FILES
+ tips korganizerui.rc korganizer_part.rc
+ DESTINATION ${DATA_INSTALL_DIR}/korganizer )
+
+install( PROGRAMS
+ ${CMAKE_CURRENT_BINARY_DIR}/ical2vcal
+ DESTINATION ${BIN_INSTALL_DIR} )
+
+
+##### korganizer (executable) ###################
+
+tde_add_executable( korganizer AUTOMOC
+ SOURCES main.cpp korganizer.cpp koapp.cpp
+ LINK korganizer-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kcm_korganizer (module) ###################
+
+tde_add_kpart( kcm_korganizer AUTOMOC
+ SOURCES koprefsdialog.cpp
+ LINK korganizer-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkorganizerpart (module) ################
+
+tde_add_kpart( libkorganizerpart AUTOMOC
+ SOURCES korganizer_part.cpp
+ LINK korganizer-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### korganizer_calendar (shared) ##############
+
+tde_add_library( korganizer_calendar SHARED
+ SOURCES stdcalendar.cpp
+ VERSION 1.0.0
+ LINK kdepim-shared kcal-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### korganizer_eventviewer (shared) ###########
+
+set( target korganizer_eventviewer )
+
+set( ${target}_SRCS
+ koeventviewer.cpp urihandler.cpp koeventviewerdialog.cpp )
+
+tde_save( KDE3_DCOPIDL_EXECUTABLE )
+set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
+kde3_add_dcop_stubs( ${target}_SRCS ${CMAKE_SOURCE_DIR}/kmail/kmailIface.h )
+tde_restore( KDE3_DCOPIDL_EXECUTABLE )
+
+tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+ VERSION 1.0.0
+ LINK kcal-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### korganizer (shared) #######################
+
+add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libkcal/htmlexportsettings.h
+ COMMAND
+ mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/libkcal
+ COMMAND ${KDE3_KCFGC_EXECUTABLE}
+ -d ${CMAKE_CURRENT_BINARY_DIR}/libkcal
+ ${CMAKE_SOURCE_DIR}/libkcal/htmlexportsettings.kcfg
+ ${CMAKE_SOURCE_DIR}/libkcal/htmlexportsettings.kcfgc
+ DEPENDS
+ ${CMAKE_SOURCE_DIR}/libkcal/htmlexportsettings.kcfg
+ ${CMAKE_SOURCE_DIR}/libkcal/htmlexportsettings.kcfgc
+)
+
+set_source_files_properties( calendarview.cpp
+ PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/libkcal/htmlexportsettings.h )
+
+tde_add_library( korganizer SHARED AUTOMOC
+ META_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/interfaces/korganizer
+ SOURCES
+ komessagebox.cpp koagendaview.cpp koagenda.cpp koagendaitem.cpp
+ datenavigator.cpp kdatenavigator.cpp datenavigatorcontainer.cpp
+ datechecker.cpp komonthview.cpp searchdialog.cpp calendarview.cpp
+ koviewmanager.cpp kodialogmanager.cpp archivedialog.cpp kohelper.cpp
+ komailclient.cpp kotodoview.cpp kotodoviewitem.cpp kolistview.cpp
+ koincidenceeditor.cpp koeventeditor.cpp kotodoeditor.cpp kojournaleditor.cpp
+ koprefs.cpp kowindowlist.cpp koeditorgeneral.cpp koeditorgeneralevent.cpp
+ koeditorgeneraltodo.cpp koeditorgeneraljournal.cpp koeditordetails.cpp
+ koeditoralarms_base.ui koeditoralarms.cpp koeditorrecurrence.cpp
+ koeditorattachments.cpp kogroupwareprefspage.ui koeventpopupmenu.cpp
+ koeditorfreebusy.cpp publishdialog_base.ui publishdialog.cpp
+ koeventview.cpp korganizeriface.skel kcalendariface.skel filtereditdialog.cpp
+ filteredit_base.ui kowhatsnextview.cpp kojournalview.cpp journalentry.cpp
+ kocore.cpp mailscheduler.cpp kodaymatrix.cpp docprefs.cpp statusdialog.cpp
+ koglobals.cpp konewstuff.cpp actionmanager.cpp resourceview.cpp
+ navigatorbar.cpp kogroupware.cpp history.cpp koprefs_base.kcfgc
+ koincidencetooltip.cpp aboutdata.cpp importdialog.cpp previewdialog.cpp
+ korganizerifaceimpl.cpp freebusymanager.cpp freebusyurldialog.cpp
+ eventarchiver.cpp koidentitymanager.cpp exportwebdialog.cpp
+ kocorehelper.cpp incidencechanger.cpp template_management_dialog_base.ui
+ templatemanagementdialog.cpp agendaview.cpp multiagendaview.cpp
+ timelineitem.cpp kotimelineview.cpp koattendeeeditor.cpp timelabels.cpp
+ VERSION 1.0.0
+ LINK
+ kdgantt-static
+ korganizer_eventviewer-shared korganizer_calendar-shared korg_stdprinting-shared
+ kholidays-shared kpimidentities-shared
+ kutils-shared knewstuff-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/korganizer/ConfigureChecks.cmake b/korganizer/ConfigureChecks.cmake
new file mode 100644
index 000000000..aa3526348
--- /dev/null
+++ b/korganizer/ConfigureChecks.cmake
@@ -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
+#
+#################################################
+
+find_program( PERL perl )
diff --git a/korganizer/interfaces/CMakeLists.txt b/korganizer/interfaces/CMakeLists.txt
new file mode 100644
index 000000000..713c16c40
--- /dev/null
+++ b/korganizer/interfaces/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( calendar )
+add_subdirectory( korganizer )
diff --git a/korganizer/interfaces/calendar/CMakeLists.txt b/korganizer/interfaces/calendar/CMakeLists.txt
new file mode 100644
index 000000000..fe5296fed
--- /dev/null
+++ b/korganizer/interfaces/calendar/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
+ plugin.h calendardecoration.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/calendar )
+
+install( FILES
+ calendarplugin.desktop calendardecoration.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
diff --git a/korganizer/interfaces/korganizer/CMakeLists.txt b/korganizer/interfaces/korganizer/CMakeLists.txt
new file mode 100644
index 000000000..6b5a45f27
--- /dev/null
+++ b/korganizer/interfaces/korganizer/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
+ part.h baseview.h calendarviewbase.h mainwindow.h corehelper.h printplugin.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/korganizer )
+
+install( FILES
+ korganizerpart.desktop korgprintplugin.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
diff --git a/korganizer/korgac/CMakeLists.txt b/korganizer/korgac/CMakeLists.txt
new file mode 100644
index 000000000..c2bd06705
--- /dev/null
+++ b/korganizer/korgac/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
+#
+#################################################
+
+add_subdirectory( pixmaps )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/korganizer
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES korgac.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+
+
+##### korgac (executable) #######################
+
+tde_add_executable( korgac AUTOMOC
+ SOURCES
+ korgacmain.cpp alarmdialog.cpp alarmdockwindow.cpp koalarmclient.cpp
+ alarmclientiface.skel
+ LINK korganizer_eventviewer-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/korganizer/korgac/pixmaps/CMakeLists.txt b/korganizer/korgac/pixmaps/CMakeLists.txt
new file mode 100644
index 000000000..5ec19abac
--- /dev/null
+++ b/korganizer/korgac/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( DESTINATION ${DATA_INSTALL_DIR}/korgac/icons )
diff --git a/korganizer/pixmaps/CMakeLists.txt b/korganizer/pixmaps/CMakeLists.txt
new file mode 100644
index 000000000..173a3eb43
--- /dev/null
+++ b/korganizer/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( DESTINATION ${DATA_INSTALL_DIR}/korganizer/icons )
diff --git a/korganizer/plugins/CMakeLists.txt b/korganizer/plugins/CMakeLists.txt
new file mode 100644
index 000000000..b89368b8d
--- /dev/null
+++ b/korganizer/plugins/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
+#
+#################################################
+
+add_subdirectory( datenums )
+add_subdirectory( hebrew )
+add_subdirectory( printing )
+tde_conditional_add_subdirectory( WITH_EXCHANGE exchange )
diff --git a/korganizer/plugins/datenums/CMakeLists.txt b/korganizer/plugins/datenums/CMakeLists.txt
new file mode 100644
index 000000000..7c63afb5e
--- /dev/null
+++ b/korganizer/plugins/datenums/CMakeLists.txt
@@ -0,0 +1,37 @@
+#################################################
+#
+# (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}/korganizer
+ ${CMAKE_SOURCE_DIR}/korganizer/interfaces
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES datenums.desktop DESTINATION ${SERVICES_INSTALL_DIR}/korganizer )
+
+
+##### libkorg_datenums (module) #################
+
+tde_add_kpart( libkorg_datenums AUTOMOC
+ SOURCES configdialog.cpp datenums.cpp
+ LINK korganizer-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/korganizer/plugins/exchange/CMakeLists.txt b/korganizer/plugins/exchange/CMakeLists.txt
new file mode 100644
index 000000000..8b5c8c7bc
--- /dev/null
+++ b/korganizer/plugins/exchange/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
+#
+#################################################
+
+tde_import( libkpimexchange )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/korganizer/interfaces
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/libkpimexchange/core
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES exchange.desktop DESTINATION ${SERVICES_INSTALL_DIR}/korganizer )
+install( FILES exchangeui.rc DESTINATION ${DATA_INSTALL_DIR}/korganizer/plugins )
+
+
+##### libkorg_exchange (module) #################
+
+tde_add_kpart( libkorg_exchange AUTOMOC
+ SOURCES exchange.cpp exchangedialog.cpp exchangeconfig.cpp
+ LINK korganizer-shared kpimexchange-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/korganizer/plugins/hebrew/CMakeLists.txt b/korganizer/plugins/hebrew/CMakeLists.txt
new file mode 100644
index 000000000..02f98faaf
--- /dev/null
+++ b/korganizer/plugins/hebrew/CMakeLists.txt
@@ -0,0 +1,37 @@
+#################################################
+#
+# (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_SOURCE_DIR}/korganizer/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES hebrew.desktop DESTINATION ${SERVICES_INSTALL_DIR}/korganizer )
+
+
+##### libkorg_hebrew (module) ###################
+
+tde_add_kpart( libkorg_hebrew AUTOMOC
+ SOURCES
+ hebrew.cpp configdialog.cpp holiday.cpp parsha.cpp converter.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/korganizer/plugins/printing/CMakeLists.txt b/korganizer/plugins/printing/CMakeLists.txt
new file mode 100644
index 000000000..db8006f90
--- /dev/null
+++ b/korganizer/plugins/printing/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( journal )
+add_subdirectory( year )
diff --git a/korganizer/plugins/printing/journal/CMakeLists.txt b/korganizer/plugins/printing/journal/CMakeLists.txt
new file mode 100644
index 000000000..186078ab9
--- /dev/null
+++ b/korganizer/plugins/printing/journal/CMakeLists.txt
@@ -0,0 +1,40 @@
+#################################################
+#
+# (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}
+ ${CMAKE_SOURCE_DIR}/korganizer/interfaces
+ ${CMAKE_SOURCE_DIR}/korganizer/interfaces/korganizer
+ ${CMAKE_SOURCE_DIR}/korganizer/printing
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES journalprint.desktop DESTINATION ${SERVICES_INSTALL_DIR}/korganizer )
+
+
+##### libkorg_journalprint (module) #############
+
+tde_add_kpart( libkorg_journalprint AUTOMOC
+ SOURCES
+ calprintjournalconfig_base.ui journalprint.cpp
+ LINK korg_stdprinting-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/korganizer/plugins/printing/year/CMakeLists.txt b/korganizer/plugins/printing/year/CMakeLists.txt
new file mode 100644
index 000000000..755cf96db
--- /dev/null
+++ b/korganizer/plugins/printing/year/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}
+ ${CMAKE_SOURCE_DIR}/korganizer/interfaces
+ ${CMAKE_SOURCE_DIR}/korganizer/printing
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES yearprint.desktop DESTINATION ${SERVICES_INSTALL_DIR}/korganizer )
+
+
+##### libkorg_yearlyprint (module) ##############
+
+tde_add_kpart( libkorg_yearlyprint AUTOMOC
+ SOURCES calprintyearconfig_base.ui yearprint.cpp
+ LINK korg_stdprinting-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/korganizer/printing/CMakeLists.txt b/korganizer/printing/CMakeLists.txt
new file mode 100644
index 000000000..6002d1d6a
--- /dev/null
+++ b/korganizer/printing/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/korganizer/interfaces
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ calprintpluginbase.h calprinter.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/korganizer )
+
+
+##### kocorehelper (shared) #####################
+
+tde_add_library( kocorehelper SHARED
+ SOURCES cellitem.cpp
+ VERSION 1.0.0
+ LINK kdepim-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### korg_stdprinting (shared) #################
+
+tde_add_library( korg_stdprinting SHARED AUTOMOC
+ SOURCES
+ calprinter.cpp calprintpluginbase.cpp calprintdefaultplugins.cpp
+ calprintdayconfig_base.ui calprintmonthconfig_base.ui
+ calprinttodoconfig_base.ui calprintweekconfig_base.ui
+ calprintincidenceconfig_base.ui
+ VERSION 1.0.0
+ LINK kocorehelper-shared kdeprint-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/korganizer/sounds/CMakeLists.txt b/korganizer/sounds/CMakeLists.txt
new file mode 100644
index 000000000..887077989
--- /dev/null
+++ b/korganizer/sounds/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
+ alert.wav icemag.wav lightmag.wav onscreen.wav spinout.wav
+ DESTINATION ${DATA_INSTALL_DIR}/korganizer/sounds )