45
by Alin M Elena
changes to the new names policy |
1 |
project(ktp-auth-handler) |
1
by David Edmundson
Initial start of an SASL channel client |
2 |
|
132
by Martin Klapetek
Bump version to 0.7.80 |
3 |
set(KTP_AUTH_HANDLER_VERSION "0.7.80") |
60
by Daniele E. Domenichelli
Set version in using CMake instead of hardcoding in main.cpp |
4 |
|
1
by David Edmundson
Initial start of an SASL channel client |
5 |
set (CMAKE_MODULE_PATH |
6 |
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" |
|
7 |
${CMAKE_MODULE_PATH} |
|
8 |
) |
|
90
by David Edmundson
update cmake policy |
9 |
cmake_policy(SET CMP0002 OLD) |
1
by David Edmundson
Initial start of an SASL channel client |
10 |
|
45
by Alin M Elena
changes to the new names policy |
11 |
set(IS_KTP_INTERNAL_MODULE TRUE) |
1
by David Edmundson
Initial start of an SASL channel client |
12 |
set(KDE_MIN_VERSION "4.4.75") |
13 |
find_package (KDE4 4.4.75 REQUIRED) |
|
41.1.3
by Dario Freddi
port-to-0.9: Bump tp-qt requirement |
14 |
find_package (TelepathyQt4 0.8.9 REQUIRED) |
45
by Alin M Elena
changes to the new names policy |
15 |
find_package (KTp REQUIRED) |
63.1.1
by Daniele E. Domenichelli
Retrieve and save refresh token for X-MESSENGER-OAUTH2 authentication |
16 |
find_package (QJSON REQUIRED) |
77.1.1
by Dan Vrátil
Support TLS channels |
17 |
find_package (QCA2 REQUIRED) |
118
by Àlex Fiestas
Spaces and CMake coding style |
18 |
find_package (AccountsQt) |
19 |
find_package (SignOnQt) |
|
1
by David Edmundson
Initial start of an SASL channel client |
20 |
|
21 |
include (KDE4Defaults) |
|
22 |
include (MacroLibrary) |
|
23 |
||
117
by Àlex Fiestas
Make Accounts-SSO optionality good looking |
24 |
macro_log_feature(ACCOUNTSQT_FOUND "AccountsQt" "Support for Accounts-SSO" "https://code.google.com/p/accounts-sso/source/checkout?repo=libaccounts-qt" FALSE "" "") |
25 |
macro_log_feature(SIGNONQT_FOUND "SignonsQt" "Support for Accounts-SSO" "https://code.google.com/p/accounts-sso/source/checkout?repo=signond" FALSE "" "") |
|
26 |
macro_display_feature_log() |
|
130
by David Edmundson
Add message about qca-ossl |
27 |
message("-----------------------------------------------------------------------------") |
28 |
message("IMPORTANT: There is a runtime dependency on QCA-OSSL. ") |
|
29 |
message("This project will build, but will fail to run properly. Please ensure it is installed.") |
|
30 |
message("If you are a packager you _must_ mark this as a dependency.") |
|
31 |
message("-----------------------------------------------------------------------------") |
|
117
by Àlex Fiestas
Make Accounts-SSO optionality good looking |
32 |
|
77.1.1
by Dan Vrátil
Support TLS channels |
33 |
add_definitions (${KDE4_DEFINITIONS}) |
1
by David Edmundson
Initial start of an SASL channel client |
34 |
|
35 |
include_directories (${KDE4_INCLUDES} |
|
36 |
${TELEPATHY_QT4_INCLUDE_DIR} |
|
45
by Alin M Elena
changes to the new names policy |
37 |
${KTP_INCLUDE_DIR} |
63.1.1
by Daniele E. Domenichelli
Retrieve and save refresh token for X-MESSENGER-OAUTH2 authentication |
38 |
${QJSON_INCLUDE_DIR} |
77.1.1
by Dan Vrátil
Support TLS channels |
39 |
${QCA2_INCLUDE_DIR} |
40 |
${CMAKE_CURRENT_SOURCE_DIR}/kssl |
|
17
by Daniele E. Domenichelli
Use TelepathyHandlerApplication to allow exiting |
41 |
) |
42 |
||
45
by Alin M Elena
changes to the new names policy |
43 |
set(ktp_auth_handler_SRCS |
1
by David Edmundson
Initial start of an SASL channel client |
44 |
main.cpp |
11
by Andre Moreira Magalhaes (andrunko)
Refactor |
45 |
sasl-handler.cpp |
46 |
sasl-auth-op.cpp |
|
47 |
tls-cert-verifier-op.cpp |
|
48 |
tls-handler.cpp |
|
17
by Daniele E. Domenichelli
Use TelepathyHandlerApplication to allow exiting |
49 |
types.cpp |
48.1.2
by Daniele E. Domenichelli
Refactor SaslAuthOp to support different authentication methods |
50 |
x-telepathy-password-auth-operation.cpp |
48.1.4
by Daniele E. Domenichelli
Rename class PasswordPrompt to XTelepathyPasswordPrompt |
51 |
x-telepathy-password-prompt.cpp |
48.1.6
by Daniele E. Domenichelli
Support X-MESSENGER-OAUTH2 authentication mechanism |
52 |
x-messenger-oauth2-auth-operation.cpp |
53 |
x-messenger-oauth2-prompt.cpp |
|
76
by Rohan Garg
Implement password protected room handling |
54 |
conference-auth-op.cpp |
55 |
conference-auth-observer.cpp |
|
17
by Daniele E. Domenichelli
Use TelepathyHandlerApplication to allow exiting |
56 |
) |
1
by David Edmundson
Initial start of an SASL channel client |
57 |
|
108
by Àlex Fiestas
Make Accounts-SSO support optional |
58 |
set(ktp_auth_handler_LIBS |
1
by David Edmundson
Initial start of an SASL channel client |
59 |
${QT_QTDBUS_LIBRARY} |
60 |
${QT_QTGUI_LIBRARY} |
|
61 |
${QT_QTXML_LIBRARY} |
|
62 |
${QT_QTCORE_LIBRARY} |
|
56
by George Kiagiadakis
Link explicitly to QtWebkit to fix link errors when using strict linkers. |
63 |
${QT_QTWEBKIT_LIBRARY} |
1
by David Edmundson
Initial start of an SASL channel client |
64 |
${TELEPATHY_QT4_LIBRARIES} |
45
by Alin M Elena
changes to the new names policy |
65 |
${KTP_LIBRARIES} |
1
by David Edmundson
Initial start of an SASL channel client |
66 |
${KDE4_KDECORE_LIBS} |
67 |
${KDE4_KDEUI_LIBS} |
|
48.1.9
by Daniele E. Domenichelli
Use KWebView instead of QWebView |
68 |
${KDE4_KDEWEBKIT_LIBS} |
63.1.1
by Daniele E. Domenichelli
Retrieve and save refresh token for X-MESSENGER-OAUTH2 authentication |
69 |
${QJSON_LIBRARIES} |
77.1.1
by Dan Vrátil
Support TLS channels |
70 |
${QCA2_LIBRARIES} |
1
by David Edmundson
Initial start of an SASL channel client |
71 |
) |
8
by Daniele E. Domenichelli
Add service and client files |
72 |
|
108
by Àlex Fiestas
Make Accounts-SSO support optional |
73 |
#If we find Accounts-SSO frameworks, add support for it |
74 |
if(ACCOUNTSQT_FOUND AND SIGNONQT_FOUND) |
|
118
by Àlex Fiestas
Spaces and CMake coding style |
75 |
|
108
by Àlex Fiestas
Make Accounts-SSO support optional |
76 |
add_definitions(-DHAVE_SSO) |
77 |
set(ktp_auth_handler_SRCS |
|
78 |
${ktp_auth_handler_SRCS} |
|
121
by Àlex Fiestas
Rename facebook auth operation to specify facebook in the filename |
79 |
x-telepathy-sso-facebook-operation.cpp |
116.1.2
by Àlex Fiestas
Add support for Google accounts added by mission-control-uoa |
80 |
x-telepathy-sso-google-operation.cpp |
108
by Àlex Fiestas
Make Accounts-SSO support optional |
81 |
getcredentialsjob.cpp |
82 |
) |
|
118
by Àlex Fiestas
Spaces and CMake coding style |
83 |
|
108
by Àlex Fiestas
Make Accounts-SSO support optional |
84 |
set(ktp_auth_handler_LIBS |
85 |
${ktp_auth_handler_LIBS} |
|
86 |
${ACCOUNTSQT_LIBRARIES} |
|
87 |
${SIGNONQT_LIBRARIES} |
|
88 |
) |
|
116
by David Edmundson
Fix cmake build: only add includes to accounts sso if they exist |
89 |
|
90 |
include_directories(${ACCOUNTSQT_INCLUDE_DIRS} |
|
91 |
${SIGNONQT_INCLUDE_DIRS} |
|
92 |
) |
|
118
by Àlex Fiestas
Spaces and CMake coding style |
93 |
|
108
by Àlex Fiestas
Make Accounts-SSO support optional |
94 |
endif(ACCOUNTSQT_FOUND AND SIGNONQT_FOUND) |
95 |
||
96 |
configure_file(version.h.in ${CMAKE_CURRENT_BINARY_DIR}/version.h) |
|
97 |
||
98 |
kde4_add_ui_files(ktp_auth_handler_SRCS x-telepathy-password-prompt.ui) |
|
99 |
kde4_add_executable(ktp-auth-handler ${ktp_auth_handler_SRCS}) |
|
100 |
||
101 |
target_link_libraries(ktp-auth-handler |
|
102 |
${ktp_auth_handler_LIBS} |
|
103 |
) |
|
104 |
||
47
by Alin M Elena
update according to Daniele's comments for name changes |
105 |
configure_file(org.freedesktop.Telepathy.Client.KTp.SASLHandler.service.in |
106 |
${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.SASLHandler.service) |
|
77.1.1
by Dan Vrátil
Support TLS channels |
107 |
configure_file(org.freedesktop.Telepathy.Client.KTp.TLSHandler.service.in |
108 |
${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.TLSHandler.service) |
|
11
by Andre Moreira Magalhaes (andrunko)
Refactor |
109 |
|
76
by Rohan Garg
Implement password protected room handling |
110 |
configure_file(org.freedesktop.Telepathy.Client.KTp.ConfAuthObserver.service.in |
118
by Àlex Fiestas
Spaces and CMake coding style |
111 |
${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.ConfAuthObserver.service) |
9
by Daniele E. Domenichelli
Install files |
112 |
|
45
by Alin M Elena
changes to the new names policy |
113 |
install(TARGETS ktp-auth-handler DESTINATION ${LIBEXEC_INSTALL_DIR}) |
47
by Alin M Elena
update according to Daniele's comments for name changes |
114 |
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.SASLHandler.service |
118
by Àlex Fiestas
Spaces and CMake coding style |
115 |
${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.ConfAuthObserver.service |
11
by Andre Moreira Magalhaes (andrunko)
Refactor |
116 |
DESTINATION ${DBUS_SERVICES_INSTALL_DIR}) |
77.1.1
by Dan Vrátil
Support TLS channels |
117 |
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.KTp.TLSHandler.service |
118 |
DESTINATION ${DBUS_SERVICES_INSTALL_DIR}) |
|
47
by Alin M Elena
update according to Daniele's comments for name changes |
119 |
install(FILES KTp.SASLHandler.client DESTINATION ${SHARE_INSTALL_PREFIX}/telepathy/clients/) |
77.1.1
by Dan Vrátil
Support TLS channels |
120 |
install(FILES KTp.TLSHandler.client DESTINATION ${SHARE_INSTALL_PREFIX}/telepathy/clients/) |
76
by Rohan Garg
Implement password protected room handling |
121 |
install(FILES KTp.ConfAuthObserver.client DESTINATION ${SHARE_INSTALL_PREFIX}/telepathy/clients/) |