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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 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 ed4a7a2 was ed4a7a2, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to KDE Plasma 5.5.3

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

  • Property mode set to 100644
File size: 11.7 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 "105 MB">
11 <!ENTITY plasma5-buildsize "1.2 GB">
12 <!ENTITY plasma5-time "43 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 &lfs78_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-icons"/>, 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="https://github.com/ibus/ibus/wiki">ibus</ulink>,
95 <ulink url="http://gpsd.berlios.de">libgps</ulink>,
96 <ulink url="https://github.com/libhybris/libhybris">libhybris</ulink>,
97 <ulink url="http://sourceforge.net/projects/libraw1394/">libraw1394</ulink>,
98 <ulink url="https://bitbucket.org/godsme/mockcpp">mockcpp</ulink>,
99 <ulink url="http://qalculate.sourceforge.net">Qalculate</ulink>,
100 <ulink url="https://launchpad.net/qapt">Qapt</ulink>, and
101 <ulink url="https://github.com/osiam/osiam">SCIM</ulink>
102 </para>
103
104 <para condition="html" role="usernotes">User Notes:
105 <ulink url="&blfs-wiki;/kf5"/></para>
106
107 <sect2>
108 <title>Downloading KDE Plasma5</title>
109
110 <para>
111 The easiest way to get the KDE Plasma5 packages is to use a single
112 <command>wget</command> to fetch them all at once:
113 </para>
114
115<screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
116wget -r -nH --cut-dirs=3 -A '*.xz' -np $url</userinput>
117<literal>
118The options used here are:
119 -r recurse through child directories
120 -nH disable generation of host-prefixed directories
121 --cut-dirs=3 remove three levels of directories when saving
122 -A '*.xz' just get the *.xz files
123 -np don't get parent directories</literal></screen>
124
125 </sect2>
126
127 <sect2>
128 <title>Setting Package Order</title>
129
130 <para>
131 The order of building files is important due to internal dependencies.
132 Create the list of files in the proper order as follows:
133 </para>
134
135<screen><userinput>cat &gt; plasma-&plasma5-version;.md5 &lt;&lt; "EOF"
136<literal>17272fb4160f3a1a5c2abd72cf140a07 kde-cli-tools-5.5.3.tar.xz
137023d3107154042f51e3b762c1605520a kdecoration-5.5.3.tar.xz
1386a40b0d2e43b5338156ae35bdecb8bfa kwayland-5.5.3.tar.xz
139a1b180699d229ca32dcfbba001730aa7 libkscreen-5.5.3.tar.xz
140faa47a9ed2ff8bde18a1a3af7431a120 libksysguard-5.5.3.tar.xz
1411b5ce90bfc3ca40a50195fa75b811e70 breeze-5.5.3.tar.xz
14245c96d645c27cd87e851a6e5448e57f4 breeze-gtk-5.5.3.tar.xz
143e8459dd31a20a10298c61db6290b0d44 kscreenlocker-5.5.3.tar.xz
1440a0c455360e4aa5af96660e20f1c13fc oxygen-5.5.3.tar.xz
1453677c77cea0db406d2445c7e43753a27 khelpcenter-5.5.3.tar.xz
1462d01703aac425799cac01e59b76aaa57 kinfocenter-5.5.3.tar.xz
147167aedd644053d010f02daecf748b9f6 ksysguard-5.5.3.tar.xz
148672d6e03fe621b09b70de16b277d790e kwin-5.5.3.tar.xz
1496e15c10bc83889917d9471318ff3e6f7 systemsettings-5.5.3.tar.xz
1501a8c83d8308c4aa86c29dc9d3c5d4cdf plasma-workspace-5.5.3.tar.xz
15160a8f0b9133651b3e6d8f8bc4cd3236c bluedevil-5.5.3.tar.xz
152c40b3062286ab9378c1f2131d0140bff kde-gtk-config-5.5.3.tar.xz
153f35d58f740037f393470ec2390642af1 khotkeys-5.5.3.tar.xz
1545faa6dca67930e2b03dee3ab0c5443a9 kmenuedit-5.5.3.tar.xz
15534756b46f8e5172a95122e184ce0074b kscreen-5.5.3.tar.xz
156801e55f83760deccabb58e10161d4c46 kwallet-pam-5.5.3.tar.xz
157683c0921a52373d17bd19c3c06314dc9 kwayland-integration-5.5.3.tar.xz
158207040832d0a2878b0ce5dd41c8d2888 kwrited-5.5.3.tar.xz
159cc4811e0e54c16279c934cd2e5c0ea2b milou-5.5.3.tar.xz
160ef1c6011cb407516dff8380893617384 plasma-nm-5.5.3.tar.xz
16134bf67146947fb28dd6527ca8bd5f673 plasma-pa-5.5.3.tar.xz
16224cc446c50e04ee463a85b2e3ee74182 plasma-workspace-wallpapers-5.5.3.tar.xz
1634fb0b176c506e259ca6e3613419ceaa2 polkit-kde-agent-1-5.5.3.tar.xz
164aecacfed1e19caae0785f79bfc3bd395 powerdevil-5.5.3.tar.xz
165ed01bcf7d3ad8a8e398d8d9ee489e971 plasma-desktop-5.5.3.tar.xz
16650398a83ab91afc4eb2cc0793e2e8ea4 kdeplasma-addons-5.5.3.tar.xz
1675a3d42cc596554f231795e1c3b653e7d kgamma5-5.5.3.tar.xz
168254dab24a6d868ffd9892a580e011d51 ksshaskpass-5.5.3.tar.xz
16956ef7525e72457deed301d947a2cb4cd plasma-mediacenter-5.5.3.tar.xz
1704123319b6917cb899bfaa2c78bb2bb56 plasma-sdk-5.5.3.tar.xz
17187a4fa84da38747588fdbb30f8796967 sddm-kcm-5.5.3.tar.xz
17299c9e12c5e5a84041e1bd1729e420111 user-manager-5.5.3.tar.xz
17395bbda7a85501c1c9b4167fbd458b430 discover-5.5.3.tar.xz</literal>
174EOF</userinput></screen>
175
176 </sect2>
177
178 <sect2 role="installation">
179 <title>Installation of Plasma5</title>
180
181 &as_root;
182
183 <para>
184 First, start a subshell that will exit on error:
185 </para>
186
187
188<screen><userinput>bash -e</userinput></screen>
189
190 <para>
191 Install all of the packages by running the following
192 commands:
193 </para>
194
195<screen><userinput>while read -r line; do
196
197 # Get the file name, ignoring comments and blank lines
198 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
199 file=$(echo $line | cut -d" " -f2)
200
201 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
202 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
203
204 tar -xf $file
205 pushd $packagedir
206
207 mkdir build
208 cd build
209
210 OPTS=""
211
212 case $srcdir in
213 kwayland-&plasma5-version; )
214 OPTS="-DECM_MKSPECS_INSTALL_DIR=$KF5_PREFIX/share/mkspecs/modules"
215 ;;
216 esac
217
218 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
219 -DCMAKE_BUILD_TYPE=Release \
220 -DLIB_INSTALL_DIR=lib \
221 -DBUILD_TESTING=OFF \
222 $OPTS \
223 -Wno-dev .. &amp;&amp;
224
225 make
226 as_root make install
227 popd
228
229 rm -rf $packagedir
230 as_root /sbin/ldconfig
231
232done &lt; plasma-&plasma5-version;.md5
233
234exit
235
236cd $KF5_PREFIX/share/plasma/plasmoids
237
238for j in $(find -name \*.js); do
239 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
240done</userinput></screen>
241
242 </sect2>
243
244 <sect2 role="commands">
245 <title>Command Explanations</title>
246
247 <para>
248 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
249 Create symbolic links so qml files can find needed javascript modules.
250 </para>
251
252 </sect2>
253 <sect2 role="starting">
254 <title>Starting Plasma5</title>
255
256 <caution>
257 <para>If you have KDE4 installed as well as Plasma 5, make sure the
258 PATH environment setting has the Plasma 5 binaries before the KDE4 entry.
259 You can ensure this by running:</para>
260
261 <screen><userinput>pathprepend /opt/kf5/bin</userinput></screen>
262
263 <para>before running startx.</para>
264 </caution>
265
266 <para>
267 You can start <application>Plasma5</application> from runlevel 3, using
268 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
269 such as <xref linkend="sddm"/>.
270 </para>
271
272 <para>
273 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
274 run the following commands:
275 </para>
276
277<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
278<literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
279EOF
280
281startx</userinput></screen>
282
283 <para>
284 The X session starts on the first unused virtual terminal, normally vt7.
285 You can switch to another vt<emphasis>n</emphasis> simultaneously
286 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
287 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
288 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
289 <command>startx</command> was executed will display many messages,
290 including X starting messages, applications automatically started with
291 the session, and eventually, some warning and error messages. You may
292 prefer to redirect those messages to a log file, which not only will keep
293 the initial vt uncluttered, but can also be used for debugging purposes. This
294 can be done starting X with:
295 </para>
296
297 <screen><userinput>startx &amp;&gt; ~/.x-session-errors</userinput></screen>
298
299 <note>
300 <para>
301 You may wish to drop consolekit and/or dbus-launch, e.g., just using
302 startkde in ~/.xinitrc. However some capabilities such as mounting or
303 umounting file systems from a file manager will not be possible, or the
304 reboot option may be absent or inoperative, among other problems.
305 </para>
306 </note>
307 <para>
308 When shutting down or rebooting, the shutdown messages appear on the vt
309 where X was running. If you wish to see those messages, simultaneously
310 press keys Alt-F7 (assuming that X was running on vt7).
311 </para>
312
313 </sect2>
314
315 <sect2 role="content">
316 <title>Contents</title>
317
318 <segmentedlist>
319 <segtitle>Installed Programs</segtitle>
320 <segtitle>Installed Libraries</segtitle>
321 <segtitle>Installed Directories</segtitle>
322
323 <seglistitem>
324 <seg>
325 There are too many plasma programs (50 in /opt/kf5/bin) to list
326 separately here.
327 </seg>
328 <seg>
329 There are too many plasma libraries (39 in /opt/kf5/lib) to list
330 separately here.
331 </seg>
332 <seg>
333 There are too many plasma directories (over 1000 in /opt/kf5) to
334 list separately here.
335 </seg>
336 </seglistitem>
337 </segmentedlist>
338
339 </sect2>
340
341</sect1>
342
Note: See TracBrowser for help on using the repository browser.