source: kde/plasma5/plasma-all.xml@ 3f460da0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym 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 3f460da0 was 3f460da0, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Tag Weston
Fix URLs in KF5
(systemd) Fix instructions for LXDM, XFCE4-SESSION, Plasma5, and LxQT

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

  • Property mode set to 100644
File size: 12.7 KB
RevLine 
[153a5795]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
[c6a5c39]7 <!ENTITY plasma5-download-http "http://download.kde.org/stable/plasma/&plasma5-version;">
[153a5795]8 <!ENTITY plasma5-download-ftp " ">
9 <!ENTITY plasma5-md5sum "See Below">
[dd8ae08]10 <!ENTITY plasma5-size "87 MB">
11 <!ENTITY plasma5-buildsize "905 MB (372 MB installed)">
12 <!ENTITY plasma5-time "35 SBU">
[153a5795]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
[6c91a92a]30 5 and QML. It has been derived from the monolithic KDE 4 desktop.
[1c8d0ff]31 They implement the KDE Display Environment (Plasma 5).</para>
[366fbbb8]32
[dd8ae08]33 &lfs7a_checked;
[153a5795]34
35 <para>The instructions below build all of the Plasma 5 packages in one
[f97d5f6]36 step by using a bash script.</para>
[153a5795]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">
[f3429309]64 <xref linkend="fontforge"/>,
65 <xref linkend="gtk2"/>,
66 <xref linkend="gtk3"/>,
[f97d5f6]67 <xref linkend="kf5-frameworks"/>,
[366fbbb8]68 <xref linkend="libpwquality"/>,
[1c8d0ff]69 <xref linkend="libxkbcommon"/>,
[366fbbb8]70 <xref linkend="mesa"/> built with <xref linkend="wayland"/>,
[f3429309]71 <xref linkend="NetworkManager"/>,
72 <xref linkend="pulseaudio"/>,
73 <xref linkend="python2"/>,
[460cec4b]74 <xref linkend="qca"/> (built with qt5),
[f3429309]75 <xref linkend="taglib"/>, and
[1c8d0ff]76 <xref linkend="xcb-util-cursor"/>
[153a5795]77 </para>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
[f3429309]81 <xref linkend="libdbusmenu-qt"/>,
82 <xref linkend="libcanberra"/>,
83 <xref linkend="libinput"/>,
[0779b94]84 <xref linkend="linux-pam"/>,
[f3429309]85 <xref linkend="lm_sensors"/>,
[88bb10f]86 <xref linkend="oxygen-icons5"/>, and
[0779b94]87 <xref linkend="pciutils"/>
[153a5795]88 </para>
89
[0779b94]90 <bridgehead renderas="sect4">Optional</bridgehead>
[153a5795]91 <para role="optional">
[0779b94]92 <xref linkend="glu"/>,
93 <xref linkend="xorg-synaptics-driver"/>,
[ce228c2]94 <ulink url="http://distributions.freedesktop.org/wiki/AppStream">appstream-qt</ulink>,
[63c5b080]95 <ulink url="https://github.com/ibus/ibus/wiki">ibus</ulink>,
[ce228c2]96 <ulink url="https://www.kdevelop.org/">KDevPlatform</ulink>,
[0779b94]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>,
[ce228c2]101 <ulink url="https://www.freedesktop.org/software/PackageKit/releases/">packagekit-qt</ulink>,
[0779b94]102 <ulink url="http://qalculate.sourceforge.net">Qalculate</ulink>,
[ce228c2]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>
[153a5795]106 </para>
107
108 <para condition="html" role="usernotes">User Notes:
109 <ulink url="&blfs-wiki;/kf5"/></para>
110
111 <sect2>
[773b316]112 <title>Downloading KDE Plasma5</title>
[153a5795]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>
[f3429309]118
[153a5795]119<screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
[10a9447]120wget -r -nH --cut-dirs=3 -A '*.xz' -np $url</userinput>
[153a5795]121<literal>
[f3429309]122The options used here are:
[153a5795]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
[10a9447]127 -np don't get parent directories</literal></screen>
[153a5795]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
[ed4a7a2]139<screen><userinput>cat &gt; plasma-&plasma5-version;.md5 &lt;&lt; "EOF"
[dd8ae08]140<literal>bc2dd43ace2d8674f1d0468e1205474a kde-cli-tools-5.7.3.tar.xz
141d72584ff8363c903ea58b2d56cab965f kdecoration-5.7.3.tar.xz
142f40f3015e4c0cbadba893ea9aec37ec2 libkscreen-5.7.3.tar.xz
1432c1234454ea8ca8f58de237600674959 libksysguard-5.7.3.tar.xz
1441bb1a2462640daf062af923783709093 breeze-5.7.3.tar.xz
145808ef73cc2c687d4d34552c5e98ec699 breeze-gtk-5.7.3.tar.xz
14677df269b8566cf688b1945a9b53e3959 kscreenlocker-5.7.3.tar.xz
1472842c0205ab580e4ac3dc61a8ab581be oxygen-5.7.3.tar.xz
148e9d2bdeadcbd378f12a2e54c6b3b9224 kinfocenter-5.7.3.tar.xz
14999d46f170a9143883c207e0a8999e268 ksysguard-5.7.3.tar.xz
150e1dd04fcaf1abd31df89d037af4d2258 kwin-5.7.3.tar.xz
1512b5f4dbc85193941708509e51c171f14 systemsettings-5.7.3.tar.xz
1525ed64282b5aa36bb77bd3a89334b851d plasma-workspace-5.7.3.tar.xz
15357c1e8aa62aa5791102e94160bb5e2b3 bluedevil-5.7.3.tar.xz
15412c5bc74c567f65fbb11907909752ba2 kde-gtk-config-5.7.3.tar.xz
155db39c52e7bdf1ec21888aae5f9f3113a khotkeys-5.7.3.tar.xz
156fa1edaf0339a013b0884a5ec774e132d kmenuedit-5.7.3.tar.xz
157369255dcf3f657595a4b2c0ec156d458 kscreen-5.7.3.tar.xz
158607eb34cfafca62da92dbb596f999cae kwallet-pam-5.7.3.tar.xz
1594ec2115eec3883e560415c8448f910e1 kwayland-integration-5.7.3.tar.xz
16035e622ea295b35c72e266d3e10b2022b kwrited-5.7.3.tar.xz
161c8c40727b9077d9692c2e67b85afaa7d milou-5.7.3.tar.xz
1621956f0eb29ce1e91f5fdf3ac8b72e40e plasma-nm-5.7.3.tar.xz
1632820e9cb6c54f01115013606dea7ef7b plasma-pa-5.7.3.tar.xz
16498f2f023cc30116f0e677e752fb6220c plasma-workspace-wallpapers-5.7.3.tar.xz
165b2fa225d57fcf8579322d58cf43a8759 polkit-kde-agent-1-5.7.3.tar.xz
1664b93bfa172760c25c6a4e135b555fbe8 powerdevil-5.7.3.tar.xz
1671b97771749effa32aee19ed789e67ddd plasma-desktop-5.7.3.tar.xz
1683083f945aebfc156ba0e8b64db4615b0 kdeplasma-addons-5.7.3.tar.xz
1699f336c20cee1f1e5db98ca95eea7ccd5 kgamma5-5.7.3.tar.xz
1708048a6ec5e69327691236d980a74b2a2 ksshaskpass-5.7.3.tar.xz
171a92b968f0ebd5f35cb7483679a54520b plasma-mediacenter-5.7.3.tar.xz
172#e92b6d4c644591b16f700303eacd3ffe plasma-sdk-5.7.3.tar.xz
173e82aed1e04ae3e39fa91b7c16e4338e2 sddm-kcm-5.7.3.tar.xz
174635eef411376423f8f746ae41bb90f1b user-manager-5.7.3.tar.xz
1759188f0f3a3c802ffd25f4c0dcb0abdba discover-5.7.3.tar.xz
176#b4a278e5af4cc4b804258a3aeb9d7ce2 breeze-grub-5.7.3.tar.xz
177#d9fc477b250f0ae855a0e9bdb193b51a breeze-plymouth-5.7.3.tar.xz
1789ec5c70fd1e5fdc12bf35e1511948543 kactivitymanagerd-5.7.3.tar.xz
1795f950d13d8715162ea4bdfec73e06b7d plasma-integration-5.7.3.tar.xz</literal>
[153a5795]180EOF</userinput></screen>
181
[ce228c2]182 <note><para>The breeze-grub and breeze-plymouth packages above are both for
183 customized support of <ulink
184 url="https://www.freedesktop.org/wiki/Software/Plymouth/">Plymouth</ulink>
185 which is designed to be run within an initial ram disk during boot (see
[3011abe]186 <xref linkend="initramfs"/>). The plasma-sdk package is optional and used
[dd8ae08]187 for software development.</para></note>
[ce228c2]188
[153a5795]189 </sect2>
190
191 <sect2 role="installation">
192 <title>Installation of Plasma5</title>
193
194 &as_root;
195
196 <para>
197 First, start a subshell that will exit on error:
198 </para>
199
200<screen><userinput>bash -e</userinput></screen>
201
202 <para>
203 Install all of the packages by running the following
204 commands:
205 </para>
206
207<screen><userinput>while read -r line; do
208
209 # Get the file name, ignoring comments and blank lines
210 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
211 file=$(echo $line | cut -d" " -f2)
[f3429309]212
[153a5795]213 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
214 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
215
[3011abe]216 # Correct the name of the extracted directory
217 case $packagedir in
218 plasma-workspace-5.6.5.1 )
219 packagedir=plasma-workspace-5.6.5
220 ;;
221 esac
222
[153a5795]223 tar -xf $file
224 pushd $packagedir
225
[69a9de5]226 mkdir build
227 cd build
[153a5795]228
[1c8d0ff]229 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
230 -DCMAKE_BUILD_TYPE=Release \
231 -DLIB_INSTALL_DIR=lib \
232 -DBUILD_TESTING=OFF \
[69a9de5]233 -Wno-dev .. &amp;&amp;
[153a5795]234
[69a9de5]235 make
236 as_root make install
237 popd
[153a5795]238
[8f445fdc]239<!-- somme packages end up with files owned by root in $packagedir,
240 so use as_root for removing -->
241 as_root rm -rf $packagedir
[69a9de5]242 as_root /sbin/ldconfig
243
[ed4a7a2]244done &lt; plasma-&plasma5-version;.md5
[153a5795]245
[1c8d0ff]246exit
247
248cd $KF5_PREFIX/share/plasma/plasmoids
[153a5795]249
[1c8d0ff]250for j in $(find -name \*.js); do
[3d656d7]251 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
[1c8d0ff]252done</userinput></screen>
[153a5795]253
254 </sect2>
255
256 <sect2 role="commands">
257 <title>Command Explanations</title>
258
259 <para>
[1c8d0ff]260 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
261 Create symbolic links so qml files can find needed javascript modules.
[153a5795]262 </para>
263
264 </sect2>
[1c8d0ff]265 <sect2 role="starting">
266 <title>Starting Plasma5</title>
267
[3f460da0]268 <para revision="sysv">
[1c8d0ff]269 You can start <application>Plasma5</application> from runlevel 3, using
270 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
271 such as <xref linkend="sddm"/>.
272 </para>
273
[3f460da0]274 <para revision="systemd">
275 You can start <application>Plasma5</application> from a TTY, using
276 <xref linkend="xinit"/>, or from a graphical display manager, such as
277 <xref linkend="sddm"/>.
278 </para>
279
[1c8d0ff]280 <para>
[460cec4b]281 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
[1c8d0ff]282 run the following commands:
283 </para>
284
[3f460da0]285<screen revision="sysv"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
[1c8d0ff]286<literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
287EOF
288
[3f460da0]289startx</userinput></screen>
290
291<screen revision="systemd"><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
292<literal>dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
293EOF
294
[1c8d0ff]295startx</userinput></screen>
296
297 <para>
298 The X session starts on the first unused virtual terminal, normally vt7.
299 You can switch to another vt<emphasis>n</emphasis> simultaneously
300 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
301 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
302 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
303 <command>startx</command> was executed will display many messages,
304 including X starting messages, applications automatically started with
305 the session, and eventually, some warning and error messages. You may
306 prefer to redirect those messages to a log file, which not only will keep
307 the initial vt uncluttered, but can also be used for debugging purposes. This
308 can be done starting X with:
309 </para>
310
[3011abe]311 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
[1c8d0ff]312
[3f460da0]313 <note revision="sysv">
[1c8d0ff]314 <para>
315 You may wish to drop consolekit and/or dbus-launch, e.g., just using
316 startkde in ~/.xinitrc. However some capabilities such as mounting or
317 umounting file systems from a file manager will not be possible, or the
318 reboot option may be absent or inoperative, among other problems.
319 </para>
320 </note>
321 <para>
322 When shutting down or rebooting, the shutdown messages appear on the vt
323 where X was running. If you wish to see those messages, simultaneously
324 press keys Alt-F7 (assuming that X was running on vt7).
325 </para>
326
327 </sect2>
328
[153a5795]329 <sect2 role="content">
330 <title>Contents</title>
331
332 <segmentedlist>
333 <segtitle>Installed Programs</segtitle>
334 <segtitle>Installed Libraries</segtitle>
335 <segtitle>Installed Directories</segtitle>
336
337 <seglistitem>
338 <seg>
[83ef2a4]339 There are too many plasma programs (50 in /opt/kf5/bin) to list
340 separately here.
[153a5795]341 </seg>
342 <seg>
[83ef2a4]343 There are too many plasma libraries (39 in /opt/kf5/lib) to list
344 separately here.
[153a5795]345 </seg>
346 <seg>
[83ef2a4]347 There are too many plasma directories (over 1000 in /opt/kf5) to
348 list separately here.
[153a5795]349 </seg>
350 </seglistitem>
351 </segmentedlist>
352
353 </sect2>
354
355</sect1>
356
Note: See TracBrowser for help on using the repository browser.