diff --git a/CMakeLists.txt b/CMakeLists.txt index 53ff85a4..c1c56849 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,12 +24,9 @@ set( VERSION "3.5.13" ) include( FindPkgConfig ) include( CheckIncludeFile ) include( CheckTypeSize ) -# include( CheckCSourceRuns ) include( CheckCSourceCompiles ) include( CheckCXXSourceCompiles ) include( CheckLibraryExists ) -# include( CheckFunctionExists ) -# include( CheckStructHasMember ) ##### include our cmake modules ################# @@ -47,10 +44,10 @@ 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 ) +option( WITH_EXCHANGE "Enable Microsoft Exchange 2000 support" OFF ) if( NOT WITH_ARTS ) set( WITHOUT_ARTS 1 ) @@ -74,12 +71,16 @@ 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_LIBKPIMEXCHANGE "Build libkpimexchange" ${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} ) option( BUILD_KORN "Build korn" ${BUILD_ALL} ) +option( BUILD_KGANTT "Build kgantt" ${BUILD_ALL} ) +option( BUILD_LIBKHOLIDAYS "Build libkholidays" ${BUILD_ALL} ) +option( BUILD_KORGANIZER "Build korganizer" ${BUILD_ALL} ) ##### configure checks ########################## @@ -111,6 +112,7 @@ endif() 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 pixmaps ) tde_conditional_add_subdirectory( BUILD_LIBKDEPIM libkdepim ) tde_conditional_add_subdirectory( BUILD_LIBKPIMIDENTITIES libkpimidentities ) tde_conditional_add_subdirectory( BUILD_LIBKDENETWORK libkdenetwork ) @@ -118,12 +120,17 @@ 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_LIBKPIMEXCHANGE libkpimexchange ) 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 ) tde_conditional_add_subdirectory( BUILD_KORN korn ) +tde_conditional_add_subdirectory( BUILD_KGANTT kgantt ) +tde_conditional_add_subdirectory( BUILD_LIBKHOLIDAYS libkholidays ) +tde_conditional_add_subdirectory( BUILD_KORGANIZER kdgantt ) +tde_conditional_add_subdirectory( BUILD_KORGANIZER korganizer ) ##### write configure files ##################### diff --git a/kdgantt/CMakeLists.txt b/kdgantt/CMakeLists.txt new file mode 100644 index 00000000..7ebe0a26 --- /dev/null +++ b/kdgantt/CMakeLists.txt @@ -0,0 +1,29 @@ +################################################# +# +# (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} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### kdgantt (static) ########################## + +tde_add_library( kdgantt STATIC_PIC AUTOMOC + SOURCES + KDGanttView.cpp KDGanttViewEventItem.cpp KDGanttViewItem.cpp + KDGanttViewItemDrag.cpp KDGanttViewSubwidgets.cpp KDGanttViewSummaryItem.cpp + KDGanttViewTaskItem.cpp KDGanttViewTaskLink.cpp KDGanttViewTaskLinkGroup.cpp + KDGanttMinimizeSplitter.cpp KDGanttSemiSizingControl.cpp + KDGanttSizingControl.cpp KDGanttXMLTools.cpp itemAttributeDialog.ui +) diff --git a/kdgantt/KDGanttMinimizeSplitter.cpp b/kdgantt/KDGanttMinimizeSplitter.cpp index 79d7e18d..7f2df6e8 100644 --- a/kdgantt/KDGanttMinimizeSplitter.cpp +++ b/kdgantt/KDGanttMinimizeSplitter.cpp @@ -46,6 +46,7 @@ #define TQPtrList QList #define TQMemArray QArray #endif +#include "tqlayout.h" #include "tqlayoutengine_p.h" #include "tqobjectlist.h" #include "tqstyle.h" diff --git a/kgantt/CMakeLists.txt b/kgantt/CMakeLists.txt new file mode 100644 index 00000000..0755af3b --- /dev/null +++ b/kgantt/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +project( kgantt ) + +add_subdirectory( kgantt ) +add_subdirectory( pixmaps ) + +tde_install_export( ) diff --git a/kgantt/kgantt/CMakeLists.txt b/kgantt/kgantt/CMakeLists.txt new file mode 100644 index 00000000..371a9fe0 --- /dev/null +++ b/kgantt/kgantt/CMakeLists.txt @@ -0,0 +1,42 @@ +################################################# +# +# (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 + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + KGantt.h KGanttItem.h KGanttRelation.h xQGanttBarView.h xQGanttBarViewPort.h + xQGanttListView.h xQGanttListViewPort.h KGanttBarConfig.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kgantt ) + + +##### kgantt (shared) ########################### + +tde_add_library( kgantt SHARED AUTOMOC + SOURCES + KGantt.cpp xQGanttBarViewPort.cpp xQGanttListViewPort.cpp KGanttItem.cpp + KGanttRelation.cpp xQGanttBarViewPort_Events.cpp xQGanttBarView.cpp + xQGanttListView.cpp KGanttBarConfig.cpp + VERSION 0.0.2 + LINK kdeui-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/kgantt/pixmaps/CMakeLists.txt b/kgantt/pixmaps/CMakeLists.txt new file mode 100644 index 00000000..87ab8bcd --- /dev/null +++ b/kgantt/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}/kgantt/icons ) diff --git a/korganizer/CMakeLists.txt b/korganizer/CMakeLists.txt new file mode 100644 index 00000000..2d81cbb5 --- /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 00000000..aa352634 --- /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 00000000..713c16c4 --- /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 00000000..fe5296fe --- /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 00000000..6b5a45f2 --- /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 00000000..c2bd0670 --- /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 00000000..5ec19aba --- /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 00000000..173a3eb4 --- /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 00000000..b89368b8 --- /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 00000000..7c63afb5 --- /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 00000000..8b5c8c7b --- /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 00000000..02f98faa --- /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 00000000..db8006f9 --- /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 00000000..186078ab --- /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 00000000..755cf96d --- /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 00000000..6002d1d6 --- /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 00000000..88707798 --- /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 ) diff --git a/libkholidays/CMakeLists.txt b/libkholidays/CMakeLists.txt new file mode 100644 index 00000000..59c1afa2 --- /dev/null +++ b/libkholidays/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 +# +################################################# + +project( libkholidays ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/libkdepim + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### kholidays (shared) ######################## + +tde_add_library( kholidays SHARED AUTOMOC + SOURCES + kholidays.cpp scanholiday.c parseholiday.h parseholiday.c lunarphase.cpp + VERSION 1.0.0 + LINK kdecore-shared + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### install import cmake modules ############### + +tde_install_export( ) diff --git a/libkholidays/holidays/CMakeLists.txt b/libkholidays/holidays/CMakeLists.txt new file mode 100644 index 00000000..8347ef54 --- /dev/null +++ b/libkholidays/holidays/CMakeLists.txt @@ -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 +# +################################################# + +install( FILES + holiday_ar holiday_at holiday_au holiday_bavarian holiday_br + holiday_BelgiumDutch holiday_BelgiumFrench holiday_BelgiumWalloon holiday_ca + holiday_catalan holiday_co holiday_ch holiday_cz holiday_de holiday_dk + holiday_ee holiday_es holiday_fi holiday_fr holiday_frswiss holiday_gb + holiday_gr holiday_gt holiday_hu holiday_is holiday_il holiday_it holiday_jp + holiday_lt holiday_mx holiday_nl holiday_no holiday_nz holiday_pl holiday_pt + holiday_py holiday_quebec holiday_ro holiday_ru holiday_se holiday_si + holiday_th holiday_ua holiday_us holiday_uy holiday_ie holiday_Suedtirol + holiday_za + DESTINATION ${DATA_INSTALL_DIR}/libkholidays ) diff --git a/libkpimexchange/CMakeLists.txt b/libkpimexchange/CMakeLists.txt new file mode 100644 index 00000000..a97df043 --- /dev/null +++ b/libkpimexchange/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +project( libkpimexchange ) + +add_subdirectory( core ) + +tde_install_export( ) diff --git a/libkpimexchange/core/CMakeLists.txt b/libkpimexchange/core/CMakeLists.txt new file mode 100644 index 00000000..fde8a6b4 --- /dev/null +++ b/libkpimexchange/core/CMakeLists.txt @@ -0,0 +1,45 @@ +################################################# +# +# (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 ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/libkdepim + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + exchangeclient.h exchangeaccount.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdepim ) + + +##### kpimexchange (shared) ##################### + +tde_add_library( kpimexchange SHARED AUTOMOC + SOURCES + exchangeclient.cpp exchangeaccount.cpp exchangedownload.cpp exchangeupload.cpp + exchangedelete.cpp utils.cpp exchangeprogress.cpp exchangemonitor.cpp + VERSION 1.0.0 + LINK kcal-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/pixmaps/CMakeLists.txt b/pixmaps/CMakeLists.txt new file mode 100644 index 00000000..44e5b257 --- /dev/null +++ b/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}/kdepim/icons )