2015-06-29 09:36:57 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2017-05-31 10:41:14 +08:00
|
|
|
<!-- kf5-download-http is defined on patches.ent
|
|
|
|
<!ENTITY kf5-download-http "&kf5-download-http;"> -->
|
2016-02-29 04:29:40 +08:00
|
|
|
<!ENTITY kf5-download-ftp " ">
|
2015-06-29 09:36:57 +08:00
|
|
|
<!ENTITY kf5-md5sum "See Below">
|
2017-12-16 10:04:26 +08:00
|
|
|
<!ENTITY kf5-size "260 MB">
|
|
|
|
<!ENTITY kf5-buildsize "998 MB (214 MB installed)">
|
|
|
|
<!ENTITY kf5-time "14 SBU (using parallelism=4)">
|
2015-06-29 09:36:57 +08:00
|
|
|
]>
|
|
|
|
|
2015-09-28 01:28:42 +08:00
|
|
|
<sect1 id="kf5-frameworks" xreflabel="KDE Frameworks-&kf5-version;">
|
2015-06-29 09:36:57 +08:00
|
|
|
<?dbhtml filename="krameworks5.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
2015-09-21 06:38:20 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2015-06-29 09:36:57 +08:00
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Building KDE Frameworks 5 (KF5)</title>
|
|
|
|
|
|
|
|
<indexterm zone="kf5">
|
|
|
|
<primary sortas="a-kf5">KDE Frameworks</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<para>KDE Frameworks 5 is a collection of libraries based on top of Qt5 and
|
|
|
|
QML derived from the monolithic KDE 4 libraries. They can be used
|
|
|
|
independent of the KDE Display Environment (Plasma 5).</para>
|
|
|
|
|
2017-08-26 05:22:07 +08:00
|
|
|
&lfs81_checked;
|
2015-06-29 09:36:57 +08:00
|
|
|
|
|
|
|
<para>The instructions below build all of the KDE Frameworks packages in one
|
|
|
|
step by using a bash script. </para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&kf5-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&kf5-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &kf5-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &kf5-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &kf5-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &kf5-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">KF5 Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="boost"/>,
|
|
|
|
<xref linkend="extra-cmake-modules"/>,
|
|
|
|
<xref linkend="DocBook"/>,
|
|
|
|
<xref linkend="docbook-xsl"/>,
|
|
|
|
<xref linkend="giflib"/>,
|
|
|
|
<xref linkend="libepoxy"/>,
|
|
|
|
<xref linkend="libgcrypt"/>,
|
|
|
|
<xref linkend="libjpeg"/>,
|
|
|
|
<xref linkend="libpng"/>,
|
|
|
|
<xref linkend="libxslt"/>,
|
2015-11-01 12:33:26 +08:00
|
|
|
<xref linkend="lmdb"/>,
|
2017-06-19 03:35:49 +08:00
|
|
|
<xref linkend="openssl10"/>,
|
2016-04-04 04:07:11 +08:00
|
|
|
<xref linkend="qtwebkit5"/>,
|
2016-06-21 12:09:39 +08:00
|
|
|
<xref linkend="phonon"/>,
|
2015-10-01 02:10:36 +08:00
|
|
|
<xref linkend="shared-mime-info"/>,
|
|
|
|
<xref linkend="perl-uri"/>, and
|
2015-06-29 09:36:57 +08:00
|
|
|
<xref linkend="wget"/> (required to download the packages)
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="aspell"/> (Dictionary backend for Sonnet),
|
2015-11-01 12:33:26 +08:00
|
|
|
<xref linkend="avahi"/> (DNS-SD backend for KDNSSD),
|
2015-11-13 22:24:57 +08:00
|
|
|
<xref linkend="libdbusmenu-qt"/> (built with qt5),
|
2015-11-01 12:33:26 +08:00
|
|
|
<xref linkend="NetworkManager"/> (needed to build NetworkManager-Qt), and
|
2015-06-29 09:36:57 +08:00
|
|
|
<xref linkend="polkit-qt"/> (Authentication backend for KAuth)
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="bluez"/> (needed to build Bluez-Qt),
|
2016-07-07 11:38:55 +08:00
|
|
|
<xref linkend="ModemManager"/> (needed to build ModemManager-Qt)
|
2015-06-29 09:36:57 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Runtime dependency for FrameworkIntegration</bridgehead>
|
|
|
|
<para role="optional">
|
2017-09-16 03:47:55 +08:00
|
|
|
<xref role="runtime" linkend="oxygen-fonts"/> and
|
|
|
|
<xref role="runtime" linkend="noto-fonts"/>
|
2015-06-29 09:36:57 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Runtime dependencies for kapidox</bridgehead>
|
|
|
|
<para role="optional">
|
2017-09-16 03:47:55 +08:00
|
|
|
<xref role="runtime" linkend="doxygen"/>,
|
|
|
|
<phrase revision="sysv"><ulink role="runtime" url="https://pypi.python.org/pypi/Jinja2">Jinja2</ulink></phrase>
|
|
|
|
<phrase revision="systemd"><xref role="runtime" linkend="Jinja2"/></phrase>, and
|
|
|
|
<phrase revision="sysv"><ulink role="runtime" url="http://pyyaml.org/">PyYAML</ulink></phrase>
|
|
|
|
<phrase revision="systemd"><xref role="runtime" linkend="PyYAML"/></phrase>
|
2015-06-29 09:36:57 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Additional image formats support in KImageFormats</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="jasper"/> and
|
|
|
|
<ulink url="http://www.openexr.com/">OpenEXR</ulink>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional dependencies for KIO</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="mitkrb"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional dependencies for Solid</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="udisks2"/>,
|
|
|
|
<xref linkend="upower"/> and
|
2017-09-16 03:47:55 +08:00
|
|
|
<ulink role="runtime" url="http://www.freedesktop.org/software/media-player-info/">media-player-info</ulink> (runtime)
|
2015-06-29 09:36:57 +08:00
|
|
|
</para>
|
|
|
|
|
2016-06-13 05:16:58 +08:00
|
|
|
<bridgehead renderas="sect4">Optional dependency for KWallet</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<ulink url="&kf5apps-download-http;">gpgmepp</ulink>
|
|
|
|
</para>
|
|
|
|
|
2015-06-29 09:36:57 +08:00
|
|
|
<bridgehead renderas="sect4">Optional dictionary backends for Sonnet</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<ulink url="http://hspell.ivrix.org.il/">Hspell</ulink> and
|
|
|
|
<ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
|
|
|
|
</para>
|
|
|
|
|
2017-02-13 03:39:51 +08:00
|
|
|
<bridgehead renderas="sect4">Required dependencies for Prison</bridgehead>
|
|
|
|
<para role="optional"> <!-- Leaving as optional since these are external -->
|
|
|
|
<ulink url="http://libdmtx.sourceforge.net/">Datamatrix</ulink> and
|
|
|
|
<ulink url="http://megaui.net/fukuchi/works/qrencode/index.en.html/">QRencode</ulink>
|
|
|
|
</para>
|
|
|
|
|
2015-06-29 09:36:57 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/kf5"/></para>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Downloading KDE Frameworks</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The easiest way to get the KDE Frameworks packages is to use a single
|
|
|
|
<command>wget</command> to fetch them all at once:
|
|
|
|
</para>
|
2015-11-13 22:24:57 +08:00
|
|
|
|
2015-06-29 09:36:57 +08:00
|
|
|
<screen><userinput>url=http://download.kde.org/stable/frameworks/&kf5-short-version;/
|
2017-05-18 05:27:15 +08:00
|
|
|
wget -r -nH -nd -A '*.xz' -np $url</userinput>
|
2015-06-29 09:36:57 +08:00
|
|
|
<literal>
|
2015-11-13 22:24:57 +08:00
|
|
|
The options used here are:
|
2015-06-29 09:36:57 +08:00
|
|
|
-r recurse through child directories
|
|
|
|
-nH disable generation of host-prefixed directories
|
2017-05-18 05:27:15 +08:00
|
|
|
-nd do not create a hierarchy of directories
|
2015-06-29 09:36:57 +08:00
|
|
|
-A '*.xz' just get the *.xz files
|
2015-09-28 22:10:20 +08:00
|
|
|
-np don't get parent directories</literal></screen>
|
2015-06-29 09:36:57 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Setting Package Order</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The order of building files is important due to internal dependencies.
|
|
|
|
Create the list of files in the proper order as follows:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>cat > frameworks-&kf5-version;.md5 << "EOF"
|
2018-02-12 07:22:32 +08:00
|
|
|
<literal>bb18451b29c20fc43899003e1b5d88bf attica-5.43.0.tar.xz
|
|
|
|
#b93c69609dbd2f16f9ee6302020ff5e6 extra-cmake-modules-5.43.0.tar.xz
|
|
|
|
8f6b6f4c6f11d09692620531baac3cbd kapidox-5.43.0.tar.xz
|
|
|
|
5d28038e34f01ec59968b3a4732128d5 karchive-5.43.0.tar.xz
|
|
|
|
b6f2fa4dc1cb75887a401183c6981d26 kcodecs-5.43.0.tar.xz
|
|
|
|
12298fe985a25fac4ef2fe23cda6f7d8 kconfig-5.43.0.tar.xz
|
|
|
|
8a7082f64f2f5536b92c9b702e0e6f1b kcoreaddons-5.43.0.tar.xz
|
|
|
|
9bd2f0271f0d9cf422ab3add939780f6 kdbusaddons-5.43.0.tar.xz
|
|
|
|
b2257e6bf91f3116839e8c363068c044 kdnssd-5.43.0.tar.xz
|
|
|
|
29a133ec1b1edf43fdcb64cdc0b3484a kguiaddons-5.43.0.tar.xz
|
|
|
|
5f67b6d48344d347ca187a038ada4c96 ki18n-5.43.0.tar.xz
|
|
|
|
6aded894f5a984512e846bf949c6cc56 kidletime-5.43.0.tar.xz
|
|
|
|
ea24738d89ad19f34df3cea8aebdbcfb kimageformats-5.43.0.tar.xz
|
|
|
|
4b7ab34387c480efea88daffd6461243 kitemmodels-5.43.0.tar.xz
|
|
|
|
0212ea41c19ecaf3d8796186a5d7a3d4 kitemviews-5.43.0.tar.xz
|
|
|
|
a78c532acdb8dbfb6fb07e78fd55bfd0 kplotting-5.43.0.tar.xz
|
|
|
|
f3d9f489d55e54c5c4047abea6f4477d kwidgetsaddons-5.43.0.tar.xz
|
|
|
|
ca000f985de0be2bb3c602697d1bb923 kwindowsystem-5.43.0.tar.xz
|
|
|
|
44a5a63752381bb64876109a421f319a networkmanager-qt-5.43.0.tar.xz
|
|
|
|
272d83ae231c5e1b5bb2851b730d1a3d solid-5.43.0.tar.xz
|
|
|
|
366495c4aab66b740a25363c53fde6c2 sonnet-5.43.0.tar.xz
|
|
|
|
d02fe5fac35d600af14e7cdf5aef04dd threadweaver-5.43.0.tar.xz
|
|
|
|
8df3fbc742e0914d4f7d3132a34c4017 kauth-5.43.0.tar.xz
|
|
|
|
a03088f8e53b46169f959c7ff9df1bcf kcompletion-5.43.0.tar.xz
|
|
|
|
8985aaa68a6e29561423c09df77a3afc kcrash-5.43.0.tar.xz
|
|
|
|
aec9d49e1bef4aa20151ec06c2fcffe5 kdoctools-5.43.0.tar.xz
|
|
|
|
5995656593e5f72b591ceb56f5339d24 kpty-5.43.0.tar.xz
|
|
|
|
5146a71a41c76385cf34544c67005d84 kunitconversion-5.43.0.tar.xz
|
|
|
|
b3092aca3e241329310ca2c57087a6c6 kconfigwidgets-5.43.0.tar.xz
|
|
|
|
6ca34186c9f3ffb3e964740ff6ecac55 kservice-5.43.0.tar.xz
|
|
|
|
4e23296878a567417863a3c88ccf051f kglobalaccel-5.43.0.tar.xz
|
|
|
|
b7d41f77d01102fef52fab13c25038cb kpackage-5.43.0.tar.xz
|
|
|
|
9ad92bfb68e7646bc7e4dea2140b348c kdesu-5.43.0.tar.xz
|
|
|
|
1b860bc5eb70c5c2ee292fb0dc79725d kemoticons-5.43.0.tar.xz
|
|
|
|
846d45c77c66faeb09769d79665353d4 kiconthemes-5.43.0.tar.xz
|
|
|
|
81d0d0108fbed55099227c616d88aa1b kjobwidgets-5.43.0.tar.xz
|
|
|
|
497d0f2f81be5185e4179922ff53b9b7 knotifications-5.43.0.tar.xz
|
|
|
|
a27bdd565993a82476393a7d840bb851 ktextwidgets-5.43.0.tar.xz
|
|
|
|
3ea0e4d347105399e7107c2ec644d19d kxmlgui-5.43.0.tar.xz
|
|
|
|
21de30d3ae86397ae92f94c7c160fb1e kbookmarks-5.43.0.tar.xz
|
|
|
|
43173ebb19608ca56e3b1a1c737b3716 kwallet-5.43.0.tar.xz
|
|
|
|
b8888829cf7064c756331c2e8347fd09 kio-5.43.0.tar.xz
|
|
|
|
235fdc815c6ba94e173cf66a07b1076f kdeclarative-5.43.0.tar.xz
|
|
|
|
7af955e653262eac715df202e8418d90 kcmutils-5.43.0.tar.xz
|
|
|
|
cb2fadba7600b65ecb8244959b5ba102 kirigami2-5.43.0.tar.xz
|
|
|
|
c47fc6ac7cd13b38cce0ba6675bdb967 knewstuff-5.43.0.tar.xz
|
|
|
|
e00d64384ffc2e28acd273b30e135a74 frameworkintegration-5.43.0.tar.xz
|
|
|
|
48f5100e0a11f24e9321fd2359408b1e kinit-5.43.0.tar.xz
|
|
|
|
8f69fc2f40676b75d1a6b64e3e0371bd knotifyconfig-5.43.0.tar.xz
|
|
|
|
3dbd8d893655c4d6682a3c2c44a59520 kparts-5.43.0.tar.xz
|
|
|
|
a443aaa90ddd41b11e4fa43b35a3f5dd kactivities-5.43.0.tar.xz
|
|
|
|
97cac58acb119a33a8c2a283daa82982 kded-5.43.0.tar.xz
|
|
|
|
c30a2a178179b024f5ebc188e9939b80 kdewebkit-5.43.0.tar.xz
|
|
|
|
995b7d7e3b5ec614870e6fc60f060a11 syntax-highlighting-5.43.0.tar.xz
|
|
|
|
3ea63f69a4ed61c57b0578bc12c25606 ktexteditor-5.43.0.tar.xz
|
|
|
|
5dd311e62bbebe45e5f816f8b18461b4 kdesignerplugin-5.43.0.tar.xz
|
|
|
|
b03e7c6c53b0919fc09059a1614b2aa2 kwayland-5.43.0.tar.xz
|
|
|
|
62454f341fbcadc0c25d1a18ef8e7014 plasma-framework-5.43.0.tar.xz
|
|
|
|
dfdfcb07d45d168a19c19cad86ca2cc7 modemmanager-qt-5.43.0.tar.xz
|
|
|
|
36b0d67bbe91455b9b4b1cbef0a31c14 kpeople-5.43.0.tar.xz
|
|
|
|
1c769bc468e07d91ae21ae7ddff7fd09 kxmlrpcclient-5.43.0.tar.xz
|
|
|
|
5fb2427ffd7214859f5e07fc265a7d53 bluez-qt-5.43.0.tar.xz
|
|
|
|
d3d04affad8ee9d001911e010e2ca7f2 kfilemetadata-5.43.0.tar.xz
|
|
|
|
ef7918c5ff090508ae79908706d1ca58 baloo-5.43.0.tar.xz
|
|
|
|
#e717dcb76e5dd8d7b7145d76db4f2b30 breeze-icons-5.43.0.tar.xz
|
|
|
|
#61ceb7583096c6ab70690a1e941dac8f oxygen-icons5-5.43.0.tar.xz
|
|
|
|
24de0d2d517279712e41533198d93ec6 kactivities-stats-5.43.0.tar.xz
|
|
|
|
d283025c9a8288d2a2fd52d0864323ed krunner-5.43.0.tar.xz
|
|
|
|
#73fe712d4c110cbd2c5117d3b7a8c213 prison-5.43.0.tar.xz
|
|
|
|
83b257a99b7f5144495c9ccd881ecd3b qqc2-desktop-style-5.43.0.tar.xz
|
|
|
|
7d81c30b200b0c70af66be9e63a9ad41 kjs-5.43.0.tar.xz
|
|
|
|
984f3900ca5fb33c57d5f0021b4e3fb8 kdelibs4support-5.43.0.tar.xz
|
|
|
|
9f2dcb4ed09d923c1f2727bb8b8cb5fa khtml-5.43.0.tar.xz
|
|
|
|
8dbb6955e804e71c0ee4ba1311107c5f kjsembed-5.43.0.tar.xz
|
|
|
|
55cc2b85fb8bdfe80b53e85d8d4f4610 kmediaplayer-5.43.0.tar.xz
|
|
|
|
94ad9a522521bbbb5a4de0c8a04946aa kross-5.43.0.tar.xz
|
|
|
|
9c5202b7ad2d6093df2b410866933b4c kholidays-5.43.0.tar.xz
|
|
|
|
2d05ea6fe77402fa059ba9e435e1c460 purpose-5.43.0.tar.xz</literal>
|
2015-06-29 09:36:57 +08:00
|
|
|
EOF</userinput></screen>
|
|
|
|
|
2015-09-26 09:59:08 +08:00
|
|
|
<para>In the above list, notice that some files have been commented out with
|
2015-06-29 09:36:57 +08:00
|
|
|
a hash (#) character. The extra-cmake-modules entry has been commented out
|
2015-12-28 10:59:59 +08:00
|
|
|
because it was built earlier in the <xref linkend="kde-prereq"/>. The icon
|
2015-12-29 04:18:03 +08:00
|
|
|
packages are covered separately at <xref linkend="breeze-icons"/> and <xref
|
|
|
|
linkend="oxygen-icons5"/>. The modemmanager-qt package may be built if its
|
2017-02-13 03:39:51 +08:00
|
|
|
optional dependency has been installed. The prison package (bar code reader)
|
2017-12-17 09:30:22 +08:00
|
|
|
may be built if the required external libraries are installed.
|
|
|
|
</para>
|
2015-06-29 09:36:57 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of KDE Frameworks</title>
|
|
|
|
|
|
|
|
&as_root;
|
|
|
|
|
|
|
|
<caution>
|
|
|
|
|
2017-02-21 04:59:39 +08:00
|
|
|
<para>If installing in /opt and there is an existing /opt/kf5 either as a
|
|
|
|
regular directory or a symbolic link, it should be reinitialized (as
|
|
|
|
root):</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>mv -v /opt/kf5 /opt/kf5.old &&
|
|
|
|
install -v -dm755 $KF5_PREFIX/{etc,share} &&
|
|
|
|
ln -sfv /etc/dbus-1 $KF5_PREFIX/etc &&
|
|
|
|
ln -sfv /usr/share/dbus-1 $KF5_PREFIX/share</userinput></screen>
|
2015-06-29 09:36:57 +08:00
|
|
|
</caution>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
First, start a subshell that will exit on error:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<screen><userinput>bash -e</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install all of the packages by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
2017-06-19 01:55:24 +08:00
|
|
|
<screen><userinput>export CXXFLAGS='-isystem /usr/include/openssl-1.0'
|
|
|
|
|
|
|
|
while read -r line; do
|
2015-06-29 09:36:57 +08:00
|
|
|
|
|
|
|
# Get the file name, ignoring comments and blank lines
|
|
|
|
if $(echo $line | grep -E -q '^ *$|^#' ); then continue; fi
|
|
|
|
file=$(echo $line | cut -d" " -f2)
|
2015-11-13 22:24:57 +08:00
|
|
|
|
2015-06-29 09:36:57 +08:00
|
|
|
pkg=$(echo $file|sed 's|^.*/||') # Remove directory
|
|
|
|
packagedir=$(echo $pkg|sed 's|\.tar.*||') # Package directory
|
|
|
|
|
|
|
|
tar -xf $file
|
|
|
|
pushd $packagedir
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
2015-07-16 09:49:11 +08:00
|
|
|
-DCMAKE_PREFIX_PATH=$QT5DIR \
|
2015-06-29 09:36:57 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DBUILD_TESTING=OFF \
|
2015-11-13 22:24:57 +08:00
|
|
|
-Wno-dev ..
|
2015-06-29 09:36:57 +08:00
|
|
|
make
|
|
|
|
as_root make install
|
2018-02-12 08:06:58 +08:00
|
|
|
popd
|
2016-04-04 04:07:11 +08:00
|
|
|
<!-- some packages end with files owned by root in $packagedir, so use as_root
|
|
|
|
in the following -->
|
|
|
|
as_root rm -rf $packagedir
|
2015-06-29 09:36:57 +08:00
|
|
|
as_root /sbin/ldconfig
|
|
|
|
|
|
|
|
done < frameworks-&kf5-version;.md5
|
|
|
|
|
|
|
|
exit</userinput></screen>
|
|
|
|
|
|
|
|
<note><para>Any modules that have been omitted can be installed later by
|
|
|
|
using the same mkdir build; cd build; cmake; make; make install procedure
|
|
|
|
as above.</para></note>
|
|
|
|
|
|
|
|
<para>Sometimes the installation paths are hardcoded into installed files.
|
|
|
|
If the installed directory is not /usr, rename the directory and create a
|
|
|
|
symlink:</para>
|
2015-11-13 22:24:57 +08:00
|
|
|
|
2017-02-21 04:59:39 +08:00
|
|
|
<screen role="root"><userinput>mv -v /opt/kf5 /opt/kf5-&kf5-version;
|
2015-06-29 09:36:57 +08:00
|
|
|
ln -sfvn kf5-&kf5-version; /opt/kf5</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para>
|
2015-07-16 09:51:44 +08:00
|
|
|
<parameter>-DCMAKE_PREFIX_PATH=$QT5DIR</parameter>: This switch is used
|
2015-06-29 09:36:57 +08:00
|
|
|
to allow cmake to find the proper Qt libraries.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
|
|
|
to apply higher level of the compiler optimizations.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<parameter>-DBUILD_TESTING=OFF</parameter>: This switch is used to prevent
|
|
|
|
building test programs and libraries that are of no use to an end user.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
2017-05-18 05:27:15 +08:00
|
|
|
There are 48 programs installed in /opt/kf5/bin.
|
2015-06-29 09:36:57 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2017-05-18 05:27:15 +08:00
|
|
|
There are too many kf5 libraries (191) to list separately.
|
2015-06-29 09:36:57 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2015-11-07 04:11:51 +08:00
|
|
|
/opt/kf5 (symlink to /opt/kf5-&kf5-version;)
|
2015-06-29 09:36:57 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
2015-10-27 04:10:07 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="checkXML5">
|
|
|
|
<term><command>checkXML5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a tool to check for syntax errors in KDE DocBook XML
|
|
|
|
files.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks checkXML5">
|
|
|
|
<primary sortas="b-checkXML5">checkXML5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="depdiagram-generate">
|
|
|
|
<term><command>depdiagram-generate</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a tool to generate a dependency diagram.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks depdiagram-generate">
|
|
|
|
<primary sortas="b-depdiagram-generate">depdiagram-generate</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="depdiagram-generate-all">
|
|
|
|
<term><command>depdiagram-generate-all</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a tool to generate a dependency diagram for all frameworks at once..
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks depdiagram-generate-all">
|
|
|
|
<primary sortas="b-depdiagram-generate-all">depdiagram-generate-all</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="depdiagram-prepare">
|
|
|
|
<term><command>depdiagram-prepare</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a tool to prepare dot files.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks depdiagram-prepare">
|
|
|
|
<primary sortas="b-depdiagram-prepare">depdiagram-prepare</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="desktoptojson">
|
|
|
|
<term><command>desktoptojson</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a tool to convert a .desktop file to a .json file.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks desktoptojson">
|
|
|
|
<primary sortas="b-desktoptojson">desktoptojson</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kactivitymanagerd">
|
|
|
|
<term><command>kactivitymanagerd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is the KDE Plasma Workspace Activity Manager.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kactivitymanagerd">
|
|
|
|
<primary sortas="b-kactivitymanagerd">kactivitymanagerd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kbuildsycoca5">
|
|
|
|
<term><command>kbuildsycoca5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
rebuilds the KService desktop file system configuration
|
|
|
|
cache.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kbuildsycoca5">
|
|
|
|
<primary sortas="b-kbuildsycoca5">kbuildsycoca5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kcookiejar5">
|
|
|
|
<term><command>kcookiejar5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a command line interface to the HTTP cookie store used by KDE,
|
|
|
|
a D-BUS service to store/retrieve/clean cookies.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kcookiejar5">
|
|
|
|
<primary sortas="b-kcookiejar5">kcookiejar5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kded5">
|
|
|
|
<term><command>kded5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
consolidates several small services in one process.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kded5">
|
|
|
|
<primary sortas="b-kded5">kded5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kdeinit5">
|
|
|
|
<term><command>kdeinit5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a process launcher somewhat similar to the famous init used
|
|
|
|
for booting UNIX.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kdeinit5">
|
|
|
|
<primary sortas="b-kdeinit5">kdeinit5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kf5-config">
|
|
|
|
<term><command>kf5-config</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a command line program used to retrieve information about
|
|
|
|
KDE installation or user paths.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kf5-config">
|
|
|
|
<primary sortas="b-kf5-config">kf5-config</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kf5kross">
|
|
|
|
<term><command>kf5kross</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2015-11-13 22:24:57 +08:00
|
|
|
executes kross scripts written in KDE Javascript, Python, Ruby,
|
2015-10-27 04:10:07 +08:00
|
|
|
Java and Falcon.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kf5kross">
|
|
|
|
<primary sortas="b-kf5kross">kf5kross</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kgenapidox">
|
|
|
|
<term><command>kgenapidox</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a tool to generate API documentation in the KDE style.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kgenapidox">
|
|
|
|
<primary sortas="b-kgenapidox">kgenapidox</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kgendesignerplugin">
|
|
|
|
<term><command>kgendesignerplugin</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
generates widget plugins for Qt(TM) Designer.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kgendesignerplugin">
|
|
|
|
<primary sortas="b-kgendesignerplugin">kgendesignerplugin</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kglobalaccel5">
|
|
|
|
<term><command>kglobalaccel5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a daemon use to register the key bindings and for getting
|
|
|
|
notified when the action triggered.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kglobalaccel5">
|
|
|
|
<primary sortas="b-kglobalaccel5">kglobalaccel5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kjs5">
|
|
|
|
<term><command>kjs5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is KDE ECMAScript/JavaScript engine.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kjs5">
|
|
|
|
<primary sortas="b-kjs5">kjs5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kjscmd5">
|
|
|
|
<term><command>kjscmd5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a tool for launching KJSEmbed scripts from the command line.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kjscmd5">
|
|
|
|
<primary sortas="b-kjscmd5">kjscmd5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kjsconsole">
|
|
|
|
<term><command>kjsconsole</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a console for <command>kjs5</command>.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kjsconsole">
|
|
|
|
<primary sortas="b-kjsconsole">kjsconsole</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kmailservice5">
|
|
|
|
<term><command>kmailservice5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a mail service.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kmailservice5">
|
|
|
|
<primary sortas="b-kmailservice5">kmailservice5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kpackagelauncherqml">
|
|
|
|
<term><command>kpackagelauncherqml</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a commandline tool for launching kpackage QML application
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kpackagelauncherqml">
|
|
|
|
<primary sortas="b-kpackagelauncherqml">kpackagelauncherqml</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kpackagetool5">
|
|
|
|
<term><command>kpackagetool5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a command line kpackage tool.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kpackagetool5">
|
|
|
|
<primary sortas="b-kpackagetool5">kpackagetool5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kreadconfig5">
|
|
|
|
<term><command>kreadconfig5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a command line tool to retrieve values from KDE
|
|
|
|
configuration files.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kreadconfig5">
|
|
|
|
<primary sortas="b-kreadconfig5">kreadconfig5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kshell5">
|
|
|
|
<term><command>kshell5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
start applications via kdeinit.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kshell5">
|
|
|
|
<primary sortas="b-kshell5">kshell5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="ktelnetservice5">
|
|
|
|
<term><command>ktelnetservice5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a telnet service.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks ktelnetservice5">
|
|
|
|
<primary sortas="b-ktelnetservice5">ktelnetservice5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="ktrash5">
|
|
|
|
<term><command>ktrash5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a helper program to handle the KDE trash can.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks ktrash5">
|
|
|
|
<primary sortas="b-ktrash5">ktrash5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kwalletd5">
|
|
|
|
<term><command>kwalletd5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is the wallet manager daemon.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kwalletd5">
|
|
|
|
<primary sortas="b-kwalletd5">kwalletd5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="kwriteconfig5">
|
|
|
|
<term><command>kwriteconfig5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a command line tool to write values in KDE
|
2015-11-13 22:24:57 +08:00
|
|
|
configuration files.
|
2015-10-27 04:10:07 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks kwriteconfig5">
|
|
|
|
<primary sortas="b-kwriteconfig5">kwriteconfig5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="meinproc5">
|
|
|
|
<term><command>meinproc5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
converts DocBook files to HTML.
|
2015-11-13 22:24:57 +08:00
|
|
|
</para>
|
2015-10-27 04:10:07 +08:00
|
|
|
<indexterm zone="kf5-frameworks meinproc5">
|
|
|
|
<primary sortas="b-meinproc5">meinproc5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="plasmapkg2">
|
|
|
|
<term><command>plasmapkg2</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a tool to install, list, remove Plasma packages
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks plasmapkg2">
|
|
|
|
<primary sortas="b-plasmapkg2">plasmapkg2</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="preparetips5">
|
|
|
|
<term><command>preparetips5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a script to extract the text from a tips file.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks preparetips5">
|
|
|
|
<primary sortas="b-preparetips5">preparetips5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="solid-hardware5">
|
|
|
|
<term><command>solid-hardware5</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a command line tool to investigate available devices.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="kf5-frameworks solid-hardware5">
|
|
|
|
<primary sortas="b-solid-hardware5">solid-hardware5</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
2015-06-29 09:36:57 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|