231.1. konsole-26.08.2
KDE terminal emulator — tabs, split views, profiles, SSH manager
26.08.2-1 · GPL-2.0-or-later · 7.3 SBU · 5.7 MiB, 36 files · 43_toolkits, 133 of 344 · ports/core/shells/konsole
Homepage: https://konsole.kde.org/
Konsole is KDE’s terminal emulator and the default terminal of the KDOS session: tabs and split views, profiles and colour schemes, bookmarks, search, an SSH manager and quick commands in side panels, and sixel, iTerm2 and kitty inline pictures. Its KPart is the terminal panel inside dolphin and kate.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtmultimedia, kbookmarks, kconfig, kconfigwidgets, kcoreaddons, kcrash, kdbusaddons, kdoctools, kglobalaccel, kguiaddons, ki18n, kiconthemes, kio, knewstuff, knotifications, knotifyconfig, kparts, kpty, kservice, ktextwidgets, kwidgetsaddons, kwindowsystem, kxmlgui, icu, libssh.
Required by (7): dolphin, gnuradio, kcron, kde-gear-core, kdos-plasma-look, kwin-script-kdos-runraise, yakuake.
Sources: konsole-26.08.2.tar.xz (1.9 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 konsole'
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 CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
-D WITH_X11=ON \
-D WITH_LIBSSH=ON \
-D WITH_KAPSULE=OFF \
-D ENABLE_PLUGIN_SSHMANAGER=ON \
-D ENABLE_PLUGIN_QUICKCOMMANDS=ON \
-D INSTALL_ICONS=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
-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations inpo/; the image is English only (see Size and language policy).-D USE_DBUS=ON— Builds the D-Bus interface through whichkonsoleopens a new window or tab in the instance already running, and scripts drive sessions. Upstream’s default on Linux, named.-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON— Requires kdoctools for the handbook, which upstream builds only when it finds kdoctools.-D WITH_X11=ON— Builds the code paths Konsole takes when it runs as an X11 client under Xwayland: its compositing check, window activation and placement through KX11Extras, and the--display,--visualand--waitforwmoptions. Upstream’s default, named; as a Wayland client it skips them at run time.-D WITH_LIBSSH=ON— Reads~/.ssh/configthrough libssh, which the SSH manager imports hosts from. Upstream’s default, named; it makes libssh a requirement.-D WITH_KAPSULE=OFF— No Kapsule container integration, which needs libkapsule-qt; it is not a port. Upstream’s default, named.-D ENABLE_PLUGIN_SSHMANAGER=ON,-D ENABLE_PLUGIN_QUICKCOMMANDS=ON— Build the SSH manager and quick commands side panels. Upstream’s defaults, named.-D INSTALL_ICONS=ON— Installs Konsole’s own application icons into hicolor, so theutilities-terminalicon its desktop entry names resolves whatever icon theme is chosen. Upstream’s default is off.
Programs: konsole, konsoleprofile.
Libraries: libkonsoleapp.so, libkonsoleprivate.so.
Directories: /usr/lib/qt6/plugins/konsoleplugins, /usr/share/doc/HTML/en/konsole, /usr/share/licenses/konsole.
kdoctools_install() builds the handbook in every translated language the tarball carries, and kpkg’s language rule removes the translated ones from the package. 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 a translated manual page; Konsole ships no manual page, so the loop finds nothing to remove.
Konsole is the default terminal of the session: the TerminalApplication and TerminalService keys in the shipped kdeglobals, and the KDOS profiles in the shipped konsolerc, name it. Both files are KDOS’s configuration, not this package’s.