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

301.7. mbox-importer-26.08.2

Imports an mbox mail file into an Akonadi mail folder

26.08.2-1 · GPL-2.0-or-later AND BSD-3-Clause AND CC0-1.0 AND MIT · 1.0 SBU · 119.6 KiB, 6 files · 44_apps, 281 of 422 · ports/core/mail/mbox-importer

Homepage: https://invent.kde.org/pim/mbox-importer

MBoxImporter copies the messages of one mbox file into an Akonadi mail folder the user picks, through the mbox filter of mailimporter and the folder chooser of mailcommon. It is reached from a file manager’s Open With menu on an mbox file; kmail’s own import menu runs akonadi-import-wizard instead.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, kcrash, ki18n, kiconthemes, kservice, akonadi, kidentitymanagement, mailcommon, mailimporter, breeze-icons.

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

Sources: mbox-importer-26.08.2.tar.xz (34.8 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 mbox-importer'

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

Programs: mboximporter.

Directories: /usr/share/licenses/mbox-importer.

Upstream finds kiconthemes with QUIET and no REQUIRED, then links KF6::IconThemes unconditionally for KIconTheme::initTheme(), so a missing kiconthemes fails the generate step; it is in depends.

The one entry, org.kde.mboximporter.desktop, is NoDisplay=true and claims application/mbox, which kmail’s kmail_view.desktop claims too; which of the two opens an mbox file is chosen in mimeapps.list. It names the icon kmail, which breeze-icons, in depends for run time only, draws. The program sets org.kde.mboximporter as its desktop file name, so its window matches the entry.