enable BUILD_DAV
Care to write a proper sentence?
current ebuild doesn't respect default options set in CMakeFile, i.e. ------- option(BUILD_MAILDIR "BUILD_MAILDIR" ON) option(BUILD_DAV "BUILD_DAV" ON) ------- as they are defined in examples directory, which is disabled in kde5.eclass
Created attachment 482968 [details] sink-0.3.0.ebuild modified ebuild with kimap2 & kdav2 support
You are changing multiple unrelated lines compared to 0.3.0. Please explain why, and in the future submit unified diff instead of a full ebuild so we can review your changes right away. If the goal of your ebuild is to enable BUILD_DAV I don't see your ebuild do that anywhere (missing src_configure).
CMakeLists.txt says about examples subdir: # example implementations So, does it actually add anything of value at runtime?
(In reply to Andreas Sturmlechner from comment #5) > CMakeLists.txt says about examples subdir: # example implementations > > So, does it actually add anything of value at runtime? yes, it does. this subdir contains sources for DAV
I can confirm that it does. The examples use flag pulls in * KIMAP2 (required version >= 0.2) * CURL (required version >= 7.20.0) * KPimKDAV2 as shown by the extracts of the configure logs shown below. More importantly the build of Kube now works instead of saying Disconnected all the time. It's a shame that the library wasn't tested for function as well as build. It's also a shame that time was wasted arguing about the new build rather than trying it out. Without the examples use flag: -- The following OPTIONAL packages have been found: * PkgConfig * Libgit2 (required version >= 0.20.0) * Qt5Test * Qt5Concurrent -- The following REQUIRED packages have been found: * ECM (required version >= 1.0.0) * Qt5Core * Qt5Network * Qt5Gui * Qt5 * KF5Contacts * FlatBuffers * KAsync * LMDB * KF5Mime * KF5 * Readline -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=native -O2 -pipe C++ -march=native -O2 -pipe Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: and with the examples use flag. -- The following OPTIONAL packages have been found: * PkgConfig * Libgit2 (required version >= 0.20.0) * Qt5Test * Qt5Concurrent -- The following REQUIRED packages have been found: * ECM (required version >= 1.0.0) * Qt5Core * Qt5Network * Qt5Gui * Qt5 * KF5Contacts * FlatBuffers * KAsync * LMDB * KIMAP2 (required version >= 0.2) * CURL (required version >= 7.20.0) * KPimKDAV2 * KF5Mime * KF5 * Readline -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=native -O2 -pipe C++ -march=native -O2 -pipe Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING
(In reply to David Williams from comment #7) > It's also a shame that time was wasted arguing about the new build rather > than trying it out. Yes, how dare one ask for more information before investing time in a feature request. And thanks for your (duplicate) bug with an actual proper error description.
*** Bug 628320 has been marked as a duplicate of this bug. ***
Thanks for your reports, fixed in git commit e0e7c1b084b748b4c84d65177fdce88645111aca