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

10.0 10.1 11.0 7.10 7.9 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 f97d5f6 was f97d5f6, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Add libinput, wayland, and libpwquality for KDE Plasma5.
Add preliminary Plasma5 instructions. Packages build, but the
desktop does not yet run properly.

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

  • Property mode set to 100644
File size: 10.1 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/plasma5/&plasma5-version;">
8 <!ENTITY plasma5-download-ftp " ">
9 <!ENTITY plasma5-md5sum "See Below">
10 <!ENTITY plasma5-size "?? MB">
11 <!ENTITY plasma5-buildsize "?? GB">
12 <!ENTITY plasma5-time "?? 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 derived from the monolithic KDE 4 desktop. They implement the KDE
31 Display Environment (Plasma 5).</para>
32<!--
33 <warning>
34
35 <para>The procedures below build properly, but Plasma crashes when starting
36 on some systems. Build this only if you want to do some extensive
37 C++ debugging.</para>
38
39 <para>Additionally there are several packages not yet in the book
40 and mesa will need to be rebuilt with different settings. New packages are
41 wayland, xcb-util-cursor, libxkbcommon, lmdb, and libinput.</para>
42
43 <para>This page is a placeholder until the appropriate procedures can be
44 placed formally into the book.</para>
45
46 </warning>
47-->
48 <!--&lfs78_checked;-->
49
50 <para>The instructions below build all of the Plasma 5 packages in one
51 step by using a bash script.</para>
52
53 <bridgehead renderas="sect3">Package Information</bridgehead>
54 <itemizedlist spacing="compact">
55 <listitem>
56 <para>Download (HTTP): <ulink url="&plasma5-download-http;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download (FTP): <ulink url="&plasma5-download-ftp;"/></para>
60 </listitem>
61 <listitem>
62 <para>Download MD5 sum: &plasma5-md5sum;</para>
63 </listitem>
64 <listitem>
65 <para>Download size: &plasma5-size;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated disk space required: &plasma5-buildsize;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated build time: &plasma5-time;</para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Plasma 5 Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="kf5-frameworks"/>,
80 <xref linkend="libinput"/>,
81 <xref linkend="libpwquality"/>, and
82 <xref linkend="mesa"/> built with <xref linkend="wayland"/>
83 </para>
84
85
86 <bridgehead renderas="sect4">Recommended</bridgehead>
87 <para role="recommended">
88 <!--<xref linkend="avahi"/> (DNS-SD backend for KDNSSD),-->
89 To be determined.
90 </para>
91<!--
92 <bridgehead renderas="sect4">Optional</bridgehead>
93 <para role="optional">
94 <xref linkend="bluez"/> (needed to build Bluez-Qt),
95 <xref linkend="NetworkManager"/> (needed to build NetworkManager-Qt),
96 <ulink url="http://www.freedesktop.org/software/ModemManager/">ModemManager</ulink> (needed to build ModemManager-Qt)
97 </para>
98
99 <bridgehead renderas="sect4">Runtime dependency for FrameworkIntegration</bridgehead>
100 <para role="optional">
101 <ulink url="http://download.kde.org/stable/plasma/5.2.0">oxygen-fonts</ulink>
102 </para>
103
104 <bridgehead renderas="sect4">Runtime dependencies for kapidox</bridgehead>
105 <para role="optional">
106 <xref linkend="doxygen"/>,
107 <ulink url="https://pypi.python.org/packages/source/J/Jinja2/">Jinja2</ulink>, and
108 <ulink url="http://pyyaml.org/">PyYAML</ulink>
109 </para>
110
111 <bridgehead renderas="sect4">Additional image formats support in KImageFormats</bridgehead>
112 <para role="optional">
113 <xref linkend="jasper"/> and
114 <ulink url="http://www.openexr.com/">OpenEXR</ulink>
115 </para>
116
117 <bridgehead renderas="sect4">Optional dependencies for KIO</bridgehead>
118 <para role="optional">
119 <xref linkend="mitkrb"/>
120 </para>
121
122 <bridgehead renderas="sect4">Optional dependencies for ModemManager-QT</bridgehead>
123 <para role="optional">
124 <ulink url="http://www.freedesktop.org/software/ModemManager/">ModemManager</ulink>
125 </para>
126
127 <bridgehead renderas="sect4">Optional dependencies for Solid</bridgehead>
128 <para role="optional">
129 <xref linkend="udisks2"/>,
130 <xref linkend="upower"/> and
131 <ulink url="http://www.freedesktop.org/software/media-player-info/">media-player-info</ulink> (runtime)
132 </para>
133
134 <bridgehead renderas="sect4">Optional dictionary backends for Sonnet</bridgehead>
135 <para role="optional">
136 <ulink url="http://hspell.ivrix.org.il/">Hspell</ulink> and
137 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
138 </para>
139-->
140 <para condition="html" role="usernotes">User Notes:
141 <ulink url="&blfs-wiki;/kf5"/></para>
142
143 <sect2>
144 <title>Downloading KDE Frameworks</title>
145
146 <para>
147 The easiest way to get the KDE Plasma5 packages is to use a single
148 <command>wget</command> to fetch them all at once:
149 </para>
150
151<screen><userinput>url=http://download.kde.org/stable/plasma/&plasma5-version;/
152wget -r -nH --cut-dirs=3 -A '*.xz' -np $url
153<literal>
154The options used here are:
155 -r recurse through child directories
156 -nH disable generation of host-prefixed directories
157 --cut-dirs=3 remove three levels of directories when saving
158 -A '*.xz' just get the *.xz files
159 -np don't get parent directories</literal></userinput></screen>
160
161 </sect2>
162
163 <sect2>
164 <title>Setting Package Order</title>
165
166 <para>
167 The order of building files is important due to internal dependencies.
168 Create the list of files in the proper order as follows:
169 </para>
170
171<screen><userinput>cat &gt; plasma-&kf5-version;.md5 &lt;&lt; "EOF"
172<literal>
173bb94a0d6f06583456b8f0a2eae07edd6 kde-cli-tools-5.4.2.tar.xz
17467683fc1ae1fdf014f567780502b574a kdecoration-5.4.2.tar.xz
175c0c0eef0f2bfb93a81e4e701d7557eb9 kwayland-5.4.2.tar.xz
1765b3c52fbf0172dfcf749cde12ebb48f3 libkscreen-5.4.2.tar.xz
177c770bd91e3947373c00938e2d85628d9 libksysguard-5.4.2.tar.xz
1780e1d48eba3d0261023954b46fe7af36e breeze-5.4.2.tar.xz
179c60184edbd89bfcf1ee1c03aefd741f8 kwin-5.4.2.tar.xz
18055eeb736365e902e957509a43884efd9 oxygen-5.4.2.tar.xz
18125bc526b21e9a0472e94a73b5f2d7d83 oxygen-fonts-5.4.2.tar.xz
182770b8c69df2c550ab66f0c316c3bf850 khelpcenter-5.4.2.tar.xz
1836714e90d548f37ec32d2cc166c68149c kinfocenter-5.4.2.tar.xz
1847551c199c5caffda59363757bbc57243 ksysguard-5.4.2.tar.xz
1859d7cfdee2d138983f4267ba1e6a69be6 systemsettings-5.4.2.tar.xz
186a4fe835089c213c52f1407715163bf80 plasma-workspace-5.4.2.tar.xz
187bc10f321f5ea2a605be29d8cba6b9bc5 bluedevil-5.4.2.tar.xz
188530e74504d38cfd6783421c017c56f55 khotkeys-5.4.2.tar.xz
189bfaf172def24ea772dfc58c798b68938 kmenuedit-5.4.2.tar.xz
1909b0b4e2268d87cc7699e1e74e6faa8c3 kscreen-5.4.2.tar.xz
191171c439473a4ab9cdbbed6732a70801b kwrited-5.4.2.tar.xz
1922298a15ef7957322b84829166824628c milou-5.4.2.tar.xz
19335c599c728739cded5596d4821b5a53f plasma-nm-5.4.2.tar.xz
194d48aab54cfe78cfc74d0c8ba099a905b plasma-workspace-wallpapers-5.4.2.tar.xz
19564ed6fe8c59c2812b9c34cd8a3827735 polkit-kde-agent-1-5.4.2.tar.xz
19644dec41f77080fd83f2122fc2762f09a powerdevil-5.4.2.tar.xz
197457b1b6d69fd52416485e08ed7744fe3 plasma-desktop-5.4.2.tar.xz
198b7049d459eccd6a5efbf55ff1c2121fb kdeplasma-addons-5.4.2.tar.xz
199f8415a6a0e25a609d30c3d3ee2c9c696 kwayland-integration-5.4.2.tar.xz
2008adf666f98baf8f4f381d5515db4100b kde-gtk-config-5.4.2.tar.xz
201e72368f28238ba7bacac81d5ff5e26f3 kgamma5-5.4.2.tar.xz
202f6fac3219aa8ba5056e06ad0c92773c9 ksshaskpass-5.4.2.tar.xz
203888836db6c8fb4f1cc381ed56a690204 kwallet-pam-5.4.2.tar.xz
20405b79b89c9708c046775448ec846c513 muon-5.4.2.tar.xz
20578e2931ed08b8fffae67d7aa0cd90f9f plasma-mediacenter-5.4.2.tar.xz
206b399b81c4d773355e5d5ef7b4d1a73a5 plasma-pa-5.4.2.tar.xz
207c9bbe9a824400cbe7982aac0d8bdf6a3 plasma-sdk-5.4.2.tar.xz
20861585733e7a5585ea9ed203ad9b2a1a0 sddm-kcm-5.4.2.tar.xz
2095b0cb53813fc5f9a1406260d2a1109c7 user-manager-5.4.2.tar.xz</literal>
210EOF</userinput></screen>
211
212 </sect2>
213
214 <sect2 role="installation">
215 <title>Installation of Plasma5</title>
216
217 &as_root;
218
219 <para>
220 First, start a subshell that will exit on error:
221 </para>
222
223
224<screen><userinput>bash -e</userinput></screen>
225
226 <para>
227 Install all of the packages by running the following
228 commands:
229 </para>
230
231<screen><userinput>while read -r line; do
232
233 # Get the file name, ignoring comments and blank lines
234 if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
235 file=$(echo $line | cut -d" " -f2)
236
237 pkg=$(echo $file|sed 's|^.*/||') # Remove directory
238 packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
239
240 tar -xf $file
241 pushd $packagedir
242
243 mkdir build
244 cd build
245
246 cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
247 -DCMAKE_BUILD_TYPE=Debug \
248 -DLIB_INSTALL_DIR=lib \
249 -DBUILD_TESTING=OFF \
250 -DQML_INSTALL_DIR=lib/qt5/qml \
251 -DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
252 -DECM_MKSPECS_INSTALL_DIR=$KF5_PREFIX/share/qt5/mkspecs/modules \
253 -DOXYGEN_FONT_INSTALL_DIR=/usr/share/fonts/truetype/oxygen \
254 -Wno-dev .. &amp;&amp;
255
256 make
257 as_root make install
258 popd
259
260 rm -rf $packagedir
261 as_root /sbin/ldconfig
262
263done &lt; plasma-&kf5-version;.md5
264
265exit</userinput></screen>
266
267
268 </sect2>
269
270 <sect2 role="commands">
271 <title>Command Explanations</title>
272
273 <para>
274 Deferred.
275 </para>
276
277 </sect2>
278 <sect2 role="content">
279 <title>Contents</title>
280
281 <segmentedlist>
282 <segtitle>Installed Programs</segtitle>
283 <segtitle>Installed Libraries</segtitle>
284 <segtitle>Installed Directories</segtitle>
285
286 <seglistitem>
287 <seg>
288 Deferred
289 </seg>
290 <seg>
291 Deferred
292 </seg>
293 <seg>
294 Deferred
295 </seg>
296 </seglistitem>
297 </segmentedlist>
298
299 </sect2>
300
301</sect1>
302
Note: See TracBrowser for help on using the repository browser.