Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

269.2. libkgapi-26.08.2

KDE library for Google Calendar, People, Drive, Tasks and Blogger APIs, with a SASL XOAUTH2 plugin

26.08.2-1 · (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND BSD-3-Clause AND CC0-1.0 · 19.6 SBU · 4.1 MiB, 398 files · 43_toolkits, 212 of 344 · ports/core/pim/libkgapi

Homepage: https://invent.kde.org/pim/libkgapi

LibKGAPI is KDE’s client for Google’s web APIs: Calendar, People (contacts), Drive, Tasks, Blogger, Latitude and Static Maps, each as its own KPim6GAPI* library of jobs and data types, over one OAuth 2 account object. Accounts and their tokens are kept in KWallet. The Google calendar and contacts resources of kdepim-runtime and kio-gdrive are built on it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kwallet, kcalendarcore, kcontacts, cyrus-sasl.

Required by (3): kdepim-runtime, kio-gdrive, kmailtransport.

Sources: libkgapi-26.08.2.tar.xz (335.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 libkgapi'

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 \
	-D BUILD_SASL_PLUGIN=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKPim6GAPIBlogger.so, libKPim6GAPICalendar.so, libKPim6GAPICore.so, libKPim6GAPIDrive.so, libKPim6GAPILatitude.so, libKPim6GAPIMaps.so, libKPim6GAPIPeople.so, libKPim6GAPITasks.so.

Directories: /usr/include/KPim6/KGAPI, /usr/lib/cmake/KPim6GAPI, /usr/share/licenses/libkgapi.

Every call is a request to Google’s servers, made only for an account the user has added. The OAuth client identity is KDE’s, registered with Google; whether Google keeps accepting it is not something the port controls. Tokens are stored through kwallet, so with the session’s secret service locked the account asks for the wallet first.