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

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since f1b74bf was f1b74bf, checked in by Bruce Dubbs <bdubbs@…>, 17 months ago

Update to plasma5-5.26.4.
Also added kuserfeedback-1.2.0 needed by plasma.

  • Property mode set to 100644
File size: 17.7 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 "209 MB">
11 <!ENTITY plasma5-buildsize "1.5 GB (416 MB installed)">
12 <!ENTITY plasma5-time "19 SBU (using parallelism=4)">
13]>
14
15<sect1 id="plasma5-build" xreflabel="Plasma-&plasma5-version;">
16 <?dbhtml filename="plasma-all.html"?>
17
18
19 <title>Building Plasma 5</title>
20
21 <indexterm zone="plasma5-build">
22 <primary sortas="a-kde-plasma">KDE Plasma 5</primary>
23 </indexterm>
24
25 <para>
26 KDE Plasma 5 is a collection of packages based on top of KDE Frameworks
27 5 and QML. They implement the KDE Display Environment (Plasma 5).
28 </para>
29
30 &lfs112_checked;
31
32 <para>
33 The instructions below build all of the Plasma 5 packages in one
34 step by using a bash script.
35 </para>
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&plasma5-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&plasma5-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &plasma5-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &plasma5-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &plasma5-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &plasma5-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <!--<xref linkend="fontforge"/>,-->
76 <!-- does not seem to be needed as of 5.22.4 <xref linkend="GConf"/>, -->
77 <xref linkend="gtk2"/>,
78 <xref linkend="gtk3"/>,
79 <xref linkend="kf5-frameworks"/>,
80 <xref linkend="kuserfeedback"/>,
81 <xref linkend="libpwquality"/>,
82 <xref linkend="libqalculate"/>,
83 <xref linkend="libxkbcommon"/>,
84 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
85 <xref linkend="NetworkManager"/>,
86 <xref linkend="pipewire"/>,
87 <xref linkend="pulseaudio"/>,
88 <xref linkend="qca"/>,
89 <xref linkend="sassc"/>,
90 <xref linkend="taglib"/>, and
91 <xref linkend="xcb-util-cursor"/>
92 </para>
93
94 <bridgehead renderas="sect4">Recommended</bridgehead>
95 <para role="recommended">
96 <xref linkend="fftw"/>,
97 <xref linkend="gsettings-desktop-schemas"/>,
98 <xref linkend="libdbusmenu-qt"/>,
99 <xref linkend="libcanberra"/>,
100 <xref linkend="libinput"/>,
101 <xref linkend="libpcap"/>,
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="accountsservice"/>,
111 <xref role="runtime" linkend="smartmontools"/>, and
112 <xref role="runtime" linkend="xwayland"/>
113 </para>
114
115 <bridgehead renderas="sect4">Optional</bridgehead>
116 <para role="optional">
117 <xref linkend="glu"/>,
118 <xref linkend='ibus'/>,
119 <xref linkend='qtwebengine'/>,
120 <xref linkend="xorg-synaptics-driver"/>,
121 <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
122 <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
123 <ulink url="https://gpsd.gitlab.io/gpsd/">libgps</ulink>,
124 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
125 <ulink url="https://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
126 <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
127 <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
128 <ulink url="http://qalculate.github.io/">Qalculate</ulink>,
129 <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
130 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
131 <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
132 </para>
133
134 <note>
135 <para>
136 Only two plasma packages optionally use <xref linkend="qtwebengine"/>:
137 libksysguard and kdeplasma-addons. If QtWebEngine is installed later,
138 only those two packages have to be rebuilt. This allows to provide
139 a more complete display in the system monitor application.
140 </para>
141 </note>
142
143 <para condition="html" role="usernotes">User Notes:
144 <ulink url="&blfs-wiki;/kf5"/></para>
145
146 <sect2>
147 <title>Downloading KDE Plasma5</title>
148
149 <para>
150 The easiest way to get the KDE Plasma5 packages is to use a single
151 <command>wget</command> to fetch them all at once:
152 </para>
153
154<screen><userinput>url=https://download.kde.org/stable/plasma/&plasma5-version;/
155wget -r -nH -nd -A '*.xz' -np $url</userinput>
156<literal>
157The options used here are:
158 -r recurse through child directories
159 -nH disable generation of host-prefixed directories
160 -nd do not create a hierarchy of directories
161 -A '*.xz' just get the *.xz files
162 -np don't get parent directories</literal></screen>
163
164 </sect2>
165
166 <sect2>
167 <title>Setting Package Order</title>
168
169 <para>
170 The order of building files is important due to internal dependencies.
171 Create the list of files in the proper order as follows:
172 </para>
173
174<screen><userinput>cat &gt; plasma-&plasma5-version;.md5 &lt;&lt; "EOF"
175<literal>a01dbbcce3ba3940153316d1c37d4744 kdecoration-5.26.4.tar.xz
176d1e815e30f077922fbcad8a5ae4ae551 libkscreen-5.26.4.tar.xz
1777723718f4ae45ef8d7afb6f698754500 libksysguard-5.26.4.tar.xz
178a9a1aa3091af394ea4f0da49cf71fa55 breeze-5.26.4.tar.xz
1796d3af0af59e7570c195e16326eb78a95 breeze-gtk-5.26.4.tar.xz
180625e99eab5af4ec21336f748e67b67b7 layer-shell-qt-5.26.4.tar.xz
181a8162421975df33c2a28f679b03b03aa kscreenlocker-5.26.4.tar.xz
182c7d87706957fdcad8967348a718cc1c9 oxygen-5.26.4.tar.xz
1833dbf318d057cd9a012d2a37a3d45c3d5 kinfocenter-5.26.4.tar.xz
184a2f23971599845b291c12c2701d7aa4e kwin-5.26.4.tar.xz
18539302f811e359033e664a6461b6fdbe4 plasma-workspace-5.26.4.1.tar.xz
1863f1e7dfe3bfb45bab458c3867d92cd9f plasma-disks-5.26.4.tar.xz
187d9fb627fc4272e7753af952b522d4416 bluedevil-5.26.4.tar.xz
18854e61050bbadae9d40321843834660e8 kde-gtk-config-5.26.4.tar.xz
18952d5f2ed12284c8f31c6e6c7c1a18271 khotkeys-5.26.4.tar.xz
1900d8060c1680c91a85129732a25f67623 kmenuedit-5.26.4.tar.xz
19168bea6c5219ed6b83eb588b4f09254f6 kscreen-5.26.4.tar.xz
192325ecd912133aec98d72cbb9371b5e9b kwallet-pam-5.26.4.tar.xz
19372255cb11155888a1f02dbc44346faf6 kwayland-integration-5.26.4.tar.xz
194b6ba8694011f3f764ff3a4a2de27c446 kwrited-5.26.4.tar.xz
195ba3f3b6cc47ae3092f4e70742300d181 milou-5.26.4.tar.xz
1969b0fa4a7b7285c0eaaecc8f2cf4991b5 plasma-nm-5.26.4.tar.xz
1979b83ac853e5851eb01918ae66e4bc238 plasma-pa-5.26.4.tar.xz
198f4386c8910593425386b4d53f495a590 plasma-workspace-wallpapers-5.26.4.tar.xz
199ca6f21554bc89320ad04d19fc56b749b polkit-kde-agent-1-5.26.4.tar.xz
200cc2dbf3bd907d7a347b53420f51b73c6 powerdevil-5.26.4.tar.xz
201a7480b2f3dcb241597f881b820cea82f plasma-desktop-5.26.4.tar.xz
202c381c5cd5bbcfcf7f5b5012862e575c5 kgamma5-5.26.4.tar.xz
203a0a20325af1c3a9690228f0da5d22efb ksshaskpass-5.26.4.tar.xz
204#90a1d60dfcae3b683246e3b04ccf3b36 plasma-sdk-5.26.4.tar.xz
2051ab9b3119be9f170c82d28f83652d139 sddm-kcm-5.26.4.tar.xz
20642bdb4436c5e5f02f6a6893b43d57029 discover-5.26.4.tar.xz
207#9bf877b70af210d2b40833d00c6baae8 breeze-grub-5.26.4.tar.xz
208#7977cbb93436e0cb41ac7c043a79d14e breeze-plymouth-5.26.4.tar.xz
209d102a43c139a928d6ccb83a0b4fb2f61 kactivitymanagerd-5.26.4.tar.xz
210d7999e1f9ca9b7da32387227f890e7ed plasma-integration-5.26.4.tar.xz
21164277d588a7b2ab1bf9295268fac4fce plasma-tests-5.26.4.tar.xz
212#8824f8fe6c6547ba053c77980db5fc19 plymouth-kcm-5.26.4.tar.xz
2132ca28e5e76a04ced2a151ada42df421f xdg-desktop-portal-kde-5.26.4.tar.xz
214d7d81abab1f75c4f75286b7541e3c724 drkonqi-5.26.4.tar.xz
215a5d6dcfbcacb34429e3125a4dc3d20fa plasma-vault-5.26.4.tar.xz
216c554a96073816fdadd5ce27c8cc290da plasma-browser-integration-5.26.4.tar.xz
217ef012068159708971289387b948bbb9f kde-cli-tools-5.26.4.tar.xz
2183abcf237a6ba20f1e2ec4f9462780932 systemsettings-5.26.4.tar.xz
219d6406865e7e722f503d118d283a9cb13 plasma-thunderbolt-5.26.4.tar.xz
220#e459caedeccd6bd7ce7ec01130b9ef96 plasma-nano-5.26.4.tar.xz
221#710b5a5517a0856e991a45b0e33b5048 plasma-mobile-5.26.4.tar.xz
22246363a107539755e2d6707a199860dc5 plasma-firewall-5.26.4.tar.xz
223a7614d882e4ea34682fbba713434ee94 plasma-systemmonitor-5.26.4.tar.xz
2243d3c6f2086318a9a5bc584161b1a09b7 qqc2-breeze-style-5.26.4.tar.xz
2259c5c6ced9cffaab52bdeed33fc5d053f ksystemstats-5.26.4.tar.xz
226dc694109774211bc57efa9030838245f oxygen-sounds-5.26.4.tar.xz
227b924e1a5efa106aafa87a25e1a3775b9 aura-browser-5.26.4.tar.xz
2285d6fd4a97a939df024509371daca9fa2 kdeplasma-addons-5.26.4.tar.xz
229b3a40dc5c74a53889fd6b3204bf91124 kpipewire-5.26.4.tar.xz
2306d235cd46a3f9ecd313e0d0cc66f194c plank-player-5.26.4.tar.xz
2317dd0e56273b92752c7d0a2fc49144058 plasma-bigscreen-5.26.4.tar.xz</literal>
232EOF</userinput></screen>
233
234 <note>
235 <para>
236 The breeze-grub, breeze-plymouth, and plymouth-kcm packages above are
237 all for customized support of <ulink
238 url="https://www.freedesktop.org/wiki/Software/Plymouth/"
239 >Plymouth</ulink>
240 which is designed to be run within an initial ram disk during boot (see
241 <xref linkend="initramfs"/>). The plasma-sdk package is optional and
242 used for software development. The plasma-nano package is used for
243 embedded systems and plasma-phone-components provides phone
244 functionality for Plasma.
245 </para>
246 </note>
247
248 </sect2>
249
250 <sect2 role="installation">
251 <title>Installation of Plasma5</title>
252
253 &as_root;
254
255 <para>
256 First, start a subshell that will exit on error:
257 </para>
258
259<screen><userinput>bash -e</userinput></screen>
260
261 <para>
262 Install all of the packages by running the following
263 commands:
264 </para>
265
266<screen><userinput>while read -r line; do
267
268 # Get the file name, ignoring comments and blank lines
269 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
270 file=$(echo $line | cut -d" " -f2)
271
272 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
273 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
274
275 tar -xf $file
276 pushd $packagedir
277<!--
278 # Fix some build issues when generating some configuration files
279 case $name in
280 plasma-workspace)
281 sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
282 ;;
283
284 khotkeys)
285 sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
286 ;;
287
288 plasma-desktop)
289 sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
290 ;;
291 esac
292-->
293 mkdir build
294 cd build
295
296 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
297 -DCMAKE_BUILD_TYPE=Release \
298 -DBUILD_TESTING=OFF \
299 -Wno-dev .. &amp;&amp;
300
301 make
302 as_root make install
303 popd
304
305<!-- some packages end up with files owned by root in $packagedir,
306 so use as_root for removing -->
307 as_root rm -rf $packagedir
308 as_root /sbin/ldconfig
309
310done &lt; plasma-&plasma5-version;.md5
311
312exit</userinput></screen>
313
314 <para>
315 If you did not set <envar>$KF5_PREFIX</envar> to
316 <filename>/usr</filename>, create symlinks to allow display managers to
317 find <application>Plasma</application>:
318 </para>
319
320<screen><userinput>as_root install -dvm 755 /usr/share/xsessions &amp;&amp;
321cd /usr/share/xsessions/ &amp;&amp;
322[ -e plasma.desktop ] ||
323as_root ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop &amp;&amp;
324as_root install -dvm 755 /usr/share/wayland-sessions &amp;&amp;
325cd /usr/share/wayland-sessions/ &amp;&amp;
326[ -e plasmawayland.desktop ] ||
327as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop<!--
328cd $KF5_PREFIX/share/plasma/plasmoids
329
330for j in $(find -name \*.js); do
331 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
332done--></userinput></screen>
333
334 <para revision="sysv">
335 Useless systemd units have been installed in
336 <filename class="directory">$KF5_PREFIX/lib</filename>. Remove
337 them now (as <systemitem class="username">root</systemitem>):
338 </para>
339
340<screen role="root"
341 revision="sysv"><userinput>rm -rf $KF5_PREFIX/lib/systemd</userinput></screen>
342
343 </sect2>
344<!--
345 <sect2 role="commands">
346 <title>Command Explanations</title>
347
348 <para>
349 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
350 Create symbolic links so qml files can find needed javascript modules.
351 </para>
352
353 </sect2>
354-->
355 <sect2 role="configuration">
356 <title>Configuring Plasma</title>
357
358 <sect3>
359 <title>Linux PAM Configuration</title>
360
361 <para>
362 If you built Plasma with the recommended <application>Linux
363 PAM</application> support, create necessary configuration files by
364 running the following commands as the <systemitem
365 class="username">root</systemitem> user:
366 </para>
367
368<screen role="root"><userinput>cat &gt; /etc/pam.d/kde &lt;&lt; "EOF"
369<literal># Begin /etc/pam.d/kde
370
371auth requisite pam_nologin.so
372auth required pam_env.so
373
374auth required pam_succeed_if.so uid &gt;= 1000 quiet
375auth include system-auth
376
377account include system-account
378password include system-password
379session include system-session
380
381# End /etc/pam.d/kde</literal>
382EOF
383
384cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
385<literal># Begin /etc/pam.d/kde-np
386
387auth requisite pam_nologin.so
388auth required pam_env.so
389
390auth required pam_succeed_if.so uid &gt;= 1000 quiet
391auth required pam_permit.so
392
393account include system-account
394password include system-password
395session include system-session
396
397# End /etc/pam.d/kde-np</literal>
398EOF
399
400cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
401<literal># Begin /etc/pam.d/kscreensaver
402
403auth include system-auth
404account include system-account
405
406# End /etc/pam.d/kscreensaver</literal>
407EOF</userinput></screen>
408 </sect3>
409 </sect2>
410
411 <sect2 role="starting">
412 <title>Starting Plasma5</title>
413
414 <para revision="sysv">
415 You can start <application>Plasma5</application> from runlevel 3, using
416 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
417 such as <xref linkend="lightdm"/>.
418 </para>
419
420 <para revision="systemd">
421 You can start <application>Plasma5</application> from a TTY, using
422 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
423 <xref linkend="sddm"/>-->.
424 </para>
425
426 <para>
427 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
428 run the following commands:
429 </para>
430
431<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
432<literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startplasma-x11</literal>
433EOF
434
435startx</userinput></screen>
436
437 <para>
438 The X session starts on the first unused virtual terminal, normally vt7.
439 You can switch to another vt<emphasis>n</emphasis> simultaneously
440 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
441 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
442 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
443 <command>startx</command> was executed will display many messages,
444 including X starting messages, applications automatically started with
445 the session, and eventually, some warning and error messages. You may
446 prefer to redirect those messages to a log file, which not only will keep
447 the initial vt uncluttered, but can also be used for debugging purposes. This
448 can be done starting X with:
449 </para>
450
451 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
452
453 <para>
454 When shutting down or rebooting, the shutdown messages appear on the vt
455 where X was running. If you wish to see those messages, simultaneously
456 press keys Alt-F7 (assuming that X was running on vt7).
457 </para>
458<!-- Now the entry is "plasma (X11)" for Xorg, so I guess this is
459 not needed anymore:
460 <para>
461 If you intend to start <application>Plasma</application> using a
462 display manager such as <xref linkend="lightdm"/>, there will be two entries
463 for <application>Plasma</application>, one for use with
464 <application>Xorg</application>, and another for
465 <application>Wayland</application>. Modify the
466 <application>Xorg</application> entry with the following command, as the
467 <systemitem class="username">root</systemitem> user, so that you can
468 differentiate between the two:</para>
469
470<screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
471-->
472
473 </sect2>
474
475 <sect2 role="content">
476 <title>Contents</title>
477
478 <segmentedlist>
479 <segtitle>Installed Programs</segtitle>
480 <segtitle>Installed Libraries</segtitle>
481 <segtitle>Installed Directories</segtitle>
482
483 <seglistitem>
484 <seg>
485 There are too many plasma programs (63 in /opt/kf5/bin) to list
486 separately here.
487 </seg>
488 <seg>
489 There are too many plasma libraries (40 in /opt/kf5/lib) to list
490 separately here.
491 </seg>
492 <seg>
493 There are too many plasma directories (over 1000 in /opt/kf5) to
494 list separately here.
495 </seg>
496 </seglistitem>
497 </segmentedlist>
498
499 </sect2>
500
501</sect1>
Note: See TracBrowser for help on using the repository browser.