source: kde/plasma5/plasma-all.xml@ 64fd059

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 64fd059 was 64fd059, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to plasma-5.13.4.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20370 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 "158 MB">
11 <!ENTITY plasma5-buildsize "1.0 GB (336 MB installed)">
12 <!ENTITY plasma5-time "17 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>2cfae8349d3c5a4d7b52269b6ef580bc kdecoration-5.13.4.tar.xz
141dfe4e097033f48d5f3b56d7d9fe91c91 libkscreen-5.13.4.tar.xz
142939be7f1b81f8948d3026ea0f6b71332 libksysguard-5.13.4.tar.xz
143a5811405ebf81ced2d96dddda14dc65c breeze-5.13.4.tar.xz
144544d7306a573a4b1af9cf15bea565f77 breeze-gtk-5.13.4.tar.xz
1456f1846e0f49c0e660ffea7b25d979f5c kscreenlocker-5.13.4.tar.xz
146431d2a2eea56e05659d4d9bfee75b8f9 oxygen-5.13.4.tar.xz
147787f4cf0ebb6a296a907526f8a05d96e kinfocenter-5.13.4.tar.xz
14838cdb99d3e7133dd8720073d184c0219 ksysguard-5.13.4.tar.xz
149886af79baa7b478ee25ce9491f0398bd kwin-5.13.4.tar.xz
1503035c264c2c00d274995216f135a2525 plasma-workspace-5.13.4.tar.xz
1513f3de6be50ce252d5f000f200fd274c7 bluedevil-5.13.4.tar.xz
152a092d24dfd11b41c56a6babe7c8ec460 kde-gtk-config-5.13.4.tar.xz
1539bcb6800aa2049b77dd0e31b1f48bd86 khotkeys-5.13.4.tar.xz
154f5a94fb11385cd4df4df330193ebb395 kmenuedit-5.13.4.tar.xz
155bf91e1d9eefc6660de6027aceeff6c97 kscreen-5.13.4.tar.xz
156e7f0bfb74c5d5a9ff43e6de6cb0f0d8d kwallet-pam-5.13.4.tar.xz
1577f666f407e8f1e076897e68295c8f5a7 kwayland-integration-5.13.4.tar.xz
15857638eed026c081df092baef0615eb92 kwrited-5.13.4.tar.xz
15969ff78fc195af7e4994429b44454f3f9 milou-5.13.4.tar.xz
1607c2bd25f90a7d55dc334897286facfc6 plasma-nm-5.13.4.tar.xz
161edef493711c1f8b7dde43390ff415eb4 plasma-pa-5.13.4.tar.xz
1624ab6df9997269d2263c3e6fb2d6b4bf7 plasma-workspace-wallpapers-5.13.4.tar.xz
16352deb7a41477d704a6895a7bdccaa1d7 polkit-kde-agent-1-5.13.4.tar.xz
164728661126e6f4d414c5fa2a7d596ecbf powerdevil-5.13.4.tar.xz
165c1461af55b31cbf0473df4b30d90c376 plasma-desktop-5.13.4.tar.xz
16635d28871e37fd28602066706967a9bb0 kdeplasma-addons-5.13.4.tar.xz
1670b3cabd2f882599dffd5bd49b55a231e kgamma5-5.13.4.tar.xz
16814e004c9d8112815b8bb0c6438a5d57f ksshaskpass-5.13.4.tar.xz
169#b97352709bd0ed4a7a8d3f28630b85a6 plasma-sdk-5.13.4.tar.xz
1700c9af753ed311600b218747fa6eb5dcd sddm-kcm-5.13.4.tar.xz
171b101c424b5b13cecf32aab93c4215e15 user-manager-5.13.4.tar.xz
172e46195de68d3cabbb0b73e4252aaf95b discover-5.13.4.tar.xz
173#db28bc45387c0f4be49de795040df888 breeze-grub-5.13.4.tar.xz
174#85f27da438e5e6476220112e0728cdbe breeze-plymouth-5.13.4.tar.xz
1754147607b008aefcc744eb19896a37f73 kactivitymanagerd-5.13.4.tar.xz
176a8ef5bd003ea74107d176d42ae0e83e9 plasma-integration-5.13.4.tar.xz
1777e4a31d74ae071054d225bb8075647fd plasma-tests-5.13.4.tar.xz
1780600243811dbda474d1c994de6973d3f plymouth-kcm-5.13.4.tar.xz
179643c83817fcd3668eedfc01b60ab4731 xdg-desktop-portal-kde-5.13.4.tar.xz
180147892484b3ba637840e47881b52434d drkonqi-5.13.4.tar.xz
18152899d46e4fa6b293699d20163fa10d1 plasma-vault-5.13.4.tar.xz
182d6963e6b203d0bbc864f35a272370370 plasma-browser-integration-5.13.4.tar.xz
18390f115ede33aef5582ac17bf2a95f324 kde-cli-tools-5.13.4.tar.xz
1849672ac04c144af86dae18eeb47da01b9 systemsettings-5.13.4.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.