283.8. kirigami-gallery-26.08.2
Gallery of every Kirigami component, for developers of Kirigami applications
26.08.2-1 · LGPL-2.0-or-later AND BSD-3-Clause AND CC0-1.0 · 0.5 SBU · 325.7 KiB, 4 files · 44_apps, 51 of 422 · ports/core/devtools/kirigami-gallery
Homepage: https://apps.kde.org/kirigami2.gallery/
Kirigami Gallery shows every Kirigami component on a page of its own, with the QML that builds it: pages, drawers, cards, form layouts, list delegates, dialogs and the rest. It is for developers, and for checking how a Kirigami theme draws each control.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtsvg, kirigami, kitemmodels, qqc2-desktop-style.
Required by (1): kde-gear-devtools.
Sources: kirigami-gallery-26.08.2.tar.xz (385.8 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install kirigami-gallery'
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 ENABLE_QML_PROFILING=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D ENABLE_QML_PROFILING=OFF— Build withoutQT_QML_DEBUG. Upstream’s default is on, which compiles in the QML debugging and profiling service: a program started with-qmljsdebuggerthen opens a debug port that accepts connections. A release build has no use for it.-D KF_SKIP_PO_PROCESSING=ON— Builds none of the translations inpoqm/, which kpkg’s English-only rule would remove from the package anyway (see Size and language policy).-Wno-dev— Silences CMake’s warnings meant for the project’s own developers.
Programs: kirigami2gallery.
Directories: /usr/share/licenses/kirigami-gallery.
The program sets the Qt Quick Controls style to org.kde.desktop unless QT_QUICK_CONTROLS_STYLE names another, so qqc2-desktop-style is in depends for run time; without it every control falls back to Qt’s Basic style. It sets its own desktop file name, org.kde.kirigami2.gallery, which matches its entry, so the entry needs no StartupWMClass.