Commit 6cd46e6a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: it's autogenerated now

parent b51118ec
......@@ -179,13 +179,9 @@ if(KPimImportWizard_FOUND)
add_subdirectory(akonadi-import-wizard)
endif()
if (ECM_VERSION VERSION_LESS "5.68.0")
install(FILES kdepim-addons.categories kdepim-addons.renamecategories DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})
else ()
ecm_qt_install_logging_categories(
EXPORT KDEPIMADDONS
FILE kdepim-addons.categories
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
)
endif()
ecm_qt_install_logging_categories(
EXPORT KDEPIMADDONS
FILE kdepim-addons.categories
DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
......@@ -3,25 +3,21 @@ set(kaddressbook_importexport_gmx_SRCS
gmximportexportplugininterface.cpp
)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kaddressbook_importexport_gmx_SRCS HEADER kaddressbook_importexport_gmx_debug.h IDENTIFIER KADDRESSBOOK_IMPORTEXPORT_GMX_LOG CATEGORY_NAME org.kde.pim.kaddressbook_importexportgmx)
else()
ecm_qt_declare_logging_category(kaddressbook_importexport_gmx_SRCS HEADER kaddressbook_importexport_gmx_debug.h IDENTIFIER KADDRESSBOOK_IMPORTEXPORT_GMX_LOG CATEGORY_NAME org.kde.pim.kaddressbook_importexportgmx
DESCRIPTION "kdepim-addons (KAddressbook import export gmx plugin)"
EXPORT KDEPIMADDONS
ecm_qt_declare_logging_category(kaddressbook_importexport_gmx_SRCS HEADER kaddressbook_importexport_gmx_debug.h IDENTIFIER KADDRESSBOOK_IMPORTEXPORT_GMX_LOG CATEGORY_NAME org.kde.pim.kaddressbook_importexportgmx
DESCRIPTION "kdepim-addons (KAddressbook import export gmx plugin)"
EXPORT KDEPIMADDONS
)
endif()
kcoreaddons_add_plugin(kaddressbook_importexportgmxplugin JSON kaddressbook_importexportgmxplugin.json SOURCES
${kaddressbook_importexport_gmx_SRCS} INSTALL_NAMESPACE kaddressbook/importexportplugin)
target_link_libraries(kaddressbook_importexportgmxplugin KF5::KaddressbookImportExport
KF5::PimCommon
KF5::I18n
KF5::XmlGui
KF5::Contacts
KF5::JobWidgets
KF5::AkonadiCore
kaddressbookimportexportlibprivate
KF5::PimCommon
KF5::I18n
KF5::XmlGui
KF5::Contacts
KF5::JobWidgets
KF5::AkonadiCore
kaddressbookimportexportlibprivate
)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
${CMAKE_CURRENT_BINARY_DIR}
)
set(kaddressbook_gravatar_SRCS
gravatar/job/gravatarupdatejob.cpp
gravatar/widgets/gravatarupdatedialog.cpp
gravatar/widgets/gravatarupdatewidget.cpp
)
gravatar/job/gravatarupdatejob.cpp
gravatar/widgets/gravatarupdatedialog.cpp
gravatar/widgets/gravatarupdatewidget.cpp
)
set(kaddressbook_checkgravatarplugin_SRCS
checkgravatarplugininterface.cpp
checkgravatarplugin.cpp
${kaddressbook_gravatar_SRCS}
)
)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin_SRCS HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar)
else()
ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin_SRCS HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar
DESCRIPTION "kdepim-addons (kaddressbook gravatar plugin)"
EXPORT KDEPIMADDONS
ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin_SRCS HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar
DESCRIPTION "kdepim-addons (kaddressbook gravatar plugin)"
EXPORT KDEPIMADDONS
)
endif()
kcoreaddons_add_plugin(kaddressbook_checkgravatarplugin JSON kaddressbook_checkgravatarplugin.json SOURCES
${kaddressbook_checkgravatarplugin_SRCS} INSTALL_NAMESPACE kaddressbook/mainview)
target_link_libraries(kaddressbook_checkgravatarplugin
KF5::PimCommon KF5::Completion KF5::PimCommonAkonadi KF5::XmlGui KF5::Gravatar KF5::I18n KF5::Contacts
)
KF5::PimCommon KF5::Completion KF5::PimCommonAkonadi KF5::XmlGui KF5::Gravatar KF5::I18n KF5::Contacts
)
if (BUILD_TESTING)
add_subdirectory(gravatar/autotests)
add_subdirectory(gravatar/tests)
add_subdirectory(gravatar/autotests)
add_subdirectory(gravatar/tests)
endif()
......@@ -2,23 +2,16 @@ set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/../.. )
if (KDEPIM_RUN_AKONADI_TEST)
set(KDEPIMLIBS_RUN_ISOLATED_TESTS TRUE)
set(KDEPIMLIBS_RUN_SQLITE_ISOLATED_TESTS TRUE)
set(kaddressbook_checkgravatarplugin_test_SRCS)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin_test_SRCS HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar)
else()
ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin_test_SRCS HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar
DESCRIPTION "kdepim-addons (kaddressbook gravatar plugin)"
EXPORT KDEPIMADDONS
)
endif()
set(KDEPIMLIBS_RUN_ISOLATED_TESTS TRUE)
set(KDEPIMLIBS_RUN_SQLITE_ISOLATED_TESTS TRUE)
set(kaddressbook_checkgravatarplugin_test_SRCS)
ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin_test_SRCS HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar)
add_akonadi_isolated_test_advanced( gravatarupdatejobtest.cpp "../job/gravatarupdatejob.cpp;${kaddressbook_checkgravatarplugin_test_SRCS}" "KF5::PimCommon;KF5::Contacts;KF5::Gravatar;KF5::I18n")
add_akonadi_isolated_test_advanced( gravatarupdatejobtest.cpp "../job/gravatarupdatejob.cpp;${kaddressbook_checkgravatarplugin_test_SRCS}" "KF5::PimCommon;KF5::Contacts;KF5::Gravatar;KF5::I18n")
add_akonadi_isolated_test_advanced( gravatarupdatedialogtest.cpp "../widgets/gravatarupdatedialog.cpp;../widgets/gravatarupdatewidget.cpp;${kaddressbook_checkgravatarplugin_test_SRCS}" "KF5::PimCommon;KF5::Gravatar;KF5::I18n")
add_akonadi_isolated_test_advanced( gravatarupdatewidgettest.cpp "../widgets/gravatarupdatewidget.cpp;${kaddressbook_checkgravatarplugin_test_SRCS}" "KF5::PimCommon;KF5::Gravatar;KF5::I18n")
add_akonadi_isolated_test_advanced( gravatarupdatedialogtest.cpp "../widgets/gravatarupdatedialog.cpp;../widgets/gravatarupdatewidget.cpp;${kaddressbook_checkgravatarplugin_test_SRCS}" "KF5::PimCommon;KF5::Gravatar;KF5::I18n")
add_akonadi_isolated_test_advanced( gravatarupdatewidgettest.cpp "../widgets/gravatarupdatewidget.cpp;${kaddressbook_checkgravatarplugin_test_SRCS}" "KF5::PimCommon;KF5::Gravatar;KF5::I18n")
#add_akonadi_isolated_test_advanced( checkgravatarplugintest.cpp "../../checkgravatarplugin.cpp;../../checkgravatarplugininterface.cpp" "KF5::PimCommon;KF5::I18n;KF5::XmlGui;KF5::Contacts;KF5::Gravatar;${kaddressbook_checkgravatarplugin_SRCS};${kaddressbook_checkgravatarplugin_test_SRCS}")
#add_akonadi_isolated_test_advanced( checkgravatarplugintest.cpp "../../checkgravatarplugin.cpp;../../checkgravatarplugininterface.cpp" "KF5::PimCommon;KF5::I18n;KF5::XmlGui;KF5::Contacts;KF5::Gravatar;${kaddressbook_checkgravatarplugin_SRCS};${kaddressbook_checkgravatarplugin_test_SRCS}")
endif()
set(kaddressbook_checkgravatarplugin_test_SRCS)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin_test_SRCS HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar)
else()
ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin_test_SRCS HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar
DESCRIPTION "kdepim-addons (kaddressbook gravatar plugin)"
EXPORT KDEPIMADDONS
)
endif()
ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin_test_SRCS HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar)
set(gravatarupdatedialog_gui_SRCS ${kaddressbook_checkgravatarplugin_test_SRCS} gravatarupdatedialog_gui.cpp ../widgets/gravatarupdatedialog.cpp ../widgets/gravatarupdatewidget.cpp ../job/gravatarupdatejob.cpp)
add_executable(gravatarupdatedialog_gui ${gravatarupdatedialog_gui_SRCS})
ecm_mark_as_test(gravatarupdatedialog_gui)
target_link_libraries(gravatarupdatedialog_gui
Qt5::Gui
KF5::PimCommon
KF5::Gravatar
KF5::I18n
KF5::AkonadiCore
KF5::Contacts
)
Qt5::Gui
KF5::PimCommon
KF5::Gravatar
KF5::I18n
KF5::AkonadiCore
KF5::Contacts
)
set(kaddressbookmergelibprivate_SRCS
job/searchpotentialduplicatecontactjob.cpp
job/mergecontactsjob.cpp
job/mergecontacts.cpp
manualmerge/mergecontactsdialog.cpp
manualmerge/mergecontactwidget.cpp
manualmerge/mergecontactwidgetlist.cpp
searchduplicate/searchandmergecontactduplicatecontactdialog.cpp
searchduplicate/searchduplicateresultwidget.cpp
searchduplicate/resultduplicatetreewidget.cpp
searchduplicate/mergecontactselectinformationtabwidget.cpp
widgets/mergecontactinfowidget.cpp
widgets/mergecontactshowresulttabwidget.cpp
widgets/mergecontactselectinformationwidget.cpp
widgets/mergecontactselectlistwidget.cpp
widgets/mergecontactloseinformationwarning.cpp
widgets/mergecontactselectinformationscrollarea.cpp
widgets/mergecontacterrorlabel.cpp
)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kaddressbookmergelibprivate_SRCS HEADER kaddressbookmergelibprivate_debug.h IDENTIFIER KADDRESSBOOKMERGELIBPRIVATE_LOG CATEGORY_NAME org.kde.pim.kaddressbookmergelibprivate)
else()
ecm_qt_declare_logging_category(kaddressbookmergelibprivate_SRCS HEADER kaddressbookmergelibprivate_debug.h IDENTIFIER KADDRESSBOOKMERGELIBPRIVATE_LOG CATEGORY_NAME org.kde.pim.kaddressbookmergelibprivate
DESCRIPTION "kdepim-addons (kaddressbook merge contact plugin)"
EXPORT KDEPIMADDONS
job/searchpotentialduplicatecontactjob.cpp
job/mergecontactsjob.cpp
job/mergecontacts.cpp
manualmerge/mergecontactsdialog.cpp
manualmerge/mergecontactwidget.cpp
manualmerge/mergecontactwidgetlist.cpp
searchduplicate/searchandmergecontactduplicatecontactdialog.cpp
searchduplicate/searchduplicateresultwidget.cpp
searchduplicate/resultduplicatetreewidget.cpp
searchduplicate/mergecontactselectinformationtabwidget.cpp
widgets/mergecontactinfowidget.cpp
widgets/mergecontactshowresulttabwidget.cpp
widgets/mergecontactselectinformationwidget.cpp
widgets/mergecontactselectlistwidget.cpp
widgets/mergecontactloseinformationwarning.cpp
widgets/mergecontactselectinformationscrollarea.cpp
widgets/mergecontacterrorlabel.cpp
)
ecm_qt_declare_logging_category(kaddressbookmergelibprivate_SRCS HEADER kaddressbookmergelibprivate_debug.h IDENTIFIER KADDRESSBOOKMERGELIBPRIVATE_LOG CATEGORY_NAME org.kde.pim.kaddressbookmergelibprivate
DESCRIPTION "kdepim-addons (kaddressbook merge contact plugin)"
EXPORT KDEPIMADDONS
)
endif()
add_library(kaddressbookmergelibprivate ${kaddressbookmergelibprivate_SRCS})
generate_export_header(kaddressbookmergelibprivate BASE_NAME kaddressbookmergelib)
target_link_libraries(kaddressbookmergelibprivate
PRIVATE
PRIVATE
Qt5::Network KF5::I18n KF5::KaddressbookGrantlee KF5::Contacts KF5::AkonadiContact KF5::ConfigCore KF5::WidgetsAddons KF5::AkonadiWidgets
)
)
set_target_properties(kaddressbookmergelibprivate
PROPERTIES VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION}
)
)
install(TARGETS kaddressbookmergelibprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
if (BUILD_TESTING)
add_subdirectory(autotests)
add_subdirectory(autotests)
endif()
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
set(kaddressbookmergelibprivate_common_SRCS)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kaddressbookmergelibprivate_common_SRCS HEADER kaddressbookmergelibprivate_debug.h IDENTIFIER KADDRESSBOOKMERGELIBPRIVATE_LOG CATEGORY_NAME org.kde.pim.kaddressbookmergelibprivate)
else()
ecm_qt_declare_logging_category(kaddressbookmergelibprivate_common_SRCS HEADER kaddressbookmergelibprivate_debug.h IDENTIFIER KADDRESSBOOKMERGELIBPRIVATE_LOG CATEGORY_NAME org.kde.pim.kaddressbookmergelibprivate
DESCRIPTION "kdepim-addons (kaddressbook merge contact plugin)"
EXPORT KDEPIMADDONS
)
endif()
ecm_qt_declare_logging_category(kaddressbookmergelibprivate_common_SRCS HEADER kaddressbookmergelibprivate_debug.h IDENTIFIER KADDRESSBOOKMERGELIBPRIVATE_LOG CATEGORY_NAME org.kde.pim.kaddressbookmergelibprivate)
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/../.. )
include_directories(${CMAKE_BINARY_DIR}/kaddressbook/)
# Convenience macro to add unit tests.
macro( kaddressbook_merge _source _additional _additionallib)
set( _test ${_source} ${_additional})
get_filename_component( _name ${_source} NAME_WE )
add_executable( ${_name} ${_test} )
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kaddressbookmerge-${_name})
target_link_libraries( ${_name} kaddressbookmergelibprivate Qt5::Test KF5::AkonadiCore KF5::Contacts ${_additionallib})
set( _test ${_source} ${_additional})
get_filename_component( _name ${_source} NAME_WE )
add_executable( ${_name} ${_test} )
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kaddressbookmerge-${_name})
target_link_libraries( ${_name} kaddressbookmergelibprivate Qt5::Test KF5::AkonadiCore KF5::Contacts ${_additionallib})
endmacro()
kaddressbook_merge(mergecontactstest.cpp "../job/mergecontacts.cpp;../kaddressbookmergelibprivate_debug.cpp" "")
if (KDEPIM_RUN_AKONADI_TEST)
set(KDEPIMLIBS_RUN_ISOLATED_TESTS TRUE)
set(KDEPIMLIBS_RUN_SQLITE_ISOLATED_TESTS TRUE)
set(KDEPIMLIBS_RUN_ISOLATED_TESTS TRUE)
set(KDEPIMLIBS_RUN_SQLITE_ISOLATED_TESTS TRUE)
add_akonadi_isolated_test_advanced( mergecontactinfowidgettest.cpp "../widgets/mergecontactinfowidget.cpp;${kaddressbookmergelibprivate_common_SRCS}" "KF5::AkonadiContact;KF5::KaddressbookGrantlee")
add_akonadi_isolated_test_advanced( mergecontactwidgettest.cpp "../widgets/mergecontactinfowidget.cpp;${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::KaddressbookGrantlee;KF5::Contacts;KF5::AkonadiContact;KF5::WidgetsAddons")
add_akonadi_isolated_test_advanced( searchandmergecontactduplicatecontactdialogtest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::Contacts")
add_akonadi_isolated_test_advanced( searchduplicateresultwidgettest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::KaddressbookGrantlee;KF5::Contacts;KF5::WidgetsAddons;KF5::AkonadiWidgets;KF5::AkonadiContact")
add_akonadi_isolated_test_advanced( resultduplicatetreewidgettest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::Contacts")
add_akonadi_isolated_test_advanced( searchpotentialduplicatecontactjobtest.cpp "${kaddressbookmergelibprivate_common_SRCS};../job/searchpotentialduplicatecontactjob.cpp" "KF5::Contacts")
add_akonadi_isolated_test_advanced( mergecontactselectinformationwidgettest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::Contacts")
add_akonadi_isolated_test_advanced( mergecontactselectlistwidgettest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::Contacts")
add_akonadi_isolated_test_advanced( mergecontactinfowidgettest.cpp "../widgets/mergecontactinfowidget.cpp;${kaddressbookmergelibprivate_common_SRCS}" "KF5::AkonadiContact;KF5::KaddressbookGrantlee")
add_akonadi_isolated_test_advanced( mergecontactwidgettest.cpp "../widgets/mergecontactinfowidget.cpp;${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::KaddressbookGrantlee;KF5::Contacts;KF5::AkonadiContact;KF5::WidgetsAddons")
add_akonadi_isolated_test_advanced( searchandmergecontactduplicatecontactdialogtest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::Contacts")
add_akonadi_isolated_test_advanced( searchduplicateresultwidgettest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::KaddressbookGrantlee;KF5::Contacts;KF5::WidgetsAddons;KF5::AkonadiWidgets;KF5::AkonadiContact")
add_akonadi_isolated_test_advanced( resultduplicatetreewidgettest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::Contacts")
add_akonadi_isolated_test_advanced( searchpotentialduplicatecontactjobtest.cpp "${kaddressbookmergelibprivate_common_SRCS};../job/searchpotentialduplicatecontactjob.cpp" "KF5::Contacts")
add_akonadi_isolated_test_advanced( mergecontactselectinformationwidgettest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::Contacts")
add_akonadi_isolated_test_advanced( mergecontactselectlistwidgettest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::Contacts")
add_akonadi_isolated_test_advanced( mergecontactselectinformationscrollareatest.cpp "${kaddressbookmergelibprivate_common_SRCS};../widgets/mergecontactinfowidget.cpp" "kaddressbookmergelibprivate;KF5::Contacts;KF5::AkonadiContact;KF5::KaddressbookGrantlee")
add_akonadi_isolated_test_advanced( mergecontactselectinformationscrollareatest.cpp "${kaddressbookmergelibprivate_common_SRCS};../widgets/mergecontactinfowidget.cpp" "kaddressbookmergelibprivate;KF5::Contacts;KF5::AkonadiContact;KF5::KaddressbookGrantlee")
add_akonadi_isolated_test_advanced( mergecontactselectinformationtabwidgettest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::Contacts")
add_akonadi_isolated_test_advanced( mergecontactselectinformationtabwidgettest.cpp "${kaddressbookmergelibprivate_common_SRCS}" "kaddressbookmergelibprivate;KF5::Contacts")
add_akonadi_isolated_test_advanced(mergecontactsdialogtest.cpp "${kaddressbookmergelibprivate_common_SRCS};../manualmerge/mergecontactsdialog.cpp;../widgets/mergecontacterrorlabel.cpp;../widgets/mergecontactinfowidget.cpp" "kaddressbookmergelibprivate;KF5::Contacts;KF5::AkonadiContact;KF5::KaddressbookGrantlee;KF5::I18n;KF5::WidgetsAddons")
add_akonadi_isolated_test_advanced(mergecontactwidgetlisttest.cpp "${kaddressbookmergelibprivate_common_SRCS};../manualmerge/mergecontactwidgetlist.cpp;" "kaddressbookmergelibprivate;KF5::Contacts;KF5::AkonadiContact")
add_akonadi_isolated_test_advanced(mergecontactsdialogtest.cpp "${kaddressbookmergelibprivate_common_SRCS};../manualmerge/mergecontactsdialog.cpp;../widgets/mergecontacterrorlabel.cpp;../widgets/mergecontactinfowidget.cpp" "kaddressbookmergelibprivate;KF5::Contacts;KF5::AkonadiContact;KF5::KaddressbookGrantlee;KF5::I18n;KF5::WidgetsAddons")
add_akonadi_isolated_test_advanced(mergecontactwidgetlisttest.cpp "${kaddressbookmergelibprivate_common_SRCS};../manualmerge/mergecontactwidgetlist.cpp;" "kaddressbookmergelibprivate;KF5::Contacts;KF5::AkonadiContact")
endif()
......
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
${CMAKE_CURRENT_BINARY_DIR}
)
set(kaddressbook_sendmailplugin_SRCS
sendmailplugininterface.cpp
sendmailplugin.cpp
mailsenderjob.cpp
)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kaddressbook_sendmailplugin_SRCS HEADER kaddressbook_sendmailplugin_debug.h IDENTIFIER KADDRESSBOOK_SENDMAIL_LOG CATEGORY_NAME org.kde.pim.kaddressbook_sendmail)
else()
ecm_qt_declare_logging_category(kaddressbook_sendmailplugin_SRCS HEADER kaddressbook_sendmailplugin_debug.h IDENTIFIER KADDRESSBOOK_SENDMAIL_LOG CATEGORY_NAME org.kde.pim.kaddressbook_sendmail
DESCRIPTION "kdepim-addons (kaddressbook send mail plugin)"
OLD_CATEGORY_NAMES log_kaddressbook_sendmail
EXPORT KDEPIMADDONS
)
endif()
ecm_qt_declare_logging_category(kaddressbook_sendmailplugin_SRCS HEADER kaddressbook_sendmailplugin_debug.h IDENTIFIER KADDRESSBOOK_SENDMAIL_LOG CATEGORY_NAME org.kde.pim.kaddressbook_sendmail
DESCRIPTION "kdepim-addons (kaddressbook send mail plugin)"
OLD_CATEGORY_NAMES log_kaddressbook_sendmail
EXPORT KDEPIMADDONS
)
kcoreaddons_add_plugin(kaddressbook_sendmailplugin JSON kaddressbook_sendmailplugin.json SOURCES
${kaddressbook_sendmailplugin_SRCS} INSTALL_NAMESPACE kaddressbook/mainview)
target_link_libraries(kaddressbook_sendmailplugin
KF5::PimCommon KF5::Completion KF5::PimCommonAkonadi KF5::XmlGui KF5::I18n
)
KF5::PimCommon KF5::Completion KF5::PimCommonAkonadi KF5::XmlGui KF5::I18n
)
if (BUILD_TESTING)
add_subdirectory(autotests)
add_subdirectory(autotests)
endif()
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
${CMAKE_CURRENT_BINARY_DIR}
)
set(kaddressbook_sendvcardsplugin_SRCS
sendvcardsplugininterface.cpp
sendvcardsplugin.cpp
sendvcardsjob.cpp
)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kaddressbook_sendvcardsplugin_SRCS HEADER kaddressbook_sendvcardsplugin_debug.h IDENTIFIER KADDRESSBOOK_SENDVCARDS_LOG CATEGORY_NAME org.kde.pim.kaddressbook_sendvcards)
else()
ecm_qt_declare_logging_category(kaddressbook_sendvcardsplugin_SRCS HEADER kaddressbook_sendvcardsplugin_debug.h IDENTIFIER KADDRESSBOOK_SENDVCARDS_LOG CATEGORY_NAME org.kde.pim.kaddressbook_sendvcards
DESCRIPTION "kdepim-addons (kaddressbook send vcard plugin)"
OLD_CATEGORY_NAMES log_kaddressbook_sendvcards
EXPORT KDEPIMADDONS
)
endif()
ecm_qt_declare_logging_category(kaddressbook_sendvcardsplugin_SRCS HEADER kaddressbook_sendvcardsplugin_debug.h IDENTIFIER KADDRESSBOOK_SENDVCARDS_LOG CATEGORY_NAME org.kde.pim.kaddressbook_sendvcards
DESCRIPTION "kdepim-addons (kaddressbook send vcard plugin)"
OLD_CATEGORY_NAMES log_kaddressbook_sendvcards
EXPORT KDEPIMADDONS
)
......@@ -24,11 +20,11 @@ kcoreaddons_add_plugin(kaddressbook_sendvcardsplugin JSON kaddressbook_sendvcard
target_link_libraries(kaddressbook_sendvcardsplugin
KF5::PimCommon KF5::Completion KF5::PimCommonAkonadi KF5::XmlGui KF5::MimeTreeParser KF5::I18n
)
KF5::PimCommon KF5::Completion KF5::PimCommonAkonadi KF5::XmlGui KF5::MimeTreeParser KF5::I18n
)
if (BUILD_TESTING)
add_subdirectory(autotests)
add_subdirectory(autotests)
endif()
# kdepim-addons
org.kde.pim.createeventplugin kdepim-addons (create event plugin) IDENTIFIER [CREATEEVENTPLUGIN_LOG]
org.kde.pim.createnoteplugin kdepim-addons (create note plugin) IDENTIFIER [CREATENOTEPLUGIN_LOG]
org.kde.pim.createtodoplugin kdepim-addons (create todo plugin) IDENTIFIER [CREATETODOPLUGIN_LOG]
org.kde.pim.isgdshorturlengineplugin kdepim-addons (shorturl engine isgd) IDENTIFIER [ISGDSHORTURLENGINEPLUGIN_LOG]
org.kde.pim.ur1cashorturlengineplugin kdepim-addons (shorturl engine ur1ca) IDENTIFIER [UR1CASHORTURLENGINEPLUGIN_LOG]
org.kde.pim.korganizer_picoftheday_plugins kdepim-addons (korganizer picoftheday plugins) IDENTIFIER [KORGANIZERPICOFTHEDAYPLUGIN_LOG]
org.kde.pim.korganizer_hebrew_plugin kdepim-addons (korganizer hebrew plugins) IDENTIFIER [KORGANIZER_HEBREWPLUGIN_LOG]
org.kde.pim.kmail_zoomtexteditorplugin kdepim-addons (kmail zoomtext editor plugins) IDENTIFIER [KMAIL_EDITOR_ZOOMTEXT_PLUGIN_LOG]
org.kde.pim.kmail_changecaseeditorplugin kdepim-addons (kmail changecase editor plugins) IDENTIFIER [KMAIL_EDITOR_CHANGECASE_PLUGIN_LOG]
org.kde.pim.adblockinterceptor kdepim-addons (adblock interceptor) IDENTIFIER [ADBLOCKINTERCEPTOR_LOG]
org.kde.pim.donottrackinterceptor kdepim-addons (do not track interceptor) IDENTIFIER [DONOTTRACKINTERCEPTOR_LOG]
org.kde.pim.expandurlplugin kdepim-addons (Expand Url Plugin) IDENTIFIER [EXPANDURLPLUGIN_LOG]
org.kde.pim.externalscriptplugin kdepim-addons (External Script Plugin) IDENTIFIER [EXTERNALSCRIPTPLUGIN_LOG]
org.kde.pim.text_calendar kdepim-addons (messageviewer calendar plugins) IDENTIFIER [TEXT_CALENDAR_LOG]
org.kde.pim.ms_tnef kdepim-addons (ms_tnef) IDENTIFIER [MS_TNEF_LOG]
org.kde.pim.vcard kdepim-addons (vcard) IDENTIFIER [VCARD_LOG]
org.kde.pim.pimeventsplugin kdepim-addons (Plasma calendar plugin) IDENTIFIER [PIMEVENTSPLUGIN_LOG]
org.kde.pim.kmail_confirmaddressplugin kdepim-addons (Confirm Address plugin) IDENTIFIER [KMAIL_EDITOR_CONFIRMADDRESS_PLUGIN_LOG]
org.kde.pim.kmail_checkbeforesend kdepim-addons (Check Before Send plugin) IDENTIFIER [KMAIL_EDITOR_checkbeforesend_PLUGIN_LOG]
org.kde.pim.kmail_automaticaddcontactsplugin kdepim-addons (Automatic add contacts plugin) IDENTIFIER [KMAIL_EDITOR_AUTOMATICADDCONTACTS_PLUGIN_LOG]
org.kde.pim.kaddressbook_importexportgmx kdepim-addons (KAddressbook import export gmx plugin) IDENTIFIER [KADDRESSBOOK_IMPORTEXPORT_GMX_LOG]
org.kde.pim.gnupgwks kdepim-addons (OpenPGP and GnuPG WKS body part formatter plugin) IDENTIFIER [GNUPGWKS_LOG]
org.kde.pim.imapfoldercompletion kdepim-addons (SieveEditor imap completion folder) IDENTIFIER [IMAPFOLDERCOMPLETIONPLUGIN_LOG]
org.kde.pim.regexpeditorlineedit kdepim-addons (SieveEditor Regexp Editor plugin) IDENTIFIER [REGEXPEDITORLINEEDITPLUGIN_LOG]
org.kde.pim.addresslocationeditorplugin kdepim-addons (kaddressbook contact editor) IDENTIFIER [ADDRESSLOCATIONEDITORPLUGIN_LOG]
org.kde.pim.kaddressbook_checkgravatar kdepim-addons (kaddressbook gravatar plugin) IDENTIFIER [KADDRESSBOOK_CHECKGRAVATAR_LOG]
org.kde.pim.kaddressbookmergelibprivate kdepim-addons (kaddressbook merge contact plugin) IDENTIFIER [KADDRESSBOOKMERGELIBPRIVATE_LOG]
org.kde.pim.kaddressbook_sendmail kdepim-addons (kaddressbook send mail plugin) IDENTIFIER [KADDRESSBOOK_SENDMAIL_LOG]
org.kde.pim.kaddressbook_sendvcards kdepim-addons (kaddressbook send vcard plugin) IDENTIFIER [KADDRESSBOOK_SENDVCARDS_LOG]
org.kde.pim.pkpass kdepim-addons (pkpass formater) IDENTIFIER [PKPASS_LOG]
org.kde.pim.messageviewer.itinerary kdepim-addons (Itinerary plugin) IDENTIFIER [ITINERARY_LOG]
org.kde.pim.kmail_expertplugin kdepim-addons (kmail expert plugin) IDENTIFIER [KMAIL_EXPERT_PLUGIN_LOG]
org.kde.pim.kmail_insertshorturl kdepim-addons (kmail insert short url plugin) IDENTIFIER [KMAIL_INSERTSHORTURL_LOG]
org.kde.pim.sieveeditoremaillinedit kdepim-addons (SieveEditor email line plugin) IDENTIFIER [EMAILLINEEDITPLUGIN_LOG]
org.kde.pim.importwizard.gearyplugin kdepim-addons (importwizard gearyplugin) IDENTIFIER [GEARYPLUGIN_LOG]
org.kde.pim.importwizard.nylasmailplugin kdepim-addons (importwizard nylasmail plugin) IDENTIFIER [NYLASMAILPLUGIN_LOG]
org.kde.pim.importwizard.operaplugin kdepim-addons (importwizard opera plugin) IDENTIFIER [OPERAPLUGIN_LOG]
org.kde.pim.kmail_markdownplugin kdepim-addons (kmail markdonw plugin) IDENTIFIER [KMAIL_EDITOR_MARKDOWN_PLUGIN_LOG]
org.kde.pim.mailtransport_sendmail kdepim-addons (kmailtransport sendmail plugin) IDENTIFIER [MAILTRANSPORT_PLUGIN_LOG]
org.kde.pim.kmail_sharetexteditorplugin kdepim-addons (share text editor plugin) IDENTIFIER [KMAIL_EDITOR_SHARETEXT_PLUGIN_LOG]
org.kde.pim.kmail_grammalecteplugin kdepim-addons (grammalecte plugin) IDENTIFIER [KMAIL_EDITOR_GRAMMALECTE_PLUGIN_LOG]
org.kde.pim.libgrammalecteplugin kdepim-addons (libgramalecte) IDENTIFIER [LIBGRAMMALECTE_PLUGIN_LOG]
org.kde.pim.kmail_languagetoolplugin kdepim-addons (languagetool plugin) IDENTIFIER [KMAIL_EDITOR_LANGUAGETOOL_PLUGIN_LOG]
org.kde.pim.liblanguagetoolplugin kdepim-addons (liblanguagetool) IDENTIFIER [LIBLANGUAGE_PLUGIN_LOG]
org.kde.pim.libdkimconfigureplugin kdepim-addons (dkim-verify-configure) IDENTIFIER [LIBDKIMVERIFYCONFIGURE_PLUGIN_LOG]
org.kde.pim.kmail_quicktextplugin kdepim-addons (kmail quicktext editor plugin) IDENTIFIER [KMAIL_EDITOR_QUICKTEXT_PLUGIN_LOG]
# kdepim-addons
log_createeventplugin org.kde.pim.createeventplugin
log_createnoteplugin org.kde.pim.createnoteplugin
log_createtodoplugin org.kde.pim.createtodoplugin
log_isgdshorturlengineplugin org.kde.pim.isgdshorturlengineplugin
log_ur1cashorturlengineplugin org.kde.pim.ur1cashorturlengineplugin
log_korganizer_picoftheday_plugins org.kde.pim.korganizer_picoftheday_plugins
log_kaddressbook_sendvcards org.kde.pim.kaddressbook_sendvcards
log_kaddressbook_sendmail org.kde.pim.kaddressbook_sendmail
log_kmail_zoomtexteditorplugin org.kde.pim.kmail_zoomtexteditorplugin
log_kmail_changecaseeditorplugin org.kde.pim.kmail_changecaseeditorplugin
log_adblockinterceptor org.kde.pim.adblockinterceptor
log_donottrackinterceptor org.kde.pim.donottrackinterceptor
log_expandurlplugin org.kde.pim.expandurlplugin
log_externalscriptplugin org.kde.pim.externalscriptplugin
log_text_calendar org.kde.pim.text_calendar
log_ms_tnef org.kde.pim.ms_tnef
log_vcard org.kde.pim.vcard
log_pimeventsplugin org.kde.pim.pimeventsplugin
log_kmail_confirmaddressplugin org.kde.pim.kmail_confirmaddressplugin
log_kmail_checkbeforesend org.kde.pim.kmail_checkbeforesend
log_kmail_automaticaddcontactsplugin org.kde.pim.kmail_automaticaddcontactsplugin
set(kmail_markdownplugin_debug_SRCS)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kmail_markdownplugin_debug_SRCS HEADER markdownplugin_debug.h IDENTIFIER KMAIL_EDITOR_MARKDOWN_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_markdownplugin)
else()
ecm_qt_declare_logging_category(kmail_markdownplugin_debug_SRCS HEADER markdownplugin_debug.h IDENTIFIER KMAIL_EDITOR_MARKDOWN_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_markdownplugin
DESCRIPTION "kdepim-addons (kmail markdown plugin)"
EXPORT KDEPIMADDONS
)
endif()
ecm_qt_declare_logging_category(kmail_markdownplugin_debug_SRCS HEADER markdownplugin_debug.h IDENTIFIER KMAIL_EDITOR_MARKDOWN_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_markdownplugin)
macro(add_kmail_converttext_unittest _source _additional)
......
......@@ -4,14 +4,7 @@ set(kmail_markdownplugin_SRCS
markdownplugin.cpp
)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kmail_markdownplugin_SRCS HEADER markdownplugin_debug.h IDENTIFIER KMAIL_EDITOR_MARKDOWN_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_markdownplugin)
else()
ecm_qt_declare_logging_category(kmail_markdownplugin_SRCS HEADER markdownplugin_debug.h IDENTIFIER KMAIL_EDITOR_MARKDOWN_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_markdownplugin
DESCRIPTION "kdepim-addons (kmail markdown plugin)"
EXPORT KDEPIMADDONS
)
endif()
ecm_qt_declare_logging_category(kmail_markdownplugin_SRCS HEADER markdownplugin_debug.h IDENTIFIER KMAIL_EDITOR_MARKDOWN_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_markdownplugin)
kcoreaddons_add_plugin(kmail_markdownplugin JSON kmail_markdownplugin.json SOURCES
${kmail_markdownplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditorconverttext)
......
set(kmail_changecaseeditorplugin_SRCS
changecaseplugineditor.cpp
changecaseplugineditorinterface.cpp
)
)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(kmail_changecaseeditorplugin_SRCS HEADER changecaseeditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_CHANGECASE_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_changecaseeditorplugin)
else()
ecm_qt_declare_logging_category(kmail_changecaseeditorplugin_SRCS HEADER changecaseeditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_CHANGECASE_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_changecaseeditorplugin
DESCRIPTION "kdepim-addons (kmail changecase editor plugins)"
OLD_CATEGORY_NAMES log_kmail_changecaseeditorplugin
EXPORT KDEPIMADDONS
ecm_qt_declare_logging_category(kmail_changecaseeditorplugin_SRCS HEADER changecaseeditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_CHANGECASE_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_changecaseeditorplugin
DESCRIPTION "kdepim-addons (kmail changecase editor plugins)"
OLD_CATEGORY_NAMES log_kmail_changecaseeditorplugin
EXPORT KDEPIMADDONS
)
endif()
kcoreaddons_add_plugin(kmail_changecaseeditorplugin JSON kmail_changecaseeditorplugin.json SOURCES
${kmail_changecaseeditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditor)
target_link_libraries(kmail_changecaseeditorplugin
KF5::MessageComposer KF5::XmlGui KF5::I18n
)
KF5::MessageComposer KF5::XmlGui KF5::I18n
)
if(BUILD_TESTING)
add_subdirectory(autotests)
add_subdirectory(autotests)
endif()
set(changecaseplugineditor_common_SRCS)
if (ECM_VERSION VERSION_LESS "5.68.0")
ecm_qt_declare_logging_category(changecaseplugineditor_common_SRCS HEADER changecaseeditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_CHANGECASE_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_changecaseeditorplugin)
else()
ecm_qt_declare_logging_category(changecaseplugineditor_common_SRCS HEADER changecaseeditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_CHANGECASE_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_changecaseeditorplugin
DESCRIPTION "kdepim-addons (kmail changecase editor plugins)"
OLD_CATEGORY_NAMES log_kmail_changecaseeditorplugin
EXPORT KDEPIMADDONS
)
endif()
ecm_qt_declare_logging_category(changecaseplugineditor_common_SRCS HEADER changecaseeditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_CHANGECASE_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_changecaseeditorplugin)
macro(add_kmail_editorplugin_unittest _source _additional)
set( _test ${_source} ${_additional} ${changecaseplugineditor_common_SRCS})
......
......@@ -2,20 +2,20 @@ set(shorturlpluginprivate_SRCS
shorturlengineplugin/shorturlengineinterface.cpp
shorturlengineplugin/shorturlengineplugin.cpp
shorturlengineplugin/shorturlenginepluginmanager.cpp
)
)
add_library(shorturlpluginprivate ${shorturlpluginprivate_SRCS})
generate_export_header(shorturlpluginprivate BASE_NAME shorturl)
target_link_libraries(shorturlpluginprivate
PRIVATE
PRIVATE
Qt5::Network KF5::I18n KF5::CoreAddons Qt5::Gui
)
)
set_target_properties(shorturlpluginprivate
PROPERTIES VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION}
)
)
install(TARGETS shorturlpluginprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
......@@ -29,25 +29,21 @@ set(kmail_insertshorturleditorplugi