257.59. frameworkintegration-6.31.0
KDE Frameworks: KStyle and the platform integration plugin
6.31.0-1 · (LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND LGPL-2.0-or-later · 0.6 SBU · 293.3 KiB, 18 files · 43_toolkits, 177 of 344 · ports/core/kf6/frameworkintegration
Homepage: https://invent.kde.org/frameworks/frameworkintegration
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.
FrameworkIntegration ties KDE Frameworks into the desktop a program runs on: KStyle, the base of KDE widget styles such as breeze’s, and the integration plugin through which the Frameworks read desktop-wide settings (KMessageBox’s “do not ask again” answers, for one) and report through knotifications. It also carries KPackage’s install handlers, which KDOS does not build: the KDE Store handler would fetch a kns:// link past the kiosk key that keeps KNewStuff off.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcolorscheme, kconfig, kiconthemes, knotifications, kwidgetsaddons.
Required by (2): breeze, oxygen.
Sources: frameworkintegration-6.31.0.tar.xz (56.7 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install frameworkintegration'
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 BUILD_KPACKAGE_INSTALL_HANDLERS=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D BUILD_KPACKAGE_INSTALL_HANDLERS=OFF— Leave outknshandlerandappstreamhandler, the KPackage install handlers.knshandlerinstalls a KDE Store entry from akns://link through KNewStuff’s engine, which does not read[KDE Action Restrictions] ghns, so with it a store download would remain on a machine whereghns=false(KDOS’s/usr/share/kdos/xdg/kdeglobals) hides every other one;appstreamhandlerinstalls through PackageKit, which KDOS does not have. Off, the configure needs neither knewstuff nor kpackage nor ki18n, and looks for neither PackageKit-Qt nor AppStreamQt, so neither can be picked up from the build root.-D KF_SKIP_PO_PROCESSING=ON— Skips compiling translation catalogues. This source carries none, so the switch has nothing to skip here; it is passed as in every KDE recipe, and the package-wide English-only rule (see Size and language policy) would remove a non-English catalogue anyway.
Libraries: libKF6Style.so.
Directories: /usr/include/KF6/FrameworkIntegration, /usr/include/KF6/KStyle, /usr/lib/cmake/KF6FrameworkIntegration, /usr/share/licenses/frameworkintegration.