source: kde/plasma5/plasma-all.xml@ 96e04daa

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 96e04daa was 96e04daa, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to plasma5-5.12.5

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

  • Property mode set to 100644
File size: 14.8 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 "119 MB">
11 <!ENTITY plasma5-buildsize "988 MB (301 MB installed)">
12 <!ENTITY plasma5-time "16 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 &lfs82_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>15e8b3abd34c7bed89247dcd89677da9 kde-cli-tools-5.12.5.tar.xz
1417a6426a12788a1dc5fceb3ed0cf15818 kdecoration-5.12.5.tar.xz
1421e3b3aa0026bf51121fa36f4380db6e5 libkscreen-5.12.5.tar.xz
1432ffb11f91a451f90c034b5b657d38563 libksysguard-5.12.5.tar.xz
14445cc26a47b5c742e93ba17e59d72d91a breeze-5.12.5.tar.xz
1454df4338cb8781e068e8b53987430cbda breeze-gtk-5.12.5.tar.xz
14630afafc98d6d3eecec15c1bad3ce0362 kscreenlocker-5.12.5.tar.xz
1477622748eafe631e46574e44ba53bdaea oxygen-5.12.5.tar.xz
1485d0f3d5844ac31f2665ed0d5966d7751 kinfocenter-5.12.5.tar.xz
14925bfe4cb9bbb782c938f92963ca1cd59 ksysguard-5.12.5.tar.xz
15039cc7321fe28c2b4a76426da8a830d7c kwin-5.12.5.tar.xz
15108b5ebd84ee25d2306d30e1afe33f924 systemsettings-5.12.5.tar.xz
15228906f048a968798f7311c1068aebb8b plasma-workspace-5.12.5.tar.xz
15360e92f4d444cba7e31041bf9c426d1aa bluedevil-5.12.5.tar.xz
15426706a36cb19c270281a0b69f8ab2609 kde-gtk-config-5.12.5.tar.xz
155af8bda38832760df6bc0f07aa784f8f3 khotkeys-5.12.5.tar.xz
156450833cf1ccd244c40102cd249e73d2b kmenuedit-5.12.5.tar.xz
157bdd7f9036220e39f23b1c57cb373174d kscreen-5.12.5.tar.xz
158667a9ef9a5f5fa4664e337d405cdfdb6 kwallet-pam-5.12.5.tar.xz
159dffa9e29a181d6d70bcf20a5d9de0781 kwayland-integration-5.12.5.tar.xz
160bc51d2068b1f442214059059761db068 kwrited-5.12.5.tar.xz
161a6297963718e9315e72e1711e4f71e5c milou-5.12.5.tar.xz
1622f52d77ade3582ce05bc58c4d2ea2677 plasma-nm-5.12.5.tar.xz
1630104e49c0e6332fdec3a61ddc9732c44 plasma-pa-5.12.5.tar.xz
16430c03aeab0d69d87d08a5b1e57468f8c plasma-workspace-wallpapers-5.12.5.tar.xz
165b42ed1b4dfbc7f594529b12b4659a8e1 polkit-kde-agent-1-5.12.5.tar.xz
1665546090caa4cf11656091ae229351551 powerdevil-5.12.5.tar.xz
167bfcf9e48662c34d732b5f498b4627819 plasma-desktop-5.12.5.tar.xz
168d16a91ea15fc12e7c18d420370ad0bd6 kdeplasma-addons-5.12.5.tar.xz
1690ce29fe24ed752a36ce7fb6ff1be9fb1 kgamma5-5.12.5.tar.xz
170805ba1b34c292e43f7791796d552a48c ksshaskpass-5.12.5.tar.xz
171#e7de5fcb703e47edc4f3fa5c9094dd9a plasma-sdk-5.12.5.tar.xz
172ba33b3187ddee122be32ffe0445564fb sddm-kcm-5.12.5.tar.xz
173f4268471d391b2fb7f51818b7b96c9f6 user-manager-5.12.5.tar.xz
1748ae2ca25329d2126311e552fc24bff5c discover-5.12.5.1.tar.xz
175#9101bdf4a6664dddc0e15b8fda4681e9 discover-5.12.5.tar.xz
176#420c6369da5761fcee359cce8693badd breeze-grub-5.12.5.tar.xz
177#dbba7538a93056a57f52ecfe31eaf8cb breeze-plymouth-5.12.5.tar.xz
178d28812344e8e0f47b1121f56d3e13750 kactivitymanagerd-5.12.5.tar.xz
179df9ade96432e4f5eb968e12ed7a7a72c plasma-integration-5.12.5.tar.xz
180ed8dbcc85b1a1f74dc04b2be5e64b36a plasma-tests-5.12.5.tar.xz
181e1a1a785e1f6c4a64af95e4989a07bea plymouth-kcm-5.12.5.tar.xz
182f9081bb509a565f3d11f28cd6b0a0914 xdg-desktop-portal-kde-5.12.5.tar.xz
18308c841d2ea5b29ec4ffca146deeac75a drkonqi-5.12.5.tar.xz
184550e6df7522a10e5262136a54b88a254 plasma-vault-5.12.5.tar.xz</literal>
185EOF</userinput></screen>
186
187 <note><para>The breeze-grub, breeze-plymouth, and plymouth-kcm packages
188 above are all for customized support of <ulink
189 url="https://www.freedesktop.org/wiki/Software/Plymouth/">Plymouth</ulink>
190 which is designed to be run within an initial ram disk during boot (see
191 <xref linkend="initramfs"/>). The plasma-sdk package is optional and used
192 for software development.</para></note>
193
194 </sect2>
195
196 <sect2 role="installation">
197 <title>Installation of Plasma5</title>
198
199 &as_root;
200
201 <para>
202 First, start a subshell that will exit on error:
203 </para>
204
205<screen><userinput>bash -e</userinput></screen>
206
207 <para>
208 Install all of the packages by running the following
209 commands:
210 </para>
211
212<screen><userinput>while read -r line; do
213
214 # Get the file name, ignoring comments and blank lines
215 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
216 file=$(echo $line | cut -d" " -f2)
217
218 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
219 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
220
221 tar -xf $file
222 pushd $packagedir
223
224 mkdir build
225 cd build
226
227 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
228 -DCMAKE_BUILD_TYPE=Release \
229 -DBUILD_TESTING=OFF \
230 -Wno-dev .. &amp;&amp;
231
232 make
233 as_root make install
234 popd
235
236<!-- some packages end up with files owned by root in $packagedir,
237 so use as_root for removing -->
238 as_root rm -rf $packagedir
239 as_root /sbin/ldconfig
240
241done &lt; plasma-&plasma5-version;.md5
242
243exit
244
245cd $KF5_PREFIX/share/plasma/plasmoids
246
247for j in $(find -name \*.js); do
248 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
249done</userinput></screen>
250
251 </sect2>
252
253 <sect2 role="commands">
254 <title>Command Explanations</title>
255
256 <para>
257 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
258 Create symbolic links so qml files can find needed javascript modules.
259 </para>
260
261 </sect2>
262
263 <sect2 role="configuration">
264 <title>Configuring Plasma</title>
265
266 <sect3>
267 <title>Linux PAM Configuration</title>
268
269 <para>
270 If you built Plasma with the recommended <application>Linux
271 PAM</application> support, create necessary configuration files by
272 running the following commands as the <systemitem
273 class="username">root</systemitem> user:
274 </para>
275
276<screen role="root"><userinput>cat &gt;&gt; /etc/pam.d/kde &lt;&lt; "EOF"
277# Begin /etc/pam.d/kde
278
279auth requisite pam_nologin.so
280auth required pam_env.so
281
282auth required pam_succeed_if.so uid &gt;= 1000 quiet
283auth include system-auth
284
285account include system-account
286password include system-password
287session include system-session
288
289# End /etc/pam.d/kde
290EOF
291
292cat &gt; /etc/pam.d/kde-np &lt;&lt; "EOF"
293# Begin /etc/pam.d/kde-np
294
295auth requisite pam_nologin.so
296auth required pam_env.so
297
298auth required pam_succeed_if.so uid &gt;= 1000 quiet
299auth required pam_permit.so
300
301account include system-account
302password include system-password
303session include system-session
304
305# End /etc/pam.d/kde-np
306EOF
307
308cat &gt; /etc/pam.d/kscreensaver &lt;&lt; "EOF"
309# Begin /etc/pam.d/kscreensaver
310
311auth include system-auth
312account include system-account
313
314# End /etc/pam.d/kscreensaver
315EOF</userinput></screen>
316 </sect3>
317 </sect2>
318
319 <sect2 role="starting">
320 <title>Starting Plasma5</title>
321
322 <para revision="sysv">
323 You can start <application>Plasma5</application> from runlevel 3, using
324 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
325 such as <xref linkend="lightdm"/>.
326 </para>
327
328 <para revision="systemd">
329 You can start <application>Plasma5</application> from a TTY, using
330 <xref linkend="xinit"/><!--, or from a graphical display manager, such as
331 <xref linkend="sddm"/>-->.
332 </para>
333
334 <para>
335 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
336 run the following commands:
337 </para>
338
339<screen revision="sysv"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
340<literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
341EOF
342
343startx</userinput></screen>
344
345<screen revision="systemd"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
346<literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
347EOF
348
349startx</userinput></screen>
350
351 <para>
352 The X session starts on the first unused virtual terminal, normally vt7.
353 You can switch to another vt<emphasis>n</emphasis> simultaneously
354 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
355 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
356 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
357 <command>startx</command> was executed will display many messages,
358 including X starting messages, applications automatically started with
359 the session, and eventually, some warning and error messages. You may
360 prefer to redirect those messages to a log file, which not only will keep
361 the initial vt uncluttered, but can also be used for debugging purposes. This
362 can be done starting X with:
363 </para>
364
365 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
366
367 <note revision="sysv">
368 <para>
369 You may wish to drop consolekit and/or dbus-launch, e.g., just using
370 startkde in ~/.xinitrc. However some capabilities such as mounting or
371 umounting file systems from a file manager will not be possible, or the
372 reboot option may be absent or inoperative, among other problems.
373 </para>
374 </note>
375 <para>
376 When shutting down or rebooting, the shutdown messages appear on the vt
377 where X was running. If you wish to see those messages, simultaneously
378 press keys Alt-F7 (assuming that X was running on vt7).
379 </para>
380
381 <para>If you intend to start <application>Plasma</application> using a
382 display manager such as <xref linkend="lightdm"/>, there will be two entries
383 for <application>Plasma</application>, one for use with
384 <application>Xorg</application>, and another for
385 <application>Wayland</application>. Modify the
386 <application>Xorg</application> entry with the following command, as the
387 <systemitem class="username">root</systemitem> user, so that you can
388 differentiate between the two:</para>
389
390<screen><userinput role="root">sed '/^Name=/s/Plasma/Plasma on Xorg/' -i /usr/share/xsessions/plasma.desktop</userinput></screen>
391
392
393 </sect2>
394
395 <sect2 role="content">
396 <title>Contents</title>
397
398 <segmentedlist>
399 <segtitle>Installed Programs</segtitle>
400 <segtitle>Installed Libraries</segtitle>
401 <segtitle>Installed Directories</segtitle>
402
403 <seglistitem>
404 <seg>
405 There are too many plasma programs (50 in /opt/kf5/bin) to list
406 separately here.
407 </seg>
408 <seg>
409 There are too many plasma libraries (39 in /opt/kf5/lib) to list
410 separately here.
411 </seg>
412 <seg>
413 There are too many plasma directories (over 1000 in /opt/kf5) to
414 list separately here.
415 </seg>
416 </seglistitem>
417 </segmentedlist>
418
419 </sect2>
420
421</sect1>
422
Note: See TracBrowser for help on using the repository browser.