Part XII. Applications
This part covers 44_apps, the last of the userland phases, and is for anyone building KDOS who wants to know what this phase builds and why a given application ended up in it.
The phase builds the natively ported applications: the ports at the top of the dependency graph, which nothing else in the tree needs. They include:
- browsers and office suites;
- graphics, audio and video programs;
- games and emulators;
- science, engineering and radio applications;
- most applications of KDE Gear.
Each sits on the subject shelf of what it does, and each is built with the toolkit its upstream uses, from Part XI.
The sections below give the rule that decides which ports belong to the phase, explain why some programs without a window of their own are built here, show how the shelves divide the phase, and say which of its ports have a full page. The package pages follow, in chapters by shelf, in the shelves’ own order, and within a shelf in the order kpkgdepends builds them.
What belongs here
Every file of the phase’s list opens with the rule:
# Leaf applications whose dependency closure reaches a toolkit, or the graphics
# stack on an application shelf.
script/phases/44_apps/packages.d/3d.txt, lines 16–17
Every port here is a leaf: nothing else in the tree depends on it. An application that another port depends on is listed in an earlier phase instead:
- in Part XI when its closure reaches a toolkit, as
konsole,vlc,gpsman(whichxastiruses), Dolphin (whichdolphin-pluginsextends) and KDevelop (whichkdev-phpandkdev-pythonextend) are; - in Part X when it reaches only the graphics stack.
A library that an application here links sits where its own closure puts it: libdovi, which handbrake uses, is in Part IX. testing/phaseclosure.py refuses a port of this phase that something depends on or whose closure does not qualify it. The full table of phases is under Which phase lists a port.
The rule is about the closure (a port’s dependencies, their dependencies, and so on to the bottom of the tree), not about having a window. Several terminal programs are here because something they depend on reaches a toolkit: buildah, skopeo and the XMPP client profanity depend on gpgme, whose GnuPG asks for passphrases through a pinentry built against Qt 6; aerc depends on notmuch, yazi on poppler and sc-im on gnuplot, all three Part XI ports. The Depends on list of each package page shows the link.
The reverse also holds. An application whose closure stays clear of the graphics stack is a Part IX port whatever its shelf, as Neovim, nethack and lynx are, and a port on an application shelf whose closure reaches the graphics stack but no toolkit is built here because of that shelf; without it, the port would be a Part X port.
The list, by shelf
The list is script/phases/44_apps/packages.d/, one file per shelf, read in byte order as one list, with no separate order file (see Package lists). Most of the shelves, and so most of the chapters, fall into a few groups:
- Making and viewing
-
graphics(GIMP, Krita, Inkscape, darktable, digiKam and the image viewers),3d,cad,fabrication,documentsandoffice(LibreOffice, Gnumeric, GnuCash). - Sound and pictures in motion
-
studio(Ardour, Audacity, MuseScore, LMMS and the trackers),music-players,video-playersandvideo-tools. - Play
-
the
games-*shelves,emulators(Wine, ScummVM, DOSBox and the console emulators) andlibretro. - The network
-
browsers(Firefox ESR, Chromium, LibreWolf, Falkon and others),mail,chatandtransfer. - Work and study
-
editors(Kate, Qt Creator, Geany, JupyterLab and the KDevelop language plugins),education,math,astronomy,gis,eda,sdrandhamradio. - The system’s own tools
-
files,disk,sysmon,containers,virt,securityandprinting, where the graphical front ends to Part IX’s machinery are: Filelight, GParted, KDE Partition Manager, virt-manager and the like. - The other shelves
-
accessibility,pim,optical,vcs,themesand the rest hold a few ports each: applications, and the fonts, themes and libraries that nothing else depends on. kde-
The KDE Gear pieces that belong to no subject shelf: KIO workers, thumbnailers and the other integration plugins. A Gear application itself sits on the shelf of its subject, as Kate on
editors, KFind onfilesand the games on thegames-*shelves. The meta ports that pull in whole groups of Gear, such askde-gear-core, are built in Part XIII.
What every application recipe shares
The shape of an application’s recipe, and the habits recurring through this phase’s recipes, such as naming every optional dependency rather than leaving it to whatever happens to be installed, are in A graphical application. An application’s desktop entry is installed by its own port, which is what gives it a row in Kickoff, the Application Launcher; see Desktop entries belong to the port.
A recipe here chooses which display backends its program is built with, where upstream offers a choice; it does not choose which one runs. The toolkits are built with both backends, and the login profile makes Wayland the first choice, as Part XI shows. A program with no Wayland path at all runs under Xwayland with no change to its recipe.
Which ports have full pages
No port of this phase is named in docs/kfs/data/tier-a.txt, so none is Tier A (see The three tiers). The box launcher kdos-appbox, which starts applications inside a box, is not in this phase either: the Boxes settings page and the Discover backend depend on it, so it is a Part XI port.
A large share of the ports are Tier B, which get a full page, because their build.sh is longer than 30 lines, they carry a patch, or they vendor their dependencies. None is Tier B for having 20 or more dependants, because by the phase’s rule nothing depends on them. The rest are Tier C, shown as compact cards.
See also
- Applications: the native applications by need, and how they behave once installed
- The userland:
40_langto44_apps: the phase among the five userland phases - Reading a package page: how the pages below are laid out
- Part XIII: the next phase