source: kde/plasma5/plasma-all.xml@ 34c29696

11.0 ken/refactor-virt lazarus qt5new trunk
Last change on this file since 34c29696 was 8aea10f, checked in by Bruce Dubbs <bdubbs@…>, 6 months ago

Update to plasma-5.22.1

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