source: kde/plasma5/plasma-all.xml@ 3f6a6dc

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

Update to plasma-5.27.5.

  • Property mode set to 100644
File size: 18.1 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 "242 MB">
11 <!ENTITY plasma5-buildsize "1.7 GB (419 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 &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>51e9302eb0654fae37d3962626ff4fbb kdecoration-5.27.5.tar.xz
17874bde56139ac985dcbdc2367a70b9bca libkscreen-5.27.5.tar.xz
179b7247c962c5d25adab4319b61658a084 libksysguard-5.27.5.tar.xz
18082968d40f62140cee86aea36a906bd83 breeze-5.27.5.tar.xz
181aeaa28b4191c882cc18fc4e411e8a2e4 breeze-gtk-5.27.5.tar.xz
182af0607ef8312a85428229118b62c88fe layer-shell-qt-5.27.5.tar.xz
1834694667b6f766583b4c82a080a927604 kscreenlocker-5.27.5.tar.xz
18406d8187c1365ea93a6b6c944e357e6c0 oxygen-5.27.5.tar.xz
1852dbc2bb816a2e20d09f969ad3a939845 kinfocenter-5.27.5.tar.xz
1869dcdcf269faee1e5370840f6e8b7eb7f kwin-5.27.5.tar.xz
1876d8eebad15cca79e694360ffddb06ac0 plasma-workspace-5.27.5.tar.xz
188c35e7d44a3d183c870a5a867ea87703f plasma-disks-5.27.5.tar.xz
189ff679b3b315c98baeae249a09c060a86 bluedevil-5.27.5.tar.xz
190400c30c063f2c4c6e1b1f876c25e3772 kde-gtk-config-5.27.5.tar.xz
191bde2e79070e499d26586a480e9ee36a5 khotkeys-5.27.5.tar.xz
1928b0a697df18d02c7eb33b6378cbd4d45 kmenuedit-5.27.5.tar.xz
193d2c3d8dcd306b426a3c6ff1eed6c1133 kscreen-5.27.5.tar.xz
194a73ad8b4251c5661f6f19eb1d74ba1bf kwallet-pam-5.27.5.tar.xz
195f409d7176b62b0c7c1fd6bae483f727c kwayland-integration-5.27.5.tar.xz
19641e446151576173a39ae8129d2eccac2 kwrited-5.27.5.tar.xz
197219d1e6af7aba7333af2b3016ae4c548 milou-5.27.5.tar.xz
198#03de7063c72469e7ee0f152db471f84a plasma-nm-5.27.5.tar.xz
199612efae7cd722f5f1e3896c3bf3fb161 plasma-pa-5.27.5.tar.xz
20050fa6015315c82976426760552d46d7f plasma-workspace-wallpapers-5.27.5.tar.xz
201058a604c6ea8e0ae64f5878a7e5944b8 polkit-kde-agent-1-5.27.5.tar.xz
202672a9b07e3725c26318edbab4b9e128e powerdevil-5.27.5.tar.xz
2036d10296d88754fae5c246aa73c3f9059 plasma-desktop-5.27.5.tar.xz
2045b69ac7f3f160640aee2fe2fb1c6d024 kgamma5-5.27.5.tar.xz
205b6c9189955d602662672298c50758b0e ksshaskpass-5.27.5.tar.xz
206#a46c94604166a9a2feb748ee8c82e86d plasma-sdk-5.27.5.tar.xz
2079fbd2a51814d3ca86371df990643f93a sddm-kcm-5.27.5.tar.xz
208#3f192d5ae11e72dedee2686ca1fd5133 discover-5.27.5.tar.xz
209#7fdd06cfba4d5e33cfc332be0235635e breeze-grub-5.27.5.tar.xz
210#f4d52827d548f61957fa81e232a9413a breeze-plymouth-5.27.5.tar.xz
211cad575c607ef907af5138fee59a0c5b7 kactivitymanagerd-5.27.5.tar.xz
2126b748c004da6d5b3528c08a93bf1a0f7 plasma-integration-5.27.5.tar.xz
213#59b6d2dd34435697fe18e564ed78a511 plymouth-kcm-5.27.5.tar.xz
214cda052cd8e5e93079b90ecd32878e8c2 xdg-desktop-portal-kde-5.27.5.tar.xz
215df38490abd84e1dab33bb0a71749ddef drkonqi-5.27.5.tar.xz
216e7480e7771f736742b9ac60cd9bc1cc5 plasma-vault-5.27.5.tar.xz
217c2f27e9822a4e7ccf973d75a0a3883f5 plasma-browser-integration-5.27.5.tar.xz
2180088a51de3787d0fe5f83ad6f4e6798a kde-cli-tools-5.27.5.tar.xz
219c598c2329e43a3bb6a2da6c555341272 systemsettings-5.27.5.tar.xz
220091b75af67a85285ec321f7fa4ebe25a plasma-thunderbolt-5.27.5.tar.xz
221#1b35ba803eb94218d6f91a6a285259ef plasma-nano-5.27.5.tar.xz
222#4d24bc44142da6aee054b5ba0ceda8de plasma-mobile-5.27.5.tar.xz
223909a2118673360130dca8b2b104c988b plasma-firewall-5.27.5.tar.xz
224aec129bb64448e92d8abcdee54e7c29a plasma-systemmonitor-5.27.5.tar.xz
2256bc2603e9b50728639a0274ed108ebf1 qqc2-breeze-style-5.27.5.tar.xz
226453d047ecb4b0de02babe74b435110a1 ksystemstats-5.27.5.tar.xz
22750d577a781cf009b6d56766cd9ce801e oxygen-sounds-5.27.5.tar.xz
228#98ad50d4bd635c28b33e498855ac5125 aura-browser-5.27.5.tar.xz
229ef10140df619daa2b82b22f77e07a4c9 kdeplasma-addons-5.27.5.tar.xz
2306ffe6e00493ade07b452ab9d30385d77 kpipewire-5.27.5.tar.xz
231a185c7f09b9b81683e85d884f9be1e1e plank-player-5.27.5.tar.xz
232d520bce789eae5a0d9ba9432de5d76ac plasma-bigscreen-5.27.5.tar.xz
233a1d5c114997f50bc6a6e1c40cc63009c plasma-remotecontrollers-5.27.5.tar.xz
234#f96194446cb04af657dc4abc1634d7af flatpak-kcm-5.27.5.tar.xz
235#47263a34137f46e168332de80c46a168 plasma-welcome-5.27.5.tar.xz</literal>
236EOF</userinput></screen>
237
238 <note>
239 <title>About Commented out Packages</title>
240 <para>
241 The breeze-grub, breeze-plymouth, and plymouth-kcm packages above are
242 all for customized support of <ulink
243 url="https://www.freedesktop.org/wiki/Software/Plymouth/"
244 >Plymouth</ulink>
245 which is designed to be run within an initial ram disk during boot (see
246 <xref linkend="initramfs"/>). The plasma-sdk package is optional and
247 used for software development. The plasma-nano package is used for
248 embedded systems and plasma-mobile provides phone
249 functionality for Plasma. The aura-browser package is
250 still under beta-development and requires
251 <xref linkend="qtwebengine"/>.
252 </para>
253 </note>
254
255 </sect2>
256
257 <sect2 role="installation">
258 <title>Installation of Plasma5</title>
259
260 &as_root;
261
262 <para>
263 First, start a subshell that will exit on error:
264 </para>
265
266<screen><userinput>bash -e</userinput></screen>
267
268 <para>
269 Install all of the packages by running the following
270 commands:
271 </para>
272
273<screen><userinput>while read -r line; do
274
275 # Get the file name, ignoring comments and blank lines
276 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
277 file=$(echo $line | cut -d" " -f2)
278
279 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
280 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
281
282 tar -xf $file
283 pushd $packagedir
284<!--
285 # Fix some build issues when generating some configuration files
286 case $name in
287 plasma-workspace)
288 sed -i '/set.HAVE_X11/a set(X11_FOUND 1)' CMakeLists.txt
289 ;;
290
291 khotkeys)
292 sed -i '/X11Extras/a set(X11_FOUND 1)' CMakeLists.txt
293 ;;
294
295 plasma-desktop)
296 sed -i '/X11.h)/i set(X11_FOUND 1)' CMakeLists.txt
297 ;;
298 esac
299-->
300 mkdir build
301 cd build
302
303 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
304 -DCMAKE_BUILD_TYPE=Release \
305 -DBUILD_TESTING=OFF \
306 -Wno-dev .. &amp;&amp;
307
308 make
309 as_root make install
310 popd
311
312<!-- some packages end up with files owned by root in $packagedir,
313 so use as_root for removing -->
314 as_root rm -rf $packagedir
315 as_root /sbin/ldconfig
316
317done &lt; plasma-&plasma5-version;.md5
318
319exit</userinput></screen>
320
321 <para>
322 If you did not set <envar>$KF5_PREFIX</envar> to
323 <filename>/usr</filename>, create symlinks to allow display managers to
324 find <application>Plasma</application>:
325 </para>
326
327<screen><userinput>as_root install -dvm 755 /usr/share/xsessions &amp;&amp;
328cd /usr/share/xsessions/ &amp;&amp;
329[ -e plasma.desktop ] ||
330as_root ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop &amp;&amp;
331as_root install -dvm 755 /usr/share/wayland-sessions &amp;&amp;
332cd /usr/share/wayland-sessions/ &amp;&amp;
333[ -e plasmawayland.desktop ] ||
334as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop<!--
335cd $KF5_PREFIX/share/plasma/plasmoids
336
337for j in $(find -name \*.js); do
338 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
339done--></userinput></screen>
340
341 <para revision="sysv">
342 Useless systemd units have been installed in
343 <filename class="directory">$KF5_PREFIX/lib</filename>. Remove
344 them now (as <systemitem class="username">root</systemitem>):
345 </para>
346
347<screen role="root"
348 revision="sysv"><userinput>rm -rf $KF5_PREFIX/lib/systemd</userinput></screen>
349
350 </sect2>
351<!--
352 <sect2 role="commands">
353 <title>Command Explanations</title>
354
355 <para>
356 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
357 Create symbolic links so qml files can find needed javascript modules.
358 </para>
359
360 </sect2>
361-->
362 <sect2 role="configuration">
363 <title>Configuring Plasma</title>
364
365 <sect3>
366 <title>Linux PAM Configuration</title>
367
368 <para>
369 If you built Plasma with the recommended <application>Linux
370 PAM</application> support, create necessary configuration files by
371 running the following commands as the <systemitem
372 class="username">root</systemitem> user:
373 </para>
374
375<screen role="root"><userinput>cat &gt; /etc/pam.d/kde &lt;&lt; "EOF"
376<literal># Begin /etc/pam.d/kde
377
378auth requisite pam_nologin.so
379auth required pam_env.so
380
381auth required pam_succeed_if.so uid &gt;= 1000 quiet
382auth include system-auth
383
384account include system-account
385password include system-password
386session include system-session
387
388# End /etc/pam.d/kde</literal>
389EOF
390
391cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
392<literal># Begin /etc/pam.d/kde-np
393
394auth requisite pam_nologin.so
395auth required pam_env.so
396
397auth required pam_succeed_if.so uid &gt;= 1000 quiet
398auth required pam_permit.so
399
400account include system-account
401password include system-password
402session include system-session
403
404# End /etc/pam.d/kde-np</literal>
405EOF
406
407cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
408<literal># Begin /etc/pam.d/kscreensaver
409
410auth include system-auth
411account include system-account
412
413# End /etc/pam.d/kscreensaver</literal>
414EOF</userinput></screen>
415 </sect3>
416 </sect2>
417
418 <sect2 role="starting">
419 <title>Starting Plasma5</title>
420
421 <para revision="sysv">
422 You can start <application>Plasma5</application> from runlevel 3, using
423 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
424 such as <xref linkend="lightdm"/>.
425 </para>
426
427 <para revision="systemd">
428 You can start <application>Plasma5</application> from a TTY, using
429 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
430 <xref linkend="sddm"/>-->.
431 </para>
432
433 <para>
434 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
435 run the following commands:
436 </para>
437
438<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
439<literal>dbus-launch --exit-with-x11 $KF5_PREFIX/bin/startplasma-x11</literal>
440EOF
441
442startx</userinput></screen>
443
444 <para>
445 The X session starts on the first unused virtual terminal, normally vt7.
446 You can switch to another vt<emphasis>n</emphasis> simultaneously
447 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
448 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
449 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
450 <command>startx</command> was executed will display many messages,
451 including X starting messages, applications automatically started with
452 the session, and eventually, some warning and error messages. You may
453 prefer to redirect those messages to a log file, which not only will keep
454 the initial vt uncluttered, but can also be used for debugging purposes. This
455 can be done starting X with:
456 </para>
457
458 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
459
460 <para>
461 When shutting down or rebooting, the shutdown messages appear on the vt
462 where X was running. If you wish to see those messages, simultaneously
463 press keys Alt-F7 (assuming that X was running on vt7).
464 </para>
465<!-- Now the entry is "plasma (X11)" for Xorg, so I guess this is
466 not needed anymore:
467 <para>
468 If you intend to start <application>Plasma</application> using a
469 display manager such as <xref linkend="lightdm"/>, there will be two entries
470 for <application>Plasma</application>, one for use with
471 <application>Xorg</application>, and another for
472 <application>Wayland</application>. Modify the
473 <application>Xorg</application> entry with the following command, as the
474 <systemitem class="username">root</systemitem> user, so that you can
475 differentiate between the two:</para>
476
477<screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
478-->
479
480 </sect2>
481
482 <sect2 role="content">
483 <title>Contents</title>
484
485 <segmentedlist>
486 <segtitle>Installed Programs</segtitle>
487 <segtitle>Installed Libraries</segtitle>
488 <segtitle>Installed Directories</segtitle>
489
490 <seglistitem>
491 <seg>
492 There are too many plasma programs (63 in /opt/kf5/bin) to list
493 separately here.
494 </seg>
495 <seg>
496 There are too many plasma libraries (40 in /opt/kf5/lib) to list
497 separately here.
498 </seg>
499 <seg>
500 There are too many plasma directories (over 1000 in /opt/kf5) to
501 list separately here.
502 </seg>
503 </seglistitem>
504 </segmentedlist>
505
506 </sect2>
507
508</sect1>
Note: See TracBrowser for help on using the repository browser.