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

250.1. breeze-6.8.2

Breeze widget style, window decoration, colour schemes, cursors and the Next wallpaper

Version 6.8.2, release 2
Shelf themes — Icon, cursor, sound and widget themes, and theme-configuration tools
Phase 43_toolkits (Toolkits), 179 of 344 in build order
Licence GPL-2.0-or-later AND MIT AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND LGPL-2.0-or-later AND LGPL-3.0-or-later AND CC-BY-SA-4.0
Homepage https://invent.kde.org/plasma/breeze
Build time 0.5 SBU
Installed size 68.3 MiB in 676 files
Recipe ports/core/themes/breeze/kpkgbuild

About

Breeze is the default look of KDE software, and the base of KDOS’s own. The port installs the Breeze widget style for Qt 6 applications and its settings page, the Breeze window decoration KWin draws title bars with, the Breeze Classic, Breeze Light and Breeze Dark colour schemes, the two cursor themes, breeze_cursors and Breeze_Light, with kcursorgen, and the Next wallpaper. KDOS’s window decoration is this one, squared and outlined in the accent through two options its patch adds and KDOS’s configuration turns on, rather than replaced; its cursor is breeze_cursors for every accent.

Why it is in KDOS

The comment above it in script/phases/43_toolkits/packages.d/themes.txt:

The style that, with plasma-integration's platform theme, makes a Qt application read kdeglobals.

Sources

Dependencies

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, qt6-qtdeclarative, kcolorscheme, kconfig, kconfigwidgets, kcoreaddons, kguiaddons, ki18n, kiconthemes, kwindowsystem, kcmutils, frameworkintegration, kdecoration.

Required by (6): breeze-gtk, haruna, kdos-plasma-look, kwin, plasma-integration, plasma-workspace.

Patches

build.sh applies these; kpkg applies nothing by itself.

sandbox-badge.patch draws a small box before the caption of a window whose client is sandboxed, in the caption’s own colour, with its width taken out of the caption’s so the two never overlap whatever the title alignment. The engine’s state picks the drawing: a solid box for a confined KDOS box (+private) or any other sandbox, a dashed one for a box that could reach past its tag (+tagged), and a warning triangle for an engine that reports none of its boundary held (+unconfined). It reads isSandboxed() and sandboxEngine() from the kdecoration patch of the same name, without which it does not compile, and is proposed upstream with it.

square-corners.patch adds two [Common] keys to breezerc, both off unless set, so Breeze without them draws as upstream does.

The first, SquareCorners=true, sets the decoration’s corner radius to zero, which squares the title bar, the frame, the outline and the shadow together. Upstream’s RoundedCorners only rounds or squares the bottom corners of a borderless window; the title bar’s top corners keep their radius whatever it says.

The second, OutlineHighlight=true, draws the active window’s one-pixel outline in the link colour of the window’s palette, which is the accent of every KDOS scheme and of a box’s forced scheme. It is not the selection colour: a dark accent’s selection is the accent darkened until text reads on it, and QPalette carries no focus colour, so the link is the one palette role a scheme holds at its accent. Upstream’s outline is a mix of the frame and text colours, which no colour-scheme key can make the accent; an inactive window keeps that mix.

KDOS’s /usr/share/kdos/xdg/breezerc turns both on. The patch is applied after sandbox-badge.patch, whose hunks it is cut against, and is to be offered upstream to Breeze as two options of the decoration.

button-focus-outline.patch outlines a push button, tool button or combo box that has keyboard focus in the colour scheme’s DecorationFocus, the colour the style already gives the focus frame of a line edit, check box or slider. Upstream outlines a focused button in Highlight, the selection background, as it does a hovered or pressed one. A dark KDOS accent’s selection is the accent darkened until text reads on it, so that ring sits at about 1.6:1 against the resting frame, where DecorationFocus is the accent itself. Hover and press keep Highlight. The outline fades on the hover animation, which runs for hover, focus and press alike and cannot say which of them is ending, so the patch also has push and tool buttons drive the style’s pressed animation from keyboard focus alone: while that one fades out, the ring fades from DecorationFocus to the resting frame, where it would otherwise drop to Highlight on the first frame. It is to be offered upstream to Breeze.

Installation

From the repository root, inside the build container, this is the line kdosbuild runs for the port:

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

What kpkg does

kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/themes/breeze.

1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.

cd /ports/core/themes/breeze
echo 'd6493c5abbcb27b6b1bc42e2e561d64218133ecd2ed56bfc42b1e25d97e216bc  breeze-6.8.2.tar.xz' | sha256sum -c -

2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.

SRC_ROOT=/var/cache/kpkg/work/breeze
SRC=$SRC_ROOT/breeze-6.8.2
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf breeze-6.8.2.tar.xz -C "$SRC" --strip-components=1

Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.

3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the recipe’s helpers group and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:

patch -p1 -i "$PORT_SRC/sandbox-badge.patch"
patch -p1 -i "$PORT_SRC/square-corners.patch"
patch -p1 -i "$PORT_SRC/button-focus-outline.patch"

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D BUILD_TESTING=OFF \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D BUILD_QT5=OFF \
	-D BUILD_QT6=ON \
	-D BUILD_WITH_QTQUICK=ON \
	-D BUILD_CURSOR=ON \
	-D WITH_DECORATIONS=ON \
	-D WITH_WALLPAPERS=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6FrameworkIntegration=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

The switches, and why each is set:

The common switches of each build system are explained in the Flag glossary.

4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/breeze, prunes what the image does not ship, lints the tree and rolls it reproducibly:

tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
    --mtime=@$SOURCE_DATE_EPOCH \
    --use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
    -cf breeze-6.8.2-2.tar.xz -C "$PKG" .

5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/breeze, and runs the triggers its paths call for.

Contents

Installed programs: breeze-settings6, kcursorgen.

Installed directories: /usr/lib/cmake/Breeze, /usr/share/QtCurve, /usr/share/icons/Breeze_Light, /usr/share/icons/breeze_cursors, /usr/share/licenses/breeze, /usr/share/wallpapers/Next.

Notes

The cursors ship in the source as finished XCursor files, with the SVGs they were drawn from in cursors_scalable, and the install copies both; nothing renders a cursor at build time, so the cursor themes need no tool beyond the build. kcursorgen is installed beside them: it turns an SVG cursor theme into XCursor files at the sizes and scales it is given, for programs that read only XCursor.

The decoration plugin and the style both link libbreezecommon6, and the decoration is a KDecoration3 plugin, so it is rebuilt with every Plasma release together with kdecoration and kwin.

The QtCurve preset Breeze.qtcurve is installed under /usr/share/QtCurve, where only the QtCurve style reads it; QtCurve is not a port.