Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-kdepimlibs4
make-akonadi-optional.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File make-akonadi-optional.patch of Package mingw32-kdepimlibs4
--- a/CMakeLists.txt 2016-10-19 12:49:10.118851759 +0000 +++ b/CMakeLists.txt 2016-10-19 12:49:20.924628555 +0000 @@ -81,7 +81,7 @@ #FindAkonadi.cmake is only there for compatibility reasons, but we don't want to use that. set(Akonadi_MIN_VERSION "1.12.90") find_package(Akonadi ${Akonadi_MIN_VERSION} QUIET NO_MODULE) - set_package_properties(Akonadi PROPERTIES DESCRIPTION "Akonadi server libraries" URL "http://pim.kde.org/akonadi" TYPE REQUIRED PURPOSE "Access to PIM storage and services") + set_package_properties(Akonadi PROPERTIES DESCRIPTION "Akonadi server libraries" URL "http://pim.kde.org/akonadi" TYPE OPTIONAL PURPOSE "Access to PIM storage and services") find_package(Sasl2) set_package_properties(Sasl2 PROPERTIES DESCRIPTION "cyrus-sasl" URL "http://asg.web.cmu.edu/sasl/sasl-library.html" TYPE OPTIONAL PURPOSE "Login authentication for IMAP and Sieve") --- a/CMakeLists.txt 2016-10-19 13:02:05.573500990 +0000 +++ b/CMakeLists.txt 2016-10-19 13:02:41.434062369 +0000 @@ -151,7 +151,9 @@ endif() add_subdirectory(kcalcore) add_subdirectory(kcalutils) - add_subdirectory(akonadi) # depends on kabc is build + if(AKONADI_FOUND) + add_subdirectory(akonadi) # depends on kabc is build + endif() add_subdirectory(kholidays) if(SASL2_FOUND) add_subdirectory(kimap) --- a/CMakeLists.txt 2016-10-19 13:22:36.218024990 +0000 +++ b/CMakeLists.txt 2016-10-19 13:32:11.797214192 +0000 @@ -144,7 +144,9 @@ if (NOT KDEPIM_ONLY_KLEO) add_subdirectory(kabc) - add_subdirectory(kalarmcal) + if(AKONADI_FOUND) + add_subdirectory(kalarmcal) + endif() if (NOT KDEPIM_NO_KCAL) add_subdirectory(kblog) add_subdirectory(kcal) @@ -172,7 +174,9 @@ endif() add_subdirectory(ktnef) add_subdirectory(kxmlrpcclient) - add_subdirectory(mailtransport) + if(AKONADI_FOUND) + add_subdirectory(mailtransport) + endif() add_subdirectory(microblog) add_subdirectory(syndication) add_subdirectory(kontactinterface) --- a/kmime/tests/auto/CMakeLists.txt 2016-10-19 14:16:01.984474378 +0000 +++ b/kmime/tests/auto/CMakeLists.txt 2016-10-19 14:16:43.823587843 +0000 @@ -1,7 +1,5 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}") -# to find akonadi-kmime_export.h and akonadi_export.h -include_directories(${CMAKE_BINARY_DIR}/akonadi/kmime ${CMAKE_BINARY_DIR}/akonadi) macro(add_kmime_test _source) set(_test ${_source}) @@ -17,12 +15,15 @@ add_kmime_test(charfreqtest.cpp) add_kmime_test(headertest.cpp) add_kmime_test(contenttest.cpp) -add_kmime_test(messagetest.cpp) add_kmime_test(codectest.cpp) #add_kmime_test(headerfactorytest.cpp) add_kmime_test(rfc2231test.cpp) add_kmime_test(base64benchmark.cpp) add_kmime_test(sizetest.cpp) add_kmime_test(parsedatetimetest.cpp) - -target_link_libraries(messagetest akonadi-kde akonadi-kmime) +if(AKONADI_FOUND) + # to find akonadi-kmime_export.h and akonadi_export.h + include_directories(${CMAKE_BINARY_DIR}/akonadi/kmime ${CMAKE_BINARY_DIR}/akonadi) + add_kmime_test(messagetest.cpp) + target_link_libraries(messagetest akonadi-kde akonadi-kmime) +endif()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor