Difference between revisions of "KdeLibs"

From CBLFS
Jump to navigationJump to search
(Regardless if it does not link against it, it is still a depdency, a note is more appropriate.)
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| ftp://ftp.kde.org/pub/kde/stable/{{KDE-Version}}/src/kdelibs-{{KDE-Version}}.tar.bz2
 
| ftp://ftp.kde.org/pub/kde/stable/{{KDE-Version}}/src/kdelibs-{{KDE-Version}}.tar.bz2
 +
|-
 +
!Download Patch:
 +
| http://svn.cross-lfs.org/svn/repos/patches/kdelibs/kdelibs-3.5.8-LDFLAG.fix-1.patch
 
|}
 
|}
  
Line 53: Line 56:
  
 
== Multilib ==
 
== Multilib ==
 +
 +
On Multilib systems a possible problem occures with KDELIB not finding libqt-mt. This error occured for me when Qt was isntalled in /opt. I am unaware if this problem effects Non-Multilib Builds or if QT is installed into /usr. This patch should fix those linking problems by correcting the LDFLAGS in certain Makefiles
 +
 +
patch -Np1 -i ../kdelibs-3.5.8-LDFLAG.fix-1.patch
  
 
=== 32Bit ===
 
=== 32Bit ===

Revision as of 13:36, 29 December 2007

Download Source: ftp://ftp.kde.org/pub/kde/stable/3.5.10/src/kdelibs-3.5.10.tar.bz2
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/kdelibs/kdelibs-3.5.8-LDFLAG.fix-1.patch

Introduction to KdeLibs

This package includes programs and libraries that are central to the development and execution of a KDE program, as well as internationalization files for these libraries, miscellaneous HTML documentation, theme modules and regression tests.

Project Homepage: http://www.kde.org/

Dependencies

Required

Recommended

Optional

Non-Multilib

Compile the package:

./configure --prefix=$KDE_PREFIX --sysconfdir=/etc/kde \
    --disable-debug --disable-dependency-tracking &&
make

Install the package

make install

Multilib

On Multilib systems a possible problem occures with KDELIB not finding libqt-mt. This error occured for me when Qt was isntalled in /opt. I am unaware if this problem effects Non-Multilib Builds or if QT is installed into /usr. This patch should fix those linking problems by correcting the LDFLAGS in certain Makefiles

patch -Np1 -i ../kdelibs-3.5.8-LDFLAG.fix-1.patch

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
    ./configure --prefix=$KDE_PREFIX --sysconfdir=/etc/kde --disable-debug \
    --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib \
    --with-qt-libraries=${QTDIR}/lib --enable-libsuffix=none  &&
make


Install the package

make install &&
mv -v ${KDE_PREFIX}/bin/kde-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
    ./configure --prefix=$KDE_PREFIX --sysconfdir=/etc/kde --libdir=${KDE_PREFIX}/lib32
    --disable-debug --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib32 \
    --with-qt-libraries=${QTDIR}/lib32 --enable-libsuffix=32 &&
make

Install the package

make install &&
mv -v ${KDE_PREFIX}/bin/kde-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
    ./configure --prefix=$KDE_PREFIX --sysconfdir=/etc/kde --libdir=${KDE_PREFIX}/lib64 \
    --disable-debug --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib64 \
    --with-qt-libraries=${QTDIR}/lib64 --enable-libsuffix=64 &&
make

Install the package

make install &&
mv -v ${KDE_PREFIX}/bin/kde-config{,-64} &&
ln -sfv /usr/bin/multiarch_wrapper ${KDE_PREFIX}/bin/kde-config
Retrieved from "?title=KdeLibs&oldid=12441"