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 | <!-- kf5-download-http is defined on patches.ent
|
---|
8 | <!ENTITY kf5-download-http "&kf5-download-http;"> -->
|
---|
9 | <!ENTITY kf5-download-ftp " ">
|
---|
10 | <!ENTITY kf5-md5sum "See Below">
|
---|
11 | <!ENTITY kf5-size "266 MB">
|
---|
12 | <!ENTITY kf5-buildsize "1.1 GB (237 MB installed)">
|
---|
13 | <!ENTITY kf5-time "17 SBU (using parallelism=4)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="kf5-frameworks" xreflabel="KDE Frameworks-&kf5-version;">
|
---|
17 | <?dbhtml filename="krameworks5.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Building KDE Frameworks 5 (KF5)</title>
|
---|
25 |
|
---|
26 | <indexterm zone="kf5-frameworks">
|
---|
27 | <primary sortas="a-kde-frameworks">KDE Frameworks</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <para>
|
---|
31 | KDE Frameworks 5 is a collection of libraries based on top of Qt5 and
|
---|
32 | QML derived from the monolithic KDE 4 libraries. They can be used
|
---|
33 | independent of the KDE Display Environment (Plasma 5).
|
---|
34 | </para>
|
---|
35 |
|
---|
36 | &lfs91_checked;
|
---|
37 |
|
---|
38 | <para>
|
---|
39 | The instructions below build all of the KDE Frameworks packages in one
|
---|
40 | step by using a bash script.
|
---|
41 | </para>
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (HTTP): <ulink url="&kf5-download-http;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (FTP): <ulink url="&kf5-download-ftp;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download MD5 sum: &kf5-md5sum;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download size: &kf5-size;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated disk space required: &kf5-buildsize;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated build time: &kf5-time;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | </itemizedlist>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect3">KF5 Dependencies</bridgehead>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
80 | <para role="required">
|
---|
81 | <xref linkend="boost"/>,
|
---|
82 | <xref linkend="extra-cmake-modules"/>,
|
---|
83 | <xref linkend="DocBook"/>,
|
---|
84 | <xref linkend="docbook-xsl"/>,
|
---|
85 | <xref linkend="giflib"/>,
|
---|
86 | <xref linkend="libepoxy"/>,
|
---|
87 | <xref linkend="libgcrypt"/>,
|
---|
88 | <xref linkend="libjpeg"/>,
|
---|
89 | <xref linkend="libpng"/>,
|
---|
90 | <xref linkend="libxslt"/>,
|
---|
91 | <xref linkend="lmdb"/>,
|
---|
92 | <!--<xref linkend="openssl10"/>,-->
|
---|
93 | <!--<xref linkend="qtwebkit5"/>,-->
|
---|
94 | <xref linkend="phonon"/>,
|
---|
95 | <xref linkend="shared-mime-info"/>,
|
---|
96 | <xref linkend="perl-uri"/>, and
|
---|
97 | <xref linkend="wget"/> (required to download the packages)
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
101 | <para role="recommended">
|
---|
102 | <xref linkend="aspell"/> (Dictionary backend for Sonnet),
|
---|
103 | <xref linkend="avahi"/> (DNS-SD backend for KDNSSD),
|
---|
104 | <xref linkend="libdbusmenu-qt"/> (built with qt5),
|
---|
105 | <xref linkend="NetworkManager"/> (needed to build NetworkManager-Qt), and
|
---|
106 | <xref linkend="polkit-qt"/> (Authentication backend for KAuth)
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <para role="recommended">
|
---|
110 | Furthermore, the instructions below assume that the environment has been
|
---|
111 | set up as described in <xref linkend="kf5-intro"/>.
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
115 | <para role="optional">
|
---|
116 | <xref linkend="bluez"/> (needed to build Bluez-Qt),
|
---|
117 | <xref linkend="ModemManager"/> (needed to build ModemManager-Qt)
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <bridgehead renderas="sect4">Runtime dependency for FrameworkIntegration</bridgehead>
|
---|
121 | <para role="optional">
|
---|
122 | <xref role="runtime" linkend="oxygen-fonts"/> and
|
---|
123 | <xref role="runtime" linkend="noto-fonts"/>
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <bridgehead renderas="sect4">Runtime dependencies for kapidox</bridgehead>
|
---|
127 | <para role="optional">
|
---|
128 | <xref role="runtime" linkend="doxygen"/>,
|
---|
129 | <xref role="runtime" linkend="Jinja2"/>, and
|
---|
130 | <xref role="runtime" linkend="PyYAML"/>
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | <bridgehead renderas="sect4">Additional image formats support in KImageFormats</bridgehead>
|
---|
134 | <para role="optional">
|
---|
135 | <xref linkend="jasper"/> and
|
---|
136 | <ulink url="http://www.openexr.com/">OpenEXR</ulink>
|
---|
137 | </para>
|
---|
138 |
|
---|
139 | <bridgehead renderas="sect4">Optional dependencies for KIO</bridgehead>
|
---|
140 | <para role="optional">
|
---|
141 | <xref linkend="mitkrb"/>
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <bridgehead renderas="sect4">Optional dependencies for Solid</bridgehead>
|
---|
145 | <para role="optional">
|
---|
146 | <xref linkend="udisks2"/>,
|
---|
147 | <xref linkend="upower"/> and
|
---|
148 | <ulink role="runtime" url="http://www.freedesktop.org/software/media-player-info/">media-player-info</ulink> (runtime)
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | <bridgehead renderas="sect4">Optional dependency for KWallet</bridgehead>
|
---|
152 | <para role="optional">
|
---|
153 | <ulink url="&kf5apps-download-http;">gpgmepp</ulink>
|
---|
154 | </para>
|
---|
155 |
|
---|
156 | <bridgehead renderas="sect4">Optional dictionary backends for Sonnet</bridgehead>
|
---|
157 | <para role="optional">
|
---|
158 | <ulink url="http://hspell.ivrix.org.il/">Hspell</ulink> and
|
---|
159 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
|
---|
160 | </para>
|
---|
161 |
|
---|
162 | <bridgehead renderas="sect4">Required dependencies for Prison</bridgehead>
|
---|
163 | <para role="optional">
|
---|
164 | <!-- Leaving as optional since these are external -->
|
---|
165 | <ulink url="http://libdmtx.sourceforge.net/">Datamatrix</ulink> and
|
---|
166 | <ulink url="https://fukuchi.org/works/qrencode/">QRencode</ulink>
|
---|
167 | </para>
|
---|
168 |
|
---|
169 | <para condition="html" role="usernotes">User Notes:
|
---|
170 | <ulink url="&blfs-wiki;/kf5"/></para>
|
---|
171 |
|
---|
172 | <sect2>
|
---|
173 | <title>Downloading KDE Frameworks</title>
|
---|
174 |
|
---|
175 | <para>
|
---|
176 | The easiest way to get the KDE Frameworks packages is to use a single
|
---|
177 | <command>wget</command> to fetch them all at once:
|
---|
178 | </para>
|
---|
179 |
|
---|
180 | <screen><userinput>url=http://download.kde.org/stable/frameworks/&kf5-short-version;/
|
---|
181 | wget -r -nH -nd -A '*.xz' -np $url</userinput>
|
---|
182 | <literal>
|
---|
183 | The options used here are:
|
---|
184 | -r recurse through child directories
|
---|
185 | -nH disable generation of host-prefixed directories
|
---|
186 | -nd do not create a hierarchy of directories
|
---|
187 | -A '*.xz' just get the *.xz files
|
---|
188 | -np don't get parent directories</literal></screen>
|
---|
189 |
|
---|
190 | </sect2>
|
---|
191 |
|
---|
192 | <sect2>
|
---|
193 | <title>Setting Package Order</title>
|
---|
194 |
|
---|
195 | <para>
|
---|
196 | The order of building files is important due to internal dependencies.
|
---|
197 | Create the list of files in the proper order as follows:
|
---|
198 | </para>
|
---|
199 |
|
---|
200 | <screen><userinput>cat > frameworks-&kf5-version;.md5 << "EOF"
|
---|
201 | <literal>0662c42c9956ff85d5677d01b2be54ed attica-5.70.0.tar.xz
|
---|
202 | #fa9d2abfdb2b1679787f3e695591eec3 extra-cmake-modules-5.70.0.tar.xz
|
---|
203 | 4529cd343c8405a3c3125db10805740e kapidox-5.70.0.tar.xz
|
---|
204 | 5c759116a6fd6e9ccb760c8c7668f4be karchive-5.70.0.tar.xz
|
---|
205 | 2220c9c8f58d5fd2202ff1f11cb40d8e kcodecs-5.70.0.tar.xz
|
---|
206 | 8403c9c5cbbb8c96bec4cea4ce6bc764 kconfig-5.70.0.tar.xz
|
---|
207 | 1a7001a1cacf0fdd96f0ac882c071503 kcoreaddons-5.70.0.tar.xz
|
---|
208 | 0c875564917a3769ecb8695cdd87dfa6 kdbusaddons-5.70.0.tar.xz
|
---|
209 | 2bd111b8aa228fcaed274f2de4d9d7d7 kdnssd-5.70.0.tar.xz
|
---|
210 | 922b5bf6520a0f551f3a24fc44736017 kguiaddons-5.70.0.tar.xz
|
---|
211 | 38fa408218a40d0c8d7d73d22bb8c74c ki18n-5.70.0.tar.xz
|
---|
212 | 754083ef1afac1c1d280ad9beff262c8 kidletime-5.70.0.tar.xz
|
---|
213 | c1d393754324f1654332ffd15bf0a04b kimageformats-5.70.0.tar.xz
|
---|
214 | fb178ef04b48741b3a56a3eb9a464a88 kitemmodels-5.70.0.tar.xz
|
---|
215 | cc5e9c1716a816d8f18c8ceaf5995afa kitemviews-5.70.0.tar.xz
|
---|
216 | c7a41b3eaabebcf33a0525b90daca561 kplotting-5.70.0.tar.xz
|
---|
217 | c9af5d1b21cb57fd882420f04e7bfb24 kwidgetsaddons-5.70.0.tar.xz
|
---|
218 | afe3c023d1ebd1f2cd1b48ad1bb77046 kwindowsystem-5.70.0.tar.xz
|
---|
219 | a8a8954d3cbb2721531e7c38ae9b92c0 networkmanager-qt-5.70.0.tar.xz
|
---|
220 | 8389e1ecfb9eace6af471a6fdfc249e8 solid-5.70.0.tar.xz
|
---|
221 | 3d9d72f36bb135b8de91497734c1a08e sonnet-5.70.0.tar.xz
|
---|
222 | 01ba09be43c32826cebdaab01ba257e1 threadweaver-5.70.0.tar.xz
|
---|
223 | 4561d348d12a5be34c3b1c96ee1303e3 kauth-5.70.0.tar.xz
|
---|
224 | c97543ad15f56a355640abd3535974ce kcompletion-5.70.0.tar.xz
|
---|
225 | 8d013cac0a0d57417d3b69188700a4b8 kcrash-5.70.0.tar.xz
|
---|
226 | 68ee037e6ab6c7956c4c988a629fd606 kdoctools-5.70.0.tar.xz
|
---|
227 | 5421e4cf962aad7ff75dd2ab3ba8c588 kpty-5.70.0.tar.xz
|
---|
228 | 3465dcb86a7d5247b2fc6504dc59f345 kunitconversion-5.70.0.tar.xz
|
---|
229 | 3e1bddd47524d52b416a5f82c787eba9 kconfigwidgets-5.70.0.tar.xz
|
---|
230 | 27fcd57a9d763f34b185052743795903 kservice-5.70.0.tar.xz
|
---|
231 | a2cbcb92d8afc66f9d398feaa5ef4fcc kglobalaccel-5.70.0.tar.xz
|
---|
232 | 428f94a21061feca57feff45af819d33 kpackage-5.70.0.tar.xz
|
---|
233 | 6f9a92bf3d2cbe26c67f74a8357040b2 kdesu-5.70.0.tar.xz
|
---|
234 | 44dfe3d667259135dd076072c26ad569 kemoticons-5.70.0.tar.xz
|
---|
235 | 1f98c26216b7ef6507d16815a69ffec2 kiconthemes-5.70.0.tar.xz
|
---|
236 | 6dbdea28bc66853bfebf11e8b0c882f4 kjobwidgets-5.70.0.tar.xz
|
---|
237 | dfb0042a3663fe09cc013490e4a63860 knotifications-5.70.0.tar.xz
|
---|
238 | d00a98ef67a05c7848b755c95ccbc062 ktextwidgets-5.70.0.tar.xz
|
---|
239 | c0c0eb42c6df61c56006dbda64674b98 kxmlgui-5.70.0.tar.xz
|
---|
240 | 179a9b158eeb5e39eaa17c6bce86e1ff kbookmarks-5.70.0.tar.xz
|
---|
241 | 33a1dc6ab1be41fac3e81f6cb472a069 kwallet-5.70.0.tar.xz
|
---|
242 | ea2f82e35ee5cb1672b4acecdd5a2166 kio-5.70.1.tar.xz
|
---|
243 | e16156acbe112f2b8fbfa3bc1a475517 kdeclarative-5.70.0.tar.xz
|
---|
244 | 1fe4198573ec914521b8fefee112db09 kcmutils-5.70.0.tar.xz
|
---|
245 | f47f6e6e8df0fcd14cd0d4da8d13c387 kirigami2-5.70.0.tar.xz
|
---|
246 | ddbb73118bfd298a0f0cf6229a8ea3e8 knewstuff-5.70.0.tar.xz
|
---|
247 | 2d48b0b982c85a00dd668ce9a759b762 frameworkintegration-5.70.0.tar.xz
|
---|
248 | e23ae6b5edc1eab71bc9efb0e4478579 kinit-5.70.0.tar.xz
|
---|
249 | 8094d4e3d2f4c4de15fc43a90745fec3 knotifyconfig-5.70.0.tar.xz
|
---|
250 | 43786f6a1e6629d85eddfdebba5d5779 kparts-5.70.0.tar.xz
|
---|
251 | 2210df63319591f07161603856c05a89 kactivities-5.70.0.tar.xz
|
---|
252 | de3b5bcc752bdccbb380e79e1bef9749 kded-5.70.0.tar.xz
|
---|
253 | #62137f9ac20b3ae834f9db364a8fc883 kdewebkit-5.70.0.tar.xz
|
---|
254 | 79483ab26b782ead8d9937e055c5ab80 syntax-highlighting-5.70.0.tar.xz
|
---|
255 | f761f1b7876cecfc12cdb09c58a7cab2 ktexteditor-5.70.1.tar.xz
|
---|
256 | eda29268e2fcc487f9b5327f50b2a6a1 kdesignerplugin-5.70.0.tar.xz
|
---|
257 | a5bd12d4f453e7fa2873887f8b67ed24 kwayland-5.70.0.tar.xz
|
---|
258 | 7c34a86d46a9579e3222a233de2deaee plasma-framework-5.70.1.tar.xz
|
---|
259 | #93e77e5e267c588e1a9c02cef7b66344 modemmanager-qt-5.70.0.tar.xz
|
---|
260 | 4928a1fb4f30033cfc773f7788469113 kpeople-5.70.0.tar.xz
|
---|
261 | b1e8cf4271ff15c2405ea53a1ad96770 kxmlrpcclient-5.70.0.tar.xz
|
---|
262 | 1e4ed6723f2f4e26272a930be175b43f bluez-qt-5.70.0.tar.xz
|
---|
263 | ec4f5d2b42c7681b8394a651f036d02c kfilemetadata-5.70.0.tar.xz
|
---|
264 | d2e58f6ff05939c017f9f609bcd88bba baloo-5.70.0.tar.xz
|
---|
265 | #3bb6310b57e2bec3c3703b8ecdda8c4e breeze-icons-5.70.0.tar.xz
|
---|
266 | #7514480df86969c3a688317c7d8d57c3 oxygen-icons5-5.70.0.tar.xz
|
---|
267 | dc3f2f6e3c3da0c7dfcbbdab80bf4525 kactivities-stats-5.70.0.tar.xz
|
---|
268 | 5fccfd29b83eec47982420fc8d96a608 krunner-5.70.0.tar.xz
|
---|
269 | #179e9c8572d45c1c4fa1c22d3329aa6e prison-5.70.0.tar.xz
|
---|
270 | 7e620abb50e6a65ae0aba63d7965246e qqc2-desktop-style-5.70.0.tar.xz
|
---|
271 | 5da6b3606f188b628df1e46fa04c2617 kjs-5.70.0.tar.xz
|
---|
272 | aabe7800a7c8add84efd8344b7582ffb kdelibs4support-5.70.0.tar.xz
|
---|
273 | 1428874c22d8af52caeffb67bf3a92c1 khtml-5.70.0.tar.xz
|
---|
274 | 4bba2510b573812de49bccc2ee447cad kjsembed-5.70.0.tar.xz
|
---|
275 | f277b1426f982845eb3c5ebc42c15b48 kmediaplayer-5.70.0.tar.xz
|
---|
276 | 6d619e298ac3a8b8d6b30a5020b2c128 kross-5.70.0.tar.xz
|
---|
277 | c0ba868390673010348f72679b1f7e46 kholidays-5.70.0.tar.xz
|
---|
278 | 18a5eb19df6992fe3f66767ce2ed7029 purpose-5.70.0.tar.xz
|
---|
279 | 894e8902c34abebaf49c1a92d0d53011 syndication-5.70.0.tar.xz
|
---|
280 | 87160c7e63e09d84576fa1a95758676a kcalendarcore-5.70.0.tar.xz
|
---|
281 | fddabbc040e37213bca9b51870e5ce6d kcontacts-5.70.0.tar.xz
|
---|
282 | e0cf77affa32c3301efc93c84ffa5d28 kquickcharts-5.70.0.tar.xz</literal>
|
---|
283 | EOF</userinput></screen>
|
---|
284 |
|
---|
285 | <para>
|
---|
286 | In the above list, notice that some files have been commented out with
|
---|
287 | a hash (#) character. The extra-cmake-modules entry has been commented out
|
---|
288 | because it was built earlier in the <xref linkend="kde-prereq"/>. The icon
|
---|
289 | packages are covered separately at <xref linkend="breeze-icons"/> and <xref
|
---|
290 | linkend="oxygen-icons5"/>. The modemmanager-qt package may be built if its
|
---|
291 | optional dependency has been installed. The prison package (bar code reader)
|
---|
292 | may be built if the required external libraries are installed. The
|
---|
293 | kdewebkit may be built if the external package
|
---|
294 | <ulink url="https://download.qt.io/community_releases/5.9/5.9.0-final/">
|
---|
295 | QtWebkit</ulink> has been built.
|
---|
296 | </para>
|
---|
297 |
|
---|
298 | </sect2>
|
---|
299 |
|
---|
300 | <sect2 role="installation">
|
---|
301 | <title>Installation of KDE Frameworks</title>
|
---|
302 |
|
---|
303 | &as_root;
|
---|
304 |
|
---|
305 | <caution>
|
---|
306 |
|
---|
307 | <para>
|
---|
308 | If installing in <filename class="directory">/opt</filename> and there
|
---|
309 | is an existing /opt/kf5 either as a regular directory or a symbolic
|
---|
310 | link, it should be reinitialized (as <systemitem class="username">
|
---|
311 | root</systemitem>):
|
---|
312 | </para>
|
---|
313 |
|
---|
314 | <screen role="root"><userinput>mv -v /opt/kf5 /opt/kf5.old &&
|
---|
315 | install -v -dm755 $KF5_PREFIX/{etc,share} &&
|
---|
316 | ln -sfv /etc/dbus-1 $KF5_PREFIX/etc &&
|
---|
317 | ln -sfv /usr/share/dbus-1 $KF5_PREFIX/share</userinput></screen>
|
---|
318 | </caution>
|
---|
319 |
|
---|
320 | <para>
|
---|
321 | First, start a subshell that will exit on error:
|
---|
322 | </para>
|
---|
323 |
|
---|
324 |
|
---|
325 | <screen><userinput>bash -e</userinput></screen>
|
---|
326 |
|
---|
327 | <para>
|
---|
328 | Install all of the packages by running the following
|
---|
329 | commands:
|
---|
330 | </para>
|
---|
331 |
|
---|
332 | <screen><userinput>while read -r line; do
|
---|
333 |
|
---|
334 | # Get the file name, ignoring comments and blank lines
|
---|
335 | if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
|
---|
336 | file=$(echo $line | cut -d" " -f2)
|
---|
337 |
|
---|
338 | pkg=$(echo $file|sed 's|^.*/||') # Remove directory
|
---|
339 | packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
|
---|
340 |
|
---|
341 | name=$(echo $pkg|sed 's|-5.*$||') # Isolate package name
|
---|
342 |
|
---|
343 | tar -xf $file
|
---|
344 | pushd $packagedir
|
---|
345 | <!-- the following statement may be not needed in 5.66+ -->
|
---|
346 | case $name in
|
---|
347 | kitemviews*) sed -i '/<QList>/a #include <QPersistentModelIndex>' \
|
---|
348 | src/kwidgetitemdelegatepool_p.h ;;
|
---|
349 | kplotting*) sed -i '/<QHash>/a #include <QHelpEvent>' \
|
---|
350 | src/kplotwidget.cpp ;;
|
---|
351 | knotifica*) sed -i '/<QUrl>/a #include <QVariant>' \
|
---|
352 | src/knotification.h ;;
|
---|
353 | kcompleti*) sed -i '/<QClipboard>/a #include <QKeyEvent>' \
|
---|
354 | src/klineedit.cpp ;;
|
---|
355 | kwayland*) sed -i '/<wayland-xdg-output-server-proto/a #include <QHash>' \
|
---|
356 | src/server/xdgoutput_interface.cpp ;;
|
---|
357 | esac
|
---|
358 |
|
---|
359 | mkdir build
|
---|
360 | cd build
|
---|
361 |
|
---|
362 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
363 | -DCMAKE_PREFIX_PATH=$QT5DIR \
|
---|
364 | -DCMAKE_BUILD_TYPE=Release \
|
---|
365 | -DBUILD_TESTING=OFF \
|
---|
366 | -Wno-dev ..
|
---|
367 | make
|
---|
368 | as_root make install
|
---|
369 | popd
|
---|
370 | <!-- some packages end with files owned by root in $packagedir, so use as_root
|
---|
371 | in the following -->
|
---|
372 | as_root rm -rf $packagedir
|
---|
373 | as_root /sbin/ldconfig
|
---|
374 |
|
---|
375 | done < frameworks-&kf5-version;.md5
|
---|
376 |
|
---|
377 | exit</userinput></screen>
|
---|
378 |
|
---|
379 | <note>
|
---|
380 | <para>
|
---|
381 | Any modules that have been omitted can be installed later by
|
---|
382 | using the same <command>mkdir build; cd build; cmake; make;
|
---|
383 | make install</command> procedure as above.
|
---|
384 | </para>
|
---|
385 | </note>
|
---|
386 |
|
---|
387 | <para>
|
---|
388 | Sometimes the installation paths are hardcoded into installed files.
|
---|
389 | If the installed directory is not /usr, rename the directory and create a
|
---|
390 | symlink:
|
---|
391 | </para>
|
---|
392 |
|
---|
393 | <screen role="root"><userinput>mv -v /opt/kf5 /opt/kf5-&kf5-version;
|
---|
394 | ln -sfvn kf5-&kf5-version; /opt/kf5</userinput></screen>
|
---|
395 |
|
---|
396 | </sect2>
|
---|
397 |
|
---|
398 | <sect2 role="commands">
|
---|
399 | <title>Command Explanations</title>
|
---|
400 |
|
---|
401 | <!-- the following statement may be not needed in 5.66+ -->
|
---|
402 | <para>
|
---|
403 | <command>case ...</command>: Those modifications are required to build
|
---|
404 | with <xref linkend="qt5"/>.
|
---|
405 | </para>
|
---|
406 | <para>
|
---|
407 | <parameter>-DCMAKE_PREFIX_PATH=$QT5DIR</parameter>: This switch is used
|
---|
408 | to allow cmake to find the proper Qt libraries.
|
---|
409 | </para>
|
---|
410 |
|
---|
411 | <para>
|
---|
412 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
413 | to apply higher level of the compiler optimizations.
|
---|
414 | </para>
|
---|
415 |
|
---|
416 | <para>
|
---|
417 | <parameter>-DBUILD_TESTING=OFF</parameter>: This switch is used to prevent
|
---|
418 | building test programs and libraries that are of no use to an end user.
|
---|
419 | </para>
|
---|
420 |
|
---|
421 | </sect2>
|
---|
422 | <sect2 role="content">
|
---|
423 | <title>Contents</title>
|
---|
424 |
|
---|
425 | <segmentedlist>
|
---|
426 | <segtitle>Installed Programs</segtitle>
|
---|
427 | <segtitle>Installed Libraries</segtitle>
|
---|
428 | <segtitle>Installed Directories</segtitle>
|
---|
429 |
|
---|
430 | <seglistitem>
|
---|
431 | <seg>
|
---|
432 | There are 48 programs installed in /opt/kf5/bin.
|
---|
433 | </seg>
|
---|
434 | <seg>
|
---|
435 | There are too many kf5 libraries (191) to list separately.
|
---|
436 | </seg>
|
---|
437 | <seg>
|
---|
438 | /opt/kf5 (symlink to /opt/kf5-&kf5-version;)
|
---|
439 | </seg>
|
---|
440 | </seglistitem>
|
---|
441 | </segmentedlist>
|
---|
442 |
|
---|
443 | <variablelist>
|
---|
444 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
445 | <?dbfo list-presentation="list"?>
|
---|
446 | <?dbhtml list-presentation="table"?>
|
---|
447 |
|
---|
448 | <varlistentry id="checkXML5">
|
---|
449 | <term><command>checkXML5</command></term>
|
---|
450 | <listitem>
|
---|
451 | <para>
|
---|
452 | is a tool to check for syntax errors in KDE DocBook XML
|
---|
453 | files.
|
---|
454 | </para>
|
---|
455 | <indexterm zone="kf5-frameworks checkXML5">
|
---|
456 | <primary sortas="b-checkXML5">checkXML5</primary>
|
---|
457 | </indexterm>
|
---|
458 | </listitem>
|
---|
459 | </varlistentry>
|
---|
460 |
|
---|
461 | <varlistentry id="depdiagram-generate">
|
---|
462 | <term><command>depdiagram-generate</command></term>
|
---|
463 | <listitem>
|
---|
464 | <para>
|
---|
465 | is a tool to generate a dependency diagram.
|
---|
466 | </para>
|
---|
467 | <indexterm zone="kf5-frameworks depdiagram-generate">
|
---|
468 | <primary sortas="b-depdiagram-generate">depdiagram-generate</primary>
|
---|
469 | </indexterm>
|
---|
470 | </listitem>
|
---|
471 | </varlistentry>
|
---|
472 |
|
---|
473 | <varlistentry id="depdiagram-generate-all">
|
---|
474 | <term><command>depdiagram-generate-all</command></term>
|
---|
475 | <listitem>
|
---|
476 | <para>
|
---|
477 | is a tool to generate a dependency diagram for all frameworks at once.
|
---|
478 | </para>
|
---|
479 | <indexterm zone="kf5-frameworks depdiagram-generate-all">
|
---|
480 | <primary sortas="b-depdiagram-generate-all">depdiagram-generate-all</primary>
|
---|
481 | </indexterm>
|
---|
482 | </listitem>
|
---|
483 | </varlistentry>
|
---|
484 |
|
---|
485 | <varlistentry id="depdiagram-prepare">
|
---|
486 | <term><command>depdiagram-prepare</command></term>
|
---|
487 | <listitem>
|
---|
488 | <para>
|
---|
489 | is a tool to prepare dot files.
|
---|
490 | </para>
|
---|
491 | <indexterm zone="kf5-frameworks depdiagram-prepare">
|
---|
492 | <primary sortas="b-depdiagram-prepare">depdiagram-prepare</primary>
|
---|
493 | </indexterm>
|
---|
494 | </listitem>
|
---|
495 | </varlistentry>
|
---|
496 |
|
---|
497 | <varlistentry id="desktoptojson">
|
---|
498 | <term><command>desktoptojson</command></term>
|
---|
499 | <listitem>
|
---|
500 | <para>
|
---|
501 | is a tool to convert a .desktop file to a .json file.
|
---|
502 | </para>
|
---|
503 | <indexterm zone="kf5-frameworks desktoptojson">
|
---|
504 | <primary sortas="b-desktoptojson">desktoptojson</primary>
|
---|
505 | </indexterm>
|
---|
506 | </listitem>
|
---|
507 | </varlistentry>
|
---|
508 |
|
---|
509 | <varlistentry id="kactivitymanagerd">
|
---|
510 | <term><command>kactivitymanagerd</command></term>
|
---|
511 | <listitem>
|
---|
512 | <para>
|
---|
513 | is the KDE Plasma Workspace Activity Manager.
|
---|
514 | </para>
|
---|
515 | <indexterm zone="kf5-frameworks kactivitymanagerd">
|
---|
516 | <primary sortas="b-kactivitymanagerd">kactivitymanagerd</primary>
|
---|
517 | </indexterm>
|
---|
518 | </listitem>
|
---|
519 | </varlistentry>
|
---|
520 |
|
---|
521 | <varlistentry id="kbuildsycoca5">
|
---|
522 | <term><command>kbuildsycoca5</command></term>
|
---|
523 | <listitem>
|
---|
524 | <para>
|
---|
525 | rebuilds the KService desktop file system configuration
|
---|
526 | cache.
|
---|
527 | </para>
|
---|
528 | <indexterm zone="kf5-frameworks kbuildsycoca5">
|
---|
529 | <primary sortas="b-kbuildsycoca5">kbuildsycoca5</primary>
|
---|
530 | </indexterm>
|
---|
531 | </listitem>
|
---|
532 | </varlistentry>
|
---|
533 |
|
---|
534 | <varlistentry id="kcookiejar5">
|
---|
535 | <term><command>kcookiejar5</command></term>
|
---|
536 | <listitem>
|
---|
537 | <para>
|
---|
538 | is a command line interface to the HTTP cookie store used by KDE,
|
---|
539 | a D-BUS service to store/retrieve/clean cookies.
|
---|
540 | </para>
|
---|
541 | <indexterm zone="kf5-frameworks kcookiejar5">
|
---|
542 | <primary sortas="b-kcookiejar5">kcookiejar5</primary>
|
---|
543 | </indexterm>
|
---|
544 | </listitem>
|
---|
545 | </varlistentry>
|
---|
546 |
|
---|
547 | <varlistentry id="kded5">
|
---|
548 | <term><command>kded5</command></term>
|
---|
549 | <listitem>
|
---|
550 | <para>
|
---|
551 | consolidates several small services in one process.
|
---|
552 | </para>
|
---|
553 | <indexterm zone="kf5-frameworks kded5">
|
---|
554 | <primary sortas="b-kded5">kded5</primary>
|
---|
555 | </indexterm>
|
---|
556 | </listitem>
|
---|
557 | </varlistentry>
|
---|
558 |
|
---|
559 | <varlistentry id="kdeinit5">
|
---|
560 | <term><command>kdeinit5</command></term>
|
---|
561 | <listitem>
|
---|
562 | <para>
|
---|
563 | is a process launcher somewhat similar to the famous init used
|
---|
564 | for booting UNIX.
|
---|
565 | </para>
|
---|
566 | <indexterm zone="kf5-frameworks kdeinit5">
|
---|
567 | <primary sortas="b-kdeinit5">kdeinit5</primary>
|
---|
568 | </indexterm>
|
---|
569 | </listitem>
|
---|
570 | </varlistentry>
|
---|
571 |
|
---|
572 | <varlistentry id="kf5-config">
|
---|
573 | <term><command>kf5-config</command></term>
|
---|
574 | <listitem>
|
---|
575 | <para>
|
---|
576 | is a command line program used to retrieve information about
|
---|
577 | KDE installation or user paths.
|
---|
578 | </para>
|
---|
579 | <indexterm zone="kf5-frameworks kf5-config">
|
---|
580 | <primary sortas="b-kf5-config">kf5-config</primary>
|
---|
581 | </indexterm>
|
---|
582 | </listitem>
|
---|
583 | </varlistentry>
|
---|
584 |
|
---|
585 | <varlistentry id="kf5kross">
|
---|
586 | <term><command>kf5kross</command></term>
|
---|
587 | <listitem>
|
---|
588 | <para>
|
---|
589 | executes kross scripts written in KDE Javascript, Python, Ruby,
|
---|
590 | Java and Falcon.
|
---|
591 | </para>
|
---|
592 | <indexterm zone="kf5-frameworks kf5kross">
|
---|
593 | <primary sortas="b-kf5kross">kf5kross</primary>
|
---|
594 | </indexterm>
|
---|
595 | </listitem>
|
---|
596 | </varlistentry>
|
---|
597 |
|
---|
598 | <varlistentry id="kgenapidox">
|
---|
599 | <term><command>kgenapidox</command></term>
|
---|
600 | <listitem>
|
---|
601 | <para>
|
---|
602 | is a tool to generate API documentation in the KDE style.
|
---|
603 | </para>
|
---|
604 | <indexterm zone="kf5-frameworks kgenapidox">
|
---|
605 | <primary sortas="b-kgenapidox">kgenapidox</primary>
|
---|
606 | </indexterm>
|
---|
607 | </listitem>
|
---|
608 | </varlistentry>
|
---|
609 |
|
---|
610 | <varlistentry id="kgendesignerplugin">
|
---|
611 | <term><command>kgendesignerplugin</command></term>
|
---|
612 | <listitem>
|
---|
613 | <para>
|
---|
614 | generates widget plugins for Qt(TM) Designer.
|
---|
615 | </para>
|
---|
616 | <indexterm zone="kf5-frameworks kgendesignerplugin">
|
---|
617 | <primary sortas="b-kgendesignerplugin">kgendesignerplugin</primary>
|
---|
618 | </indexterm>
|
---|
619 | </listitem>
|
---|
620 | </varlistentry>
|
---|
621 |
|
---|
622 | <varlistentry id="kglobalaccel5">
|
---|
623 | <term><command>kglobalaccel5</command></term>
|
---|
624 | <listitem>
|
---|
625 | <para>
|
---|
626 | is a daemon use to register the key bindings and for getting
|
---|
627 | notified when the action triggered.
|
---|
628 | </para>
|
---|
629 | <indexterm zone="kf5-frameworks kglobalaccel5">
|
---|
630 | <primary sortas="b-kglobalaccel5">kglobalaccel5</primary>
|
---|
631 | </indexterm>
|
---|
632 | </listitem>
|
---|
633 | </varlistentry>
|
---|
634 |
|
---|
635 | <varlistentry id="kjs5">
|
---|
636 | <term><command>kjs5</command></term>
|
---|
637 | <listitem>
|
---|
638 | <para>
|
---|
639 | is KDE ECMAScript/JavaScript engine.
|
---|
640 | </para>
|
---|
641 | <indexterm zone="kf5-frameworks kjs5">
|
---|
642 | <primary sortas="b-kjs5">kjs5</primary>
|
---|
643 | </indexterm>
|
---|
644 | </listitem>
|
---|
645 | </varlistentry>
|
---|
646 |
|
---|
647 | <varlistentry id="kjscmd5">
|
---|
648 | <term><command>kjscmd5</command></term>
|
---|
649 | <listitem>
|
---|
650 | <para>
|
---|
651 | is a tool for launching KJSEmbed scripts from the command line.
|
---|
652 | </para>
|
---|
653 | <indexterm zone="kf5-frameworks kjscmd5">
|
---|
654 | <primary sortas="b-kjscmd5">kjscmd5</primary>
|
---|
655 | </indexterm>
|
---|
656 | </listitem>
|
---|
657 | </varlistentry>
|
---|
658 |
|
---|
659 | <varlistentry id="kjsconsole">
|
---|
660 | <term><command>kjsconsole</command></term>
|
---|
661 | <listitem>
|
---|
662 | <para>
|
---|
663 | is a console for <command>kjs5</command>.
|
---|
664 | </para>
|
---|
665 | <indexterm zone="kf5-frameworks kjsconsole">
|
---|
666 | <primary sortas="b-kjsconsole">kjsconsole</primary>
|
---|
667 | </indexterm>
|
---|
668 | </listitem>
|
---|
669 | </varlistentry>
|
---|
670 |
|
---|
671 | <varlistentry id="kmailservice5">
|
---|
672 | <term><command>kmailservice5</command></term>
|
---|
673 | <listitem>
|
---|
674 | <para>
|
---|
675 | is a mail service.
|
---|
676 | </para>
|
---|
677 | <indexterm zone="kf5-frameworks kmailservice5">
|
---|
678 | <primary sortas="b-kmailservice5">kmailservice5</primary>
|
---|
679 | </indexterm>
|
---|
680 | </listitem>
|
---|
681 | </varlistentry>
|
---|
682 |
|
---|
683 | <varlistentry id="kpackagelauncherqml">
|
---|
684 | <term><command>kpackagelauncherqml</command></term>
|
---|
685 | <listitem>
|
---|
686 | <para>
|
---|
687 | is a commandline tool for launching kpackage QML application
|
---|
688 | </para>
|
---|
689 | <indexterm zone="kf5-frameworks kpackagelauncherqml">
|
---|
690 | <primary sortas="b-kpackagelauncherqml">kpackagelauncherqml</primary>
|
---|
691 | </indexterm>
|
---|
692 | </listitem>
|
---|
693 | </varlistentry>
|
---|
694 |
|
---|
695 | <varlistentry id="kpackagetool5">
|
---|
696 | <term><command>kpackagetool5</command></term>
|
---|
697 | <listitem>
|
---|
698 | <para>
|
---|
699 | is a command line kpackage tool.
|
---|
700 | </para>
|
---|
701 | <indexterm zone="kf5-frameworks kpackagetool5">
|
---|
702 | <primary sortas="b-kpackagetool5">kpackagetool5</primary>
|
---|
703 | </indexterm>
|
---|
704 | </listitem>
|
---|
705 | </varlistentry>
|
---|
706 |
|
---|
707 | <varlistentry id="kreadconfig5">
|
---|
708 | <term><command>kreadconfig5</command></term>
|
---|
709 | <listitem>
|
---|
710 | <para>
|
---|
711 | is a command line tool to retrieve values from KDE
|
---|
712 | configuration files.
|
---|
713 | </para>
|
---|
714 | <indexterm zone="kf5-frameworks kreadconfig5">
|
---|
715 | <primary sortas="b-kreadconfig5">kreadconfig5</primary>
|
---|
716 | </indexterm>
|
---|
717 | </listitem>
|
---|
718 | </varlistentry>
|
---|
719 |
|
---|
720 | <varlistentry id="kshell5">
|
---|
721 | <term><command>kshell5</command></term>
|
---|
722 | <listitem>
|
---|
723 | <para>
|
---|
724 | start applications via kdeinit.
|
---|
725 | </para>
|
---|
726 | <indexterm zone="kf5-frameworks kshell5">
|
---|
727 | <primary sortas="b-kshell5">kshell5</primary>
|
---|
728 | </indexterm>
|
---|
729 | </listitem>
|
---|
730 | </varlistentry>
|
---|
731 |
|
---|
732 | <varlistentry id="ktelnetservice5">
|
---|
733 | <term><command>ktelnetservice5</command></term>
|
---|
734 | <listitem>
|
---|
735 | <para>
|
---|
736 | is a telnet service.
|
---|
737 | </para>
|
---|
738 | <indexterm zone="kf5-frameworks ktelnetservice5">
|
---|
739 | <primary sortas="b-ktelnetservice5">ktelnetservice5</primary>
|
---|
740 | </indexterm>
|
---|
741 | </listitem>
|
---|
742 | </varlistentry>
|
---|
743 |
|
---|
744 | <varlistentry id="ktrash5">
|
---|
745 | <term><command>ktrash5</command></term>
|
---|
746 | <listitem>
|
---|
747 | <para>
|
---|
748 | is a helper program to handle the KDE trash can.
|
---|
749 | </para>
|
---|
750 | <indexterm zone="kf5-frameworks ktrash5">
|
---|
751 | <primary sortas="b-ktrash5">ktrash5</primary>
|
---|
752 | </indexterm>
|
---|
753 | </listitem>
|
---|
754 | </varlistentry>
|
---|
755 |
|
---|
756 | <varlistentry id="kwalletd5">
|
---|
757 | <term><command>kwalletd5</command></term>
|
---|
758 | <listitem>
|
---|
759 | <para>
|
---|
760 | is the wallet manager daemon.
|
---|
761 | </para>
|
---|
762 | <indexterm zone="kf5-frameworks kwalletd5">
|
---|
763 | <primary sortas="b-kwalletd5">kwalletd5</primary>
|
---|
764 | </indexterm>
|
---|
765 | </listitem>
|
---|
766 | </varlistentry>
|
---|
767 |
|
---|
768 | <varlistentry id="kwriteconfig5">
|
---|
769 | <term><command>kwriteconfig5</command></term>
|
---|
770 | <listitem>
|
---|
771 | <para>
|
---|
772 | is a command line tool to write values in KDE
|
---|
773 | configuration files.
|
---|
774 | </para>
|
---|
775 | <indexterm zone="kf5-frameworks kwriteconfig5">
|
---|
776 | <primary sortas="b-kwriteconfig5">kwriteconfig5</primary>
|
---|
777 | </indexterm>
|
---|
778 | </listitem>
|
---|
779 | </varlistentry>
|
---|
780 |
|
---|
781 | <varlistentry id="meinproc5">
|
---|
782 | <term><command>meinproc5</command></term>
|
---|
783 | <listitem>
|
---|
784 | <para>
|
---|
785 | converts DocBook files to HTML.
|
---|
786 | </para>
|
---|
787 | <indexterm zone="kf5-frameworks meinproc5">
|
---|
788 | <primary sortas="b-meinproc5">meinproc5</primary>
|
---|
789 | </indexterm>
|
---|
790 | </listitem>
|
---|
791 | </varlistentry>
|
---|
792 |
|
---|
793 | <varlistentry id="plasmapkg2">
|
---|
794 | <term><command>plasmapkg2</command></term>
|
---|
795 | <listitem>
|
---|
796 | <para>
|
---|
797 | is a tool to install, list, remove Plasma packages
|
---|
798 | </para>
|
---|
799 | <indexterm zone="kf5-frameworks plasmapkg2">
|
---|
800 | <primary sortas="b-plasmapkg2">plasmapkg2</primary>
|
---|
801 | </indexterm>
|
---|
802 | </listitem>
|
---|
803 | </varlistentry>
|
---|
804 |
|
---|
805 | <varlistentry id="preparetips5">
|
---|
806 | <term><command>preparetips5</command></term>
|
---|
807 | <listitem>
|
---|
808 | <para>
|
---|
809 | is a script to extract the text from a tips file.
|
---|
810 | </para>
|
---|
811 | <indexterm zone="kf5-frameworks preparetips5">
|
---|
812 | <primary sortas="b-preparetips5">preparetips5</primary>
|
---|
813 | </indexterm>
|
---|
814 | </listitem>
|
---|
815 | </varlistentry>
|
---|
816 |
|
---|
817 | <varlistentry id="solid-hardware5">
|
---|
818 | <term><command>solid-hardware5</command></term>
|
---|
819 | <listitem>
|
---|
820 | <para>
|
---|
821 | is a command line tool to investigate available devices.
|
---|
822 | </para>
|
---|
823 | <indexterm zone="kf5-frameworks solid-hardware5">
|
---|
824 | <primary sortas="b-solid-hardware5">solid-hardware5</primary>
|
---|
825 | </indexterm>
|
---|
826 | </listitem>
|
---|
827 | </varlistentry>
|
---|
828 |
|
---|
829 | </variablelist>
|
---|
830 |
|
---|
831 | </sect2>
|
---|
832 |
|
---|
833 | </sect1>
|
---|
834 |
|
---|