KDE is a comprehensive desktop environment with a huge number of applications written for it and a huge amount of users. It is based on the Qt framework.
For more information visit the official KDE project site at https://kde.org/.
29. Introduction to KDE
29.1 KDE Preliminaries
KDE is a comprehensive desktop environment with a huge number of applications written for it and a huge amount of users. It is based on the Qt framework.
The KDE5 system has two main blocks: the libraries, called KDE Frameworks 5 or KF5, which can be used in other environments, and the desktop environment called KDE Plasma 5. Most of the applications written by the KDE team only use KF5, and do not need the plasma environment.
For more information visit the official KDE project site at https://kde.org/.
29.2 extra-cmake-modules-5.103.0
Introduction to Extra Cmake Modules
The Extra Cmake Modules package contains extra CMake modules used by KDE Frameworks 5 and other packages.
This package is known to build and work properly using an LFS 11.3 platform.
Package Information
-
Download (HTTP): https://download.kde.org/stable/frameworks/5.103/extra-cmake-modules-5.103.0.tar.xz
-
Download MD5 sum: ac7d7a883f8ecd2dab262a284981ad64
-
Download size: 324 KB
-
Estimated disk space required: 8.8 MB
-
Estimated build time: less than 0.1 SBU
Extra Cmake Modules Dependencies
Required
Optional
sphinx-6.1.3 (for building documentation) and PyQt (experimental support for building KDE Python bindings)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/extra-cmake-modules
Installation of Extra Cmake Modules
Install Extra Cmake Modules by running the following commands:
sed -i '/"lib64"/s/64//' kde-modules/KDEInstallDirsCommon.cmake &&
sed -e '/PACKAGE_INIT/i set(SAVE_PACKAGE_PREFIX_DIR "${PACKAGE_PREFIX_DIR}")' \
-e '/^include/a set(PACKAGE_PREFIX_DIR "${SAVE_PACKAGE_PREFIX_DIR}")' \
-i ECMConfig.cmake.in &&
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
make
This package does not come with a test suite.
Note
Unlike other KF5 packages, this module is installed in /usr because it can be used by some non-KF5 packages.
Now, as the root user:
make install
Command Explanations
sed … Modules/KDEInstallDirs.cmake: This command disables applications using cmake from attempting to install files in a lib64 sub-directory.
sed … ECMConfig.cmake.in: This command protects the global cmake variable PACKAGE_PREFIX_DIR from being changed when checking ECM presence: since we install ECM into /usr, the check would set that variable to /usr, while most KDE packages expect it to be set to /opt/kf5 and would fail to build if it is set to something else.
Contents
Installed Programs: None
Installed Libraries: None
Installed Directories: /usr/share/ECM and /usr/share/doc/ECM (if documentation was built)
29.3 Phonon-4.11.1
Introduction to Phonon
Phonon is the multimedia API for KDE. It replaces the old aRts package. Phonon needs either the GStreamer or VLC backend.
This package is known to build and work properly using an LFS 11.3 platform.
Package Information
-
Download (HTTP): https://download.kde.org/stable/phonon/4.11.1/phonon-4.11.1.tar.xz
-
Download MD5 sum: d3df5ba646e4b3f11623d998caa40e74
-
Download size: 308 KB
-
Estimated disk space required: 12 MB
-
Estimated build time: 0.2 SBU (Using parallelism=4)
Phonon Dependencies
Required
CMake-3.25.2, extra-cmake-modules-5.103.0, GLib-2.74.5, and Qt-5.15.8
At least one of phonon-backend-gstreamer-4.10.0 or phonon-backend-vlc-0.11.3 needs to be installed afterwards for multimedia operation in KDE.
Optional
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/phonon
Installation of Phonon
Install Phonon by running the following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
.. &&
make
Now, as the root user:
make install
Command Explanations
-DCMAKE_BUILD_TYPE=Release: This switch is used to apply higher level of the compiler optimizations.
Contents
Installed Programs: phononsettings
Installed Libraries: libphonon4qt5.so and libphonon4qt5experimental.so
Installed Directories: /usr/include/phonon4qt5, /usr/lib/cmake/phonon4qt5, /usr/lib/plugins/designer, and /usr/share/phonon4qt5
29.4 Phonon-backend-gstreamer-4.10.0
Introduction to the Phonon-backend-gstreamer
This package provides a Phonon backend which utilizes the GStreamer media framework.
This package is known to build and work properly using an LFS 11.3 platform.
Package Information
-
Download (HTTP): https://download.kde.org/stable/phonon/phonon-backend-gstreamer/4.10.0/phonon-backend-gstreamer-4.10.0.tar.xz
-
Download MD5 sum: 60abf634e961160cd1772d486f4a7097
-
Download size: 100 KB
-
Estimated disk space required: 7.2 MB
-
Estimated build time: 0.1 SBU (Using parallelism=4)
Phonon-backend-gstreamer Dependencies
Required
gstreamer-1.22.0, libxml2-2.10.3, and phonon-4.11.1
Recommended
gst-plugins-base-1.22.0 (needed for output to ALSA), gst-plugins-good-1.22.0 (needed for output to PulseAudio), gst-plugins-bad-1.22.0 (needed for AAC/M4A support), and gst-plugins-ugly-1.22.0 (needed for MP3 support)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/phonon-backend-gstreamer
Installation of Phonon-backend-gstreamer
Install Phonon-backend-gstreamer by running the following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
.. &&
make
Now, as the root user:
make install
Command Explanations
-DCMAKE_BUILD_TYPE=Release: This switch is used to apply higher level of compiler optimizations.
Contents
Installed Programs: none
Installed Libraries: phonon_gstreamer.so
Installed Directories: /usr/lib/plugins/phonon4qt5_backend
29.5 Phonon-backend-vlc-0.11.3
Introduction to the Phonon-backend-vlc
This package provides a Phonon backend which utilizes the VLC media framework.
This package is known to build and work properly using an LFS 11.3 platform.
Package Information
-
Download (HTTP): https://download.kde.org/stable/phonon/phonon-backend-vlc/0.11.3/phonon-backend-vlc-0.11.3.tar.xz
-
Download MD5 sum: 5ed16d3290b1ca5ed0bafb90e2ffb02e
-
Download size: 68 KB
-
Estimated disk space required: 6.5 MB
-
Estimated build time: 0.2 SBU
Phonon-backend-vlc Dependencies
Required
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/phonon-backend-vlc
Installation of Phonon-backend-vlc
Install Phonon-backend-vlc by running the following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
.. &&
make
Now, as the root user:
make install
Command Explanations
-DCMAKE_BUILD_TYPE=Release: This switch is used to apply higher level of compiler optimizations.
Contents
Installed Program: none
Installed Libraries: phonon_vlc.so
Installed Directory: /usr/lib/plugins/phonon4qt5_backend
29.6 Polkit-Qt-0.114.0
Introduction to Polkit-Qt
Polkit-Qt provides an API to PolicyKit in the Qt environment.
This package is known to build and work properly using an LFS 11.3 platform.
Package Information
-
Download (HTTP): https://download.kde.org/stable/polkit-qt-1/polkit-qt-1-0.114.0.tar.xz
-
Download MD5 sum: 2d20b02bd7ad1cd3f6ce235fc6d7de60
-
Download size: 60 KB
-
Estimated disk space required: 3.5 MB
-
Estimated build time: 0.1 SBU
Polkit-Qt Dependencies
Required
CMake-3.25.2, Polkit-122, and Qt-5.15.8
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/polkit-qt
Installation of Polkit-Qt
Install Polkit-Qt by running the following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev .. &&
make
This package does not come with a test suite.
Now, as the root user:
make install
Command Explanations
-DCMAKE_BUILD_TYPE=Release: This switch is used to apply higher level of the compiler optimizations.
Contents
Installed Programs: none
Installed Libraries: libpolkit-qt5-agent-1.so, libpolkit-qt5-core-1.so, and libpolkit-qt5-gui-1.so
Installed Directories: /usr/include/polkit-qt5-1 and /usr/lib/cmake/PolkitQt5-1
29.7 libdbusmenu-qt-0.9.3+16.04.20160218
Introduction to libdbusmenu-qt
This library provides a Qt implementation of the DBusMenu specification that exposes menus via DBus.
This package is known to build and work properly using an LFS 11.3 platform.
Package Information
-
Download (HTTP): https://launchpad.net/ubuntu/+archive/primary/+files/libdbusmenu-qt_0.9.3+16.04.20160218.orig.tar.gz
-
Download MD5 sum: 8b90312bd8654e026d814d4db986ce5e
-
Download size: 48 KB
-
Estimated disk space required: 4.6 MB
-
Estimated build time: 0.4 SBU
libdbusmenu-qt Dependencies
Required
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libdbusmenu-qt
Installation of libdbusmenu-qt
Install libdbusmenu-qt by running the following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_DOC=OFF \
-Wno-dev .. &&
make
This packages does not come with a working test suite.
Now, as the root user:
make install
Command Explanations
-DCMAKE_BUILD_TYPE=Release: This switch is used to build without debugging symbols and apply a higher level of compiler optimizations.
-DWITH_DOC=OFF: This option is set to avoid trying to build the API documentation which requires obsolete Qt4.
Contents
Installed Programs: None
Installed Library: libdbusmenu-qt5.so
Installed Directory: /usr/lib/cmake/dbusmenu-qt5 and /usr/include/dbusmenu-qt5
29.8 Plasma-wayland-protocols-1.10.0
Introduction to the Plasma-wayland-protocols
This package provides a custom set of protocol definitions for KDE.
This package is known to build and work properly using an LFS 11.3 platform.
Package Information
-
Download (HTTP): https://download.kde.org/stable/plasma-wayland-protocols/plasma-wayland-protocols-1.10.0.tar.xz
-
Download MD5 sum: 28ae1490011ff205cbf8d99be6dd124f
-
Download size: 42 KB
-
Estimated disk space required: 0.98 MB
-
Estimated build time: less than 0.1 SBU
Plasma-wayland-protocols Dependencies
Required
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/plasma-wayland-protocols
Installation of Plasma-wayland-protocols
Install Plasma-wayland-protocols by running the following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
Now, as the root user:
make install
Contents
Installed Programs: none
Installed Libraries: none
Installed Directories: /usr/share/plasma-wayland-protocols and /usr/lib/cmake/PlasmaWaylandProtocols
29.9 kuserfeedback-1.2.0
Introduction to Kuserfeedback
The kuserfeedback package contains a framework for collecting user feedback for applications via telemetry and surveys.
This package is known to build and work properly using an LFS 11.3 platform.
Package Information
-
Download (HTTP): https://download.kde.org/stable/kuserfeedback/kuserfeedback-1.2.0.tar.xz
-
Download MD5 sum: 905f3e9686c15814594956bea084da64
-
Download size: 204 KB
-
Estimated disk space required: 23 MB
-
Estimated build time: 0.3 SBU (using parallelism=4)
Kuserfeedback Dependencies
Required
extra-cmake-modules-5.103.0 and Qt-5.15.8
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/kuserfeedback
Installation of Kuserfeedback
Install kuserfeedback by running the following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-Wno-dev .. &&
make
This package does not come with a test suite.
Now, as the root user:
make install
Contents
Installed Programs: None
Installed Libraries: libKUserFeedbackCore.so and libKUserFeedbackWidgets.so
Installed Directories: /usr/include/KUserFeedback, /usr/lib/qml/org/kde/userfeedback, /usr/lib/cmake/KUserFeedback, /usr/share/KDE/UserFeedbackConsole, and /usr/share/qlogging-categories5