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

258.7. kio-extras-26.08.2

Extra KIO workers, thumbnailers and settings modules: SMB, SFTP, archives, man pages, MTP and iOS devices, recent files, file previews

The build-state snapshot was taken from 26.08.2-1; this recipe is 26.08.2-2, so the size, time and contents below describe the earlier build.

Version 26.08.2, release 2
Shelf kde — KDE Plasma and Gear platform pieces outside Frameworks that have no other domain: KIO workers, thumbnailers, Plasma integration, KDE Wayland glue
Phase 43_toolkits (Toolkits), 139 of 344 in build order
Licence GPL-2.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND (GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND MIT AND LGPL-2.0-only AND CC0-1.0 AND GPL-2.0-only AND (LGPL-2.0-or-later OR BSD-2-Clause) AND BSD-2-Clause AND LGPL-2.1-only AND (LGPL-2.1-or-later OR LicenseRef-KDE-Accepted-GPL)
Homepage https://invent.kde.org/network/kio-extras
Build time 3.4 SBU
Installed size 4.1 MiB in 113 files
Recipe ports/core/kde/kio-extras/kpkgbuild

About

kio-extras is the set of KIO workers, thumbnailers and settings modules every KDE application opens files through beyond the local disk: smb:/ for Windows and Samba shares, sftp:/ and fish:/ over SSH, mtp:/ for phones and cameras, afc:/ for iOS devices, man:/ and info:/, the archive and recentlyused:/ workers, and the thumbnail worker with its plugins for pictures, audio covers, EXR, cursors, DjVu, comics and text. It also builds the Trash, Proxy, Connection Preferences and Web Search Keywords pages of System Settings.

Sources

Dependencies

Depends on: cmake, ninja, extra-cmake-modules, gperf, qt6-qtbase, qt6-qtsvg, karchive, kcodecs, kconfig, kcoreaddons, kdbusaddons, kdoctools, ki18n, kio, kwidgetsaddons, solid, kcmutils, kdnssd, plasma-activities, plasma-activities-stats, samba, libssh, qcoro, kdsoap-ws-discovery-client, syntax-highlighting, libmtp, libimobiledevice, libplist, openexr, taglib, libkexiv2, libX11, libXcursor, djvulibre, shared-mime-info.

Required by (3): dolphin, khelpcenter, plasma-workspace.

Patches

build.sh applies these; kpkg applies nothing by itself.

webshortcuts-load-unchanged.patch ends the Web Search Keywords page’s FilterOptions::load(), in kcms/webshortcuts/ikwsopts.cpp, by clearing the page’s needs-save flag. Loading sets the default engine, the two check boxes and the delimiter, and each of those widgets’ change signals marks the page changed, so upstream’s page opened with Reset and Apply enabled and asked about unsaved changes on leaving it. It is to be offered upstream.

Installation

From the repository root, inside the build container, this is the line kdosbuild runs for the port:

script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kio-extras'

What kpkg does

kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/kde/kio-extras.

1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.

cd /ports/core/kde/kio-extras
echo 'b5fc98552eea1f9279fb1f03c7e3ffb36a46ffddd0bf0bba9868331d8c461e6e  kio-extras-26.08.2.tar.xz' | sha256sum -c -

2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.

SRC_ROOT=/var/cache/kpkg/work/kio-extras
SRC=$SRC_ROOT/kio-extras-26.08.2
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf kio-extras-26.08.2.tar.xz -C "$SRC" --strip-components=1

Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.

3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:

patch -p1 -i "$PORT_SRC/webshortcuts-load-unchanged.patch"

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D BUILD_TESTING=OFF \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D BUILD_DOC=ON \
	-D BUILD_KCMS=ON \
	-D BUILD_ACTIVITIES=ON \
	-D BUILD_FUZZERS=OFF \
	-D USE_DBUS=ON \
	-D WITH_LIBPROXY=OFF \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Samba=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_libssh=ON \
	-D CMAKE_DISABLE_FIND_PACKAGE_TIRPC=ON \
	-D CMAKE_DISABLE_FIND_PACKAGE_libappimage=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Libmtp=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_IMobileDevice=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_PList=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Gperf=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Taglib=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_OpenEXR=ON \
	-D WITHOUT_X11=OFF \
	-D CMAKE_REQUIRE_FIND_PACKAGE_X11=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KExiv2Qt6=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

The switches, and why each is set:

The common switches of each build system are explained in the Flag glossary.

4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/kio-extras, prunes what the image does not ship, lints the tree and rolls it reproducibly:

tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
    --mtime=@$SOURCE_DATE_EPOCH \
    --use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
    -cf kio-extras-26.08.2-2.tar.xz -C "$PKG" .

5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/kio-extras, and runs the triggers its paths call for.

Contents

Installed libraries: libkioarchive6.so.

Installed directories: /usr/include/KioArchive6, /usr/lib/cmake/KioArchive6, /usr/share/doc/HTML/en/kcontrol6/netpref, /usr/share/doc/HTML/en/kcontrol6/proxy, /usr/share/doc/HTML/en/kcontrol6/trash, /usr/share/doc/HTML/en/kcontrol6/webshortcuts, /usr/share/doc/HTML/en/kioworker6/bzip2, /usr/share/doc/HTML/en/kioworker6/fish, /usr/share/doc/HTML/en/kioworker6/gzip, /usr/share/doc/HTML/en/kioworker6/info, /usr/share/doc/HTML/en/kioworker6/man, /usr/share/doc/HTML/en/kioworker6/nfs, /usr/share/doc/HTML/en/kioworker6/sftp, /usr/share/doc/HTML/en/kioworker6/smb, /usr/share/doc/HTML/en/kioworker6/tar, /usr/share/doc/HTML/en/kioworker6/thumbnail, /usr/share/doc/HTML/en/kioworker6/xz, /usr/share/doc/HTML/en/kioworker6/zstd, /usr/share/kio_filenamesearch, /usr/share/kio_info, /usr/share/konqueror/dirtree, /usr/share/licenses/kio-extras.

Notes

The man:/ worker renders pages with its own man2html converter and runs no formatter. The DjVu thumbnailer runs ddjvu from djvulibre at run time, which the configure does not check.

The SMB worker’s WS-Discovery search sends to UDP port 3702 and listens for the replies, so it finds Windows machines only where the firewall lets those replies in.