source: kde/plasma5/plasma-all.xml@ 42846033

10.0 10.1 11.0 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 42846033 was 42846033, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to plasma-5.11.4

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

  • Property mode set to 100644
File size: 14.8 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/plasma/&plasma5-version;">
8 <!ENTITY plasma5-download-ftp " ">
9 <!ENTITY plasma5-md5sum "See Below">
10 <!ENTITY plasma5-size "111 MB">
11 <!ENTITY plasma5-buildsize "985 MB (294 MB installed)">
12 <!ENTITY plasma5-time "14 SBU (using parallelism=4)">
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. It has been derived from the monolithic KDE 4 desktop.
31 They implement the KDE Display Environment (Plasma 5).</para>
32
33 &lfs81_checked;
34
35 <para>The instructions below build all of the Plasma 5 packages in one
36 step by using a bash script.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&plasma5-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&plasma5-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &plasma5-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &plasma5-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &plasma5-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &plasma5-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required">
64 <!--<xref linkend="fontforge"/>,-->
65 <xref linkend="GConf"/>,
66 <xref linkend="gtk2"/>,
67 <xref linkend="gtk3"/>,
68 <xref linkend="kf5-frameworks"/>,
69 <xref linkend="libpwquality"/>,
70 <xref linkend="libxkbcommon"/>,
71 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
72 <xref linkend="NetworkManager"/>,
73 <xref linkend="pulseaudio"/>,
74 <xref linkend="python2"/>,
75 <xref linkend="qca"/> (built with qt5),
76 <xref linkend="taglib"/>, and
77 <xref linkend="xcb-util-cursor"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 <xref linkend="libdbusmenu-qt"/>,
83 <xref linkend="libcanberra"/>,
84 <xref linkend="libinput"/>,
85 <xref linkend="linux-pam"/>,
86 <xref linkend="lm_sensors"/>,
87 <xref linkend="oxygen-icons5"/>, and
88 <xref linkend="pciutils"/>
89 </para>
90
91 <bridgehead renderas="sect4">Optional</bridgehead>
92 <para role="optional">
93 <xref linkend="glu"/>,
94 <xref linkend='ibus'/>,
95 <xref linkend="xorg-synaptics-driver"/>,
96 <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
97 <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
98 <ulink url="http://gpsd.berlios.de">libgps</ulink>,
99 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
100 <ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
101 <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
102 <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
103 <ulink url="http://qalculate.sourceforge.net">Qalculate</ulink>,
104 <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
105 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
106 <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
107 </para>
108
109 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/kf5"/></para>
111
112 <sect2>
113 <title>Downloading KDE Plasma5</title>
114
115 <para>
116 The easiest way to get the KDE Plasma5 packages is to use a single
117 <command>wget</command> to fetch them all at once:
118 </para>
119
120<screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
121wget -r -nH -nd -A '*.xz' -np $url</userinput>
122<literal>
123The options used here are:
124 -r recurse through child directories
125 -nH disable generation of host-prefixed directories
126 -nd do not create a hierarchy of directories
127 -A '*.xz' just get the *.xz files
128 -np don't get parent directories</literal></screen>
129
130 </sect2>
131
132 <sect2>
133 <title>Setting Package Order</title>
134
135 <para>
136 The order of building files is important due to internal dependencies.
137 Create the list of files in the proper order as follows:
138 </para>
139
140<screen><userinput>cat &gt; plasma-&plasma5-version;.md5 &lt;&lt; "EOF"
141<literal>d88f68c4dc164ffd01c8b97747a98d5b kde-cli-tools-5.11.4.tar.xz
142ec7ccf4213a349a89c44dd79ee4e84f0 kdecoration-5.11.4.tar.xz
143e5a76c0348deaf565a596ae37541b3ae libkscreen-5.11.4.tar.xz
144aa7f970cdddf05a0ea97972ee85b2238 libksysguard-5.11.4.tar.xz
145bde2d5344cd3cfbfca3d08559db3f1b1 breeze-5.11.4.tar.xz
1465fab1a28047962c2d66bfa3b922a0c7b breeze-gtk-5.11.4.tar.xz
147a93a609de1d346927399c6c12bf60843 kscreenlocker-5.11.4.tar.xz
148997c543e4cf9668ff1a76f9db29911ee oxygen-5.11.4.tar.xz
1490bcde5e63570448c76d53e20ab5eff3e kinfocenter-5.11.4.tar.xz
150de5775e01614cce24b2044f564445adc ksysguard-5.11.4.tar.xz
151f56900e45dbabb713cd4ef824e6d7323 kwin-5.11.4.tar.xz
152fd55a65c5459775ed524d8de897ec31f systemsettings-5.11.4.tar.xz
15340b6acaebf7412d4ba5feee476965e01 plasma-workspace-5.11.4.tar.xz
15423dda6808b0f584a49040cbe405af88b bluedevil-5.11.4.tar.xz
1554343f5e010ed3c0cec03e5e4b697c804 kde-gtk-config-5.11.4.tar.xz
156a99e7e73794b599be385839b88683503 khotkeys-5.11.4.tar.xz
1573a005563749fe7f1d3142b53a7f2ddfc kmenuedit-5.11.4.tar.xz
1581c3c53d350a9427cde77b8cba77a533c kscreen-5.11.4.tar.xz
1598f09c454407900cae56827caf5117e1d kwallet-pam-5.11.4.tar.xz
1609ed78f6b6407ceb16bdb594bb36bdbc2 kwayland-integration-5.11.4.tar.xz
16116fe5249444f345921dd88be983c9bfe kwrited-5.11.4.tar.xz
162d2e72f895c418cf2b7e51fbf4da8c240 milou-5.11.4.tar.xz
1638c999cacc92b3f256edcd0addd0878ac plasma-nm-5.11.4.tar.xz
164befbc3ebeb75b3b6cb8559f3b039e322 plasma-pa-5.11.4.tar.xz
165df943e57ebba65150df11b824fac5154 plasma-workspace-wallpapers-5.11.4.tar.xz
1665ccbd6b00367b48873b1b5653ad110c2 polkit-kde-agent-1-5.11.4.tar.xz
16785616354c53b934752f221b4d89cd3dc powerdevil-5.11.4.tar.xz
1685fb2f7a0aecd20b5eb3eba8c1d15956a plasma-desktop-5.11.4.tar.xz
169c08b672beb73bf531318ecce7d90cb84 kdeplasma-addons-5.11.4.tar.xz
170615358f580a64ac053d327771b00c67f kgamma5-5.11.4.tar.xz
1711a5d2ae7c34e3e7c9aedb931111554fa ksshaskpass-5.11.4.tar.xz
172#a8bdcdc6a79f79737070ceb7704ec2fc plasma-sdk-5.11.4.tar.xz
173335e0f9a1fce7f527b3d4b581ff915fb sddm-kcm-5.11.4.tar.xz
174965b833b71654869ecd865e2d59011f4 user-manager-5.11.4.tar.xz
1754d4bfd4f7197a989c917c40887d4ad8b discover-5.11.4.tar.xz
176#1f23543acaf94836807b647453682189 breeze-grub-5.11.4.tar.xz
177#1129678c3765a52d7d244094da25e20d breeze-plymouth-5.11.4.tar.xz
17824747273a2e9f0d09736b95fbfe82478 kactivitymanagerd-5.11.4.tar.xz
179ff4eeba3baf3b750aa158dfa622a8fe9 plasma-integration-5.11.4.tar.xz
18015d11076b37a6bbada14e72c3e6c4516 plasma-tests-5.11.4.tar.xz
18179f355d9b3ee53570045d9f90df36964 plymouth-kcm-5.11.4.tar.xz
1829358a51ce97edd9d53044bd096e69bc2 xdg-desktop-portal-kde-5.11.4.tar.xz
183e879c77b1dc567d04cb191cbb785ec45 drkonqi-5.11.4.tar.xz
1847726dbaabc0f0f301ffde730dc3e73c7 plasma-vault-5.11.4.tar.xz</literal>
185EOF</userinput></screen>
186
187 <note><para>The breeze-grub, breeze-plymouth, and plymouth-kcm packages
188 above are all for customized support of <ulink
189 url="https://www.freedesktop.org/wiki/Software/Plymouth/">Plymouth</ulink>
190 which is designed to be run within an initial ram disk during boot (see
191 <xref linkend="initramfs"/>). The plasma-sdk package is optional and used
192 for software development.</para></note>
193
194 </sect2>
195
196 <sect2 role="installation">
197 <title>Installation of Plasma5</title>
198
199 &as_root;
200
201 <para>
202 First, start a subshell that will exit on error:
203 </para>
204
205<screen><userinput>bash -e</userinput></screen>
206
207 <para>
208 Install all of the packages by running the following
209 commands:
210 </para>
211
212<screen><userinput>while read -r line; do
213
214 # Get the file name, ignoring comments and blank lines
215 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
216 file=$(echo $line | cut -d" " -f2)
217
218 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
219 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
220
221 tar -xf $file
222 pushd $packagedir
223
224 mkdir build
225 cd build
226
227 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
228 -DCMAKE_BUILD_TYPE=Release \
229 -DBUILD_TESTING=OFF \
230 -Wno-dev .. &amp;&amp;
231
232 make
233 as_root make install
234 popd
235
236<!-- some packages end up with files owned by root in $packagedir,
237 so use as_root for removing -->
238 as_root rm -rf $packagedir
239 as_root /sbin/ldconfig
240
241done &lt; plasma-&plasma5-version;.md5
242
243exit
244
245cd $KF5_PREFIX/share/plasma/plasmoids
246
247for j in $(find -name \*.js); do
248 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
249done</userinput></screen>
250
251 </sect2>
252
253 <sect2 role="commands">
254 <title>Command Explanations</title>
255
256 <para>
257 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
258 Create symbolic links so qml files can find needed javascript modules.
259 </para>
260
261 </sect2>
262
263 <sect2 role="configuration">
264 <title>Configuring Plasma</title>
265
266 <sect3>
267 <title>Linux PAM Configuration</title>
268
269 <para>
270 If you built Plasma with the recommended <application>Linux
271 PAM</application> support, create necessary configuration files by
272 running the following commands as the <systemitem
273 class="username">root</systemitem> user:
274 </para>
275
276<screen role="root"><userinput>cat &gt;&gt; /etc/pam.d/kde &lt;&lt; "EOF"
277# Begin /etc/pam.d/kde
278
279auth requisite pam_nologin.so
280auth required pam_env.so
281
282auth required pam_succeed_if.so uid &gt;= 1000 quiet
283auth include system-auth
284
285account include system-account
286password include system-password
287session include system-session
288
289# End /etc/pam.d/kde
290EOF
291
292cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
293# Begin /etc/pam.d/kde-np
294
295auth requisite pam_nologin.so
296auth required pam_env.so
297
298auth required pam_succeed_if.so uid &gt;= 1000 quiet
299auth required pam_permit.so
300
301account include system-account
302password include system-password
303session include system-session
304
305# End /etc/pam.d/kde-np
306EOF
307
308cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
309# Begin /etc/pam.d/kscreensaver
310
311auth include system-auth
312account include system-account
313
314# End /etc/pam.d/kscreensaver
315EOF</userinput></screen>
316 </sect3>
317 </sect2>
318
319 <sect2 role="starting">
320 <title>Starting Plasma5</title>
321
322 <para revision="sysv">
323 You can start <application>Plasma5</application> from runlevel 3, using
324 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
325 such as <xref linkend="sddm"/>.
326 </para>
327
328 <para revision="systemd">
329 You can start <application>Plasma5</application> from a TTY, using
330 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
331 <xref linkend="sddm"/>-->.
332 </para>
333
334 <para>
335 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
336 run the following commands:
337 </para>
338
339<screen revision="sysv"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
340<literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
341EOF
342
343startx</userinput></screen>
344
345<screen revision="systemd"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
346<literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
347EOF
348
349startx</userinput></screen>
350
351 <para>
352 The X session starts on the first unused virtual terminal, normally vt7.
353 You can switch to another vt<emphasis>n</emphasis> simultaneously
354 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
355 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
356 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
357 <command>startx</command> was executed will display many messages,
358 including X starting messages, applications automatically started with
359 the session, and eventually, some warning and error messages. You may
360 prefer to redirect those messages to a log file, which not only will keep
361 the initial vt uncluttered, but can also be used for debugging purposes. This
362 can be done starting X with:
363 </para>
364
365 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
366
367 <note revision="sysv">
368 <para>
369 You may wish to drop consolekit and/or dbus-launch, e.g., just using
370 startkde in ~/.xinitrc. However some capabilities such as mounting or
371 umounting file systems from a file manager will not be possible, or the
372 reboot option may be absent or inoperative, among other problems.
373 </para>
374 </note>
375 <para>
376 When shutting down or rebooting, the shutdown messages appear on the vt
377 where X was running. If you wish to see those messages, simultaneously
378 press keys Alt-F7 (assuming that X was running on vt7).
379 </para>
380
381 <para>If you intend to start <application>Plasma</application> using a
382 display manager such as <xref linkend="sddm"/>, there will be two entries
383 for <application>Plasma</application>, one for use with
384 <application>Xorg</application>, and another for
385 <application>Wayland</application>. Modify the
386 <application>Xorg</application> entry with the following command, as the
387 <systemitem class="username">root</systemitem> user, so that you can
388 differentiate between the two:</para>
389
390<screen><userinput role="root">sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
391
392
393 </sect2>
394
395 <sect2 role="content">
396 <title>Contents</title>
397
398 <segmentedlist>
399 <segtitle>Installed Programs</segtitle>
400 <segtitle>Installed Libraries</segtitle>
401 <segtitle>Installed Directories</segtitle>
402
403 <seglistitem>
404 <seg>
405 There are too many plasma programs (50 in /opt/kf5/bin) to list
406 separately here.
407 </seg>
408 <seg>
409 There are too many plasma libraries (39 in /opt/kf5/lib) to list
410 separately here.
411 </seg>
412 <seg>
413 There are too many plasma directories (over 1000 in /opt/kf5) to
414 list separately here.
415 </seg>
416 </seglistitem>
417 </segmentedlist>
418
419 </sect2>
420
421</sect1>
422
Note: See TracBrowser for help on using the repository browser.