KdeBase

From CBLFS
Revision as of 17:45, 29 December 2007 by Oppiz (talk | contribs)
Jump to navigationJump to search
Download Source: ftp://ftp.kde.org/pub/kde/stable/3.5.10/src/kdebase-3.5.10.tar.bz2

Introduction to KdeBase

Project Homepage: Unknown

Dependencies

Required

Recommended

Optional

Non-Multilib

First, ensure that X11 will be found.

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *)

Compile the package:

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

Install the package

make install

Multilib

On Multilib systems a possible problem occures with KDEBASE not finding several libraries in PREFIX/qt and PREFIX/kde. 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 ../../32/kdebase-3.5.8-LDFLAGS_fix-1.patch

32Bit

First, ensure that X11 will be found.

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *)

Compile the package:

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" 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 &&
unset USE_ARCH

N32

First, ensure that X11 will be found.

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *)

Compile the package:

export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" 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 &&
unset USE_ARCH

64Bit

First, ensure that X11 will be found.

sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *)

Compile the package:

export USE_ARCH=64 &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" 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 &&
unset USE_ARCH
Retrieved from "?title=KdeBase&oldid=12450"