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

285.1. kate-26.08.2

KDE advanced text editor — tabs, split views, LSP, projects, search, terminal

26.08.2-1 · LGPL-2.0-or-later AND LGPL-2.0-only AND GPL-2.0-or-later AND MIT · 10.0 SBU · 19.3 MiB, 178 files · 44_apps, 76 of 422 · ports/core/editors/kate

Homepage: https://kate-editor.org/

Kate is KDE’s advanced text editor: tabs and split views, sessions and projects, a language server client, search and replace across folders, a terminal panel through konsole’s part, Git integration, a SQL client and a GPG plugin. Its editing component is ktexteditor’s.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, karchive, kbookmarks, kconfig, kcoreaddons, kcrash, kdbusaddons, kdoctools, kguiaddons, ki18n, kiconthemes, kio, knewstuff, ktexteditor, kwidgetsaddons, kwindowsystem, qtkeychain, gpgmepp, libintl.

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

Sources: kate-26.08.2.tar.xz (8.3 MiB). Every step kpkg takes applies to this port.

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

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 USE_DBUS=ON \
	-D BUILD_kwrite=OFF \
	-D BUILD_compiler-explorer=OFF \
	-D CMAKE_DISABLE_FIND_PACKAGE_KF6UserFeedback=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6Keychain=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Gpgmepp=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

if [ -d "$PKG/usr/share/man" ]; then
	find "$PKG/usr/share/man" -mindepth 1 -maxdepth 1 ! -name 'man*' -exec rm -rf {} +
fi

Programs: exec_inspect.sh, kate.

Libraries: libkateprivate.so.

Directories: /usr/share/doc/HTML/en/kate, /usr/share/doc/HTML/en/katepart, /usr/share/kateproject, /usr/share/katexmltools, /usr/share/licenses/kate.

The loop at the end of build.sh removes every directory under /usr/share/man that is not a man<section> one, where kdoctools_install() puts the translated manual pages; kpkg’s language rule removes the translated handbooks.