source: kde/plasma5/plasma-all.xml@ 366fbbb8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 366fbbb8 was 366fbbb8, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Updates to support plasma5

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16588 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY plasma5-download-http "http://download.kde.org/stable/plasma5/&plasma5-version;">
8 <!ENTITY plasma5-download-ftp " ">
9 <!ENTITY plasma5-md5sum "See Below">
10 <!ENTITY plasma5-size "?? MB">
11 <!ENTITY plasma5-buildsize "?? GB">
12 <!ENTITY plasma5-time "?? SBU">
13]>
14
15<sect1 id="plasma5-build" xreflabel="Plasma-&plasma5-version;">
16 <?dbhtml filename="plasma-all.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy: bdubbs $</othername>
20 <date>$Date: 2015-09-24 16:44:04 -0500 (Thu, 24 Sep 2015) $</date>
21 </sect1info>
22
23 <title>Building Plasma 5</title>
24
25 <indexterm zone="plasma5-build">
26 <primary sortas="a-kf5">KDE Plasma 5</primary>
27 </indexterm>
28
29 <para>KDE Plasma 5 is a collection of packages based on top of KDE Frameworks
30 5 and QML derived from the monolithic KDE 4 desktop. They implement the KDE
31 Display Environment (Plasma 5).</para>
32
33 <note>
34 <para>The procedures below are under development. They have not been
35 verified to work properly in an LFS-7.8 environment.</para>
36
37 <para>Additionally there are several packages not yet in the book
38 and mesa will need to be rebuilt with different settings. New packages are
39 xcb-util-cursor and libxkbcommon.</para>
40 </note>
41
42 <!--&lfs78_checked;-->
43
44 <para>The instructions below build all of the Plasma 5 packages in one
45 step by using a bash script.</para>
46
47 <bridgehead renderas="sect3">Package Information</bridgehead>
48 <itemizedlist spacing="compact">
49 <listitem>
50 <para>Download (HTTP): <ulink url="&plasma5-download-http;"/></para>
51 </listitem>
52 <listitem>
53 <para>Download (FTP): <ulink url="&plasma5-download-ftp;"/></para>
54 </listitem>
55 <listitem>
56 <para>Download MD5 sum: &plasma5-md5sum;</para>
57 </listitem>
58 <listitem>
59 <para>Download size: &plasma5-size;</para>
60 </listitem>
61 <listitem>
62 <para>Estimated disk space required: &plasma5-buildsize;</para>
63 </listitem>
64 <listitem>
65 <para>Estimated build time: &plasma5-time;</para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="fontforge"/>,
74 <xref linkend="kf5-frameworks"/>,
75 <xref linkend="libinput"/>,
76 <xref linkend="libpwquality"/>,
77 libxkbcommon,
78 xcb-util-cursor,
79 <xref linkend="lmdb"/>,
80 <xref linkend="lm_sensors"/>,
81 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
82 <xref linkend="NetworkManager"/>, and
83 <xref linkend="taglib"/>
84 </para>
85
86
87 <bridgehead renderas="sect4">Recommended</bridgehead>
88 <para role="recommended">
89 <!--<xref linkend="avahi"/> (DNS-SD backend for KDNSSD),-->
90 To be determined.
91 </para>
92<!--
93 <bridgehead renderas="sect4">Optional</bridgehead>
94 <para role="optional">
95 <xref linkend="bluez"/> (needed to build Bluez-Qt),
96 <xref linkend="NetworkManager"/> (needed to build NetworkManager-Qt),
97 <ulink url="http://www.freedesktop.org/software/ModemManager/">ModemManager</ulink> (needed to build ModemManager-Qt)
98 </para>
99
100 <bridgehead renderas="sect4">Runtime dependency for FrameworkIntegration</bridgehead>
101 <para role="optional">
102 <ulink url="http://download.kde.org/stable/plasma/5.2.0">oxygen-fonts</ulink>
103 </para>
104
105 <bridgehead renderas="sect4">Runtime dependencies for kapidox</bridgehead>
106 <para role="optional">
107 <xref linkend="doxygen"/>,
108 <ulink url="https://pypi.python.org/packages/source/J/Jinja2/">Jinja2</ulink>, and
109 <ulink url="http://pyyaml.org/">PyYAML</ulink>
110 </para>
111
112 <bridgehead renderas="sect4">Additional image formats support in KImageFormats</bridgehead>
113 <para role="optional">
114 <xref linkend="jasper"/> and
115 <ulink url="http://www.openexr.com/">OpenEXR</ulink>
116 </para>
117
118 <bridgehead renderas="sect4">Optional dependencies for KIO</bridgehead>
119 <para role="optional">
120 <xref linkend="mitkrb"/>
121 </para>
122
123 <bridgehead renderas="sect4">Optional dependencies for ModemManager-QT</bridgehead>
124 <para role="optional">
125 <ulink url="http://www.freedesktop.org/software/ModemManager/">ModemManager</ulink>
126 </para>
127
128 <bridgehead renderas="sect4">Optional dependencies for Solid</bridgehead>
129 <para role="optional">
130 <xref linkend="udisks2"/>,
131 <xref linkend="upower"/> and
132 <ulink url="http://www.freedesktop.org/software/media-player-info/">media-player-info</ulink> (runtime)
133 </para>
134
135 <bridgehead renderas="sect4">Optional dictionary backends for Sonnet</bridgehead>
136 <para role="optional">
137 <ulink url="http://hspell.ivrix.org.il/">Hspell</ulink> and
138 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
139 </para>
140-->
141 <para condition="html" role="usernotes">User Notes:
142 <ulink url="&blfs-wiki;/kf5"/></para>
143
144 <sect2>
145 <title>Downloading KDE Frameworks</title>
146
147 <para>
148 The easiest way to get the KDE Plasma5 packages is to use a single
149 <command>wget</command> to fetch them all at once:
150 </para>
151
152<screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
153wget -r -nH --cut-dirs=3 -A '*.xz' -np $url
154<literal>
155The options used here are:
156 -r recurse through child directories
157 -nH disable generation of host-prefixed directories
158 --cut-dirs=3 remove three levels of directories when saving
159 -A '*.xz' just get the *.xz files
160 -np don't get parent directories</literal></userinput></screen>
161
162 </sect2>
163
164 <sect2>
165 <title>Setting Package Order</title>
166
167 <para>
168 The order of building files is important due to internal dependencies.
169 Create the list of files in the proper order as follows:
170 </para>
171
172<screen><userinput>cat &gt; plasma-&kf5-version;.md5 &lt;&lt; "EOF"
173<literal>
174bb94a0d6f06583456b8f0a2eae07edd6 kde-cli-tools-5.4.2.tar.xz
17567683fc1ae1fdf014f567780502b574a kdecoration-5.4.2.tar.xz
176c0c0eef0f2bfb93a81e4e701d7557eb9 kwayland-5.4.2.tar.xz
1775b3c52fbf0172dfcf749cde12ebb48f3 libkscreen-5.4.2.tar.xz
178c770bd91e3947373c00938e2d85628d9 libksysguard-5.4.2.tar.xz
1790e1d48eba3d0261023954b46fe7af36e breeze-5.4.2.tar.xz
180c60184edbd89bfcf1ee1c03aefd741f8 kwin-5.4.2.tar.xz
18155eeb736365e902e957509a43884efd9 oxygen-5.4.2.tar.xz
18225bc526b21e9a0472e94a73b5f2d7d83 oxygen-fonts-5.4.2.tar.xz
183770b8c69df2c550ab66f0c316c3bf850 khelpcenter-5.4.2.tar.xz
1846714e90d548f37ec32d2cc166c68149c kinfocenter-5.4.2.tar.xz
1857551c199c5caffda59363757bbc57243 ksysguard-5.4.2.tar.xz
1869d7cfdee2d138983f4267ba1e6a69be6 systemsettings-5.4.2.tar.xz
187a4fe835089c213c52f1407715163bf80 plasma-workspace-5.4.2.tar.xz
188bc10f321f5ea2a605be29d8cba6b9bc5 bluedevil-5.4.2.tar.xz
189530e74504d38cfd6783421c017c56f55 khotkeys-5.4.2.tar.xz
190bfaf172def24ea772dfc58c798b68938 kmenuedit-5.4.2.tar.xz
1919b0b4e2268d87cc7699e1e74e6faa8c3 kscreen-5.4.2.tar.xz
192171c439473a4ab9cdbbed6732a70801b kwrited-5.4.2.tar.xz
1932298a15ef7957322b84829166824628c milou-5.4.2.tar.xz
19435c599c728739cded5596d4821b5a53f plasma-nm-5.4.2.tar.xz
195d48aab54cfe78cfc74d0c8ba099a905b plasma-workspace-wallpapers-5.4.2.tar.xz
19664ed6fe8c59c2812b9c34cd8a3827735 polkit-kde-agent-1-5.4.2.tar.xz
19744dec41f77080fd83f2122fc2762f09a powerdevil-5.4.2.tar.xz
198457b1b6d69fd52416485e08ed7744fe3 plasma-desktop-5.4.2.tar.xz
199b7049d459eccd6a5efbf55ff1c2121fb kdeplasma-addons-5.4.2.tar.xz
200f8415a6a0e25a609d30c3d3ee2c9c696 kwayland-integration-5.4.2.tar.xz
2018adf666f98baf8f4f381d5515db4100b kde-gtk-config-5.4.2.tar.xz
202e72368f28238ba7bacac81d5ff5e26f3 kgamma5-5.4.2.tar.xz
203f6fac3219aa8ba5056e06ad0c92773c9 ksshaskpass-5.4.2.tar.xz
204888836db6c8fb4f1cc381ed56a690204 kwallet-pam-5.4.2.tar.xz
20505b79b89c9708c046775448ec846c513 muon-5.4.2.tar.xz
20678e2931ed08b8fffae67d7aa0cd90f9f plasma-mediacenter-5.4.2.tar.xz
207b399b81c4d773355e5d5ef7b4d1a73a5 plasma-pa-5.4.2.tar.xz
208c9bbe9a824400cbe7982aac0d8bdf6a3 plasma-sdk-5.4.2.tar.xz
20961585733e7a5585ea9ed203ad9b2a1a0 sddm-kcm-5.4.2.tar.xz
2105b0cb53813fc5f9a1406260d2a1109c7 user-manager-5.4.2.tar.xz</literal>
211EOF</userinput></screen>
212
213 </sect2>
214
215 <sect2 role="installation">
216 <title>Installation of Plasma5</title>
217
218 &as_root;
219
220 <para>
221 First, start a subshell that will exit on error:
222 </para>
223
224
225<screen><userinput>bash -e</userinput></screen>
226
227 <para>
228 Install all of the packages by running the following
229 commands:
230 </para>
231
232<screen><userinput>while read -r line; do
233
234 # Get the file name, ignoring comments and blank lines
235 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
236 file=$(echo $line | cut -d" " -f2)
237
238 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
239 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
240
241 tar -xf $file
242 pushd $packagedir
243
244 mkdir build
245 cd build
246
247 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
248 -DCMAKE_BUILD_TYPE=Debug \
249 -DLIB_INSTALL_DIR=lib \
250 -DBUILD_TESTING=OFF \
251 -DQML_INSTALL_DIR=lib/qt5/qml \
252 -DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
253 -DECM_MKSPECS_INSTALL_DIR=$KF5_PREFIX/share/qt5/mkspecs/modules \
254 -DOXYGEN_FONT_INSTALL_DIR=/usr/share/fonts/truetype/oxygen \
255 -Wno-dev .. &amp;&amp;
256
257 make
258 as_root make install
259 popd
260
261 rm -rf $packagedir
262 as_root /sbin/ldconfig
263
264done &lt; plasma-&kf5-version;.md5
265
266exit</userinput></screen>
267
268
269 </sect2>
270
271 <sect2 role="commands">
272 <title>Command Explanations</title>
273
274 <para>
275 Deferred.
276 </para>
277
278 </sect2>
279 <sect2 role="content">
280 <title>Contents</title>
281
282 <segmentedlist>
283 <segtitle>Installed Programs</segtitle>
284 <segtitle>Installed Libraries</segtitle>
285 <segtitle>Installed Directories</segtitle>
286
287 <seglistitem>
288 <seg>
289 Deferred
290 </seg>
291 <seg>
292 Deferred
293 </seg>
294 <seg>
295 Deferred
296 </seg>
297 </seglistitem>
298 </segmentedlist>
299
300 </sect2>
301
302</sect1>
303
Note: See TracBrowser for help on using the repository browser.