source: kde/plasma5/plasma-all.xml@ 7d75fa51

10.0 10.1 11.0 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus nosym perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 7d75fa51 was 7d75fa51, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to plasma5-5.6.2

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

  • Property mode set to 100644
File size: 12.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 "96 MB">
11 <!ENTITY plasma5-buildsize "1.3 GB (202 MB installed)">
12 <!ENTITY plasma5-time "48 SBU">
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-kf5">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. It has been derived from the monolithic KDE 4 desktop.
31 They implement the KDE Display Environment (Plasma 5).</para>
32
33 &lfs79_checked;
34
35 <para>The instructions below build all of the Plasma 5 packages in one
36 step by using a bash script.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&plasma5-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&plasma5-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &plasma5-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &plasma5-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &plasma5-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &plasma5-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required">
64 <xref linkend="fontforge"/>,
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"/> (built with qt5),
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="xorg-synaptics-driver"/>,
94 <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
95 <ulink url="https://github.com/ibus/ibus/wiki">ibus</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 (for pam_kwallet)</ulink>
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 --cut-dirs=3 -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 --cut-dirs=3 remove three levels of directories when saving
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>6660c910aabea2c065b35360fc73 kde-cli-tools-5.6.2.tar.xz
1411b1480a0397aad5863a41d577c063212 kdecoration-5.6.2.tar.xz
142a8a0e4cd6215b1f180bec562c29c7841 kwayland-5.6.2.tar.xz
143712230d0dc9a2af6eea575181aa883bb libkscreen-5.6.2.tar.xz
144080e379a143cc8dc27f29ab30fc79969 libksysguard-5.6.2.tar.xz
14559eb9906fb8120bc2d23550c376a4c90 breeze-5.6.2.tar.xz
14656dbafad5b73b343e1509c448e310068 breeze-gtk-5.6.2.tar.xz
147173888c9ce09eb9979c90735b0664d65 kscreenlocker-5.6.2.tar.xz
148b5a4831839e631ec3868047751b6c477 oxygen-5.6.2.tar.xz
149ac5b3a601d6815d3e679c4ef48b4a8e5 khelpcenter-5.6.2.tar.xz
150113a36e617b3166ae52abf486cba3bba kinfocenter-5.6.2.tar.xz
151bdc2e791280455b1003a8e6125741490 ksysguard-5.6.2.tar.xz
152ed75b28b1bb150398f982a024ead1c5f kwin-5.6.2.tar.xz
153bb3a9f2bb7ccfc9e1fee31ce52e96d95 systemsettings-5.6.2.tar.xz
154206c1478ac6b51971bd6ba382522da98 plasma-workspace-5.6.2.tar.xz
155f99ecfa88a1c39984ea45633935d6ab1 bluedevil-5.6.2.tar.xz
156dd37864292888e314588fd1820315e10 kde-gtk-config-5.6.2.tar.xz
157e38ba004c2ea5fdef1e6963c7e6f8163 khotkeys-5.6.2.tar.xz
158c5d4abb7ccf0eb295b8c2e89e9442ec2 kmenuedit-5.6.2.tar.xz
159820e6d0ffbcae52e0c2f0ce80b3f5df1 kscreen-5.6.2.tar.xz
160efefdd799ec7d174c5b5dcba088044c3 kwallet-pam-5.6.2.tar.xz
1611d1e3f232f008163446e21ef1afbd4c8 kwayland-integration-5.6.2.tar.xz
16292ca420cda218419809928e12580a133 kwrited-5.6.2.tar.xz
16309c132663749a634717ef723f4b50aa6 milou-5.6.2.tar.xz
164a5fb6d2fe038622fed3f2c24782d35ef plasma-nm-5.6.2.tar.xz
16517c6544c8753c73401d3cc5cb5e22117 plasma-pa-5.6.2.tar.xz
1668084aacbe6a67af034612c38340db372 plasma-workspace-wallpapers-5.6.2.tar.xz
167ac6206cd282b271c5da0cf51bf4f7780 polkit-kde-agent-1-5.6.2.tar.xz
16813ea2c2b045bf9f094310a5a31c2509b powerdevil-5.6.2.tar.xz
1691fb59e7d35f746366d954bb41d43fa90 plasma-desktop-5.6.2.tar.xz
170b9c62d27891e2040c3ea169ce878227a kdeplasma-addons-5.6.2.tar.xz
17175de451386dd962dd5b772caadde46e8 kgamma5-5.6.2.tar.xz
172caabd4a2b74d4a264a834e379c20d5d4 ksshaskpass-5.6.2.tar.xz
173ef16424fa807fbc3a5912ff3e9c7f1c9 plasma-mediacenter-5.6.2.tar.xz
174#f0135635f04bd3a7005a0513d3f237c8 plasma-sdk-5.6.2.tar.xz
175f67819b2d6eadfa8e5b913815b664c5b sddm-kcm-5.6.2.tar.xz
1763dc93bab65282450851142c16ddf3684 user-manager-5.6.2.tar.xz
177cef43f86ae5ab785afd9bf9ae7f84941 discover-5.6.2.tar.xz
178#ce518c27d41252fce8209cefff868610 breeze-grub-5.6.2.tar.xz
179#8cebf8ac0f6c2f9b5297af438728f0a7 breeze-plymouth-5.6.2.tar.xz
180568b040fedf5010bbb50ec5dc9ae4595 kactivitymanagerd-5.6.2.tar.xz
18179476c803509f64ac11301e3d37308e2 plasma-integration-5.6.2.tar.xz</literal>
182EOF</userinput></screen>
183
184 <note><para>The breeze-grub and breeze-plymouth packages above are both for
185 customized support of <ulink
186 url="https://www.freedesktop.org/wiki/Software/Plymouth/">Plymouth</ulink>
187 which is designed to be run within an initial ram disk during boot (see
188 <xref linkend="initramfs"/>). The plasma-sdk package is optional and
189 used for software development.
190 </para></note>
191
192 </sect2>
193
194 <sect2 role="installation">
195 <title>Installation of Plasma5</title>
196
197 &as_root;
198
199 <para>
200 First, start a subshell that will exit on error:
201 </para>
202
203<screen><userinput>bash -e</userinput></screen>
204
205 <para>
206 Install all of the packages by running the following
207 commands:
208 </para>
209
210<screen><userinput>while read -r line; do
211
212 # Get the file name, ignoring comments and blank lines
213 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
214 file=$(echo $line | cut -d" " -f2)
215
216 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
217 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
218
219 tar -xf $file
220 pushd $packagedir
221
222 mkdir build
223 cd build
224
225 OPTS=""
226
227 case $packagedir in
228 kwayland-&plasma5-version; )
229 OPTS="-DECM_MKSPECS_INSTALL_DIR=$KF5_PREFIX/share/mkspecs/modules"
230 ;;
231 esac
232
233 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
234 -DCMAKE_BUILD_TYPE=Release \
235 -DLIB_INSTALL_DIR=lib \
236 -DBUILD_TESTING=OFF \
237 $OPTS \
238 -Wno-dev .. &amp;&amp;
239
240 make
241 as_root make install
242 popd
243
244<!-- somme packages end up with files owned by root in $packagedir,
245 so use as_root for removing -->
246 as_root rm -rf $packagedir
247 as_root /sbin/ldconfig
248
249done &lt; plasma-&plasma5-version;.md5
250
251exit
252
253cd $KF5_PREFIX/share/plasma/plasmoids
254
255for j in $(find -name \*.js); do
256 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
257done</userinput></screen>
258
259 </sect2>
260
261 <sect2 role="commands">
262 <title>Command Explanations</title>
263
264 <para>
265 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
266 Create symbolic links so qml files can find needed javascript modules.
267 </para>
268
269 </sect2>
270 <sect2 role="starting">
271 <title>Starting Plasma5</title>
272
273 <caution>
274 <para>If you have KDE4 installed as well as Plasma 5, make sure the
275 PATH environment setting has the Plasma 5 binaries before the KDE4 entry.
276 You can ensure this by running:</para>
277
278 <screen><userinput>pathprepend /opt/kf5/bin</userinput></screen>
279
280 <para>before running startx.</para>
281 </caution>
282
283 <para>
284 You can start <application>Plasma5</application> from runlevel 3, using
285 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
286 such as <xref linkend="sddm"/>.
287 </para>
288
289 <para>
290 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
291 run the following commands:
292 </para>
293
294<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
295<literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
296EOF
297
298startx</userinput></screen>
299
300 <para>
301 The X session starts on the first unused virtual terminal, normally vt7.
302 You can switch to another vt<emphasis>n</emphasis> simultaneously
303 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
304 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
305 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
306 <command>startx</command> was executed will display many messages,
307 including X starting messages, applications automatically started with
308 the session, and eventually, some warning and error messages. You may
309 prefer to redirect those messages to a log file, which not only will keep
310 the initial vt uncluttered, but can also be used for debugging purposes. This
311 can be done starting X with:
312 </para>
313
314 <screen><userinput>startx &amp;&gt; ~/.x-session-errors</userinput></screen>
315
316 <note>
317 <para>
318 You may wish to drop consolekit and/or dbus-launch, e.g., just using
319 startkde in ~/.xinitrc. However some capabilities such as mounting or
320 umounting file systems from a file manager will not be possible, or the
321 reboot option may be absent or inoperative, among other problems.
322 </para>
323 </note>
324 <para>
325 When shutting down or rebooting, the shutdown messages appear on the vt
326 where X was running. If you wish to see those messages, simultaneously
327 press keys Alt-F7 (assuming that X was running on vt7).
328 </para>
329
330 </sect2>
331
332 <sect2 role="content">
333 <title>Contents</title>
334
335 <segmentedlist>
336 <segtitle>Installed Programs</segtitle>
337 <segtitle>Installed Libraries</segtitle>
338 <segtitle>Installed Directories</segtitle>
339
340 <seglistitem>
341 <seg>
342 There are too many plasma programs (50 in /opt/kf5/bin) to list
343 separately here.
344 </seg>
345 <seg>
346 There are too many plasma libraries (39 in /opt/kf5/lib) to list
347 separately here.
348 </seg>
349 <seg>
350 There are too many plasma directories (over 1000 in /opt/kf5) to
351 list separately here.
352 </seg>
353 </seglistitem>
354 </segmentedlist>
355
356 </sect2>
357
358</sect1>
359
Note: See TracBrowser for help on using the repository browser.