source: kde/plasma5/plasma-all.xml@ 3011abe

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 3011abe was 3011abe, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to plasma-5.6.5

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

  • Property mode set to 100644
File size: 12.5 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">
[3011abe]10 <!ENTITY plasma5-size "101 MB">
11 <!ENTITY plasma5-buildsize "921 MB (296 MB installed)">
12 <!ENTITY plasma5-time "39 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
[3011abe]33 &lfs79_checked;&gcc6_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"
[3011abe]140<literal>30a16a0dd46ca2ce36b7fc09355b485d kde-cli-tools-5.6.5.tar.xz
141d979aa9467e7554874681be3f51fd5ce kdecoration-5.6.5.tar.xz
142#dd6ad77e5d8bfbcd374f0c2e58d636a8 kwayland-5.6.5.tar.xz
143fd556c9aeaf9330bdb7755226875a245 libkscreen-5.6.5.tar.xz
144717a38db625198390e17a147d38fc532 libksysguard-5.6.5.tar.xz
1458fb2f83fae5c09bbed5e876831af124d breeze-5.6.5.tar.xz
14605282eb95af385e5877efd3ee294429a breeze-gtk-5.6.5.tar.xz
147d949a468af5da8b1db48a311954b06c6 kscreenlocker-5.6.5.tar.xz
148cc5407dcd31778b81b929dd833deb25b oxygen-5.6.5.tar.xz
149968f0dcd88e96e0e52c561e333b57f2b kinfocenter-5.6.5.tar.xz
150898c3b27feb1d86d3936ea170ba65890 ksysguard-5.6.5.tar.xz
15142829fd13bb42b2ec494315da1507670 kwin-5.6.5.tar.xz
152084b6cd34bb961a1f96234fc6e406e48 systemsettings-5.6.5.tar.xz
153#340806c1a66ac443837e77f421181c09 plasma-workspace-5.6.5.tar.xz
154340806c1a66ac443837e77f421181c09 plasma-workspace-5.6.5.1.tar.xz
155a8c144df8b08ad0853bcdb51642361d5 bluedevil-5.6.5.tar.xz
1562cf0bf3c9e392f1f4751176ddd3fa13f kde-gtk-config-5.6.5.tar.xz
1574f956210baea44254d5d5fdd8f516d4a khotkeys-5.6.5.tar.xz
158304f6a029ece2b0da8ddd07fb892a0ae kmenuedit-5.6.5.tar.xz
159060b56fb63ed8a493a0ab8ab60ae486d kscreen-5.6.5.tar.xz
1604774f5d95199bf94806cd6b63a64e676 kwallet-pam-5.6.5.tar.xz
161a72a8b5f705e6ab68f3f209ae817480a kwayland-integration-5.6.5.tar.xz
1625d00f53ee1b3713a54a9f3d64095d932 kwrited-5.6.5.tar.xz
163d4c33cf3856db7e3af8a2cade370e14d milou-5.6.5.tar.xz
1649b9e6c59710285a603f29d01def056c8 plasma-nm-5.6.5.tar.xz
1657130274b1089a12697121bdc57dde266 plasma-pa-5.6.5.tar.xz
1664ad9d8fc0be4ca99800856b888023fca plasma-workspace-wallpapers-5.6.5.tar.xz
167d57d8318146fae78dadec75abdf3328c polkit-kde-agent-1-5.6.5.tar.xz
168d988b78411f1f370230b8854456ebe7b powerdevil-5.6.5.tar.xz
16936858c6e1696bfead82d3a06edc6df20 plasma-desktop-5.6.5.tar.xz
170b0cf3a7e6147d1fc33ca40895a9998fa kdeplasma-addons-5.6.5.tar.xz
17137dee802109c585f5ccf94da294b022d kgamma5-5.6.5.tar.xz
1724a42a147c82c56924ebdb07de72616fd ksshaskpass-5.6.5.tar.xz
173133031892c4c93891ce26176ca483828 plasma-mediacenter-5.6.5.tar.xz
174#ebde5a3ececfc0b34e43580e0b6e0a26 plasma-sdk-5.6.5.tar.xz
1753ff070fd1c450fbbfc9a7628fed15601 sddm-kcm-5.6.5.tar.xz
1763b6b859443a79ac47a04542e55f4dc52 user-manager-5.6.5.tar.xz
177ce253c1c0b1f2d70db2bf9a9b0ba9381 discover-5.6.5.tar.xz
178#8b23b0b1af6b70e335640d779ca9fc9e breeze-grub-5.6.5.tar.xz
179#97beb61c443e298196c6ec86cd7533f3 breeze-plymouth-5.6.5.tar.xz
1801601ae991cecb49a2fa0eda05ac056a2 kactivitymanagerd-5.6.5.tar.xz
181bf34fb0e93402001f327bf99c195cebe plasma-integration-5.6.5.tar.xz</literal>
[153a5795]182EOF</userinput></screen>
183
[ce228c2]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
[3011abe]188 <xref linkend="initramfs"/>). The plasma-sdk package is optional and used
189 for software development. Thre are two versions of plasma-workspace and we
190 use the most recent. kwaylayland is now installed in <xref
191 linkend="kf5-frameworks"/>. </para></note>
[ce228c2]192
[153a5795]193 </sect2>
194
195 <sect2 role="installation">
196 <title>Installation of Plasma5</title>
197
198 &as_root;
199
200 <para>
201 First, start a subshell that will exit on error:
202 </para>
203
204<screen><userinput>bash -e</userinput></screen>
205
206 <para>
207 Install all of the packages by running the following
208 commands:
209 </para>
210
211<screen><userinput>while read -r line; do
212
213 # Get the file name, ignoring comments and blank lines
214 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
215 file=$(echo $line | cut -d" " -f2)
[f3429309]216
[153a5795]217 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
218 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
219
[3011abe]220 # Correct the name of the extracted directory
221 case $packagedir in
222 plasma-workspace-5.6.5.1 )
223 packagedir=plasma-workspace-5.6.5
224 ;;
225 esac
226
[153a5795]227 tar -xf $file
228 pushd $packagedir
229
[69a9de5]230 mkdir build
231 cd build
[153a5795]232
[1c8d0ff]233 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
234 -DCMAKE_BUILD_TYPE=Release \
235 -DLIB_INSTALL_DIR=lib \
236 -DBUILD_TESTING=OFF \
[69a9de5]237 -Wno-dev .. &amp;&amp;
[153a5795]238
[69a9de5]239 make
240 as_root make install
241 popd
[153a5795]242
[8f445fdc]243<!-- somme packages end up with files owned by root in $packagedir,
244 so use as_root for removing -->
245 as_root rm -rf $packagedir
[69a9de5]246 as_root /sbin/ldconfig
247
[ed4a7a2]248done &lt; plasma-&plasma5-version;.md5
[153a5795]249
[1c8d0ff]250exit
251
252cd $KF5_PREFIX/share/plasma/plasmoids
[153a5795]253
[1c8d0ff]254for j in $(find -name \*.js); do
[3d656d7]255 as_root ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/
[1c8d0ff]256done</userinput></screen>
[153a5795]257
258 </sect2>
259
260 <sect2 role="commands">
261 <title>Command Explanations</title>
262
263 <para>
[1c8d0ff]264 <command>ln -sfv ../code/$(basename $j) $(dirname $j)/../ui/</command>:
265 Create symbolic links so qml files can find needed javascript modules.
[153a5795]266 </para>
267
268 </sect2>
[1c8d0ff]269 <sect2 role="starting">
270 <title>Starting Plasma5</title>
271
272 <para>
273 You can start <application>Plasma5</application> from runlevel 3, using
274 <xref linkend="xinit"/>, or from runlevel 5, using a Display Manager,
275 such as <xref linkend="sddm"/>.
276 </para>
277
278 <para>
[460cec4b]279 To start <application>Plasma 5</application> using <xref linkend="xinit"/>,
[1c8d0ff]280 run the following commands:
281 </para>
282
283<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
284<literal>ck-launch-session dbus-launch --exit-with-session $KF5_PREFIX/bin/startkde</literal>
285EOF
286
287startx</userinput></screen>
288
289 <para>
290 The X session starts on the first unused virtual terminal, normally vt7.
291 You can switch to another vt<emphasis>n</emphasis> simultaneously
292 pressing the keys Ctrl-Alt-F<emphasis>n</emphasis>
293 (<emphasis>n</emphasis>=1, 2, ...). To switch back to the X session,
294 normally started at vt7, use Ctrl-Alt-F7. The vt where the command
295 <command>startx</command> was executed will display many messages,
296 including X starting messages, applications automatically started with
297 the session, and eventually, some warning and error messages. You may
298 prefer to redirect those messages to a log file, which not only will keep
299 the initial vt uncluttered, but can also be used for debugging purposes. This
300 can be done starting X with:
301 </para>
302
[3011abe]303 <screen><userinput>startx &amp;&gt; ~/x-session-errors</userinput></screen>
[1c8d0ff]304
305 <note>
306 <para>
307 You may wish to drop consolekit and/or dbus-launch, e.g., just using
308 startkde in ~/.xinitrc. However some capabilities such as mounting or
309 umounting file systems from a file manager will not be possible, or the
310 reboot option may be absent or inoperative, among other problems.
311 </para>
312 </note>
313 <para>
314 When shutting down or rebooting, the shutdown messages appear on the vt
315 where X was running. If you wish to see those messages, simultaneously
316 press keys Alt-F7 (assuming that X was running on vt7).
317 </para>
318
319 </sect2>
320
[153a5795]321 <sect2 role="content">
322 <title>Contents</title>
323
324 <segmentedlist>
325 <segtitle>Installed Programs</segtitle>
326 <segtitle>Installed Libraries</segtitle>
327 <segtitle>Installed Directories</segtitle>
328
329 <seglistitem>
330 <seg>
[83ef2a4]331 There are too many plasma programs (50 in /opt/kf5/bin) to list
332 separately here.
[153a5795]333 </seg>
334 <seg>
[83ef2a4]335 There are too many plasma libraries (39 in /opt/kf5/lib) to list
336 separately here.
[153a5795]337 </seg>
338 <seg>
[83ef2a4]339 There are too many plasma directories (over 1000 in /opt/kf5) to
340 list separately here.
[153a5795]341 </seg>
342 </seglistitem>
343 </segmentedlist>
344
345 </sect2>
346
347</sect1>
348
Note: See TracBrowser for help on using the repository browser.