source: kde/plasma5/plasma-all.xml@ 04e87c4

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 04e87c4 was b359b3e0, checked in by Pierre Labastie <pieere@…>, 3 years ago

Update to plasma5-5.20.4

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

  • Property mode set to 100644
File size: 16.4 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 "118 MB">
11 <!ENTITY plasma5-buildsize "535 MB (330 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-kde-plasma">KDE Plasma 5</primary>
27 </indexterm>
28
29 <para>
30 KDE Plasma 5 is a collection of packages based on top of KDE Frameworks
31 5 and QML. They implement the KDE Display Environment (Plasma 5).
32 </para>
33
34 &lfs10_checked;
35
36 <para>
37 The instructions below build all of the Plasma 5 packages in one
38 step by using a bash script.
39 </para>
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&plasma5-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&plasma5-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &plasma5-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &plasma5-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &plasma5-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &plasma5-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <!--<xref linkend="fontforge"/>,-->
80 <xref linkend="GConf"/>,
81 <xref linkend="gtk2"/>,
82 <xref linkend="gtk3"/>,
83 <xref linkend="kf5-frameworks"/>,
84 <xref linkend="libpwquality"/>,
85 <xref linkend="libxkbcommon"/>,
86 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
87 <xref linkend="NetworkManager"/>,
88 <xref linkend="pipewire"/>,
89 <xref linkend="pulseaudio"/>,
90 <xref linkend="qca"/>,
91 <xref linkend="sassc"/>,
92 <xref linkend="taglib"/>, and
93 <xref linkend="xcb-util-cursor"/>
94 </para>
95
96 <bridgehead renderas="sect4">Recommended</bridgehead>
97 <para role="recommended">
98 <xref linkend="fftw"/>,
99 <xref linkend="gsettings-desktop-schemas"/>,
100 <xref linkend="libdbusmenu-qt"/>,
101 <xref linkend="libcanberra"/>,
102 <xref linkend="libinput"/>,
103 <xref linkend="linux-pam"/>,
104 <xref linkend="lm_sensors"/>,
105 <xref linkend="oxygen-icons5"/>, and
106 <xref linkend="pciutils"/>
107 </para>
108
109 <bridgehead renderas="sect4">Recommended (runtime)</bridgehead>
110 <para role="recommended">
111 <xref role="runtime" linkend="smartmontools"/>
112 </para>
113
114 <bridgehead renderas="sect4">Optional</bridgehead>
115 <para role="optional">
116 <xref linkend="glu"/>,
117 <xref linkend='ibus'/>,
118 <xref linkend="xorg-synaptics-driver"/>,
119 <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
120 <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
121 <ulink url="https://gpsd.gitlab.io/gpsd/">libgps</ulink>,
122 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
123 <ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
124 <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
125 <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
126 <ulink url="http://qalculate.github.io/">Qalculate</ulink>,
127 <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
128 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
129 <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
130 </para>
131
132 <para condition="html" role="usernotes">User Notes:
133 <ulink url="&blfs-wiki;/kf5"/></para>
134
135 <sect2>
136 <title>Downloading KDE Plasma5</title>
137
138 <para>
139 The easiest way to get the KDE Plasma5 packages is to use a single
140 <command>wget</command> to fetch them all at once:
141 </para>
142
143<screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
144wget -r -nH -nd -A '*.xz' -np $url</userinput>
145<literal>
146The options used here are:
147 -r recurse through child directories
148 -nH disable generation of host-prefixed directories
149 -nd do not create a hierarchy of directories
150 -A '*.xz' just get the *.xz files
151 -np don't get parent directories</literal></screen>
152
153 </sect2>
154
155 <sect2>
156 <title>Setting Package Order</title>
157
158 <para>
159 The order of building files is important due to internal dependencies.
160 Create the list of files in the proper order as follows:
161 </para>
162
163<screen><userinput>cat &gt; plasma-&plasma5-version;.md5 &lt;&lt; "EOF"
164<literal>af10a41b15cb81f3cc405e31ef9f17ed kdecoration-5.20.4.tar.xz
165aee69339bac97b8b4c8ba073c48ac7ed libkscreen-5.20.4.tar.xz
16644015317e6c496a2cbd0dbea00fafec5 libksysguard-5.20.4.tar.xz
1679000d1bfe0bb16ee499dbe5a5af9bb22 breeze-5.20.4.tar.xz
168f984413303ea9bfa8b09add47eea217a breeze-gtk-5.20.4.tar.xz
16986f2e76c7408b2ccd327b4ffa7c81f41 kscreenlocker-5.20.4.tar.xz
170792f7f818c18f386118093bb0be035d1 oxygen-5.20.4.tar.xz
171b41353b8c832a2831f04fc180dbabadd kinfocenter-5.20.4.tar.xz
172fd1267064fa9b085934cbe3f1e5aade7 ksysguard-5.20.4.tar.xz
173cf90264792369ba8bd4d4333a5b59c96 kwayland-server-5.20.4.tar.xz
1742e25eb98bbbc37eaa81d6061817bd164 kwin-5.20.4.tar.xz
175cb4867c20b81ffcd8adae56c3dec0d41 plasma-workspace-5.20.4.tar.xz
1762a177037483a9517c7ecbf003a2b7e5b plasma-disks-5.20.4.tar.xz
177ac4730c9c47016c1db92e1b1c66b585f bluedevil-5.20.4.tar.xz
178ea24ffd849444b5ceba4a48023939311 kde-gtk-config-5.20.4.tar.xz
179856e51dfb18f2b51ca39db5af2b9707b khotkeys-5.20.4.tar.xz
180257cba142fc1c13d328d6817b65cdc3a kmenuedit-5.20.4.tar.xz
181b8a5116c94ea717b3b71f2fdcc59a881 kscreen-5.20.4.tar.xz
182aea33684c4ed4241e01e3753fd0ea132 kwallet-pam-5.20.4.tar.xz
18365d449b6a51fbff45c9cc65d601536ac kwayland-integration-5.20.4.tar.xz
18409c0ef8c927c1b0798a41ae7b6ca1397 kwrited-5.20.4.tar.xz
18592e9003a449866335ef154c748846f46 milou-5.20.4.tar.xz
186e05dbd9e6617b49290616d323bc54daf plasma-nm-5.20.4.tar.xz
1871eebbc148709b42dc4862a2d98fff85b plasma-pa-5.20.4.tar.xz
188d96c17d9d589cd2ba833d60ac55208e5 plasma-workspace-wallpapers-5.20.4.tar.xz
18944e98339dbe238045d1e72d26282a74d polkit-kde-agent-1-5.20.4.tar.xz
1905fd24e129d01354d6abaf8aa8766ed85 powerdevil-5.20.4.tar.xz
191ddd01d3a85e5efb2967b7dfa4f162b6f plasma-desktop-5.20.4.tar.xz
1926e4d4f4717c6149d0213bdc6fbe4cc0e kdeplasma-addons-5.20.4.tar.xz
1939cf80a513951a8cb8f540d2cc2315664 kgamma5-5.20.4.tar.xz
1947ac6d7e0d6849ce23e86b2ee5ad5d888 ksshaskpass-5.20.4.tar.xz
195#717b10a56d338bb58383f0f3269fb531 plasma-sdk-5.20.4.tar.xz
19616f15fee8b435ac1ce0f304668f538b3 sddm-kcm-5.20.4.tar.xz
197f6f126e5f6d84d8f47516badc7fb7e9c discover-5.20.4.tar.xz
198#b55f6f11e4fa29c39fce9c0d5568ca88 breeze-grub-5.20.4.tar.xz
199#7d6977a3d6dea4e43ce03b81fc09ba2d breeze-plymouth-5.20.4.tar.xz
200a74cf024d2e05837b813703daa364713 kactivitymanagerd-5.20.4.tar.xz
2015478e5bb63b40271143166dfbc3c7552 plasma-integration-5.20.4.tar.xz
202ae3ae24c4145ef01680f0120ee2693b8 plasma-tests-5.20.4.tar.xz
203#791d267d4869ea743bbe4d47e798a4cb plymouth-kcm-5.20.4.tar.xz
204c9a901323a72ccb071c1a2a9b20fe2d0 xdg-desktop-portal-kde-5.20.4.tar.xz
2054515e64c1758dc49a8ca9adb1113a37a drkonqi-5.20.4.tar.xz
206594abf697ef7ba64ee5a2468a72c93dc plasma-vault-5.20.4.tar.xz
2071832bd8fabaec98d880fa25ea2adc395 plasma-browser-integration-5.20.4.tar.xz
2083497d575211112126b26c50416ca1271 kde-cli-tools-5.20.4.tar.xz
209e1997939048be759b3344d05028c67bb systemsettings-5.20.4.tar.xz
2103dd1492bd3ed8edf085a01b536c06a73 plasma-thunderbolt-5.20.4.tar.xz
211#e07b202527e67af36503e96149b974b0 plasma-nano-5.20.4.tar.xz
212#cda92e6b67f50ebf9bd9583593e9942d plasma-phone-components-5.20.4.tar.xz</literal>
213EOF</userinput></screen>
214
215 <note>
216 <para>
217 The breeze-grub, breeze-plymouth, and plymouth-kcm packages above are
218 all for customized support of <ulink
219 url="https://www.freedesktop.org/wiki/Software/Plymouth/"
220 >Plymouth</ulink>
221 which is designed to be run within an initial ram disk during boot (see
222 <xref linkend="initramfs"/>). The plasma-sdk package is optional and
223 used for software development. The plasma-nano package is used for
224 embedded systems and plasma-phone-components provides phone
225 functionality for Plasma.
226 </para>
227 </note>
228
229 </sect2>
230
231 <sect2 role="installation">
232 <title>Installation of Plasma5</title>
233
234 &as_root;
235
236 <para>
237 First, start a subshell that will exit on error:
238 </para>
239
240<screen><userinput>bash -e</userinput></screen>
241
242 <para>
243 Install all of the packages by running the following
244 commands:
245 </para>
246
247<screen><userinput>while read -r line; do
248
249 # Get the file name, ignoring comments and blank lines
250 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
251 file=$(echo $line | cut -d" " -f2)
252
253 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
254 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
255
256 tar -xf $file
257 pushd $packagedir
258<!--
259 # Fix some build issues when generating some configuration files
260 case $name in
261 plasma-workspace)
262 sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
263 ;;
264
265 khotkeys)
266 sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
267 ;;
268
269 plasma-desktop)
270 sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
271 ;;
272 esac
273-->
274 mkdir build
275 cd build
276
277 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
278 -DCMAKE_BUILD_TYPE=Release \
279 -DBUILD_TESTING=OFF \
280 -Wno-dev .. &amp;&amp;
281
282 make
283 as_root make install
284 popd
285
286<!-- some packages end up with files owned by root in $packagedir,
287 so use as_root for removing -->
288 as_root rm -rf $packagedir
289 as_root /sbin/ldconfig
290
291done &lt; plasma-&plasma5-version;.md5
292
293exit</userinput></screen>
294
295 <para>
296 If you did not set <envar>$KF5_PREFIX</envar> to
297 <filename>/usr</filename>, create symlinks to allow display managers to
298 find <application>Plasma</application>:
299 </para>
300
301<screen><userinput>as_root install -dvm 755 /usr/share/xsessions &amp;&amp;
302cd /usr/share/xsessions/ &amp;&amp;
303[ -e plasma.desktop ] ||
304as_root ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop &amp;&amp;
305as_root install -dvm 755 /usr/share/wayland-sessions &amp;&amp;
306cd /usr/share/wayland-sessions/ &amp;&amp;
307[ -e plasmawayland.desktop ] ||
308as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop<!--
309cd $KF5_PREFIX/share/plasma/plasmoids
310
311for j in $(find -name \*.js); do
312 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
313done--></userinput></screen>
314
315 </sect2>
316<!--
317 <sect2 role="commands">
318 <title>Command Explanations</title>
319
320 <para>
321 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
322 Create symbolic links so qml files can find needed javascript modules.
323 </para>
324
325 </sect2>
326-->
327 <sect2 role="configuration">
328 <title>Configuring Plasma</title>
329
330 <sect3>
331 <title>Linux PAM Configuration</title>
332
333 <para>
334 If you built Plasma with the recommended <application>Linux
335 PAM</application> support, create necessary configuration files by
336 running the following commands as the <systemitem
337 class="username">root</systemitem> user:
338 </para>
339
340<screen role="root"><userinput>cat &gt; /etc/pam.d/kde &lt;&lt; "EOF"
341<literal># Begin /etc/pam.d/kde
342
343auth requisite pam_nologin.so
344auth required pam_env.so
345
346auth required pam_succeed_if.so uid &gt;= 1000 quiet
347auth include system-auth
348
349account include system-account
350password include system-password
351session include system-session
352
353# End /etc/pam.d/kde</literal>
354EOF
355
356cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
357<literal># Begin /etc/pam.d/kde-np
358
359auth requisite pam_nologin.so
360auth required pam_env.so
361
362auth required pam_succeed_if.so uid &gt;= 1000 quiet
363auth required pam_permit.so
364
365account include system-account
366password include system-password
367session include system-session
368
369# End /etc/pam.d/kde-np</literal>
370EOF
371
372cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
373<literal># Begin /etc/pam.d/kscreensaver
374
375auth include system-auth
376account include system-account
377
378# End /etc/pam.d/kscreensaver</literal>
379EOF</userinput></screen>
380 </sect3>
381 </sect2>
382
383 <sect2 role="starting">
384 <title>Starting Plasma5</title>
385
386 <para revision="sysv">
387 You can start <application>Plasma5</application> from runlevel 3, using
388 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
389 such as <xref linkend="lightdm"/>.
390 </para>
391
392 <para revision="systemd">
393 You can start <application>Plasma5</application> from a TTY, using
394 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
395 <xref linkend="sddm"/>-->.
396 </para>
397
398 <para>
399 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
400 run the following commands:
401 </para>
402
403<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
404<literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startplasma-x11</literal>
405EOF
406
407startx</userinput></screen>
408
409 <para>
410 The X session starts on the first unused virtual terminal, normally vt7.
411 You can switch to another vt<emphasis>n</emphasis> simultaneously
412 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
413 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
414 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
415 <command>startx</command> was executed will display many messages,
416 including X starting messages, applications automatically started with
417 the session, and eventually, some warning and error messages. You may
418 prefer to redirect those messages to a log file, which not only will keep
419 the initial vt uncluttered, but can also be used for debugging purposes. This
420 can be done starting X with:
421 </para>
422
423 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
424
425 <para>
426 When shutting down or rebooting, the shutdown messages appear on the vt
427 where X was running. If you wish to see those messages, simultaneously
428 press keys Alt-F7 (assuming that X was running on vt7).
429 </para>
430
431 <para>
432 If you intend to start <application>Plasma</application> using a
433 display manager such as <xref linkend="lightdm"/>, there will be two entries
434 for <application>Plasma</application>, one for use with
435 <application>Xorg</application>, and another for
436 <application>Wayland</application>. Modify the
437 <application>Xorg</application> entry with the following command, as the
438 <systemitem class="username">root</systemitem> user, so that you can
439 differentiate between the two:</para>
440
441<screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
442
443
444 </sect2>
445
446 <sect2 role="content">
447 <title>Contents</title>
448
449 <segmentedlist>
450 <segtitle>Installed Programs</segtitle>
451 <segtitle>Installed Libraries</segtitle>
452 <segtitle>Installed Directories</segtitle>
453
454 <seglistitem>
455 <seg>
456 There are too many plasma programs (61 in /opt/kf5/bin) to list
457 separately here.
458 </seg>
459 <seg>
460 There are too many plasma libraries (40 in /opt/kf5/lib) to list
461 separately here.
462 </seg>
463 <seg>
464 There are too many plasma directories (over 1000 in /opt/kf5) to
465 list separately here.
466 </seg>
467 </seglistitem>
468 </segmentedlist>
469
470 </sect2>
471
472</sect1>
Note: See TracBrowser for help on using the repository browser.