{{warning|This page is yet to be reviewed for changes required by the migration to Git. Information and commands on this page may no longer be valid and should be used with care. Please see the [[Development/Git|KDE Git hub page]] for more details. }}

{{warning|This page is yet to be reviewed for changes required by the migration to Git. Information and commands on this page may no longer be valid and should be used with care. Please see the [[Development/Git|KDE Git hub page]] for more details. }}

The kdesupport module contains a number of KDE developed and supported packages that the main KDE modules depend upon. Your distribution packages may be sufficient for these requirements when building a KDE stable branch, but master may sometimes require the latest versions of some of these to be built from source.

+

The KDE Support module contains a number of KDE developed and supported packages that the main KDE Modules depend upon. Your distribution packages may be sufficient for these requirements when building a KDE stable branch, but Unstable may sometimes require the latest versions to be built from source.

−

Most kdesupport packages have now migrated to Git as separate modules and must be built individually, although some are still left in svn and can be built as a single unit. The modules are listed below in a rough dependency order.

+

Most KDE Support packages have now migrated to Git as separate modules and must be built individually, although some are still left in Subversion and can be built as a single unit. The modules are listed below in a rough dependency order.

The 'Stable' column shows the required version for the current Stable branch while the 'Master' column shows the required version for the current development version (aka 'trunk'). On most distributions you will also need to install the matching -devel packages for some of the software, this is indicated in the Devel column of the table.

+

The following table summarizes all the Projects contained in KDE Support and the versions required for building KDE Software. The optional/mandatory coloring is based on the requirements of the KDE Development Platform, the requirements for building other KDE Modules or Applications may vary.

The Easy Recipe relies on you setting up your environment according to the KDE recommendations. This will give you many shortcuts to save on typing. See the [[Getting_Started/Build/Environment|Build Environment]] section to do this.

−

cd <your source root directory>

+

