Difference between revisions of "KdeBase"

From CBLFS
Jump to navigationJump to search
(Required)
m (Wine can be used for Kde to Run Some ActiveX Controls.)
 
(27 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.kde.org/pub/kde/stable/3.5.4/src/kdebase-3.5.4.tar.bz2
+
| ftp://ftp.kde.org/pub/kde/stable/{{KDE-Version}}/src/kdebase-{{KDE-Version}}.tar.bz2
 +
|-
 +
!Download Patch:
 +
| http://svn.cross-lfs.org/svn/repos/patches/kdebase/kdebase-{{KDE-Version}}-gcc_4.4-2.patch
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Blank-Package-Introduction}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 12: Line 17:
 
* [[KdeLibs]]
 
* [[KdeLibs]]
  
=== Reccomended ===
+
=== Recommended ===
 
* [[libjpeg]]
 
* [[libjpeg]]
 
* [[libart_lgpl]]
 
* [[libart_lgpl]]
Line 18: Line 23:
 
* [[OpenSSL]]
 
* [[OpenSSL]]
 
* [[JDK]]
 
* [[JDK]]
 +
* [[glib2]]
 +
 
=== Optional ===
 
=== Optional ===
 
* [[libusb]]
 
* [[libusb]]
 
* [[LibTIFF]]
 
* [[LibTIFF]]
 
* [[LessTif]]
 
* [[LessTif]]
* [[Linux-Pam]]
+
* [[Linux-PAM]]
 
* [[OpenLDAP]]
 
* [[OpenLDAP]]
 
* [[CyrusSASL]]
 
* [[CyrusSASL]]
 
* [[Samba]]
 
* [[Samba]]
 
* [[HAL]]
 
* [[HAL]]
* [[MIT Krb5]] or [[Heimdal]]
+
* [[MIT krb5]] or [[Heimdal]]
 
* [[krb4]]
 
* [[krb4]]
 
* [[OpenEXR]]
 
* [[OpenEXR]]
Line 36: Line 43:
 
* [[Graphviz]]
 
* [[Graphviz]]
 
* [[Doxygen]]
 
* [[Doxygen]]
 +
* [[D-BUS Qt3]]
 +
* [[Wine]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
First, ensure that X11 will be found.
 +
 +
sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *)
 +
 +
Apply the following patch if your system is using GCC 4.4:
 +
 +
patch -Np1 -i ../kdebase-{{KDE-Version}}-gcc_4.4-2.patch
  
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=$KDE_PREFIX --sysconfdir=/etc/kde \
+
  ./configure --prefix=$(kde-config --prefix) \
    --disable-debug --disable-dependency-tracking &&
+
                --sysconfdir=/etc/kde \
 +
                --disable-debug \
 +
                --disable-dependency-tracking &&
 
  make
 
  make
  
Line 52: Line 71:
  
 
=== 32Bit ===
 
=== 32Bit ===
 +
 +
First, ensure that X11 will be found.
 +
 +
sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *)
 +
 +
Apply the following patch if your system is using GCC 4.4:
 +
 +
patch -Np1 -i ../kdebase-{{KDE-Version}}-gcc_4.4-2.patch
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
+
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 \
 
     ./configure --prefix=$KDE_PREFIX --sysconfdir=/etc/kde --disable-debug \
 
     --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib \
 
     --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib \
     --with-qt-libraries=${QTDIR}/lib --enable-libsuff=none &&
+
     --with-qt-libraries=${QTDIR}/lib --enable-libsuffix=none &&
  make
+
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" make
  
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
unset USE_ARCH
  
 
=== N32 ===
 
=== N32 ===
 +
 +
First, ensure that X11 will be found.
 +
 +
sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *)
 +
 +
Apply the following patch if your system is using GCC 4.4:
 +
 +
patch -Np1 -i ../kdebase-{{KDE-Version}}-gcc_4.4-2.patch
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
+
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
 
     ./configure --prefix=$KDE_PREFIX --sysconfdir=/etc/kde --libdir=${KDE_PREFIX}/lib32
 
     --disable-debug --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib32 \
 
     --disable-debug --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib32 \
     --with-qt-libraries=${QTDIR}/lib32 --enable-libsuff=32 &&
+
     --with-qt-libraries=${QTDIR}/lib32 --enable-libsuffix=32 &&
  make
+
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" make
  
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
unset USE_ARCH
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
First, ensure that X11 will be found.
 +
 +
sed -i "s@/usr/X11R6@${XORG_PREFIX}@g" $(grep -lr /usr/X11R6 *)
 +
 +
Apply the following patch if your system is using GCC 4.4:
 +
 +
patch -Np1 -i ../kdebase-{{KDE-Version}}-gcc_4.4-2.patch
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
+
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 \
 
     ./configure --prefix=$KDE_PREFIX --sysconfdir=/etc/kde --libdir=${KDE_PREFIX}/lib64 \
 
     --disable-debug --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib64 \
 
     --disable-debug --disable-dependency-tracking --x-libraries=${XORG_PREFIX}/lib64 \
     --with-qt-libraries=${QTDIR}/lib64 --enable-libsuff=64 &&
+
     --with-qt-libraries=${QTDIR}/lib64 --enable-libsuffix=64 &&
  make
+
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" make
  
 
Install the package
 
Install the package
  
  make install
+
  make install &&
 +
unset USE_ARCH

Latest revision as of 00:26, 23 August 2010

Download Source: ftp://ftp.kde.org/pub/kde/stable/3.5.10/src/kdebase-3.5.10.tar.bz2
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/kdebase/kdebase-3.5.10-gcc_4.4-2.patch

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 *)

Apply the following patch if your system is using GCC 4.4:

patch -Np1 -i ../kdebase-3.5.10-gcc_4.4-2.patch

Compile the package:

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

Install the package

make install

Multilib

32Bit

First, ensure that X11 will be found.

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

Apply the following patch if your system is using GCC 4.4:

patch -Np1 -i ../kdebase-3.5.10-gcc_4.4-2.patch

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 &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" 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 *)

Apply the following patch if your system is using GCC 4.4:

patch -Np1 -i ../kdebase-3.5.10-gcc_4.4-2.patch

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 &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" 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 *)

Apply the following patch if your system is using GCC 4.4:

patch -Np1 -i ../kdebase-3.5.10-gcc_4.4-2.patch

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 &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" make

Install the package

make install &&
unset USE_ARCH
Retrieved from "?title=KdeBase&oldid=20297"