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

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since f8b4f14 was ab39028, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Minor wording changes

  • Property mode set to 100644
File size: 18.0 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 "192 MB">
11 <!ENTITY plasma5-buildsize "1.7 GB (419 MB installed)">
12 <!ENTITY plasma5-time "18 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 &lfs113_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="https://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="https://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 <xref linkend="qtwebengine"/> is required for aura-browser, which is
137 still in a beta-development stage. It is also optional for two
138 other packages:
139 libksysguard and kdeplasma-addons. If QtWebEngine is installed later,
140 only these two packages need to be rebuilt. This allows
141 a more complete display in the system monitor application.
142 </para>
143 </note>
144
145 <para condition="html" role="usernotes">User Notes:
146 <ulink url="&blfs-wiki;/kf5"/></para>
147
148 <sect2>
149 <title>Downloading KDE Plasma5</title>
150
151 <para>
152 The easiest way to get the KDE Plasma5 packages is to use a single
153 <command>wget</command> to fetch them all at once:
154 </para>
155
156<screen><userinput>url=https://download.kde.org/stable/plasma/&plasma5-version;/
157wget -r -nH -nd -A '*.xz' -np $url</userinput>
158<literal>
159The options used here are:
160 -r recurse through child directories
161 -nH disable generation of host-prefixed directories
162 -nd do not create a hierarchy of directories
163 -A '*.xz' just get the *.xz files
164 -np don't get parent directories</literal></screen>
165
166 </sect2>
167
168 <sect2>
169 <title>Setting Package Order</title>
170
171 <para>
172 The order of building files is important due to internal dependencies.
173 Create the list of files in the proper order as follows:
174 </para>
175
176<screen><userinput>cat &gt; plasma-&plasma5-version;.md5 &lt;&lt; "EOF"
177<literal>e436a039ec6b0016e5f52a71a5086ad8 kdecoration-5.26.5.tar.xz
178ec10440342d3b227499b61bbf86c04ab libkscreen-5.26.5.tar.xz
179a7a235a4d105eaa37c9c9923f34b7019 libksysguard-5.26.5.tar.xz
18065c2bc9680f8830b1fdfc231a2923fe7 breeze-5.26.5.tar.xz
181b43a9abaa1dbf083fbac92febf06ee62 breeze-gtk-5.26.5.tar.xz
1822a5c3f9ddb0dd1394574c85237c6a99d layer-shell-qt-5.26.5.tar.xz
183fbf3d2ff3dcfe2eb6770f18f0784b693 kscreenlocker-5.26.5.tar.xz
18444db61e1b0c27d951cfc0dd45fa19947 oxygen-5.26.5.tar.xz
1854a04fbf14eee03b81a5f95701758dadc kinfocenter-5.26.5.tar.xz
1866b2566e536949698fcb43ecb1cb331c8 kwin-5.26.5.tar.xz
1879b5ddbc03683da742ac0c03c821d9084 plasma-workspace-5.26.5.tar.xz
1884c118121937c0c92ab9630b28be83aab plasma-disks-5.26.5.tar.xz
1893440d7a273988cddb711ddd864ae85d7 bluedevil-5.26.5.tar.xz
19075f668ce669e853565c375937ca6db3b kde-gtk-config-5.26.5.tar.xz
1916e8673a19904011d79d9b8fd69890443 khotkeys-5.26.5.tar.xz
1927425d8cd9889bdb327b8a8b339274aa5 kmenuedit-5.26.5.tar.xz
1936f600d487eda8fd2cddf3e13c322ce78 kscreen-5.26.5.tar.xz
194def2d41c607309fdb622b270833b6078 kwallet-pam-5.26.5.tar.xz
195ce7b641d174973be3b944f9279609eaf kwayland-integration-5.26.5.tar.xz
196eb2171403b7fbae6b257404f58fea865 kwrited-5.26.5.tar.xz
197fc04856efefea7eba22064e7afdbddf7 milou-5.26.5.tar.xz
198adb5371f4383332da2d7bdc643d1ba3d plasma-nm-5.26.5.tar.xz
1998a277824eec12d339b9b0cec40e141da plasma-pa-5.26.5.tar.xz
2005112039742fa249c6272196fd2ea9b8c plasma-workspace-wallpapers-5.26.5.tar.xz
2011319507df888d5d1d1584487c72bb41c polkit-kde-agent-1-5.26.5.tar.xz
2021636fa123a48123922c6bd9114601188 powerdevil-5.26.5.tar.xz
2039c85a12b5fc4593ee3c9c3602b7c1fd7 plasma-desktop-5.26.5.tar.xz
204297ae0e3b025e2d8a9a6b4301aed97b3 kgamma5-5.26.5.tar.xz
205b34c0f8e8f00c881fa6636941a646cdf ksshaskpass-5.26.5.tar.xz
206#5310bb325acaacddd75cfcc9beb720ae plasma-sdk-5.26.5.tar.xz
207579e478775361bbb3499e1ec5b5011a1 sddm-kcm-5.26.5.tar.xz
2084c5d0fd055f04e9104de1039fb3d19e4 discover-5.26.5.tar.xz
209#4eddbae9f9e4add3637dd9fd99290047 breeze-grub-5.26.5.tar.xz
210#ddbea7d8d6c6bc3953039075628de7ee breeze-plymouth-5.26.5.tar.xz
2117a85cf42b67ac38e490f0749cd25496e kactivitymanagerd-5.26.5.tar.xz
212235d1c02582787ff5dd825fae434e6f9 plasma-integration-5.26.5.tar.xz
213a97a00137fcd4e446cbf849983bd1e64 plasma-tests-5.26.5.tar.xz
214#d16a86f8aee8e7f0da084535cdccca7f plymouth-kcm-5.26.5.tar.xz
21549abaee061653e65afe9ba509c6aef41 xdg-desktop-portal-kde-5.26.5.tar.xz
2168ea7332f06db75e41357cfe49d893042 drkonqi-5.26.5.tar.xz
217e147fcf2d2cfc030c3a5e12373e8dc29 plasma-vault-5.26.5.tar.xz
218a17305d04e3f43cd2c63870e58aa1002 plasma-browser-integration-5.26.5.tar.xz
219d7bf771ac16efb7b8c3c4e6a34193002 kde-cli-tools-5.26.5.tar.xz
2205c9d258caff107e2d668308fbdc1b88a systemsettings-5.26.5.tar.xz
221fb368c5c4ac28061a706c3558e4c4b66 plasma-thunderbolt-5.26.5.tar.xz
222#ebe05c7b3b95d0dca235830ab17b8d57 plasma-nano-5.26.5.tar.xz
223#cb64c2c61676c499f1807184928083c7 plasma-mobile-5.26.5.tar.xz
2240ac0a579b57b76e664d172845ae06a07 plasma-firewall-5.26.5.tar.xz
225d5c8bac2d756982328cd541649a7002b plasma-systemmonitor-5.26.5.tar.xz
22617608c1fb4b6503193a5769f35c7f9e5 qqc2-breeze-style-5.26.5.tar.xz
227146cef26a5a9b3c82d46cabd6842a07c ksystemstats-5.26.5.tar.xz
2286943aba014019057384b47339bb8ed0a oxygen-sounds-5.26.5.tar.xz
229#7CF5ED434a6d21fd8458f89207986b9a aura-browser-5.26.5.tar.xz
230fc695034a7236fb6eab8a324216bc710 kdeplasma-addons-5.26.5.tar.xz
23171fce4036d0f6a6fdc9bf5db3d47b9c9 kpipewire-5.26.5.tar.xz
23226e7ae5887a56e971d2510262f9e0b55 plank-player-5.26.5.tar.xz
233116e7d1a64ee17d5a31aed066709725a plasma-bigscreen-5.26.5.tar.xz
234d55d570e84840440f89233c8915e5872 plasma-remotecontrollers-5.26.5.tar.xz</literal>
235EOF</userinput></screen>
236
237 <note>
238 <title>About Commented out Packages</title>
239 <para>
240 The breeze-grub, breeze-plymouth, and plymouth-kcm packages above are
241 all for customized support of <ulink
242 url="https://www.freedesktop.org/wiki/Software/Plymouth/"
243 >Plymouth</ulink>
244 which is designed to be run within an initial ram disk during boot (see
245 <xref linkend="initramfs"/>). The plasma-sdk package is optional and
246 used for software development. The plasma-nano package is used for
247 embedded systems and plasma-mobile provides phone
248 functionality for Plasma. The aura-browser package is
249 still under beta-development and requires
250 <xref linkend="qtwebengine"/>.
251 </para>
252 </note>
253
254 </sect2>
255
256 <sect2 role="installation">
257 <title>Installation of Plasma5</title>
258
259 &as_root;
260
261 <para>
262 First, start a subshell that will exit on error:
263 </para>
264
265<screen><userinput>bash -e</userinput></screen>
266
267 <para>
268 Install all of the packages by running the following
269 commands:
270 </para>
271
272<screen><userinput>while read -r line; do
273
274 # Get the file name, ignoring comments and blank lines
275 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
276 file=$(echo $line | cut -d" " -f2)
277
278 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
279 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
280
281 tar -xf $file
282 pushd $packagedir
283<!--
284 # Fix some build issues when generating some configuration files
285 case $name in
286 plasma-workspace)
287 sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
288 ;;
289
290 khotkeys)
291 sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
292 ;;
293
294 plasma-desktop)
295 sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
296 ;;
297 esac
298-->
299 mkdir build
300 cd build
301
302 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
303 -DCMAKE_BUILD_TYPE=Release \
304 -DBUILD_TESTING=OFF \
305 -Wno-dev .. &amp;&amp;
306
307 make
308 as_root make install
309 popd
310
311<!-- some packages end up with files owned by root in $packagedir,
312 so use as_root for removing -->
313 as_root rm -rf $packagedir
314 as_root /sbin/ldconfig
315
316done &lt; plasma-&plasma5-version;.md5
317
318exit</userinput></screen>
319
320 <para>
321 If you did not set <envar>$KF5_PREFIX</envar> to
322 <filename>/usr</filename>, create symlinks to allow display managers to
323 find <application>Plasma</application>:
324 </para>
325
326<screen><userinput>as_root install -dvm 755 /usr/share/xsessions &amp;&amp;
327cd /usr/share/xsessions/ &amp;&amp;
328[ -e plasma.desktop ] ||
329as_root ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop &amp;&amp;
330as_root install -dvm 755 /usr/share/wayland-sessions &amp;&amp;
331cd /usr/share/wayland-sessions/ &amp;&amp;
332[ -e plasmawayland.desktop ] ||
333as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop<!--
334cd $KF5_PREFIX/share/plasma/plasmoids
335
336for j in $(find -name \*.js); do
337 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
338done--></userinput></screen>
339
340 <para revision="sysv">
341 Useless systemd units have been installed in
342 <filename class="directory">$KF5_PREFIX/lib</filename>. Remove
343 them now (as <systemitem class="username">root</systemitem>):
344 </para>
345
346<screen role="root"
347 revision="sysv"><userinput>rm -rf $KF5_PREFIX/lib/systemd</userinput></screen>
348
349 </sect2>
350<!--
351 <sect2 role="commands">
352 <title>Command Explanations</title>
353
354 <para>
355 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
356 Create symbolic links so qml files can find needed javascript modules.
357 </para>
358
359 </sect2>
360-->
361 <sect2 role="configuration">
362 <title>Configuring Plasma</title>
363
364 <sect3>
365 <title>Linux PAM Configuration</title>
366
367 <para>
368 If you built Plasma with the recommended <application>Linux
369 PAM</application> support, create necessary configuration files by
370 running the following commands as the <systemitem
371 class="username">root</systemitem> user:
372 </para>
373
374<screen role="root"><userinput>cat &gt; /etc/pam.d/kde &lt;&lt; "EOF"
375<literal># Begin /etc/pam.d/kde
376
377auth requisite pam_nologin.so
378auth required pam_env.so
379
380auth required pam_succeed_if.so uid &gt;= 1000 quiet
381auth include system-auth
382
383account include system-account
384password include system-password
385session include system-session
386
387# End /etc/pam.d/kde</literal>
388EOF
389
390cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
391<literal># Begin /etc/pam.d/kde-np
392
393auth requisite pam_nologin.so
394auth required pam_env.so
395
396auth required pam_succeed_if.so uid &gt;= 1000 quiet
397auth required pam_permit.so
398
399account include system-account
400password include system-password
401session include system-session
402
403# End /etc/pam.d/kde-np</literal>
404EOF
405
406cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
407<literal># Begin /etc/pam.d/kscreensaver
408
409auth include system-auth
410account include system-account
411
412# End /etc/pam.d/kscreensaver</literal>
413EOF</userinput></screen>
414 </sect3>
415 </sect2>
416
417 <sect2 role="starting">
418 <title>Starting Plasma5</title>
419
420 <para revision="sysv">
421 You can start <application>Plasma5</application> from runlevel 3, using
422 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
423 such as <xref linkend="lightdm"/>.
424 </para>
425
426 <para revision="systemd">
427 You can start <application>Plasma5</application> from a TTY, using
428 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
429 <xref linkend="sddm"/>-->.
430 </para>
431
432 <para>
433 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
434 run the following commands:
435 </para>
436
437<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
438<literal>dbus-launch --exit-with-x11 $KF5_PREFIX/bin/startplasma-x11</literal>
439EOF
440
441startx</userinput></screen>
442
443 <para>
444 The X session starts on the first unused virtual terminal, normally vt7.
445 You can switch to another vt<emphasis>n</emphasis> simultaneously
446 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
447 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
448 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
449 <command>startx</command> was executed will display many messages,
450 including X starting messages, applications automatically started with
451 the session, and eventually, some warning and error messages. You may
452 prefer to redirect those messages to a log file, which not only will keep
453 the initial vt uncluttered, but can also be used for debugging purposes. This
454 can be done starting X with:
455 </para>
456
457 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
458
459 <para>
460 When shutting down or rebooting, the shutdown messages appear on the vt
461 where X was running. If you wish to see those messages, simultaneously
462 press keys Alt-F7 (assuming that X was running on vt7).
463 </para>
464<!-- Now the entry is "plasma (X11)" for Xorg, so I guess this is
465 not needed anymore:
466 <para>
467 If you intend to start <application>Plasma</application> using a
468 display manager such as <xref linkend="lightdm"/>, there will be two entries
469 for <application>Plasma</application>, one for use with
470 <application>Xorg</application>, and another for
471 <application>Wayland</application>. Modify the
472 <application>Xorg</application> entry with the following command, as the
473 <systemitem class="username">root</systemitem> user, so that you can
474 differentiate between the two:</para>
475
476<screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
477-->
478
479 </sect2>
480
481 <sect2 role="content">
482 <title>Contents</title>
483
484 <segmentedlist>
485 <segtitle>Installed Programs</segtitle>
486 <segtitle>Installed Libraries</segtitle>
487 <segtitle>Installed Directories</segtitle>
488
489 <seglistitem>
490 <seg>
491 There are too many plasma programs (63 in /opt/kf5/bin) to list
492 separately here.
493 </seg>
494 <seg>
495 There are too many plasma libraries (40 in /opt/kf5/lib) to list
496 separately here.
497 </seg>
498 <seg>
499 There are too many plasma directories (over 1000 in /opt/kf5) to
500 list separately here.
501 </seg>
502 </seglistitem>
503 </segmentedlist>
504
505 </sect2>
506
507</sect1>
Note: See TracBrowser for help on using the repository browser.