{| border="1" cellpadding="5" cellspacing="0"

−

git clone kde:<module>.git

+

|+ '''KDE Software Build Requirements'''

−

cd <module>

+

|-

−

cmakekde

+

! width="20%" style="background-color:#EFEFEF;" | Requirement

+

! width="15%" style="background-color:#EFEFEF;" | Stable Requires

+

! width="15%" style="background-color:#EFEFEF;" | Unstable Requires

+

! width="10%" style="background-color:#EFEFEF;" | Devel Pkgs?

+

! width="40%" style="background-color:#EFEFEF;" | Details

+

|-

+

| [http://projects.kde.org/projects/kdesupport/project Project]

+

| style="background-color:#66FF66;" |

+

| style="background-color:#66FF66;" |

+

| Yes

+

| A library

+

|}

−

=== Full Recipe ===

−

The Full Recipe is provided for those who wish to control their build environment or to see the full steps required and who don't mind lots of typing.

−

cd <your source root directory>

+

{| border="1" cellpadding="5" cellspacing="0"

−

git clone git://anongit.kde.org/<module>.git

+

|+ '''Project Build Requirements'''

−

cd <your build root directory, or the module source dir>

+

|-

−

mkdir <your module build dir>

+

! width="20%" style="background-color:#EFEFEF;" | Requirement

−

cd <your module build dir>

+

! width="15%" style="background-color:#EFEFEF;" | Stable Requires

−

cmake <path to your module source dir>

+

! width="15%" style="background-color:#EFEFEF;" | Unstable Requires

−

\ -DCMAKE_INSTALL_PREFIX=$KDEDIR

+

! width="10%" style="background-color:#EFEFEF;" | Devel Pkgs?

−

\ -DCMAKE_BUILD_TYPE=debugfull

+

! width="40%" style="background-color:#EFEFEF;" | Details

−

\ -DKDE4_BUILD_TESTS=TRUE

+

|-

−

nice make -j2 # for faster compiles use -j(X+1)' where X is your number of processor cores

+

| [http:// Project]

−

make install

+

| style="background-color:#FF6666" |

+

| style="background-color:#FF6666" |

+

| Yes

+

| A library for

+

|}

== Automoc ==

== Automoc ==

−

Automoc is a tool to automate Qt moc file creation.

−

Please see the [http://projects.kde.org/projects/kdesupport/automoc Automoc project page] for details.

+

Automoc is a tool to automate Qt moc file creation. Automoc '''MUST''' be built first as other KDE Support Modules depend on it.

−

Automoc '''MUST''' be built first as other kdesupport modules depend on it.

| The PolicyKit authorization framework. PolicyKit 0.98 is recommended, but Polkit Qt will build with any version.

+

|}

== Strigi ==

== Strigi ==

−

Strigi is a library for indexing files.

−

Please see the [https://projects.kde.org/projects/kdesupport/strigi Strigi project page] for details.

+

Strigi is a library for indexing files. Note that Strigi has now been split into a number of separate Git sub-projects, but these can still be cloned and built as a single entity using the Strigi parent project.

−

Strigi itself has a few dependencies as well: you will need the libraries and headers for libz, libbz2, openssl (libcrypto or libssl), libclucene (>=0.9.16a but watch out: version 0.9.17 does '''not''' work), and either libxml2 or libexpat.

{{ warning|As of 2011-03-21: After cloning the Strigi parent project, you will have to run the ''change_to_development_git.sh'' script to pull in all sub projects.}}

−

git clone kde:libstreamanalyzer

+

−

git clone kde:libstreams

+

−

git clone kde:strigi

+

−

git clone kde:strigiclient

+

−

git clone kde:strigidaemon

+

−

git clone kde:strigiutils

+

−

Full:

+

{| border="1" cellpadding="5" cellspacing="0"

−

git clone git://anongit.kde.org/libstreamanalyzer

+

|+ '''KDE Software Build Requirements'''

−

git clone git://anongit.kde.org/libstreams

+

|-

−

git clone git://anongit.kde.org/strigi

+

! width="20%" style="background-color:#EFEFEF;" | Requirement

−

git clone git://anongit.kde.org/strigiclient

+

! width="15%" style="background-color:#EFEFEF;" | Stable Requires

−

git clone git://anongit.kde.org/strigidaemon

+

! width="15%" style="background-color:#EFEFEF;" | Unstable Requires

−

git clone git://anongit.kde.org/strigiutils

+

! width="10%" style="background-color:#EFEFEF;" | Devel Pkgs?

+

! width="40%" style="background-color:#EFEFEF;" | Details

+

|-

+

| [http://projects.kde.org/projects/kdesupport/strigi Strigi]

+

| style="background-color:#66FF66;" |

+

| style="background-color:#66FF66;" |

+

| Yes

+

| A library for indexing files.

+

|}

+

+

+

{| border="1" cellpadding="5" cellspacing="0"

+

|+ '''Project Build Requirements'''

+

|-

+

! width="20%" style="background-color:#EFEFEF;" | Requirement

+

! width="15%" style="background-color:#EFEFEF;" | Stable Requires

+

! width="15%" style="background-color:#EFEFEF;" | Unstable Requires

+

! width="10%" style="background-color:#EFEFEF;" | Devel Pkgs?

+

! width="40%" style="background-color:#EFEFEF;" | Details

+

|-

+

| [http://qt.nokia.com/ Qt]

+

| style="background-color:#FF6666" | >= 4.3.0

+

| style="background-color:#FF6666" | >= 4.3.0

+

| Yes

+

| The Qt development framework.

+

|-

+

| [http://www.zlib.net/ libz]

+

| style="background-color:#FF6666" |

+

| style="background-color:#FF6666" |

+

| Yes

+

| A library for zip file compression

+

|-

+

| [http://bzip.org/ libbz2]

+

| style="background-color:#FF6666" |

+

| style="background-color:#FF6666" |

+

| Yes

+

| A library for bzip2 file compression.

+

|-

+

| [http://xmlsoft.org/ libxml2]

+

| style="background-color:#FF6666" |

+

| style="background-color:#FF6666" |

+

| Yes

+

| A library for parsing XML

+

|-

+

| [http://clucene.sourceforge.net/ Clucene]

+

| style="background-color:#66FF66" | >=0.9.16a

+

| style="background-color:#66FF66" | >=0.9.16a

+

| Yes

+

| A high-performance indexing and searching API. Version 0.9.17 does '''not''' work.

+

|-

+

| [http://www.exiv2.org/ Exiv2]

+

| style="background-color:#66FF66" |

+

| style="background-color:#66FF66" |

+

| Yes

+

| A library to manage image metadata.

+

|-

+

| [http://www.ffmpeg.org/ FFMPEG]

+

| style="background-color:#66FF66" |

+

| style="background-color:#66FF66" |

+

| Yes

+

| A library for reading audio and video files.

+

|-

+

| [http://www.freedesktop.org/wiki/Software/dbus DBus]

+

| style="background-color:#66FF66" |

+

| style="background-color:#66FF66" |

+

| Yes

+

| A message bus system.

+

|-

+

| [http://oss.sgi.com/projects/fam/ FAM]

+

| style="background-color:#66FF66" |

+

| style="background-color:#66FF66" |

+

| Yes

+

| A tool for file system monitoring.

+

|-

+

| [http://logging.apache.org/log4cxx/index.html Log4cxx]

+

| style="background-color:#66FF66" |

+

| style="background-color:#66FF66" |

+

| Yes

+

| A logging framework for C++

+

|-

+

| [http://sourceforge.net/projects/cppunit/ CppUnit]

+

| style="background-color:#66FF66" |

+

| style="background-color:#66FF66" |

+

| Yes

+

| A C++ Unit Testing framework

+

|}

== Soprano ==

== Soprano ==

+

Soprano is a library for storing RDF data for the Nepomuk semantic desktop.

Soprano is a library for storing RDF data for the Nepomuk semantic desktop.

Line 198:

Line 437:

== Akonadi ==

== Akonadi ==

+

Akonadi is a library for caching PIM data.

Akonadi is a library for caching PIM data.

Line 208:

Line 448:

== Cagibi ==

== Cagibi ==

+

Cagibi is a cache/proxy daemon for SSDP, the discovery part of UPnP.

Cagibi is a cache/proxy daemon for SSDP, the discovery part of UPnP.

Line 214:

Line 455:

Easy: git clone kde:cagibi.git

Easy: git clone kde:cagibi.git

Full: git clone git://anongit.kde.org/cagibi.git

Full: git clone git://anongit.kde.org/cagibi.git

+

+

== Qt Zeitgeist ==

+

+

Qt Zeitgeist is a QT wrapper for the Zeitgeist logging program.

+

+

Please see the [http://projects.kde.org/projects/kdesupport/libqtzeitgeist Qt Zeitgeist project page] for details.

+

+

Easy: git clone kde:libqzeitgeist.git

+

Full: git clone git://anongit.kde.org/libqzeitgeist.git

== Phonon ==

== Phonon ==

+

Phonon is a sound system abstraction layer. This is usually packaged with Qt, but the Phonon version from Qt is not recent enough for KDE sound to work so you will need to build the required version yourself.

Phonon is a sound system abstraction layer. This is usually packaged with Qt, but the Phonon version from Qt is not recent enough for KDE sound to work so you will need to build the required version yourself.

Line 223:

Line 474:

=== Easy Recipe ===

=== Easy Recipe ===

+

This recipe assumes you have set up the recommended KDE scripts, environment variables, and git configuration.

This recipe assumes you have set up the recommended KDE scripts, environment variables, and git configuration.

Line 229:

Line 481:

cd phonon

cd phonon

cb

cb

−

cmake $KDE_SRC/phonon

+

cmake <path to your module source dir>

\ -DCMAKE_INSTALL_PREFIX=$QTDIR

\ -DCMAKE_INSTALL_PREFIX=$QTDIR

\ -DCMAKE_BUILD_TYPE=debugfull

\ -DCMAKE_BUILD_TYPE=debugfull

Line 239:

Line 491:

=== Full Recipe ===

=== Full Recipe ===

+

This recipe assumes you are not using the recommended scripts and have properly set up your own environment.

This recipe assumes you are not using the recommended scripts and have properly set up your own environment.

Line 249:

Line 502:

\ -DCMAKE_INSTALL_PREFIX=$QTDIR

\ -DCMAKE_INSTALL_PREFIX=$QTDIR

\ -DCMAKE_BUILD_TYPE=debugfull

\ -DCMAKE_BUILD_TYPE=debugfull

−

\ -DKDE4_BUILD_TESTS=TRUE

make

make

make install

make install

Line 276:

Line 528:

rm $QTDIR/lib/libphonon.so.4

rm $QTDIR/lib/libphonon.so.4

+

+

== Prison ==

+

+

Prison is a barcode library to enable optional barcode support in KDE Software. It was introduced in the KDE 4.7 Release Cycle.

This recipe assumes you have set up the recommended KDE scripts, environment variables, and git configuration.

This recipe assumes you have set up the recommended KDE scripts, environment variables, and git configuration.

Line 299:

Line 614:

svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/

svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/

cd kdesupport

cd kdesupport

−

cmakekde

+

kdebuild

=== Full Recipe ===

=== Full Recipe ===

+

This recipe assumes you are not using the recommended scripts and have properly set up your own environment.

This recipe assumes you are not using the recommended scripts and have properly set up your own environment.

Line 336:

Line 652:

= Next Step =

= Next Step =

−

Once all the kdesupport requirements have been installed it is time to install [[../#kdelibs|kdelibs]]

+

+

Once all the KDE Support requirements have been installed it is time to install the [[../KDE_Development_Platform|KDE Development Platform]]

Revision as of 21:33, 3 November 2012

Warning

This page is yet to be reviewed for changes required by the migration to Git. Information and commands on this page may no longer be valid and should be used with care. Please see the KDE Git hub page for more details.

Introduction

The KDE Support module contains a number of KDE developed and supported packages that the main KDE Modules depend upon. Your distribution packages may be sufficient for these requirements when building a KDE stable branch, but Unstable may sometimes require the latest versions to be built from source.

Most KDE Support packages have now migrated to Git as separate modules and must be built individually, although some are still left in Subversion and can be built as a single unit. The modules are listed below in a rough dependency order.

Requirements

The following table summarizes all the Projects contained in KDE Support and the versions required for building KDE Software. The optional/mandatory coloring is based on the requirements of the KDE Development Platform, the requirements for building other KDE Modules or Applications may vary.

The PolicyKit authorization framework. PolicyKit 0.98 is recommended, but Polkit Qt will build with any version.

Strigi

Strigi is a library for indexing files. Note that Strigi has now been split into a number of separate Git sub-projects, but these can still be cloned and built as a single entity using the Strigi parent project.

Phonon

Phonon is a sound system abstraction layer. This is usually packaged with Qt, but the Phonon version from Qt is not recent enough for KDE sound to work so you will need to build the required version yourself.