source: kde/plasma5/plasma-all.xml@ 55bad52

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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 55bad52 was 4aef12a, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Update to plasma-5.24.5.
Also fix k3b xml.

  • Property mode set to 100644
File size: 17.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 "https://download.kde.org/stable/plasma/&plasma5-version;">
8 <!ENTITY plasma5-download-ftp " ">
9 <!ENTITY plasma5-md5sum "See Below">
10 <!ENTITY plasma5-size "167 MB">
11 <!ENTITY plasma5-buildsize "1.5 GB (349 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 <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 &lfs111_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 <!-- does not seem to be needed as of 5.22.4 <xref linkend="GConf"/>, -->
80 <xref linkend="gtk2"/>,
81 <xref linkend="gtk3"/>,
82 <xref linkend="kf5-frameworks"/>,
83 <xref linkend="libpwquality"/>,
84 <xref linkend="libqalculate"/>,
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="libpcap"/>,
104 <xref linkend="linux-pam"/>,
105 <xref linkend="lm_sensors"/>,
106 <xref linkend="oxygen-icons5"/>, and
107 <xref linkend="pciutils"/>
108 </para>
109
110 <bridgehead renderas="sect4">Recommended (runtime)</bridgehead>
111 <para role="recommended">
112 <xref role="runtime" linkend="accountsservice"/> and
113 <xref role="runtime" linkend="smartmontools"/>
114 </para>
115
116 <bridgehead renderas="sect4">Optional</bridgehead>
117 <para role="optional">
118 <xref linkend="glu"/>,
119 <xref linkend='ibus'/>,
120 <xref linkend='qtwebengine'/>,
121 <xref linkend="xorg-synaptics-driver"/>,
122 <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
123 <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
124 <ulink url="https://gpsd.gitlab.io/gpsd/">libgps</ulink>,
125 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
126 <ulink url="https://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
127 <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
128 <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
129 <ulink url="http://qalculate.github.io/">Qalculate</ulink>,
130 <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
131 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
132 <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
133 </para>
134
135 <note>
136 <para>
137 Only two plasma packages optionally use <xref linkend="qtwebengine"/>:
138 libksysguard and kdeplasma-addons. If QtWebEngine is installed later,
139 only those two packages have to be rebuilt. This allows to provide
140 a more complete display in the system monitor application.
141 </para>
142 </note>
143
144 <para condition="html" role="usernotes">User Notes:
145 <ulink url="&blfs-wiki;/kf5"/></para>
146
147 <sect2>
148 <title>Downloading KDE Plasma5</title>
149
150 <para>
151 The easiest way to get the KDE Plasma5 packages is to use a single
152 <command>wget</command> to fetch them all at once:
153 </para>
154
155<screen><userinput>url=https://download.kde.org/stable/plasma/&plasma5-version;/
156wget -r -nH -nd -A '*.xz' -np $url</userinput>
157<literal>
158The options used here are:
159 -r recurse through child directories
160 -nH disable generation of host-prefixed directories
161 -nd do not create a hierarchy of directories
162 -A '*.xz' just get the *.xz files
163 -np don't get parent directories</literal></screen>
164
165 </sect2>
166
167 <sect2>
168 <title>Setting Package Order</title>
169
170 <para>
171 The order of building files is important due to internal dependencies.
172 Create the list of files in the proper order as follows:
173 </para>
174
175<screen><userinput>cat &gt; plasma-&plasma5-version;.md5 &lt;&lt; "EOF"
176<literal>f239aaffb15592e8d35f250763de0928 kdecoration-5.24.5.tar.xz
17797ef068eddbe1d00c920192d1500dd93 libkscreen-5.24.5.tar.xz
1786d43b014fcf7d220653c82c9187ad238 libksysguard-5.24.5.tar.xz
179558c03416d5e97946857232ff4a205fe breeze-5.24.5.tar.xz
1801f728695039f0354474e0d77d94ec609 breeze-gtk-5.24.5.tar.xz
18191adcae1cd632ca63d309bb2f55afbc6 layer-shell-qt-5.24.5.tar.xz
182fd288ff836cc804e3f87dd2f5bf73350 kscreenlocker-5.24.5.tar.xz
1834610a92cb8b16ca1dedfd343b9f2550c oxygen-5.24.5.tar.xz
1844dd8450c600a4f0ba418d937e5b7aee7 kinfocenter-5.24.5.tar.xz
185598ae49b82277a94c5b35ac2b22f2cee kwayland-server-5.24.5.tar.xz
186a92ef62e3780435009e1d67623727d9e kwin-5.24.5.tar.xz
1871756314f3b95077a4a177d6e150c0c74 plasma-workspace-5.24.5.tar.xz
188681b486cc87c2cddd24a6a6051907dd4 plasma-disks-5.24.5.tar.xz
1896e8da61b41691b811f0029d0692af2b8 bluedevil-5.24.5.tar.xz
190f3eed29817d18a008012b70d64935894 kde-gtk-config-5.24.5.tar.xz
1914f09f37ac7ebce792e2a12d582677370 khotkeys-5.24.5.tar.xz
192ab0af707f54eb2c3272123613fff0546 kmenuedit-5.24.5.tar.xz
1938480ee90af0592d04b8d13747c9dc984 kscreen-5.24.5.tar.xz
1940ee9d2bcc73d974fb06d0ac4a0e96e11 kwallet-pam-5.24.5.tar.xz
195aae5d820d1ecd19301a23cb672c9a45a kwayland-integration-5.24.5.tar.xz
196589eb5c7d72ca98478da6f1ff3575cd7 kwrited-5.24.5.tar.xz
19702bb77b13e49ad6e5b6defb3c672868a milou-5.24.5.tar.xz
198fad6a3d603afffd3ef8312c58aa810a1 plasma-nm-5.24.5.tar.xz
1995c824cba591a84e2a04d8864f42e74d9 plasma-pa-5.24.5.tar.xz
200e2bc71e7ee87a399f28c7c31b74eab9d plasma-workspace-wallpapers-5.24.5.tar.xz
20161be40b45e827a149d964a11275d75b6 polkit-kde-agent-1-5.24.5.tar.xz
202ac1e83397316954fb587c86d00f04591 powerdevil-5.24.5.tar.xz
203c8209bc8147b8e556b59270af9b90666 plasma-desktop-5.24.5.tar.xz
2041e64236fd3f83c2244b7f43786e5973e kdeplasma-addons-5.24.5.tar.xz
205e9544512d566ec8c862d415c688cad5a kgamma5-5.24.5.tar.xz
206d3e087db5fdc3e5a98efbfbc4a874aa4 ksshaskpass-5.24.5.tar.xz
207#54d583f14b4b40df4c8e322c143adbdd plasma-sdk-5.24.5.tar.xz
208c8c3287e326972154da67308375fd0e1 sddm-kcm-5.24.5.tar.xz
2092fd1053fbd3ca2c6a64be171af7f665a discover-5.24.5.tar.xz
210#c4d0743364fc32708a7318f470beeeb9 breeze-grub-5.24.5.tar.xz
211#ca6fada97e8026f78612ca19aec3482b breeze-plymouth-5.24.5.tar.xz
2123ccd98acb7b5ba78c6c474cb6904e5e6 kactivitymanagerd-5.24.5.tar.xz
213e4707182dc0508c4fbbdf495067b7e80 plasma-integration-5.24.5.tar.xz
214448e85a197a6ae9c49fa8d9a24a8abea plasma-tests-5.24.5.tar.xz
215#951d95f902aca5152a419afe920c628a plymouth-kcm-5.24.5.tar.xz
216b25ed347b50f472d2bba7b5b4e2e75a7 xdg-desktop-portal-kde-5.24.5.tar.xz
217ec09f5df5604ea250afd4938b11cde47 drkonqi-5.24.5.tar.xz
2180b761d3db81fd14e94e27b022209c62a plasma-vault-5.24.5.tar.xz
219e123ec241c17a9c726b79f372d736ce3 plasma-browser-integration-5.24.5.tar.xz
220263e1a645e19b6daed9743540217da8f kde-cli-tools-5.24.5.tar.xz
22151314142bc96fd1864049f0727540e5f systemsettings-5.24.5.tar.xz
222e668b7a16a6702ff512bdfdfd9588b0e plasma-thunderbolt-5.24.5.tar.xz
223#335215fd402c5e886be13a7cdae746f5 plasma-nano-5.24.5.tar.xz
224#708ffe8a2d7240ac125c92c266128ce9 plasma-mobile-5.24.5.tar.xz
2258373a21b1d528acbd26e399d2e0d7fc9 plasma-firewall-5.24.5.tar.xz
2268df48f0a22ce12e3dfb569b74b4cb549 plasma-systemmonitor-5.24.5.tar.xz
2273213768a9b54727e062bea6480916193 qqc2-breeze-style-5.24.5.tar.xz
228f145d63e307ef51eae8f6854005efe44 ksystemstats-5.24.5.tar.xz</literal>
229EOF</userinput></screen>
230
231 <note>
232 <para>
233 The breeze-grub, breeze-plymouth, and plymouth-kcm packages above are
234 all for customized support of <ulink
235 url="https://www.freedesktop.org/wiki/Software/Plymouth/"
236 >Plymouth</ulink>
237 which is designed to be run within an initial ram disk during boot (see
238 <xref linkend="initramfs"/>). The plasma-sdk package is optional and
239 used for software development. The plasma-nano package is used for
240 embedded systems and plasma-phone-components provides phone
241 functionality for Plasma.
242 </para>
243 </note>
244
245 </sect2>
246
247 <sect2 role="installation">
248 <title>Installation of Plasma5</title>
249
250 &as_root;
251
252 <para>
253 First, start a subshell that will exit on error:
254 </para>
255
256<screen><userinput>bash -e</userinput></screen>
257
258 <para>
259 Install all of the packages by running the following
260 commands:
261 </para>
262
263<screen><userinput>while read -r line; do
264
265 # Get the file name, ignoring comments and blank lines
266 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
267 file=$(echo $line | cut -d" " -f2)
268
269 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
270 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
271
272 tar -xf $file
273 pushd $packagedir
274<!--
275 # Fix some build issues when generating some configuration files
276 case $name in
277 plasma-workspace)
278 sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
279 ;;
280
281 khotkeys)
282 sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
283 ;;
284
285 plasma-desktop)
286 sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
287 ;;
288 esac
289-->
290 mkdir build
291 cd build
292
293 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
294 -DCMAKE_BUILD_TYPE=Release \
295 -DBUILD_TESTING=OFF \
296 -Wno-dev .. &amp;&amp;
297
298 make
299 as_root make install
300 popd
301
302<!-- some packages end up with files owned by root in $packagedir,
303 so use as_root for removing -->
304 as_root rm -rf $packagedir
305 as_root /sbin/ldconfig
306
307done &lt; plasma-&plasma5-version;.md5
308
309exit</userinput></screen>
310
311 <para>
312 If you did not set <envar>$KF5_PREFIX</envar> to
313 <filename>/usr</filename>, create symlinks to allow display managers to
314 find <application>Plasma</application>:
315 </para>
316
317<screen><userinput>as_root install -dvm 755 /usr/share/xsessions &amp;&amp;
318cd /usr/share/xsessions/ &amp;&amp;
319[ -e plasma.desktop ] ||
320as_root ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop &amp;&amp;
321as_root install -dvm 755 /usr/share/wayland-sessions &amp;&amp;
322cd /usr/share/wayland-sessions/ &amp;&amp;
323[ -e plasmawayland.desktop ] ||
324as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop<!--
325cd $KF5_PREFIX/share/plasma/plasmoids
326
327for j in $(find -name \*.js); do
328 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
329done--></userinput></screen>
330
331 <para revision="sysv">
332 Useless systemd units have been installed in
333 <filename class="directory">$KF5_PREFIX/lib</filename>. Remove
334 them now (as <systemitem class="username">root</systemitem>):
335 </para>
336
337<screen role="root"
338 revision="sysv"><userinput>rm -rf $KF5_PREFIX/lib/systemd</userinput></screen>
339
340 </sect2>
341<!--
342 <sect2 role="commands">
343 <title>Command Explanations</title>
344
345 <para>
346 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
347 Create symbolic links so qml files can find needed javascript modules.
348 </para>
349
350 </sect2>
351-->
352 <sect2 role="configuration">
353 <title>Configuring Plasma</title>
354
355 <sect3>
356 <title>Linux PAM Configuration</title>
357
358 <para>
359 If you built Plasma with the recommended <application>Linux
360 PAM</application> support, create necessary configuration files by
361 running the following commands as the <systemitem
362 class="username">root</systemitem> user:
363 </para>
364
365<screen role="root"><userinput>cat &gt; /etc/pam.d/kde &lt;&lt; "EOF"
366<literal># Begin /etc/pam.d/kde
367
368auth requisite pam_nologin.so
369auth required pam_env.so
370
371auth required pam_succeed_if.so uid &gt;= 1000 quiet
372auth include system-auth
373
374account include system-account
375password include system-password
376session include system-session
377
378# End /etc/pam.d/kde</literal>
379EOF
380
381cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
382<literal># Begin /etc/pam.d/kde-np
383
384auth requisite pam_nologin.so
385auth required pam_env.so
386
387auth required pam_succeed_if.so uid &gt;= 1000 quiet
388auth required pam_permit.so
389
390account include system-account
391password include system-password
392session include system-session
393
394# End /etc/pam.d/kde-np</literal>
395EOF
396
397cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
398<literal># Begin /etc/pam.d/kscreensaver
399
400auth include system-auth
401account include system-account
402
403# End /etc/pam.d/kscreensaver</literal>
404EOF</userinput></screen>
405 </sect3>
406 </sect2>
407
408 <sect2 role="starting">
409 <title>Starting Plasma5</title>
410
411 <para revision="sysv">
412 You can start <application>Plasma5</application> from runlevel 3, using
413 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
414 such as <xref linkend="lightdm"/>.
415 </para>
416
417 <para revision="systemd">
418 You can start <application>Plasma5</application> from a TTY, using
419 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
420 <xref linkend="sddm"/>-->.
421 </para>
422
423 <para>
424 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
425 run the following commands:
426 </para>
427
428<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
429<literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startplasma-x11</literal>
430EOF
431
432startx</userinput></screen>
433
434 <para>
435 The X session starts on the first unused virtual terminal, normally vt7.
436 You can switch to another vt<emphasis>n</emphasis> simultaneously
437 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
438 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
439 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
440 <command>startx</command> was executed will display many messages,
441 including X starting messages, applications automatically started with
442 the session, and eventually, some warning and error messages. You may
443 prefer to redirect those messages to a log file, which not only will keep
444 the initial vt uncluttered, but can also be used for debugging purposes. This
445 can be done starting X with:
446 </para>
447
448 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
449
450 <para>
451 When shutting down or rebooting, the shutdown messages appear on the vt
452 where X was running. If you wish to see those messages, simultaneously
453 press keys Alt-F7 (assuming that X was running on vt7).
454 </para>
455<!-- Now the entry is "plasma (X11)" for Xorg, so I guess this is
456 not needed anymore:
457 <para>
458 If you intend to start <application>Plasma</application> using a
459 display manager such as <xref linkend="lightdm"/>, there will be two entries
460 for <application>Plasma</application>, one for use with
461 <application>Xorg</application>, and another for
462 <application>Wayland</application>. Modify the
463 <application>Xorg</application> entry with the following command, as the
464 <systemitem class="username">root</systemitem> user, so that you can
465 differentiate between the two:</para>
466
467<screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
468-->
469
470 </sect2>
471
472 <sect2 role="content">
473 <title>Contents</title>
474
475 <segmentedlist>
476 <segtitle>Installed Programs</segtitle>
477 <segtitle>Installed Libraries</segtitle>
478 <segtitle>Installed Directories</segtitle>
479
480 <seglistitem>
481 <seg>
482 There are too many plasma programs (63 in /opt/kf5/bin) to list
483 separately here.
484 </seg>
485 <seg>
486 There are too many plasma libraries (40 in /opt/kf5/lib) to list
487 separately here.
488 </seg>
489 <seg>
490 There are too many plasma directories (over 1000 in /opt/kf5) to
491 list separately here.
492 </seg>
493 </seglistitem>
494 </segmentedlist>
495
496 </sect2>
497
498</sect1>
Note: See TracBrowser for help on using the repository browser.