%general-entities; ]> $LastChangedBy: bdubbs $ $Date: 2015-09-24 16:44:04 -0500 (Thu, 24 Sep 2015) $ Building Plasma 5 KDE Plasma 5 KDE Plasma 5 is a collection of packages based on top of KDE Frameworks 5 and QML derived from the monolithic KDE 4 desktop. They implement the KDE Display Environment (Plasma 5). The procedures below are under development. They have not been verified to work properly in an LFS-7.8 environment. Additionally there are several packages not yet in the book and mesa will need to be rebuilt with different settings. New packages are xcb-util-cursor and libxkbcommon. The instructions below build all of the Plasma 5 packages in one step by using a bash script. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &plasma5-md5sum; Download size: &plasma5-size; Estimated disk space required: &plasma5-buildsize; Estimated build time: &plasma5-time; Plasma 5 Dependencies Required , , , , libxkbcommon, xcb-util-cursor, , , built with , , and Recommended To be determined. User Notes: Downloading KDE Frameworks The easiest way to get the KDE Plasma5 packages is to use a single wget to fetch them all at once: url=http://download.kde.org/stable/plasma/&plasma5-version;/ wget -r -nH --cut-dirs=3 -A '*.xz' -np $url The options used here are: -r recurse through child directories -nH disable generation of host-prefixed directories --cut-dirs=3 remove three levels of directories when saving -A '*.xz' just get the *.xz files -np don't get parent directories Setting Package Order The order of building files is important due to internal dependencies. Create the list of files in the proper order as follows: cat > plasma-&kf5-version;.md5 << "EOF" bb94a0d6f06583456b8f0a2eae07edd6 kde-cli-tools-5.4.2.tar.xz 67683fc1ae1fdf014f567780502b574a kdecoration-5.4.2.tar.xz c0c0eef0f2bfb93a81e4e701d7557eb9 kwayland-5.4.2.tar.xz 5b3c52fbf0172dfcf749cde12ebb48f3 libkscreen-5.4.2.tar.xz c770bd91e3947373c00938e2d85628d9 libksysguard-5.4.2.tar.xz 0e1d48eba3d0261023954b46fe7af36e breeze-5.4.2.tar.xz c60184edbd89bfcf1ee1c03aefd741f8 kwin-5.4.2.tar.xz 55eeb736365e902e957509a43884efd9 oxygen-5.4.2.tar.xz 25bc526b21e9a0472e94a73b5f2d7d83 oxygen-fonts-5.4.2.tar.xz 770b8c69df2c550ab66f0c316c3bf850 khelpcenter-5.4.2.tar.xz 6714e90d548f37ec32d2cc166c68149c kinfocenter-5.4.2.tar.xz 7551c199c5caffda59363757bbc57243 ksysguard-5.4.2.tar.xz 9d7cfdee2d138983f4267ba1e6a69be6 systemsettings-5.4.2.tar.xz a4fe835089c213c52f1407715163bf80 plasma-workspace-5.4.2.tar.xz bc10f321f5ea2a605be29d8cba6b9bc5 bluedevil-5.4.2.tar.xz 530e74504d38cfd6783421c017c56f55 khotkeys-5.4.2.tar.xz bfaf172def24ea772dfc58c798b68938 kmenuedit-5.4.2.tar.xz 9b0b4e2268d87cc7699e1e74e6faa8c3 kscreen-5.4.2.tar.xz 171c439473a4ab9cdbbed6732a70801b kwrited-5.4.2.tar.xz 2298a15ef7957322b84829166824628c milou-5.4.2.tar.xz 35c599c728739cded5596d4821b5a53f plasma-nm-5.4.2.tar.xz d48aab54cfe78cfc74d0c8ba099a905b plasma-workspace-wallpapers-5.4.2.tar.xz 64ed6fe8c59c2812b9c34cd8a3827735 polkit-kde-agent-1-5.4.2.tar.xz 44dec41f77080fd83f2122fc2762f09a powerdevil-5.4.2.tar.xz 457b1b6d69fd52416485e08ed7744fe3 plasma-desktop-5.4.2.tar.xz b7049d459eccd6a5efbf55ff1c2121fb kdeplasma-addons-5.4.2.tar.xz f8415a6a0e25a609d30c3d3ee2c9c696 kwayland-integration-5.4.2.tar.xz 8adf666f98baf8f4f381d5515db4100b kde-gtk-config-5.4.2.tar.xz e72368f28238ba7bacac81d5ff5e26f3 kgamma5-5.4.2.tar.xz f6fac3219aa8ba5056e06ad0c92773c9 ksshaskpass-5.4.2.tar.xz 888836db6c8fb4f1cc381ed56a690204 kwallet-pam-5.4.2.tar.xz 05b79b89c9708c046775448ec846c513 muon-5.4.2.tar.xz 78e2931ed08b8fffae67d7aa0cd90f9f plasma-mediacenter-5.4.2.tar.xz b399b81c4d773355e5d5ef7b4d1a73a5 plasma-pa-5.4.2.tar.xz c9bbe9a824400cbe7982aac0d8bdf6a3 plasma-sdk-5.4.2.tar.xz 61585733e7a5585ea9ed203ad9b2a1a0 sddm-kcm-5.4.2.tar.xz 5b0cb53813fc5f9a1406260d2a1109c7 user-manager-5.4.2.tar.xz EOF Installation of Plasma5 &as_root; First, start a subshell that will exit on error: bash -e Install all of the packages by running the following commands: while read -r line; do # Get the file name, ignoring comments and blank lines if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi file=$(echo $line | cut -d" " -f2) pkg=$(echo $file|sed 's|^.*/||') # Remove directory packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory tar -xf $file pushd $packagedir mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \ -DCMAKE_BUILD_TYPE=Debug \ -DLIB_INSTALL_DIR=lib \ -DBUILD_TESTING=OFF \ -DQML_INSTALL_DIR=lib/qt5/qml \ -DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \ -DECM_MKSPECS_INSTALL_DIR=$KF5_PREFIX/share/qt5/mkspecs/modules \ -DOXYGEN_FONT_INSTALL_DIR=/usr/share/fonts/truetype/oxygen \ -Wno-dev .. && make as_root make install popd rm -rf $packagedir as_root /sbin/ldconfig done < plasma-&kf5-version;.md5 exit Command Explanations Deferred. Contents Installed Programs Installed Libraries Installed Directories Deferred Deferred Deferred