291.6. kfind-26.08.2
File finder — search by name, type, date, size and contents, with a results view
26.08.2-1 · GPL-2.0-or-later · 0.3 SBU · 551.5 KiB, 15 files · 44_apps, 133 of 422 · ports/core/files/kfind
Homepage: https://apps.kde.org/kfind/
KFind searches the filesystem: by name with wildcards, by type, by modification date, by size, by owner and by the text inside the files, including the text inside archives and documents that KFileMetaData can read. Results open, move, copy and delete like any file view, and Dolphin’s Tools menu starts it on the folder being shown.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qt5compat, karchive, kcoreaddons, kfilemetadata, ki18n, kio, kwidgetsaddons, kxmlgui, kcrash, kdoctools.
Required by (1): kde-gear-core.
Sources: kfind-26.08.2.tar.xz (330.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 kfind'
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_KF6DocTools=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON— The handbook, through kdoctools, which upstream looks for as optional; required, a missing one stops the configure instead of leaving the handbook out.-D KF_SKIP_PO_PROCESSING=ON— Skips building the interface translations, which the package-wide English-only rule would remove anyway (see Size and language policy).
Programs: kfind.
Directories: /usr/share/doc/HTML/en/kfind, /usr/share/licenses/kfind.
find_package(Qt6Core5Compat REQUIRED) makes qt6-qt5compat a requirement of the configure; the content search decodes text through its QTextCodec.