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

241.10. libgravatar-26.08.2

KDE PIM library that looks up Gravatar and Libravatar pictures for mail addresses

26.08.2-1 · LGPL-2.0-or-later AND BSD-3-Clause AND MIT AND CC0-1.0 · 0.5 SBU · 215.5 KiB, 26 files · 43_toolkits, 220 of 344 · ports/core/mail/libgravatar

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

libgravatar resolves a mail address to a picture: it hashes the address, asks secure.gravatar.com or seccdn.libravatar.org for an avatar, caches what comes back, and offers the configuration widget KMail shows for it. messagelib requires it, so it is on the path to KMail.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcoreaddons, ki18n, kconfig, kwidgetsaddons, kconfigwidgets.

Required by (3): kdepim-addons, kmail, messagelib.

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

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

Libraries: libKPim6Gravatar.so.

Directories: /usr/include/KPim6/Gravatar, /usr/lib/cmake/KPim6Gravatar, /usr/share/licenses/libgravatar.

Every lookup is a request to a third-party server that names the hashed address. The settings the library installs, GravatarSupportEnabled and LibravatarSupportEnabled, both default to off, so nothing is sent until the user turns the feature on in KMail.