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

257.53. kpty-6.31.0

KDE Frameworks: pseudo-terminal devices for terminal emulators

6.31.0-1 · LGPL-2.0-or-later AND GPL-2.0-or-later · 0.7 SBU · 147.9 KiB, 20 files · 43_toolkits, 132 of 344 · ports/core/kf6/kpty

Homepage: https://invent.kde.org/frameworks/kpty

Why it is in KDOS. The comment above the 61 ports from karchive to kfilemetadata in script/phases/43_toolkits/packages.d/kf6.txt:

The libraries KDE applications are built on, without Plasma.

KPty opens and drives pseudo-terminals for KDE programs: KPty and KPtyDevice own the master and slave ends, and KPtyProcess starts a program on one, with its window size and terminal modes. konsole and qmlkonsole run their shells through it, kdesu talks to sudo through it, and ark drives interactive archivers with it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcoreaddons, ki18n, gettext.

Required by (5): ark, kdesu, konsole, kwrited, qmlkonsole.

Sources: kpty-6.31.0.tar.xz (2.2 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kpty'

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 KF_SKIP_PO_PROCESSING=ON \
	-D BUILD_TESTING=OFF \
	-D CMAKE_DISABLE_FIND_PACKAGE_UTEMPTER=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKF6Pty.so.

Directories: /usr/include/KF6/KPty, /usr/lib/cmake/KF6Pty, /usr/share/licenses/kpty.