(→KDE 4.6) |
|||
| (72 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | ||
{{TutorialBrowser| | {{TutorialBrowser| | ||
| Line 5: | Line 5: | ||
series=Getting Started| | series=Getting Started| | ||
| − | name=Building KDE4 From Source (Linux From Scratch requirements) | + | name=Building KDE4 From Source (Linux From Scratch requirements) |
| − | pre=[[Getting_Started/Build | + | NOTE: This page is a little out of date. I will be working on it. You might also want to consult the current SVN of Beyond Linux from Scratch for current package versions and build information.| |
| − | next=[[Getting_Started/Build | + | |
| + | pre=[[Getting_Started/Build|Build KDE]], [[Getting_Started/Tutorials/D-Bus/Configuration|D-Bus Configuration]]| | ||
| + | next=[[Getting_Started/Build|Build KDE]]| | ||
reading=[[Development/Tutorials/CMake |Introduction to CMake]]| | reading=[[Development/Tutorials/CMake |Introduction to CMake]]| | ||
| Line 37: | Line 39: | ||
::PolicyKit-0.9 | ::PolicyKit-0.9 | ||
::EggDBus | ::EggDBus | ||
| − | ::polkit | + | ::polkit |
::ConsoleKit</b> | ::ConsoleKit</b> | ||
| Line 43: | Line 45: | ||
See: [http://www.linuxfromscratch.org/blfs/view/svn BLFS] for build and configure instructions. | See: [http://www.linuxfromscratch.org/blfs/view/svn BLFS] for build and configure instructions. | ||
| + | |||
| + | HAL, PolicyKit & EggDBus are being phased out and may not be needed. | ||
| + | |||
| + | Newer versions of KDE-4.x should install: | ||
| + | |||
| + | ::udev | ||
| + | ::upower | ||
| + | ::udisks | ||
HOWEVER, KDE-4 and KDESupport libraries may need newer versions of the libraries than those in BLFS. So, it is probably best to install the versions stated above or the latest releases of these dependencies rather than the versions in BLFS. | HOWEVER, KDE-4 and KDESupport libraries may need newer versions of the libraries than those in BLFS. So, it is probably best to install the versions stated above or the latest releases of these dependencies rather than the versions in BLFS. | ||
| Line 48: | Line 58: | ||
Some of these libraries are dependent on: | Some of these libraries are dependent on: | ||
| − | ::<b>Linux-PAM | + | ::<b>Linux-PAM |
| − | ::Shadow | + | ::Shadow</b> |
which should be installed and configured according to the BLFS instructions. | which should be installed and configured according to the BLFS instructions. | ||
| Line 86: | Line 96: | ||
Then: | Then: | ||
| − | + | <syntaxhighlight lang="bash">./bootstrap.sh --prefix=/usr</syntaxhighlight> | |
| − | + | ||
| + | <syntaxhighlight lang="bash">./b2 install link=shared</syntaxhighlight> | ||
===CLucene=== | ===CLucene=== | ||
| − | + | Current KDE-4 works with the current release available here: | |
| + | |||
| + | ::http://downloads.sourceforge.net/project/clucene/ | ||
| − | + | Use CMake to build it. | |
| − | + | NOTE: Older versions of KDE and Strigi <= 0.7.5 requires version 0.9.21b. | |
===Qt=== | ===Qt=== | ||
| Line 108: | Line 121: | ||
=====KDE >= 4.4===== | =====KDE >= 4.4===== | ||
| − | You can use the GIT clone [see TRUNK above], or your can use the latest release of QT-4 | + | You can use the GIT clone [see TRUNK above], or your can use the latest release of QT-4.x.y from Nokia: |
::http://qt.nokia.com/downloads/linux-x11-cpp | ::http://qt.nokia.com/downloads/linux-x11-cpp | ||
| Line 124: | Line 137: | ||
You will probably need to use some options for configuring Qt. Various options may be appropriate and/or needed depending on your system, what you have installed, and where it is installed. Run: | You will probably need to use some options for configuring Qt. Various options may be appropriate and/or needed depending on your system, what you have installed, and where it is installed. Run: | ||
| − | + | <syntaxhighlight lang="bash">./configure --help</syntaxhighlight> | |
to see the options. There are a lot of them, but the defaults work for most of them. | to see the options. There are a lot of them, but the defaults work for most of them. | ||
| Line 130: | Line 143: | ||
Suggested configuration: | Suggested configuration: | ||
| − | + | <syntaxhighlight lang="bash">./configure -no-separate-debug-info -plugin-sql-mysql -I/usr/include/mysql -plugin-sql-sqlite -optimized-qmake -nomake demos -nomake examples -fast -dbus</syntaxhighlight> | |
{change the include directory for mysql as needed} | {change the include directory for mysql as needed} | ||
| Line 136: | Line 149: | ||
If installing Phonon from KDESupport (recommended), or other separate Phonon, add the configure option: | If installing Phonon from KDESupport (recommended), or other separate Phonon, add the configure option: | ||
| − | + | <syntaxhighlight lang="bash">-no-phonon</syntaxhighlight> | |
to avoid having two versions of libraries with the same SO number. | to avoid having two versions of libraries with the same SO number. | ||
| − | ===QCA- | + | ===QCA-2 (crypto add on for Qt)=== |
Do not use the one in KDESupport or KDE's SVN. | Do not use the one in KDESupport or KDE's SVN. | ||
| Line 158: | Line 171: | ||
::http://delta.affinix.com/download/qca/2.0/plugins/ | ::http://delta.affinix.com/download/qca/2.0/plugins/ | ||
| − | NOTE: qca-ossl-2.0.0-beta3 | + | =====Build===== |
| + | |||
| + | NOTE: qca-ossl-2.0.0-beta3 may not build against older releases of OpenSSL without being patched: | ||
::http://home.earthlink.net/~tyrerj/kde/KDE-4/qca-ossl.patch | ::http://home.earthlink.net/~tyrerj/kde/KDE-4/qca-ossl.patch | ||
| − | + | For current releases, be sure to enable MD2: | |
| − | + | <syntaxhighlight lang="bash">enable-md2</syntaxhighlight> | |
| − | + | when building OpenSSL. | |
| − | + | Check the BLFS SVN for a possible corrections to the build scripts. | |
| − | and | + | Set the: "QTDIR" environment variable correctly and then build QCA with: |
| − | + | <syntaxhighlight lang="bash">./configure --prefix=$QTDIR</syntaxhighlight> | |
| − | = | + | <syntaxhighlight lang="bash">make</syntaxhighlight> |
| − | + | <syntaxhighlight lang="bash">make install</syntaxhighlight> | |
| − | + | Then build the plugins with | |
| − | = | + | <syntaxhighlight lang="bash">./configure</syntaxhighlight> |
| − | + | <syntaxhighlight lang="bash">make</syntaxhighlight> | |
| − | + | <syntaxhighlight lang="bash">make install</syntaxhighlight> | |
| − | + | ===LibDBusMenu-Qt=== | |
| − | + | Required for KDE >= 4.5.0. Appears to be optional for KDE-4.4. | |
| − | + | Get current release here: | |
| − | + | ::https://launchpad.net/libdbusmenu-qt/+download | |
| − | : | + | and the current release of the dependency QJson here: |
| − | + | ::http://sourceforge.net/projects/qjson/files/ | |
| + | |||
| + | ===GMM=== | ||
| + | |||
| + | If you don't have Getfem++ installed, get the current release of GMM from: | ||
| + | |||
| + | ::http://home.gna.org/getfem/download.html | ||
| − | |||
===Eigen2=== | ===Eigen2=== | ||
| Line 216: | Line 236: | ||
===Raptor, Rasqal, and Redland=== | ===Raptor, Rasqal, and Redland=== | ||
| − | Get: | + | Get the current releases of: |
| − | ::redland | + | ::redland |
| − | ::rasqal | + | ::rasqal |
| − | :: | + | ::raptor2 |
From: | From: | ||
::http://download.librdf.org/source/ | ::http://download.librdf.org/source/ | ||
| − | |||
| − | |||
and the current release of the (optional) Redland dependency 3Store here: | and the current release of the (optional) Redland dependency 3Store here: | ||
| Line 234: | Line 252: | ||
Note: If 3store3-3.0.17 will not build against Rasqal, then skip it for now -- it is optional. | Note: If 3store3-3.0.17 will not build against Rasqal, then skip it for now -- it is optional. | ||
| − | When building Redland, you | + | When building Redland, you might need to use: |
::--with-bdb= | ::--with-bdb= | ||
| Line 240: | Line 258: | ||
to point to your Berkeley DB directory. | to point to your Berkeley DB directory. | ||
| − | If | + | If Redland won't build against SQLite, be sure you have the current >= 3.7.3 installed: |
| − | + | ||
| − | + | ||
Install in this order: | Install in this order: | ||
| Line 272: | Line 288: | ||
For building Virtuoso, these configure parameters are useful: | For building Virtuoso, these configure parameters are useful: | ||
| − | + | <syntaxhighlight lang="bash">--with-jdk4=</syntaxhighlight> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | <syntaxhighlight lang="bash">--without-internal-zlib</syntaxhighlight> | |
| + | |||
| + | <syntaxhighlight lang="bash">--with-pthreads</syntaxhighlight> | ||
| + | |||
| + | <syntaxhighlight lang="bash">--with-readline</syntaxhighlight> | ||
| + | |||
| + | <syntaxhighlight lang="bash">--with-iodbc=</syntaxhighlight> | ||
| − | : | + | Check the BLFS SVN for other parameters. |
| + | |||
| + | If building Virtuoso only for KDE, (to save disk space) use configure parameters: | ||
| + | |||
| + | <syntaxhighlight lang="bash">--disable-all-vads</syntaxhighlight> | ||
| + | |||
| + | <syntaxhighlight lang="bash">--disable-static</syntaxhighlight> | ||
===KDE Supporting dependencies=== | ===KDE Supporting dependencies=== | ||
| Line 290: | Line 314: | ||
::svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport | ::svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport | ||
| − | + | =====KDE 4.6===== | |
| − | + | There is no KDESupport-4.6 so, you need to install these packages: | |
| − | : | + | |
| − | ===== | + | ======Automoc4====== |
| + | |||
| + | Available here: | ||
| + | |||
| + | ::ftp://ftp.kde.org/pub/kde/stable/automoc4/<version> | ||
| + | |||
| + | ======Attica====== | ||
| + | |||
| + | Available here: | ||
| + | |||
| + | ::ftp://ftp.kde.org/pub/kde/stable/attica | ||
| + | |||
| + | ======Polkit-Qt====== | ||
| + | |||
| + | Available here: | ||
| + | |||
| + | ::ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin | ||
| + | |||
| + | ======Polkit-Qt-1====== | ||
| + | |||
| + | Available here: | ||
| + | |||
| + | ::ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin | ||
| + | |||
| + | ======Soprano====== | ||
| + | |||
| + | Available from Source Forge: | ||
| + | |||
| + | ::http://sourceforge.net/projects/soprano/ | ||
| + | |||
| + | ======Akonadi====== | ||
| + | |||
| + | Available here: | ||
| + | |||
| + | ::http://download.akonadi-project.org | ||
| + | |||
| + | ======Cagibi====== | ||
| + | |||
| + | Available here: | ||
| + | |||
| + | ::ftp://ftp.kde.org/pub/kde/stable/cagibi | ||
| + | |||
| + | ======Strigi====== | ||
| + | |||
| + | Available from SourceForge: | ||
| + | |||
| + | ::http://downloads.sourceforge.net/strigi | ||
| − | + | NOTE: Strigi >= 0.7.6 is needed to use the current release of Clucene. | |
| − | + | ======QImageBlitz====== | |
| − | + | Available from Source Forge: | |
| − | :: | + | ::http://sourceforge.net/projects/qimageblitz/files/qimageblitz |
=====KDE 4.4 & 4.5===== | =====KDE 4.4 & 4.5===== | ||
| Line 356: | Line 425: | ||
<nowiki>------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------</nowiki> | <nowiki>------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------</nowiki> | ||
| − | < | + | <syntaxhighlight lang="diff"> |
Index: strigi/src/streamanalyzer/endplugins/CMakeLists.txt | Index: strigi/src/streamanalyzer/endplugins/CMakeLists.txt | ||
| − | |||
--- strigi/src/streamanalyzer/endplugins/CMakeLists.txt (revision 1096146) | --- strigi/src/streamanalyzer/endplugins/CMakeLists.txt (revision 1096146) | ||
+++ strigi/src/streamanalyzer/endplugins/CMakeLists.txt (working copy) | +++ strigi/src/streamanalyzer/endplugins/CMakeLists.txt (working copy) | ||
| Line 371: | Line 439: | ||
- target_link_libraries(ffmpeg ${FFMPEG_LIBRARIES}) | - target_link_libraries(ffmpeg ${FFMPEG_LIBRARIES}) | ||
-endif(FFMPEG_FOUND) | -endif(FFMPEG_FOUND) | ||
| − | </ | + | </syntaxhighlight> |
<nowiki>------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------</nowiki> | <nowiki>------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------</nowiki> | ||
| Line 403: | Line 471: | ||
If you checked out KDESupport from TRUNK, you have the package. Otherwise, get TRUNK here: | If you checked out KDESupport from TRUNK, you have the package. Otherwise, get TRUNK here: | ||
| − | :: | + | ::git clone git://oscaf.git.sourceforge.net/gitroot/oscaf/oscaf |
| − | + | ||
Or the release from Source Forge: | Or the release from Source Forge: | ||
| Line 431: | Line 499: | ||
::ftp://ftp.kde.org/pub/kde/stable/phonon/<version>/src | ::ftp://ftp.kde.org/pub/kde/stable/phonon/<version>/src | ||
| − | Also install back ends as needed. You must | + | Also install back ends as needed. You must install a back end -- either GStreamer or Xine for Linux. They are available here: |
::ftp://ftp.kde.org/pub/kde/stable/phonon/phonon-backend-<name>/4.4.4/<version>/src | ::ftp://ftp.kde.org/pub/kde/stable/phonon/phonon-backend-<name>/4.4.4/<version>/src | ||
| Line 471: | Line 539: | ||
<nowiki>------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------</nowiki> | <nowiki>------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------</nowiki> | ||
| − | < | + | <syntaxhighlight lang="diff"> |
diff -Naur polkit-kde-1-0.95.1.old/agent/CMakeLists.txt polkit-kde-1-0.95.1/agent/CMakeLists.txt | diff -Naur polkit-kde-1-0.95.1.old/agent/CMakeLists.txt polkit-kde-1-0.95.1/agent/CMakeLists.txt | ||
--- polkit-kde-1-0.95.1.old/agent/CMakeLists.txt 2009-12-23 04:31:29.000000000 -0700 | --- polkit-kde-1-0.95.1.old/agent/CMakeLists.txt 2009-12-23 04:31:29.000000000 -0700 | ||
| Line 490: | Line 558: | ||
-install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${DESKTOP_INSTALL_DIR}) | -install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${DESKTOP_INSTALL_DIR}) | ||
+install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}) | +install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}) | ||
| − | </ | + | </syntaxhighlight> |
<nowiki>------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------</nowiki> | <nowiki>------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------</nowiki> | ||
| Line 521: | Line 589: | ||
::http://sourceforge.net/projects/kipi/ | ::http://sourceforge.net/projects/kipi/ | ||
| − | This package is dependent on KDEGraphics. The package has a lot of optional dependencies which you need to satisfy only if you want the corresponding plugins built. You should install it in the same directory where you installed KDE-4.x.y. | + | This package is dependent on KDE libraries (including some KDEGraphics libraries) and a dependency for Gwenview. Threfore, if you install KDEGraphics as a single package, there is a circular dependency. The package has a lot of optional dependencies which you need to satisfy only if you want the corresponding plugins built. You should install it in the same directory where you installed KDE-4.x.y. |
Be sure that you updated your: "PKG_CONFIG_PATH" to include $CMAKE_INSTALL_PREFIX/lib/pkgconfig (for example): | Be sure that you updated your: "PKG_CONFIG_PATH" to include $CMAKE_INSTALL_PREFIX/lib/pkgconfig (for example): | ||
| Line 531: | Line 599: | ||
If you checked out KDESupport from TRUNK or the TAG: "kdesupport-for-<version>", you have them. | If you checked out KDESupport from TRUNK or the TAG: "kdesupport-for-<version>", you have them. | ||
| − | If you checked out KDESupport from a tag "kdesupport-<version>" up to 4.3, you need to get them. If you are using SVN, that would be: | + | If you checked out KDESupport from a tag "kdesupport-<version>" up to 4.3 or didn't use KDESupport, you need to get them. If you are using SVN, that would be: |
::svn co svn://anonsvn.kde.org/home/kde/tags/KDE/<version>/oxygen-icons | ::svn co svn://anonsvn.kde.org/home/kde/tags/KDE/<version>/oxygen-icons | ||
| Line 596: | Line 664: | ||
====KDENetwork==== | ====KDENetwork==== | ||
| − | <b> | + | <b>v4l-utils and Libv4l</b> |
Only required for KDE >= 4.4 and TRUNK | Only required for KDE >= 4.4 and TRUNK | ||
| Line 602: | Line 670: | ||
Get the current release here: | Get the current release here: | ||
| − | ::http:// | + | ::http://freecode.com/projects/libv4l |
| − | and follow the build instructions in the | + | and follow the build instructions in the INSTALL file. |
=====Optional Dependencies===== | =====Optional Dependencies===== | ||
| Tutorial Series | Getting Started |
| Previous | Build KDE, D-Bus Configuration |
| What's Next | Build KDE |
| Further Reading | Introduction to CMake |
KDE-4 and some supporting libraries use CMake.
Install the latest version from cmake.org
KDE-4 requires a lot of the same general purpose libraries as KDE-3.
The output from running CMake should list what you are missing -- which generally applicable libraries that you need which I will not discuss further.
A system should have these installed:
(and properly configured) although, strictly speaking, they are not all dependencies for KDE-4.x.
See: BLFS for build and configure instructions.
HAL, PolicyKit & EggDBus are being phased out and may not be needed.
Newer versions of KDE-4.x should install:
HOWEVER, KDE-4 and KDESupport libraries may need newer versions of the libraries than those in BLFS. So, it is probably best to install the versions stated above or the latest releases of these dependencies rather than the versions in BLFS.
Some of these libraries are dependent on:
which should be installed and configured according to the BLFS instructions.
KDE-4 still requires version 4.2 of:
See the instructions in this old version of BLFS:
Get the current release (e.g. boost_1_42_0.tar.gz) here:
The current release eliminates the arcane naming issues. Although not the same as using autotools, it is now simple to build and install.
Remove the includes from previous versions:
and if you have a link:
remove that also.
Then:
./bootstrap.sh --prefix=/usr
./b2 install link=shared
Current KDE-4 works with the current release available here:
Use CMake to build it.
NOTE: Older versions of KDE and Strigi <= 0.7.5 requires version 0.9.21b.
Use kde-qt from:
This installs as Qt-<version>, so when it updates to the next version, it won't install in the same place. This means that you will need to change the <version> any place where it is specified. You will also have to install QCA (and its plugins) again when the version changes.
You can use the GIT clone [see TRUNK above], or your can use the latest release of QT-4.x.y from Nokia:
Use 4.5.3:
Or a newer release (see above). A newer release may have issues.
You will probably need to use some options for configuring Qt. Various options may be appropriate and/or needed depending on your system, what you have installed, and where it is installed. Run:
./configure --help
to see the options. There are a lot of them, but the defaults work for most of them.
Suggested configuration:
./configure -no-separate-debug-info -plugin-sql-mysql -I/usr/include/mysql -plugin-sql-sqlite -optimized-qmake -nomake demos -nomake examples -fast -dbus
{change the include directory for mysql as needed}
If installing Phonon from KDESupport (recommended), or other separate Phonon, add the configure option:
-no-phononto avoid having two versions of libraries with the same SO number.
Do not use the one in KDESupport or KDE's SVN.
Download the current release of qca from:
and the plugins:
from:
NOTE: qca-ossl-2.0.0-beta3 may not build against older releases of OpenSSL without being patched:
For current releases, be sure to enable MD2:
enable-md2
when building OpenSSL.
Check the BLFS SVN for a possible corrections to the build scripts.
Set the: "QTDIR" environment variable correctly and then build QCA with:
./configure --prefix=$QTDIR
makemake install
Then build the plugins with
./configuremakemake install
Required for KDE >= 4.5.0. Appears to be optional for KDE-4.4.
Get current release here:
and the current release of the dependency QJson here:
If you don't have Getfem++ installed, get the current release of GMM from:
Get the current 2.0.x release from:
You need a Java compiler with JNI to build the Sesame2 storage backend for Soprano and a Java RunTime (JVM) to run it.
Remember to add the "bin" directory to your path and the "lib" directory to your "/etc/ld.so.conf" file.
Get the current releases of:
From:
and the current release of the (optional) Redland dependency 3Store here:
Note: If 3store3-3.0.17 will not build against Rasqal, then skip it for now -- it is optional.
When building Redland, you might need to use:
to point to your Berkeley DB directory.
If Redland won't build against SQLite, be sure you have the current >= 3.7.3 installed:
Install in this order:
Only needed for KDE >= 4.4 and TRUNK
Get virtuoso-opensource >= 6.1.1 here:
If you have problems, use the direct link:
and the current release of the dependency iODBC here:
If building iODBC only for KDE, use configure parameter:
For building Virtuoso, these configure parameters are useful:
--with-jdk4=--without-internal-zlib--with-pthreads--with-readline--with-iodbc=Check the BLFS SVN for other parameters.
If building Virtuoso only for KDE, (to save disk space) use configure parameters:
--disable-all-vads--disable-staticuse KDESupport:
There is no KDESupport-4.6 so, you need to install these packages:
Available here:
Available here:
Available here:
Available here:
Available from Source Forge:
Available here:
Available here:
Available from SourceForge:
NOTE: Strigi >= 0.7.6 is needed to use the current release of Clucene.
Available from Source Forge:
Use KDESupport:
This does not include: Ontologies. See below.
Use the KDESupport SVN tag that matches your KDE version. E.G. for 4.3:
Since TagLib is also a dependency for GStreamer (gst-plugins-good), you probably don't want to have a redundant installation for the KDE-4 version that will be your 'production' version. Remove it from KDESupport SVN:
And install the current release from:
NOTE: To get GST Plugins Good to build the plugin for TagLib you need to set the environment variable:
before you run: "configure".
The QCA in KDESupport is not currently used (see QCA-2.0.2 above) so:
For KDE Support 4.5 and TRUNK:
Do not use the version in KDE Support. Remove if from KDE Support:
See below
The current KDESupport may not be compatible with LFS installed FFmpeg. Use this patch:
------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------
Index: strigi/src/streamanalyzer/endplugins/CMakeLists.txt --- strigi/src/streamanalyzer/endplugins/CMakeLists.txt (revision 1096146) +++ strigi/src/streamanalyzer/endplugins/CMakeLists.txt (working copy) @@ -34,9 +34,3 @@ target_link_libraries(xine ${XINE_LIBRARY}) endif(XINE_FOUND) -if(FFMPEG_FOUND) - include_directories(${FFMPEG_INCLUDE_DIRS}) - ADD_STRIGIEA(ffmpeg ffmpegendanalyzer.cpp) - #set_target_properties( ffmpeg PROPERTIES COMPILE_FLAGS "${FFMPEG_DEFINITIONS}" ) - target_link_libraries(ffmpeg ${FFMPEG_LIBRARIES}) -endif(FFMPEG_FOUND)
------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------
Or, use the FFmpeg snapshot on the CBLFS page:
This more recent snapshot requires: "libx264.so.83". The x264 snapshot on CBFLS is too old. This Source RPM worked:
Google is your friend.
NOTE: You may need to add these parameters to the CMake command line:
You must build with the same CMake parameters as the KDE-4 modules; specifically:
Required for KDE >= 4.4 and TRUNK.
If you checked out KDESupport from TRUNK, you have the package. Otherwise, get TRUNK here:
Or the release from Source Forge:
and install with CMake with:
Phonon has been moved to
Get it with the command:
The current release of Phonon is available here:
Also install back ends as needed. You must install a back end -- either GStreamer or Xine for Linux. They are available here:
Where <name> is one of:
KDEBindings-4.4.x will not build against Phonon from the GIT repository.
Use the version in KDESupport-4.4.
Install with:
and the rest of the CMake parameters the same as KDESupport or Supporting dependencies.
Use:
The 0.95.1 tarball from the KDE FTP site will not install correctly. You need to apply this patch:
------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------
diff -Naur polkit-kde-1-0.95.1.old/agent/CMakeLists.txt polkit-kde-1-0.95.1/agent/CMakeLists.txt --- polkit-kde-1-0.95.1.old/agent/CMakeLists.txt 2009-12-23 04:31:29.000000000 -0700 +++ polkit-kde-1-0.95.1/agent/CMakeLists.txt 2010-03-25 15:54:12.000000000 -0700 @@ -11,7 +11,7 @@ target_link_libraries(polkit-kde-authentication-agent-1 ${KDE4_KDEUI_LIBS} - ${POLKITQT-1_AGENT_LIBRARY} + ${POLKITQT-1_LIBRARIES} ) configure_file(polkit-kde-authentication-agent-1.desktop.in ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop) @@ -25,4 +25,4 @@ set (DESKTOP_INSTALL_DIR /etc/xdg/autostart) endif (DESKTOP_INSTALL_DIR) -install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${DESKTOP_INSTALL_DIR}) +install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR})
------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------8<------
You must build with the same CMake parameters as the KDE-4 modules; specifically:
You should have this installed with a prefix: "/usr". All you need to do is build KDE-4 with:
However there appears to be a problem for KDE < 4.5
Get the current release from:
You need to install this with the same prefix as KDE4 (even if you already have it installed in "/usr") to eliminate missing MIME type errors. Currently, KDELibs won't build unless you do this. And, even if it does, you will get run time errors -- popup windows saying that certain MIME types can not be found.
This appears to be a bug that was fixed with KDE-4.5; for ealier versions this workaround does seem to work.
Get the current release from:
This package is dependent on KDE libraries (including some KDEGraphics libraries) and a dependency for Gwenview. Threfore, if you install KDEGraphics as a single package, there is a circular dependency. The package has a lot of optional dependencies which you need to satisfy only if you want the corresponding plugins built. You should install it in the same directory where you installed KDE-4.x.y.
Be sure that you updated your: "PKG_CONFIG_PATH" to include $CMAKE_INSTALL_PREFIX/lib/pkgconfig (for example):
If you checked out KDESupport from TRUNK or the TAG: "kdesupport-for-<version>", you have them.
If you checked out KDESupport from a tag "kdesupport-<version>" up to 4.3 or didn't use KDESupport, you need to get them. If you are using SVN, that would be:
{where <version> is the latest release for the branch you are using (e.g. 4.3.4 for the 4.3 branch)}
Or, you can simply use TRUNK:
TRUNK and KDE-4.4 require libssh. Get the current release >= 0.4.0 from:
To build the Python bindings for KDE, you need the current releases of SIP and PyQt from here:
Install: "SIP" first and then: "PyQt". These are both Python add-ons so they install with:
Unless you want to get into serious complications, you should only build PyQt against one version of Qt and you should only install one version of KDEBindings. If you try to build against multiple versions of Qt or install multiple versions of KDEBindings, with a single instance of Python (or other languages), you will install two versions of the same file in the same place.
PyQt will find Qt based on your environment variables. So, if you want to install for a version of KDE other than the one that you are currently using, be sure that these are set correctly:
KDEBindings is dependent on KDEGraphics (specifically Okular).
Other language dependencies are optional. If you have other supported languages installed on your system, installing KDEBindings will build bindings for them.
QScintilla2 is optional. If you are installing it, get it here:
Install it after SIP & PyQt. It has a Qt build system, so install for Qt4 it with:
KDEEdu might be dependent on KDEBindings.
v4l-utils and Libv4l
Only required for KDE >= 4.4 and TRUNK
Get the current release here:
and follow the build instructions in the INSTALL file.
Telepathy-Qt4 is the Qt bindings for Telepathy. Since this has general usage, you should probably install it along with its semi-optional dependency telepathy-glib.
Get the current releases here:
Install: "telepathy-glib" first and then: 'telepathy-qt4".
The output from CMake lists several other optional dependencies. It appears that these are needed to support specific functions in KDENetwork. So, if you need those functions, you need to install them. You will probably also need to install the corresponding Telepathy addons from here:
TO DO: more information needed.