Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Runtime
Commits
764308dd
Commit
764308dd
authored
Feb 19, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new kpimgapi
parent
a035dfe0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
CMakeLists.txt
CMakeLists.txt
+2
-2
resources/CMakeLists.txt
resources/CMakeLists.txt
+1
-1
resources/google/calendar/CMakeLists.txt
resources/google/calendar/CMakeLists.txt
+3
-3
resources/google/contacts/CMakeLists.txt
resources/google/contacts/CMakeLists.txt
+2
-2
resources/imap/CMakeLists.txt
resources/imap/CMakeLists.txt
+2
-2
resources/imap/gmailpasswordrequester.cpp
resources/imap/gmailpasswordrequester.cpp
+2
-2
No files found.
CMakeLists.txt
View file @
764308dd
...
...
@@ -44,7 +44,7 @@ set(KDEPIM_RUNTIME_VERSION "${KDEPIM_RUNTIME_VERSION_NUMBER}${KDEPIM_RUNTIME_DEV
configure_file
(
kdepim-runtime-version.h.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/kdepim-runtime-version.h @ONLY
)
set
(
KF5_VERSION
"5.3
0
.0"
)
set
(
KF5_VERSION
"5.3
1
.0"
)
find_package
(
ECM
${
KF5_VERSION
}
REQUIRED NO_MODULE
)
set
(
CMAKE_MODULE_PATH
${
kdepim-runtime_SOURCE_DIR
}
/cmake/modules
${
ECM_MODULE_PATH
}
)
...
...
@@ -143,7 +143,7 @@ set_package_properties(Sasl2 PROPERTIES
)
# Extra package
find_package
(
K
F5
GAPI
"5.
3.1
"
CONFIG
)
find_package
(
K
Pim
GAPI
"5.
4.40
"
CONFIG
)
add_subdirectory
(
resources
)
...
...
resources/CMakeLists.txt
View file @
764308dd
...
...
@@ -55,7 +55,7 @@ add_subdirectory( maildir )
add_subdirectory
(
openxchange
)
add_subdirectory
(
pop3
)
if
(
K
F5
GAPI_FOUND
)
if
(
K
Pim
GAPI_FOUND
)
add_subdirectory
(
google
)
# Disabled in KDE 4.14 - too many issues for stable release
#add_subdirectory( gmail )
...
...
resources/google/calendar/CMakeLists.txt
View file @
764308dd
...
...
@@ -47,9 +47,9 @@ target_link_libraries(akonadi_googlecalendar_resource
KF5::AkonadiCore
KF5::CalendarCore
KF5::AkonadiCalendar
K
F5
::GAPICalendar
K
F5
::GAPICore
K
F5
::GAPITasks
K
Pim
::GAPICalendar
K
Pim
::GAPICore
K
Pim
::GAPITasks
KF5::AkonadiAgentBase
KF5::Wallet
KF5::I18n
...
...
resources/google/contacts/CMakeLists.txt
View file @
764308dd
...
...
@@ -42,8 +42,8 @@ endif()
target_link_libraries
(
akonadi_googlecontacts_resource
KF5::AkonadiCore
KF5::Contacts
K
F5
::GAPICore
K
F5
::GAPIContacts
K
Pim
::GAPICore
K
Pim
::GAPIContacts
KF5::AkonadiAgentBase
KF5::Wallet
KF5::I18n
...
...
resources/imap/CMakeLists.txt
View file @
764308dd
add_definitions
(
-DTRANSLATION_DOMAIN=\"akonadi_imap_resource\"
)
if
(
Sasl2_FOUND AND K
F5
GAPI_FOUND
)
if
(
Sasl2_FOUND AND K
Pim
GAPI_FOUND
)
set
(
WITH_GMAIL_XOAUTH2 TRUE
)
add_subdirectory
(
saslplugin
)
endif
()
...
...
@@ -130,7 +130,7 @@ target_link_libraries(akonadi_imap_resource
folderarchivesettings
)
if
(
WITH_GMAIL_XOAUTH2
)
target_link_libraries
(
akonadi_imap_resource K
F5
::GAPICore
)
target_link_libraries
(
akonadi_imap_resource K
Pim
::GAPICore
)
endif
()
install
(
TARGETS akonadi_imap_resource
${
KDE_INSTALL_TARGETS_DEFAULT_ARGS
}
)
...
...
resources/imap/gmailpasswordrequester.cpp
View file @
764308dd
...
...
@@ -22,8 +22,8 @@
#include "settings.h"
#include "imapresource_debug.h"
#include <KGAPI/
kgapi/a
ccount
.h
>
#include <KGAPI/
kgapi/a
uth
j
ob
.h
>
#include <KGAPI/
A
ccount>
#include <KGAPI/
A
uth
J
ob>
#define GOOGLE_API_KEY QStringLiteral("554041944266.apps.googleusercontent.com")
#define GOOGLE_API_SECRET QStringLiteral("mdT1DjzohxN3npUUzkENT0gO")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment