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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.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 e8af989 was 5ac58b54, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update to plasma5-5.14.4.
Update to kf5-apps-18.12.0 and kwave-18.12.0.
Update to kf5-5.53.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20819 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 15.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 "http://download.kde.org/stable/plasma/&plasma5-version;">
8 <!ENTITY plasma5-download-ftp " ">
9 <!ENTITY plasma5-md5sum "See Below">
10 <!ENTITY plasma5-size "124 MB">
11 <!ENTITY plasma5-buildsize "958 MB (336 MB installed)">
12 <!ENTITY plasma5-time "15 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 <othername>$LastChangedBy: bdubbs $</othername>
20 <date>$Date: 2015-09-24 16:44:04 -0500 (Thu, 24 Sep 2015) $</date>
21 </sect1info>
22
23 <title>Building Plasma 5</title>
24
25 <indexterm zone="plasma5-build">
26 <primary sortas="a-kde-plasma">KDE Plasma 5</primary>
27 </indexterm>
28
29 <para>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).</para>
31
32 &lfs83_checked;
33
34 <para>The instructions below build all of the Plasma 5 packages in one
35 step by using a bash script.</para>
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&plasma5-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&plasma5-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &plasma5-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &plasma5-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &plasma5-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &plasma5-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
60
61 <bridgehead renderas="sect4">Required</bridgehead>
62 <para role="required">
63 <!--<xref linkend="fontforge"/>,-->
64 <xref linkend="GConf"/>,
65 <xref linkend="gtk2"/>,
66 <xref linkend="gtk3"/>,
67 <xref linkend="kf5-frameworks"/>,
68 <xref linkend="libpwquality"/>,
69 <xref linkend="libxkbcommon"/>,
70 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
71 <xref linkend="NetworkManager"/>,
72 <xref linkend="pulseaudio"/>,
73 <xref linkend="python2"/>,
74 <xref linkend="qca"/>,
75 <xref linkend="taglib"/>, and
76 <xref linkend="xcb-util-cursor"/>
77 </para>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
81 <xref linkend="libdbusmenu-qt"/>,
82 <xref linkend="libcanberra"/>,
83 <xref linkend="libinput"/>,
84 <xref linkend="linux-pam"/>,
85 <xref linkend="lm_sensors"/>,
86 <xref linkend="oxygen-icons5"/>, and
87 <xref linkend="pciutils"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="glu"/>,
93 <xref linkend='ibus'/>,
94 <xref linkend="xorg-synaptics-driver"/>,
95 <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
96 <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
97 <ulink url="http://gpsd.berlios.de">libgps</ulink>,
98 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
99 <ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
100 <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
101 <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
102 <ulink url="http://qalculate.sourceforge.net">Qalculate</ulink>,
103 <ulink url="https://launchpad.net/qapt">Qapt</ulink>,
104 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>, and
105 <ulink url="http://www.dest-unreach.org/socat/">socat</ulink> (for pam_kwallet)
106 </para>
107
108 <para condition="html" role="usernotes">User Notes:
109 <ulink url="&blfs-wiki;/kf5"/></para>
110
111 <sect2>
112 <title>Downloading KDE Plasma5</title>
113
114 <para>
115 The easiest way to get the KDE Plasma5 packages is to use a single
116 <command>wget</command> to fetch them all at once:
117 </para>
118
119<screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
120wget -r -nH -nd -A '*.xz' -np $url</userinput>
121<literal>
122The options used here are:
123 -r recurse through child directories
124 -nH disable generation of host-prefixed directories
125 -nd do not create a hierarchy of directories
126 -A '*.xz' just get the *.xz files
127 -np don't get parent directories</literal></screen>
128
129 </sect2>
130
131 <sect2>
132 <title>Setting Package Order</title>
133
134 <para>
135 The order of building files is important due to internal dependencies.
136 Create the list of files in the proper order as follows:
137 </para>
138
139<screen><userinput>cat &gt; plasma-&plasma5-version;.md5 &lt;&lt; "EOF"
140<literal>014d15755600481d8bd2125d82776510 kdecoration-5.14.4.tar.xz
1416cafec0732d42a11618b0f7843b9cdb7 libkscreen-5.14.4.tar.xz
1428b43076fe3d8845d7f890721a90b8210 libksysguard-5.14.4.tar.xz
1434bea8ee0b3b165235ebfc2c02be6dc1c breeze-5.14.4.tar.xz
144858a3f7cbec03e40fbd3ee6bcf24ea85 breeze-gtk-5.14.4.tar.xz
145f46412c02e11d53723c89a1f7505a3dd kscreenlocker-5.14.4.tar.xz
146a194273fcb39e57b694121d258188a7a oxygen-5.14.4.tar.xz
14734c5a84a8d6a135cb947b6ecd17803ee kinfocenter-5.14.4.tar.xz
148abc6602d3f0d986a07d8b00684599ca9 ksysguard-5.14.4.tar.xz
1493d9ce77dd5671b514d9943c5119fca61 kwin-5.14.4.tar.xz
150eaeaeaf57be7d45752ec92f0b5beda0b plasma-workspace-5.14.4.tar.xz
151fe29af65a55d434bfb5a1806f7ca61b0 bluedevil-5.14.4.tar.xz
152f2bf818be2ebeca91985e01278f6d93f kde-gtk-config-5.14.4.tar.xz
153c38e8d0902ba37f5308cb7f05047072b khotkeys-5.14.4.tar.xz
15468bb90533998367a5a207132b91b0ac3 kmenuedit-5.14.4.tar.xz
1552fd69bedd600e7bfa8e4cae6e2425fc9 kscreen-5.14.4.tar.xz
156d548ae1d4b1850cc65093128a411304a kwallet-pam-5.14.4.tar.xz
15716d278360004a80db9c5a6baa2f7781b kwayland-integration-5.14.4.tar.xz
1589f36e858f57d24098c2ddb5987bf200e kwrited-5.14.4.tar.xz
159ea0c7fe6cf49049b9a68b9d0094634b9 milou-5.14.4.tar.xz
1603e1200ad29cae12d7672902164449403 plasma-nm-5.14.4.tar.xz
161bf60a089095cfeca423a2e1dfc7fc627 plasma-pa-5.14.4.tar.xz
1625896ef78ebf9b4784ed1fb44c4af1d69 plasma-workspace-wallpapers-5.14.4.tar.xz
16325e9a3d1745d0c11d8568074229671a3 polkit-kde-agent-1-5.14.4.tar.xz
164fdb962c816db14a40c5e455c6f25523a powerdevil-5.14.4.tar.xz
165#2db6c86391fcb083a0ff079a14875821 plasma-desktop-5.14.4.tar.xz
166420adc0e141435398e116e60da50d7ff plasma-desktop-5.14.4.1.tar.xz
16716c0b5f4737a9fce99018d49858cb47d kdeplasma-addons-5.14.4.tar.xz
1683c3ba960cca9349126dcafcbf702eab1 kgamma5-5.14.4.tar.xz
169878b25b3c87b13030b303c7f667c450a ksshaskpass-5.14.4.tar.xz
170#305356781ac6d6fc4bd1708b4c6f756b plasma-sdk-5.14.4.tar.xz
1711a28a56b8b76b2c84c9d880f546274c4 sddm-kcm-5.14.4.tar.xz
172fbd60bfb9e66c72311e233817b94e809 user-manager-5.14.4.tar.xz
173e14211fc2b0d995d3cf142168056c144 discover-5.14.4.tar.xz
174#86462c52fb106e9ed753822c48456c94 breeze-grub-5.14.4.tar.xz
175#9a16fa97036b5de9fa0d68d6c2d6e822 breeze-plymouth-5.14.4.tar.xz
176d2ef43f119c8afa91745092f649205ff kactivitymanagerd-5.14.4.tar.xz
17714289404eeff5fd571aefbe2a025dc86 plasma-integration-5.14.4.tar.xz
17878aaa3b82fe3010be8ff90a44bdd7e8a plasma-tests-5.14.4.tar.xz
17913dd25e88e6fffbff6dad7ae2e49110d plymouth-kcm-5.14.4.tar.xz
1809df4568014b9f3bc91577db4205d40d4 xdg-desktop-portal-kde-5.14.4.tar.xz
181633cc3750606ad94f2c8f49a0fd3a656 drkonqi-5.14.4.tar.xz
182cd1c28ad7d047861634fa091cec5cd29 plasma-vault-5.14.4.tar.xz
1837a1b10a5dc4b28600a9f3f13de800bd5 plasma-browser-integration-5.14.4.tar.xz
184d008931a914d5748da62f6667915c7d6 kde-cli-tools-5.14.4.tar.xz
1851c119822295205f625c7fcc6ea7b01bb systemsettings-5.14.4.tar.xz</literal>
186EOF</userinput></screen>
187
188 <note><para>The breeze-grub, breeze-plymouth, and plymouth-kcm packages
189 above are all for customized support of <ulink
190 url="https://www.freedesktop.org/wiki/Software/Plymouth/">Plymouth</ulink>
191 which is designed to be run within an initial ram disk during boot (see
192 <xref linkend="initramfs"/>). The plasma-sdk package is optional and used
193 for software development.</para></note>
194
195 </sect2>
196
197 <sect2 role="installation">
198 <title>Installation of Plasma5</title>
199
200 &as_root;
201
202 <para>
203 First, start a subshell that will exit on error:
204 </para>
205
206<screen><userinput>bash -e</userinput></screen>
207
208 <para>
209 Install all of the packages by running the following
210 commands:
211 </para>
212
213<screen><userinput>while read -r line; do
214
215 # Get the file name, ignoring comments and blank lines
216 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
217 file=$(echo $line | cut -d" " -f2)
218
219 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
220 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
221
222 tar -xf $file
223 pushd $packagedir
224
225 mkdir build
226 cd build
227
228 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
229 -DCMAKE_BUILD_TYPE=Release \
230 -DBUILD_TESTING=OFF \
231 -Wno-dev .. &amp;&amp;
232
233 make
234 as_root make install
235 popd
236
237<!-- some packages end up with files owned by root in $packagedir,
238 so use as_root for removing -->
239 as_root rm -rf $packagedir
240 as_root /sbin/ldconfig
241
242done &lt; plasma-&plasma5-version;.md5
243
244exit
245
246cd /usr/share/xsessions/
247[ -e plasma.desktop ] || as_root ln -sfv $KF5_PREFIX/share/xsessions/plasma.desktop
248<!--
249cd $KF5_PREFIX/share/plasma/plasmoids
250
251for j in $(find -name \*.js); do
252 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
253done--></userinput></screen>
254
255 </sect2>
256<!--
257 <sect2 role="commands">
258 <title>Command Explanations</title>
259
260 <para>
261 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
262 Create symbolic links so qml files can find needed javascript modules.
263 </para>
264
265 </sect2>
266-->
267 <sect2 role="configuration">
268 <title>Configuring Plasma</title>
269
270 <sect3>
271 <title>Linux PAM Configuration</title>
272
273 <para>
274 If you built Plasma with the recommended <application>Linux
275 PAM</application> support, create necessary configuration files by
276 running the following commands as the <systemitem
277 class="username">root</systemitem> user:
278 </para>
279
280<screen role="root"><userinput>cat &gt;&gt; /etc/pam.d/kde &lt;&lt; "EOF"
281# Begin /etc/pam.d/kde
282
283auth requisite pam_nologin.so
284auth required pam_env.so
285
286auth required pam_succeed_if.so uid &gt;= 1000 quiet
287auth include system-auth
288
289account include system-account
290password include system-password
291session include system-session
292
293# End /etc/pam.d/kde
294EOF
295
296cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
297# Begin /etc/pam.d/kde-np
298
299auth requisite pam_nologin.so
300auth required pam_env.so
301
302auth required pam_succeed_if.so uid &gt;= 1000 quiet
303auth required pam_permit.so
304
305account include system-account
306password include system-password
307session include system-session
308
309# End /etc/pam.d/kde-np
310EOF
311
312cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
313# Begin /etc/pam.d/kscreensaver
314
315auth include system-auth
316account include system-account
317
318# End /etc/pam.d/kscreensaver
319EOF</userinput></screen>
320 </sect3>
321 </sect2>
322
323 <sect2 role="starting">
324 <title>Starting Plasma5</title>
325
326 <para revision="sysv">
327 You can start <application>Plasma5</application> from runlevel 3, using
328 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
329 such as <xref linkend="lightdm"/>.
330 </para>
331
332 <para revision="systemd">
333 You can start <application>Plasma5</application> from a TTY, using
334 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
335 <xref linkend="sddm"/>-->.
336 </para>
337
338 <para>
339 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
340 run the following commands:
341 </para>
342
343<screen revision="sysv"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
344<literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
345EOF
346
347startx</userinput></screen>
348
349<screen revision="systemd"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
350<literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
351EOF
352
353startx</userinput></screen>
354
355 <para>
356 The X session starts on the first unused virtual terminal, normally vt7.
357 You can switch to another vt<emphasis>n</emphasis> simultaneously
358 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
359 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
360 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
361 <command>startx</command> was executed will display many messages,
362 including X starting messages, applications automatically started with
363 the session, and eventually, some warning and error messages. You may
364 prefer to redirect those messages to a log file, which not only will keep
365 the initial vt uncluttered, but can also be used for debugging purposes. This
366 can be done starting X with:
367 </para>
368
369 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
370
371 <note revision="sysv">
372 <para>
373 You may wish to drop consolekit and/or dbus-launch, e.g., just using
374 startkde in ~/.xinitrc. However some capabilities such as mounting or
375 umounting file systems from a file manager will not be possible, or the
376 reboot option may be absent or inoperative, among other problems.
377 </para>
378 </note>
379 <para>
380 When shutting down or rebooting, the shutdown messages appear on the vt
381 where X was running. If you wish to see those messages, simultaneously
382 press keys Alt-F7 (assuming that X was running on vt7).
383 </para>
384
385 <para>If you intend to start <application>Plasma</application> using a
386 display manager such as <xref linkend="lightdm"/>, there will be two entries
387 for <application>Plasma</application>, one for use with
388 <application>Xorg</application>, and another for
389 <application>Wayland</application>. Modify the
390 <application>Xorg</application> entry with the following command, as the
391 <systemitem class="username">root</systemitem> user, so that you can
392 differentiate between the two:</para>
393
394<screen><userinput role="root">sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
395
396
397 </sect2>
398
399 <sect2 role="content">
400 <title>Contents</title>
401
402 <segmentedlist>
403 <segtitle>Installed Programs</segtitle>
404 <segtitle>Installed Libraries</segtitle>
405 <segtitle>Installed Directories</segtitle>
406
407 <seglistitem>
408 <seg>
409 There are too many plasma programs (50 in /opt/kf5/bin) to list
410 separately here.
411 </seg>
412 <seg>
413 There are too many plasma libraries (39 in /opt/kf5/lib) to list
414 separately here.
415 </seg>
416 <seg>
417 There are too many plasma directories (over 1000 in /opt/kf5) to
418 list separately here.
419 </seg>
420 </seglistitem>
421 </segmentedlist>
422
423 </sect2>
424
425</sect1>
426
Note: See TracBrowser for help on using the repository browser.