source: kde/plasma5/plasma-all.xml@ 41b0fe1

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 41b0fe1 was 41b0fe1, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Do not require GConf for plasma

This requirement was added in September 2017 por plasma-pa. But as
of 5.22.4 (August 2021), it is not required anymore: plasma-pa uses
gsettings from gio (in glib2).

  • Property mode set to 100644
File size: 17.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 "140 MB">
11 <!ENTITY plasma5-buildsize "1.6 GB (355 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 &lfs110a_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="libxkbcommon"/>,
85 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
86 <xref linkend="NetworkManager"/>,
87 <xref linkend="pipewire"/>,
88 <xref linkend="pulseaudio"/>,
89 <xref linkend="qca"/>,
90 <xref linkend="sassc"/>,
91 <xref linkend="taglib"/>, and
92 <xref linkend="xcb-util-cursor"/>
93 </para>
94
95 <bridgehead renderas="sect4">Recommended</bridgehead>
96 <para role="recommended">
97 <xref linkend="fftw"/>,
98 <xref linkend="gsettings-desktop-schemas"/>,
99 <xref linkend="libdbusmenu-qt"/>,
100 <xref linkend="libcanberra"/>,
101 <xref linkend="libinput"/>,
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="smartmontools"/>
111 </para>
112
113 <bridgehead renderas="sect4">Optional</bridgehead>
114 <para role="optional">
115 <xref linkend="glu"/>,
116 <xref linkend='ibus'/>,
117 <xref linkend="xorg-synaptics-driver"/>,
118 <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
119 <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
120 <ulink url="https://gpsd.gitlab.io/gpsd/">libgps</ulink>,
121 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
122 <ulink url="https://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
123 <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
124 <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
125 <ulink url="http://qalculate.github.io/">Qalculate</ulink>,
126 <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
127 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
128 <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
129 </para>
130
131 <para condition="html" role="usernotes">User Notes:
132 <ulink url="&blfs-wiki;/kf5"/></para>
133
134 <sect2>
135 <title>Downloading KDE Plasma5</title>
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>
141
142<screen><userinput>url=https://download.kde.org/stable/plasma/&plasma5-version;/
143wget -r -nH -nd -A '*.xz' -np $url</userinput>
144<literal>
145The options used here are:
146 -r recurse through child directories
147 -nH disable generation of host-prefixed directories
148 -nd do not create a hierarchy of directories
149 -A '*.xz' just get the *.xz files
150 -np don't get parent directories</literal></screen>
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
162<screen><userinput>cat &gt; plasma-&plasma5-version;.md5 &lt;&lt; "EOF"
163<literal>7fab69fa5fc3211b35e3d03f1172831a kdecoration-5.22.4.tar.xz
164a587fecf0473c225f39a7f8a7c611d3b libkscreen-5.22.4.tar.xz
165115f8e14d6ef58715183eb8036c431c1 libksysguard-5.22.4.tar.xz
166516a58571f6daeb60a2509057e67712b breeze-5.22.4.tar.xz
1673b06f3768fc345893625ef44d7e72a98 breeze-gtk-5.22.4.tar.xz
168049dabd694abed120b4f84d37f05de8c layer-shell-qt-5.22.4.tar.xz
16917af84caeb942de9a8e3d819f20645b0 kscreenlocker-5.22.4.tar.xz
170ffe09b47f6cc20d13ec311edeb13a9b3 oxygen-5.22.4.tar.xz
171916bfa4ce6b40ca8ef80b75018d63ab1 kinfocenter-5.22.4.tar.xz
172365f7cd632d41447561ec1bdf7497bba kwayland-server-5.22.4.tar.xz
17309cf360780185b33fca9561684a0f41f kwin-5.22.4.tar.xz
1745cb1ab2a9d3ce0c05eba07ef4c8ac478 plasma-workspace-5.22.4.tar.xz
17575dd5e0fed93781f0ae031a091dcce4b plasma-disks-5.22.4.tar.xz
1763d7abfe0952b356cc12cbd75be14f5e0 bluedevil-5.22.4.tar.xz
1772515439a0daaf325b0fcf9ce1a537660 kde-gtk-config-5.22.4.tar.xz
1788f2f4b902c98d7890dc1ec3756c27871 khotkeys-5.22.4.tar.xz
179aa03bf8d1c799a4410b567b44b47f6cd kmenuedit-5.22.4.tar.xz
1806fab0d760e9e6a33255441aab3874b2f kscreen-5.22.4.tar.xz
1813dae9ce525c52ac3bacaff464dc4264c kwallet-pam-5.22.4.tar.xz
182fa9772ef7737037992aea52739aea95a kwayland-integration-5.22.4.tar.xz
18351502b6a48f2b7790364881a578cdd1b kwrited-5.22.4.tar.xz
1846d85652d5fa13953370bc4f37247e3b4 milou-5.22.4.tar.xz
18561c7fc4c00637715e8d0c4491298b5b7 plasma-nm-5.22.4.tar.xz
18631272515681adc5d0ca987a9dc182de5 plasma-pa-5.22.4.tar.xz
18795aefdbfd0a3cd6b871e50968ccf43d9 plasma-workspace-wallpapers-5.22.4.tar.xz
1889a36fb70a6d1f1f637d75a75e77eb9ba polkit-kde-agent-1-5.22.4.tar.xz
189f7860ee18c994a8b87f39965b53f4f1f powerdevil-5.22.4.tar.xz
190ba7687bdea331a62127f7cc69029c194 plasma-desktop-5.22.4.tar.xz
1919c393f6da042841ed8cf41f9ad126b5c kdeplasma-addons-5.22.4.tar.xz
192bf508d7b503f1923fdb5fbd22f957981 kgamma5-5.22.4.tar.xz
193239d00ede4c0e941dc6407f8510f1678 ksshaskpass-5.22.4.tar.xz
194#ba59a194b4812db25022c189e129151f plasma-sdk-5.22.4.tar.xz
1953ecfe0501ce2ec0f8c8bda3a01c78be7 sddm-kcm-5.22.4.tar.xz
196a81e62bd36f3db28712274da80ed52a4 discover-5.22.4.tar.xz
197#9abba589089c1088e1836cabe9e593f6 breeze-grub-5.22.4.tar.xz
198#d038d1db0f1ed5e80b9d22a537dd1872 breeze-plymouth-5.22.4.tar.xz
1997aef306ec8c2131f0fa22d2b558f73fb kactivitymanagerd-5.22.4.tar.xz
2008c30da2b1dbcfbfaa715c050339b0e0a plasma-integration-5.22.4.tar.xz
201006171ce3edae4b67d27b1577cdc84a1 plasma-tests-5.22.4.tar.xz
202#442fd33f46a982eeeb925fd6f7d919b1 plymouth-kcm-5.22.4.tar.xz
203900994c0628b8b3767c83db0b4f16e0c xdg-desktop-portal-kde-5.22.4.tar.xz
20461ebe5891cf9adcd62d32c5069573ff0 drkonqi-5.22.4.tar.xz
205d464d91d37cf12da1721abc18ec94140 plasma-vault-5.22.4.tar.xz
2068c9a2286634cb89fb04d0278c6af8f8c plasma-browser-integration-5.22.4.tar.xz
207257e25f2388014932ecf786dd9e49bd5 kde-cli-tools-5.22.4.tar.xz
2089314599d78ed6683018ff5a7b69d2a08 systemsettings-5.22.4.tar.xz
2093ea20e78932f2a487d932acd1eff10f7 plasma-thunderbolt-5.22.4.tar.xz
210#0ecfa8ed1962f4f842967ed7b66d14f8 plasma-nano-5.22.4.tar.xz
211#157a441ad0519936dcb75856ae83010e plasma-phone-components-5.22.4.tar.xz
21271b0da480c6b91b6445b6bdbe452bdae plasma-firewall-5.22.4.tar.xz
213026a4d3cd063ba86e77c9ffa711aa769 plasma-systemmonitor-5.22.4.tar.xz
2140d72d2e9f5d6a3975068e1a472ce9982 qqc2-breeze-style-5.22.4.tar.xz
215171c556167b17fd2b16783015c3f8ae6 ksystemstats-5.22.4.tar.xz</literal>
216EOF</userinput></screen>
217
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>
231
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)
255
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
261<!--
262 # Fix some build issues when generating some configuration files
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
276-->
277 mkdir build
278 cd build
279
280 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
281 -DCMAKE_BUILD_TYPE=Release \
282 -DBUILD_TESTING=OFF \
283 -Wno-dev .. &amp;&amp;
284
285 make
286 as_root make install
287 popd
288
289<!-- some packages end up with files owned by root in $packagedir,
290 so use as_root for removing -->
291 as_root rm -rf $packagedir
292 as_root /sbin/ldconfig
293
294done &lt; plasma-&plasma5-version;.md5
295
296exit</userinput></screen>
297
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;
310[ -e plasmawayland.desktop ] ||
311as_root ln -sfv $KF5_PREFIX/share/wayland-sessions/plasmawayland.desktop<!--
312cd $KF5_PREFIX/share/plasma/plasmoids
313
314for j in $(find -name \*.js); do
315 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
316done--></userinput></screen>
317
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
327 </sect2>
328<!--
329 <sect2 role="commands">
330 <title>Command Explanations</title>
331
332 <para>
333 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
334 Create symbolic links so qml files can find needed javascript modules.
335 </para>
336
337 </sect2>
338-->
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
352<screen role="root"><userinput>cat &gt; /etc/pam.d/kde &lt;&lt; "EOF"
353<literal># Begin /etc/pam.d/kde
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
365# End /etc/pam.d/kde</literal>
366EOF
367
368cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
369<literal># Begin /etc/pam.d/kde-np
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
381# End /etc/pam.d/kde-np</literal>
382EOF
383
384cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
385<literal># Begin /etc/pam.d/kscreensaver
386
387auth include system-auth
388account include system-account
389
390# End /etc/pam.d/kscreensaver</literal>
391EOF</userinput></screen>
392 </sect3>
393 </sect2>
394
395 <sect2 role="starting">
396 <title>Starting Plasma5</title>
397
398 <para revision="sysv">
399 You can start <application>Plasma5</application> from runlevel 3, using
400 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
401 such as <xref linkend="lightdm"/>.
402 </para>
403
404 <para revision="systemd">
405 You can start <application>Plasma5</application> from a TTY, using
406 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
407 <xref linkend="sddm"/>-->.
408 </para>
409
410 <para>
411 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
412 run the following commands:
413 </para>
414
415<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
416<literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startplasma-x11</literal>
417EOF
418
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
435 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
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>
442<!-- Now the entry is "plasma (X11)" for Xorg, so I guess this is
443 not needed anymore:
444 <para>
445 If you intend to start <application>Plasma</application> using a
446 display manager such as <xref linkend="lightdm"/>, there will be two entries
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
454<screen role="root"><userinput>sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
455-->
456
457 </sect2>
458
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>
469 There are too many plasma programs (63 in /opt/kf5/bin) to list
470 separately here.
471 </seg>
472 <seg>
473 There are too many plasma libraries (40 in /opt/kf5/lib) to list
474 separately here.
475 </seg>
476 <seg>
477 There are too many plasma directories (over 1000 in /opt/kf5) to
478 list separately here.
479 </seg>
480 </seglistitem>
481 </segmentedlist>
482
483 </sect2>
484
485</sect1>
Note: See TracBrowser for help on using the repository browser.