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