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

333.9. pim-data-exporter-26.08.2

Backs up and restores KDE PIM mail, accounts, identities, contacts, calendars and settings

26.08.2-1 · GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-or-later AND BSD-3-Clause AND CC0-1.0 AND MIT · 1.6 SBU · 1.5 MiB, 18 files · 44_apps, 331 of 422 · ports/core/pim/pim-data-exporter

Homepage: https://apps.kde.org/pimdataexporter/

PIM Data Exporter backs up and restores KDE PIM data in one zip archive: KMail’s mail, accounts, identities, transports, filters and settings, and the address books, calendars, alarms and feeds of KAddressBook, KOrganizer, KAlarm and Akregator. The archive can be restored on another machine, where the exporter recreates the Akonadi resources and settings. The port installs the window, pimdataexporter, which kmail opens from its Tools menu, and pimdataexporterconsole for scripted backups.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, karchive, kcalendarcore, kconfig, kcontacts, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kiconthemes, kio, kitemviews, kmime, knotifications, kstatusnotifieritem, kwidgetsaddons, kxmlgui, ktextaddons, akonadi, kidentitymanagement, kmailtransport, mailcommon, pimcommon, breeze-icons.

Required by (1): kde-gear-pim.

Sources: pim-data-exporter-26.08.2.tar.xz (422.7 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install pim-data-exporter'

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

Programs: pimdataexporter, pimdataexporterconsole.

Libraries: libpimdataexporterprivate.so.

Directories: /usr/share/doc/HTML/en/pimdataexporter, /usr/share/licenses/pim-data-exporter.

ktextaddons’ TextAddonsWidgets is found without REQUIRED but marked TYPE REQUIRED, and the feature summary stops the configure without it.

The exporter reads and writes what the Akonadi resources of kdepim-runtime hold, and restoring an archive creates such resources, but the port does not name kdepim-runtime: kmail, which opens it, already does, and the kde-gear-pim meta installs both.

The entry names the icon kontact, which breeze-icons, in depends for run time only, draws. The program sets org.kde.pimdataexporter as its desktop file name, the name of the entry, which carries no StartupWMClass, so the task manager matches the window to it with no change. While a backup or restore runs, the window shows an icon in the system tray through kstatusnotifieritem.

KF_SKIP_PO_PROCESSING stops only ki18n_install(): kdoctools_install() still builds the handbook in every translated language, and kpkg’s language rule removes /usr/share/doc/HTML/<lang>/ from the package.