source: kde/plasma5/plasma-all.xml@ 8aea10f

11.0 11.1 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8aea10f was 8aea10f, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to plasma-5.22.1

  • Property mode set to 100644
File size: 16.9 KB
RevLine 
[153a5795]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
[c6b192c]7 <!ENTITY plasma5-download-http "https://download.kde.org/stable/plasma/&plasma5-version;">
[153a5795]8 <!ENTITY plasma5-download-ftp " ">
9 <!ENTITY plasma5-md5sum "See Below">
[2e29bba]10 <!ENTITY plasma5-size "130 MB">
[8aea10f]11 <!ENTITY plasma5-buildsize "1.6 GB (355 MB installed)">
[b359b3e0]12 <!ENTITY plasma5-time "14 SBU (using parallelism=4)">
[153a5795]13]>
14
15<sect1 id="plasma5-build" xreflabel="Plasma-&plasma5-version;">
16 <?dbhtml filename="plasma-all.html"?>
17
18 <sect1info>
[fda29e4]19 <date>$Date$</date>
[153a5795]20 </sect1info>
21
22 <title>Building Plasma 5</title>
23
24 <indexterm zone="plasma5-build">
[2630345]25 <primary sortas="a-kde-plasma">KDE Plasma 5</primary>
[153a5795]26 </indexterm>
27
[1c8c15c]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>
[366fbbb8]32
[2e29bba]33 &lfs101_checked;
[153a5795]34
[1c8c15c]35 <para>
36 The instructions below build all of the Plasma 5 packages in one
37 step by using a bash script.
38 </para>
[153a5795]39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[1c8c15c]43 <para>
44 Download (HTTP): <ulink url="&plasma5-download-http;"/>
45 </para>
[153a5795]46 </listitem>
47 <listitem>
[1c8c15c]48 <para>
49 Download (FTP): <ulink url="&plasma5-download-ftp;"/>
50 </para>
[153a5795]51 </listitem>
52 <listitem>
[1c8c15c]53 <para>
54 Download MD5 sum: &plasma5-md5sum;
55 </para>
[153a5795]56 </listitem>
57 <listitem>
[1c8c15c]58 <para>
59 Download size: &plasma5-size;
60 </para>
[153a5795]61 </listitem>
62 <listitem>
[1c8c15c]63 <para>
64 Estimated disk space required: &plasma5-buildsize;
65 </para>
[153a5795]66 </listitem>
67 <listitem>
[1c8c15c]68 <para>
69 Estimated build time: &plasma5-time;
70 </para>
[153a5795]71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
[89f706b2]78 <!--<xref linkend="fontforge"/>,-->
[96f2797]79 <xref linkend="GConf"/>,
[f3429309]80 <xref linkend="gtk2"/>,
81 <xref linkend="gtk3"/>,
[f97d5f6]82 <xref linkend="kf5-frameworks"/>,
[366fbbb8]83 <xref linkend="libpwquality"/>,
[1c8d0ff]84 <xref linkend="libxkbcommon"/>,
[366fbbb8]85 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
[f3429309]86 <xref linkend="NetworkManager"/>,
[1f21b9c]87 <xref linkend="pipewire"/>,
[f3429309]88 <xref linkend="pulseaudio"/>,
[b7a66395]89 <xref linkend="qca"/>,
[95965b6]90 <xref linkend="sassc"/>,
[f3429309]91 <xref linkend="taglib"/>, and
[1c8d0ff]92 <xref linkend="xcb-util-cursor"/>
[153a5795]93 </para>
94
95 <bridgehead renderas="sect4">Recommended</bridgehead>
96 <para role="recommended">
[72b8751]97 <xref linkend="fftw"/>,
98 <xref linkend="gsettings-desktop-schemas"/>,
[f3429309]99 <xref linkend="libdbusmenu-qt"/>,
100 <xref linkend="libcanberra"/>,
101 <xref linkend="libinput"/>,
[0779b94]102 <xref linkend="linux-pam"/>,
[f3429309]103 <xref linkend="lm_sensors"/>,
[88bb10f]104 <xref linkend="oxygen-icons5"/>, and
[0779b94]105 <xref linkend="pciutils"/>
[153a5795]106 </para>
107
[b359b3e0]108 <bridgehead renderas="sect4">Recommended (runtime)</bridgehead>
109 <para role="recommended">
110 <xref role="runtime" linkend="smartmontools"/>
111 </para>
112
[0779b94]113 <bridgehead renderas="sect4">Optional</bridgehead>
[153a5795]114 <para role="optional">
[0779b94]115 <xref linkend="glu"/>,
[7b1bc743]116 <xref linkend='ibus'/>,
[0779b94]117 <xref linkend="xorg-synaptics-driver"/>,
[ce228c2]118 <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
119 <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
[3d9b01d]120 <ulink url="https://gpsd.gitlab.io/gpsd/">libgps</ulink>,
[0779b94]121 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
[c6b192c]122 <ulink url="https://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
[0779b94]123 <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
[ce228c2]124 <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
[ea529d1]125 <ulink url="http://qalculate.github.io/">Qalculate</ulink>,
[ce228c2]126 <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
127 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
[4c3c7f43]128 <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
[153a5795]129 </para>
130
131 <para condition="html" role="usernotes">User Notes:
132 <ulink url="&blfs-wiki;/kf5"/></para>
133
134 <sect2>
[773b316]135 <title>Downloading KDE Plasma5</title>
[153a5795]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>
[f3429309]141
[c6b192c]142<screen><userinput>url=https://download.kde.org/stable/plasma/&plasma5-version;/
[a01d308]143wget -r -nH -nd -A '*.xz' -np $url</userinput>
[153a5795]144<literal>
[f3429309]145The options used here are:
[153a5795]146 -r recurse through child directories
147 -nH disable generation of host-prefixed directories
[a01d308]148 -nd do not create a hierarchy of directories
[153a5795]149 -A '*.xz' just get the *.xz files
[10a9447]150 -np don't get parent directories</literal></screen>
[153a5795]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
[ed4a7a2]162<screen><userinput>cat &gt; plasma-&plasma5-version;.md5 &lt;&lt; "EOF"
[8aea10f]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>
[153a5795]216EOF</userinput></screen>
217
[1c8c15c]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>
[ce228c2]231
[153a5795]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)
[f3429309]255
[153a5795]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
[b359b3e0]261<!--
[4e0a40f]262 # Fix some build issues when generating some configuration files
[cfd5cb3]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
[b359b3e0]276-->
[69a9de5]277 mkdir build
278 cd build
[153a5795]279
[1c8d0ff]280 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
281 -DCMAKE_BUILD_TYPE=Release \
282 -DBUILD_TESTING=OFF \
[69a9de5]283 -Wno-dev .. &amp;&amp;
[153a5795]284
[69a9de5]285 make
286 as_root make install
287 popd
[153a5795]288
[b44e7de2]289<!-- some packages end up with files owned by root in $packagedir,
[8f445fdc]290 so use as_root for removing -->
291 as_root rm -rf $packagedir
[69a9de5]292 as_root /sbin/ldconfig
293
[ed4a7a2]294done &lt; plasma-&plasma5-version;.md5
[153a5795]295
[527f3db]296exit</userinput></screen>
[1c8d0ff]297
[527f3db]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;
[4969ec3c]310[ -e plasmawayland.desktop ] ||
311as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop<!--
[1c8d0ff]312cd $KF5_PREFIX/share/plasma/plasmoids
[153a5795]313
[1c8d0ff]314for j in $(find -name \*.js); do
[3d656d7]315 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
[5ac58b54]316done--></userinput></screen>
[153a5795]317
[2e29bba]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
[153a5795]327 </sect2>
[5ac58b54]328<!--
[153a5795]329 <sect2 role="commands">
330 <title>Command Explanations</title>
331
332 <para>
[1c8d0ff]333 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
334 Create symbolic links so qml files can find needed javascript modules.
[153a5795]335 </para>
336
337 </sect2>
[5ac58b54]338-->
[3b0f105]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
[941658d]352<screen role="root"><userinput>cat &gt; /etc/pam.d/kde &lt;&lt; "EOF"
[51dfb3e]353<literal># Begin /etc/pam.d/kde
[3b0f105]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
[51dfb3e]365# End /etc/pam.d/kde</literal>
[3b0f105]366EOF
367
368cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
[51dfb3e]369<literal># Begin /etc/pam.d/kde-np
[3b0f105]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
[51dfb3e]381# End /etc/pam.d/kde-np</literal>
[3b0f105]382EOF
383
384cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
[51dfb3e]385<literal># Begin /etc/pam.d/kscreensaver
[3b0f105]386
387auth include system-auth
388account include system-account
389
[51dfb3e]390# End /etc/pam.d/kscreensaver</literal>
[3b0f105]391EOF</userinput></screen>
392 </sect3>
393 </sect2>
394
[1c8d0ff]395 <sect2 role="starting">
396 <title>Starting Plasma5</title>
397
[3f460da0]398 <para revision="sysv">
[1c8d0ff]399 You can start <application>Plasma5</application> from runlevel 3, using
400 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
[c225bfa]401 such as <xref linkend="lightdm"/>.
[1c8d0ff]402 </para>
403
[3f460da0]404 <para revision="systemd">
405 You can start <application>Plasma5</application> from a TTY, using
[fd42347a]406 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
407 <xref linkend="sddm"/>-->.
[3f460da0]408 </para>
409
[1c8d0ff]410 <para>
[460cec4b]411 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
[1c8d0ff]412 run the following commands:
413 </para>
414
[51dfb3e]415<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
[718be191]416<literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startplasma-x11</literal>
[3f460da0]417EOF
418
[1c8d0ff]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
[3011abe]435 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
[1c8d0ff]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>
[7a763b49]442<!-- Now the entry is "plasma (X11)" for Xorg, so I guess this is
443 not needed anymore:
[1c8c15c]444 <para>
445 If you intend to start <application>Plasma</application> using a
[c225bfa]446 display manager such as <xref linkend="lightdm"/>, there will be two entries
[f29eb8a]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
[33c8b427]454<screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
[7a763b49]455-->
[f29eb8a]456
[1c8d0ff]457 </sect2>
458
[153a5795]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>
[2e29bba]469 There are too many plasma programs (63 in /opt/kf5/bin) to list
[83ef2a4]470 separately here.
[153a5795]471 </seg>
472 <seg>
[b359b3e0]473 There are too many plasma libraries (40 in /opt/kf5/lib) to list
[83ef2a4]474 separately here.
[153a5795]475 </seg>
476 <seg>
[83ef2a4]477 There are too many plasma directories (over 1000 in /opt/kf5) to
478 list separately here.
[153a5795]479 </seg>
480 </seglistitem>
481 </segmentedlist>
482
483 </sect2>
484
485</sect1>
Note: See TracBrowser for help on using the repository browser.