Commit 9892bef9 authored by Laurent Montel's avatar Laurent Montel 😁

Allow to split korgarnizer

parent ee27de1d
...@@ -9,8 +9,7 @@ kalarm ...@@ -9,8 +9,7 @@ kalarm
kmail (DONE) kmail (DONE)
knotes (DONE) knotes (DONE)
kontact (INPROGRESS) kontact (INPROGRESS)
korgac (move in korganizer) korganizer (DONE)
korganizer (INPROGRESS)
ktnef (DONE) ktnef (DONE)
mboximporter (DONE) mboximporter (DONE)
pimsettingexporter (DONE) pimsettingexporter (DONE)
......
...@@ -38,24 +38,17 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${korganizer_SOURCE_DIR}) ...@@ -38,24 +38,17 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${korganizer_SOURCE_DIR})
set(KDEPIMLIBS_LIB_VERSION "5.2.40") set(KDEPIMLIBS_LIB_VERSION "5.2.40")
set(KCONTACTS_LIB_VERSION "5.2.40")
set(KCALENDARCORE_LIB_VERSION "5.2.40") set(KCALENDARCORE_LIB_VERSION "5.2.40")
set(IDENTITYMANAGEMENT_LIB_VERSION "5.2.40") set(IDENTITYMANAGEMENT_LIB_VERSION "5.2.40")
set(KLDAP_LIB_VERSION "5.2.40") set(KLDAP_LIB_VERSION "5.2.40")
set(KMAILTRANSPORT_LIB_VERSION "5.2.40") set(KMAILTRANSPORT_LIB_VERSION "5.2.40")
set(CALENDARUTILS_LIB_VERSION "5.2.40") set(CALENDARUTILS_LIB_VERSION "5.2.40")
set(KHOLIDAYS_LIB_VERSION "5.2.40") set(KHOLIDAYS_LIB_VERSION "5.2.40")
set(KTNEF_LIB_VERSION "5.2.40")
set(KIMAP_LIB_VERSION "5.2.40")
set(KMBOX_LIB_VERSION "5.2.40")
set(AKONADICALENDAR_LIB_VERSION "5.2.40") set(AKONADICALENDAR_LIB_VERSION "5.2.40")
set(SYNDICATION_LIB_VERSION "5.2.40")
set(GPGMEPP_LIB_VERSION "5.2.40") set(GPGMEPP_LIB_VERSION "5.2.40")
set(KONTACTINTERFACE_LIB_VERSION "5.2.40") set(KONTACTINTERFACE_LIB_VERSION "5.2.40")
set(AKONADIKALARM_LIB_VERSION "5.2.40") set(AKONADIKALARM_LIB_VERSION "5.2.40")
set(KMIME_LIB_VERSION "5.2.40") set(KMIME_LIB_VERSION "5.2.40")
set(XMLRPCCLIENT_LIB_VERSION "5.2.40")
set(KBLOG_LIB_VERSION "5.2.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.2.40") set(KPIMTEXTEDIT_LIB_VERSION "5.2.40")
set(AKONADI_VERSION "5.2.40") set(AKONADI_VERSION "5.2.40")
...@@ -70,21 +63,15 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${korganizer_SOURCE_DIR}) ...@@ -70,21 +63,15 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${korganizer_SOURCE_DIR})
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test Sql Concurrent UiTools OpenGL) find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test Sql Concurrent UiTools OpenGL)
find_package(Qt5X11Extras NO_MODULE) find_package(Qt5X11Extras NO_MODULE)
find_package(Grantlee5 "5.0" CONFIG REQUIRED) find_package(Grantlee5 "5.0" CONFIG REQUIRED)
set(LIBGRAVATAR_VERSION_LIB "5.2.40")
set(LIBMAILIMPORTER_VERSION_LIB "5.2.40") set(LIBMAILIMPORTER_VERSION_LIB "5.2.40")
set(MAILCOMMON_LIB_VERSION_LIB "5.2.40") set(MAILCOMMON_LIB_VERSION_LIB "5.2.40")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.2.42") set(KDEPIM_APPS_LIB_VERSION_LIB "5.2.42")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.56") set(MESSAGELIB_LIB_VERSION_LIB "5.2.56")
set(LIBKLEO_LIB_VERSION_LIB "5.2.40")
set(LIBGRANTLEETHEME_LIB_VERSION_LIB "5.2.40")
set(PIMCOMMON_LIB_VERSION_LIB "5.2.40") set(PIMCOMMON_LIB_VERSION_LIB "5.2.40")
set(LIBKDEPIM_LIB_VERSION_LIB "5.2.40") set(LIBKDEPIM_LIB_VERSION_LIB "5.2.40")
set(LIBINCIDENCEEDITOR_LIB_VERSION_LIB "5.2.40") set(LIBINCIDENCEEDITOR_LIB_VERSION_LIB "5.2.40")
set(CALENDARSUPPORT_LIB_VERSION_LIB "5.2.40") set(CALENDARSUPPORT_LIB_VERSION_LIB "5.2.40")
set(EVENTVIEW_LIB_VERSION_LIB "5.2.40") set(EVENTVIEW_LIB_VERSION_LIB "5.2.40")
set(KDGANTT2_LIB_VERSION_LIB "5.2.40")
set(LIBKSIEVE_LIB_VERSION_LIB "5.2.40")
find_package(KF5AkonadiSearch "5.2.40" CONFIG REQUIRED) find_package(KF5AkonadiSearch "5.2.40" CONFIG REQUIRED)
set_package_properties(KF5AkonadiSearch PROPERTIES DESCRIPTION "The Akonadi Search libraries" URL "http://www.kde.org" TYPE REQUIRED PURPOSE "Provides search capabilities in KMail and Akonadi") set_package_properties(KF5AkonadiSearch PROPERTIES DESCRIPTION "The Akonadi Search libraries" URL "http://www.kde.org" TYPE REQUIRED PURPOSE "Provides search capabilities in KMail and Akonadi")
...@@ -120,50 +107,33 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${korganizer_SOURCE_DIR}) ...@@ -120,50 +107,33 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${korganizer_SOURCE_DIR})
find_package(KF5AkonadiMime ${KDEPIMLIBS_LIB_VERSION} CONFIG REQUIRED) find_package(KF5AkonadiMime ${KDEPIMLIBS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5CalendarUtils ${CALENDARUTILS_LIB_VERSION} CONFIG REQUIRED) find_package(KF5CalendarUtils ${CALENDARUTILS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Holidays ${KHOLIDAYS_LIB_VERSION} CONFIG REQUIRED) find_package(KF5Holidays ${KHOLIDAYS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Tnef ${KTNEF_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5IMAP ${KIMAP_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Mbox ${KMBOX_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5AkonadiCalendar ${AKONADICALENDAR_LIB_VERSION} CONFIG REQUIRED) find_package(KF5AkonadiCalendar ${AKONADICALENDAR_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Syndication ${SYNDICATION_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Gpgmepp ${GPGMEPP_LIB_VERSION} CONFIG REQUIRED) find_package(KF5Gpgmepp ${GPGMEPP_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5KontactInterface ${KONTACTINTERFACE_LIB_VERSION} CONFIG REQUIRED) find_package(KF5KontactInterface ${KONTACTINTERFACE_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5AlarmCalendar ${AKONADIKALARM_LIB_VERSION} CONFIG REQUIRED) find_package(KF5AlarmCalendar ${AKONADIKALARM_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Mime ${KMIME_LIB_VERSION} CONFIG REQUIRED) find_package(KF5Mime ${KMIME_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5XmlRpcClient ${XMLRPCCLIENT_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5Blog ${KBLOG_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5AkonadiNotes ${AKONADINOTES_LIB_VERSION} CONFIG REQUIRED) find_package(KF5AkonadiNotes ${AKONADINOTES_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5KdepimDBusInterfaces ${KDEPIM_APPS_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5Gravatar ${LIBGRAVATAR_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5MailImporter ${LIBMAILIMPORTER_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5MailCommon ${MAILCOMMON_LIB_VERSION_LIB} CONFIG REQUIRED) find_package(KF5MailCommon ${MAILCOMMON_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5KaddressbookGrantlee ${KDEPIM_APPS_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5MessageViewer ${MESSAGELIB_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5Libkleo ${LIBKLEO_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5GrantleeTheme ${LIBGRANTLEETHEME_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5PimCommon ${PIMCOMMON_LIB_VERSION_LIB} CONFIG REQUIRED) find_package(KF5PimCommon ${PIMCOMMON_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5Libkdepim ${LIBKDEPIM_LIB_VERSION_LIB} CONFIG REQUIRED) find_package(KF5Libkdepim ${LIBKDEPIM_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5IncidenceEditor ${LIBINCIDENCEEDITOR_LIB_VERSION_LIB} CONFIG REQUIRED) find_package(KF5IncidenceEditor ${LIBINCIDENCEEDITOR_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5MessageCore ${MESSAGELIB_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5MessageComposer ${MESSAGELIB_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5MessageList ${MESSAGELIB_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5TemplateParser ${MESSAGELIB_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5CalendarSupport ${CALENDARSUPPORT_LIB_VERSION_LIB} CONFIG REQUIRED) find_package(KF5CalendarSupport ${CALENDARSUPPORT_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5EventViews ${EVENTVIEW_LIB_VERSION_LIB} CONFIG REQUIRED) find_package(KF5EventViews ${EVENTVIEW_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5KDGantt2 ${KDGANTT2_LIB_VERSION_LIB} CONFIG REQUIRED) if (NOT APPLE)
find_package(KF5FollowupReminder ${KDEPIM_APPS_LIB_VERSION_LIB} CONFIG REQUIRED) find_package(X11)
find_package(KF5SendLater ${KDEPIM_APPS_LIB_VERSION_LIB} CONFIG REQUIRED) endif()
find_package(KF5ComposerEditorNG ${KDEPIM_APPS_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5KdepimDBusInterfaces ${KDEPIM_APPS_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5LibKSieve ${LIBKSIEVE_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(MailTransportDBusService CONFIG REQUIRED)
set(KDEPIM_HAVE_X11 ${X11_FOUND})
configure_file(korgac/config-enterprise.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-enterprise.h )
endif() endif()
configure_file(config-korganizer.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-korganizer.h )
include_directories(${korganizer_SOURCE_DIR} ${korganizer_BINARY_DIR}) include_directories(${korganizer_SOURCE_DIR} ${korganizer_BINARY_DIR})
configure_file(korganizer-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/korganizer-version.h @ONLY)
add_definitions( -DQT_NO_CAST_FROM_ASCII ) add_definitions( -DQT_NO_CAST_FROM_ASCII )
add_definitions( -DQT_NO_CAST_TO_ASCII ) add_definitions( -DQT_NO_CAST_TO_ASCII )
......
/* config-kdepim.h. Generated by cmake from config-kdepim.h.cmake */
/* Define to 1 if you have the Xlib */
#cmakedefine01 KDEPIM_HAVE_X11
#cmakedefine QTWEBENGINE_SUPPORT_OPTION 1
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
without including the source code for Qt in the source distribution. without including the source code for Qt in the source distribution.
*/ */
#include "config-kdepim.h" #include "config-korganizer.h"
#include "alarmdialog.h" #include "alarmdialog.h"
#include "korganizer_interface.h" #include "korganizer_interface.h"
#include "mailclient.h" #include "mailclient.h"
......
#cmakedefine KDEPIM_ENTERPRISE_BUILD 1
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
*/ */
#include "koalarmclient.h" #include "koalarmclient.h"
#include "kdepim-version.h" #include "korganizer-version.h"
#include <kaboutdata.h> #include <kaboutdata.h>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <config-enterprise.h> #include <config-enterprise.h>
#include "mailclient.h" #include "mailclient.h"
#include "kdepim-version.h" #include "korganizer-version.h"
#include "koalarmclient_debug.h" #include "koalarmclient_debug.h"
#include <AkonadiCore/Collection> #include <AkonadiCore/Collection>
......
/*
Copyright (c) 1998-1999 Preston Brown <pbrown@kde.org>
Copyright (c) 2000-2004 Cornelius Schumacher <schumacher@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/*
Set the version for this kdepim release.
This version may be used by programs within this module that
do not want to maintain a version on their own.
Note that we cannot use the kdelibs version because we may
build against older kdelibs releases.
*/
#ifndef KDEPIM_VERSION_H
#define KDEPIM_VERSION_H
#define KDEPIM_VERSION "@KDEPIM_VERSION@ (@WEBENGINE_TYPE@)"
#endif
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
*/ */
#include "aboutdata.h" #include "aboutdata.h"
#include "kdepim-version.h" #include "korganizer-version.h"
#include <KLocalizedString> #include <KLocalizedString>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
with any edition of Qt, and distribute the resulting executable, with any edition of Qt, and distribute the resulting executable,
without including the source code for Qt in the source distribution. without including the source code for Qt in the source distribution.
*/ */
#include "config-kdepim.h" #include "config-korganizer.h"
#include "actionmanager.h" #include "actionmanager.h"
#include "akonadicollectionview.h" #include "akonadicollectionview.h"
#include "calendaradaptor.h" #include "calendaradaptor.h"
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "calendarview.h" #include "calendarview.h"
#include "korganizer.h" #include "korganizer.h"
#include "KdepimDBusInterfaces/ReminderClient" #include "KdepimDBusInterfaces/ReminderClient"
#include "kdepim-version.h" #include "korganizer-version.h"
#include <KCalCore/CalFormat> #include <KCalCore/CalFormat>
#include <KStartupInfo> #include <KStartupInfo>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "korganizerplugin.h" #include "korganizerplugin.h"
#include "summaryeventinfo.h" #include "summaryeventinfo.h"
#include "korganizer/korganizerinterface.h" #include "korganizerinterface.h"
#include <CalendarSupport/Utils> #include <CalendarSupport/Utils>
#include <CalendarSupport/CalendarSingleton> #include <CalendarSupport/CalendarSingleton>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment