Kdelibs-4.14.0

Introduction to Kdelibs

This package includes programs and libraries that are central to development and execution of KDE programs.

This package is known to build and work properly using an LFS-7.5 platform.

Package Information

Kdelibs Dependencies

Required

phonon-4.8.0, Attica-0.4.2, strigi-0.7.8, libdbusmenu-qt-0.9.2, docbook-xml-4.5, docbook-xsl-1.78.1, and shared-mime-info-1.3

Recommended

Optional

JasPer-1.900.1, PCRE-8.35, Avahi-0.6.31, Aspell-0.60.6.1, enchant-1.6.0, grantlee-0.4.0, MIT Kerberos V5-1.12.2, soprano, shared-desktop-ontologies, Hspell, FAM, HUPnP, OpenEXR, and media-player-info

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/kdelibs

Installation of Kdelibs

Fix file conflicts with GNOME Menus by running the following commands:

sed -i "s@{SYSCONF_INSTALL_DIR}/xdg/menus@& RENAME kde-applications.menu@" \
        kded/CMakeLists.txt &&

sed -i "s@applications.menu@kde-&@" \
        kded/kbuildsycoca.cpp

Fix building with giflib-5.1.0:

sed -i "/DGifCloseFile/s:file:&, NULL:g" \
       khtml/imload/decoders/gifloader.cpp

Install Kdelibs by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX \
      -DSYSCONF_INSTALL_DIR=/etc         \
      -DCMAKE_BUILD_TYPE=Release         \
      -DDOCBOOKXML_CURRENTDTD_DIR=/usr/share/xml/docbook/xml-dtd-4.5 \
      -Wno-dev .. &&
make

The unit regression tests are designed to be run after kdelibs is installed.

Now as the root user:

make install

To run the unit regression tests, you must have a current KDE session running and issue make test.

Command Explanations

-DSYSCONF_INSTALL_DIR=/etc: This switch is used to install configuration files in /etc.

-DCMAKE_BUILD_TYPE=Release: This switch is used to apply higher level of compiler optimizations.

-DDOCBOOKXML_CURRENTDTD_DIR=...: This switch is used to tell cmake where to find the XML DTDs.

-DWITH_SOLID_UDISKS2=TRUE: Use this switch if you have UDisks2.

Contents

Installed Programs: checkXML, kbuildsycoca4, kconfig_compiler, kcookiejar4, kde4-config, kded4, kdeinit4, kdeinit4_shutdown, kdeinit4_wrapper, kfilemetadatareader, kjs, kjscmd, kmailservice, kross, kshell4, ktelnetservice, kunittestmodrunner, kwrapper4, makekdewidgets, meinproc4, meinproc4_simple, nepomuk-rcgen and preparetips
Installed Libraries: several in $KDE_PREFIX/lib
Installed Directories: several in $KDE_PREFIX/include, $KDE_PREFIX/lib and $KDE_PREFIX/share

Short Descriptions

checkXML

is a tool used to check for syntax errors in KDE DocBook XML files.

kbuildsycoca4

is used to rebuild the system configuration cache.

kconfig_compiler

is the KDE configuration compiler.

kcookiejar4

is the KDE HTTP cookie daemon.

kde4-config

is used to print the KDE installation paths.

kded4

is the KDE daemon.

kdeinit4

is the KDE process launcher.

kjs

is the KDE ECMAScript/JavaScript engine.

kjscmd

is a tool used for launching KJSEmbed scripts from the command line.

kross

is the KDE application used to run kross scripts.

makekdewidgets

is used to build Qt widget plugins from an ini style description file.

meinproc4

is used to convert DocBook files to HTML.

preparetips

is a script used to extract the text from a tips file.

Last updated on 2014-08-23 16:58:53 +0000