258.14. kio-fuse-5.1.1
FUSE bridge that mounts KIO locations so programs without KIO can open remote files by path
5.1.1-1 · GPL-3.0-or-later · 1.0 SBU · 315.7 KiB, 3 files · 43_toolkits, 185 of 344 · ports/core/kde/kio-fuse
Homepage: https://invent.kde.org/system/kio-fuse
kio-fuse mounts KIO locations as an ordinary filesystem, so a program that knows nothing of KIO can open a file on an sftp:, smb:, webdav: or other KIO URL by path. When a KDE application hands a remote file to such a program, KIO asks kio-fuse over D-Bus (org.kde.KIOFuse) for a local path, and kio-fuse mounts the location under $XDG_RUNTIME_DIR/kio-fuse-<random>/ and serves reads and writes through the matching KIO worker. xdg-desktop-portal-kde and plasma-workspace rely on it to pass remote files to applications that are not KDE’s. The daemon is /usr/lib/libexec/kio-fuse, mounting through fuse’s setuid fusermount3.
Depends on: cmake, ninja, extra-cmake-modules, pkgconf, qt6-qtbase, kcoreaddons, kio, fuse.
Required by (3): dragon, plasma-workspace, xdg-desktop-portal-kde.
Sources: kio-fuse-5.1.1.tar.xz (48.2 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 kio-fuse'
build.sh:
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 BUILD_WITH_QT6=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
rm -rf "$PKG/usr/lib/systemd" "$PKG/usr/lib/tmpfiles.d"
-D BUILD_WITH_QT6=ON— Build against Qt 6 and KDE Frameworks 6. The project asks ECM for a version older than Frameworks 6, so ECM’sQtVersionOptionwould otherwise pick Qt 5 and KF5, which KDOS does not have.
Directories: /usr/share/licenses/kio-fuse.
The daemon is started by D-Bus activation the first time KIO asks for a mount. The service file upstream generates names both an Exec= line and a SystemdService= line; the session bus, which runs without systemd activation, uses the Exec= line. The install also puts a systemd user unit under /usr/lib/systemd/user and a tmpfiles.d rule that keeps systemd’s cleaner away from the mount points under /run/user; KDOS has neither systemd nor that cleaner (see No systemd), and the package lint refuses usr/lib/systemd, so build.sh removes both directories.
The kernel’s FUSE driver is built into the KDOS kernel, so no module needs loading before the first mount.