257.70. kdav-6.31.0
KDE Frameworks: WebDAV, CalDAV and CardDAV client jobs
6.31.0-1 · LGPL-2.0-or-later AND CC0-1.0 · 0.7 SBU · 600.4 KiB, 72 files · 43_toolkits, 201 of 344 · ports/core/kf6/kdav
Homepage: https://invent.kde.org/frameworks/kdav
KDAV is the KDE Frameworks client for WebDAV collections and the two protocols built on them, CalDAV for calendars and CardDAV for address books, as KJobs: discovering a server’s collections, listing and fetching items, and creating, changing and deleting them with the conflict detection that ETags give. It also reads the WebDAV Push support a server advertises and registers and removes a collection’s push subscription. The DAV resource of kdepim-runtime, which keeps Akonadi in step with a CalDAV or CardDAV server, requires it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcoreaddons, ki18n.
Required by (1): kdepim-runtime.
Sources: kdav-6.31.0.tar.xz (87.9 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kdav'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D BUILD_TESTING=OFF \
-D KF_SKIP_PO_PROCESSING=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON—ki18n_install(po)returns at once, so none of the message catalogues inpo/is compiled or installed. kpkg removes every non-English catalogue from the package anyway (see Size and language policy), so the switch only saves build time.
Libraries: libKF6DAV.so.
Directories: /usr/include/KF6/KDAV, /usr/lib/cmake/KF6DAV, /usr/share/licenses/kdav.
The jobs speak HTTP through Qt’s own network module from qt6-qtbase, not through kio, so the library links no KIO and credentials reach it from its caller, as the user name and password of each collection’s URL. A TLS certificate error fails the job unless the program has installed a KDAV::DavSslUiProxy that asks the user and accepts it. The configure asks for Qt’s test module whatever BUILD_TESTING says; it is part of qt6-qtbase and adds nothing to depends.