Difference between revisions of "KdeLibs"

From CBLFS
Jump to navigationJump to search
 
 
(26 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
 +
|-valign="top"
 +
!Download Source:
 +
| ftp://ftp.kde.org/pub/kde/stable/{{KDE-Version}}/src/kdelibs-{{KDE-Version}}.tar.bz2
 
|-
 
|-
!Download Source:
+
!Download Patch:
| ftp://ftp.kde.org/pub/kde/stable/3.5.4/src/arts-1.5.4.tar.bz2
+
| http://svn.cross-lfs.org/svn/repos/patches/kdelibs/kdelibs-{{KDE-Version}}-LDFLAG_fix-1.patch
 +
|-
 +
!Download Patch:
 +
| http://svn.cross-lfs.org/svn/repos/patches/kdelibs/kdelibs-{{KDE-Version}}-gcc_4.4-2.patch
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|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.|http://www.kde.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 11: Line 19:
 
=== Required ===
 
=== Required ===
 
* [[aRts]]
 
* [[aRts]]
=== Reccomended ===
+
* [[Pcre]]
 +
=== Recommended ===
 
* [[libjpeg]]
 
* [[libjpeg]]
 
* [[libart_lgpl]]
 
* [[libart_lgpl]]
 
* [[LibXML2]]
 
* [[LibXML2]]
 
* [[LibXSLT]]
 
* [[LibXSLT]]
* [[Pcre]]
 
 
* [[Gamin]]
 
* [[Gamin]]
 
* [[OpenSSL]]
 
* [[OpenSSL]]
 
* [[libidn]]
 
* [[libidn]]
 +
 
=== Optional ===
 
=== Optional ===
 
* [[LibTIFF]]
 
* [[LibTIFF]]
Line 26: Line 35:
 
* [[OpenLDAP]]
 
* [[OpenLDAP]]
 
* [[ALSA]]
 
* [[ALSA]]
* [[MIT Krb5]] or [[Heimdal]]
+
* [[MIT krb5]] or [[Heimdal]]
 
* [[OpenEXR]]
 
* [[OpenEXR]]
 
* [[JasPer]]
 
* [[JasPer]]
* [[Lua]]
+
* [[Lua]] < 5.1
 
* [[mDNSResponder]]
 
* [[mDNSResponder]]
 
* [[LibThai]]
 
* [[LibThai]]
 
* [[Hspell]]
 
* [[Hspell]]
* [[libacl]] (requires [[libattr]])
+
* [[Acl]]
 
* [[Graphviz]]
 
* [[Graphviz]]
 
* [[Doxygen]]
 
* [[Doxygen]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
The following patch fixes a LDFLAGS and RPATH issued in locating the QT library:
 +
 +
patch -Np1 -i ../kdelibs-{{KDE-Version}}-LDFLAG_fix-1.patch
 +
 +
Apply the patch only if you use gcc-4.4.
 +
 +
patch -Np1 -i ../kdelibs-{{KDE-Version}}-gcc_4.4-2.patch
  
 
Compile the package:
 
Compile the package:
Line 52: Line 69:
  
 
=== 32Bit ===
 
=== 32Bit ===
 +
 +
The following patch fixes a LDFLAGS and RPATH issued in locating the QT library:
 +
 +
patch -Np1 -i ../kdelibs-{{KDE-Version}}-LDFLAG_fix-1.patch
 +
 +
Apply the patch only if you use gcc-4.4.
 +
 +
patch -Np1 -i ../kdelibs-{{KDE-Version}}-gcc_4.4-2.patch
  
 
Compile the package:
 
Compile the package:
Line 58: Line 83:
 
     ./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
 
  make
 +
  
 
Install the package
 
Install the package
  
 
  make install &&
 
  make install &&
  mv -v ${KDE_PREFIX}/bin/artsc-config{,-32}
+
  mv -v ${KDE_PREFIX}/bin/kde-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
 +
 +
The following patch fixes a LDFLAGS and RPATH issued in locating the QT library:
 +
 +
patch -Np1 -i ../kdelibs-{{KDE-Version}}-LDFLAG_fix-1.patch
 +
 +
Apply the patch only if you use gcc-4.4.
 +
 +
patch -Np1 -i ../kdelibs-{{KDE-Version}}-gcc_4.4-2.patch
  
 
Compile the package:
 
Compile the package:
Line 73: Line 107:
 
     ./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
 
  make
  
Line 79: Line 113:
  
 
  make install &&
 
  make install &&
  mv -v ${KDE_PREFIX}/bin/artsc-config{,-n32}
+
  mv -v ${KDE_PREFIX}/bin/kde-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
The following patch fixes a LDFLAGS and RPATH issued in locating the QT library:
 +
 +
patch -Np1 -i ../kdelibs-{{KDE-Version}}-LDFLAG_fix-1.patch
 +
 +
Apply the patch only if you use gcc-4.4.
 +
 +
patch -Np1 -i ../kdelibs-{{KDE-Version}}-gcc_4.4-2.patch
  
 
Compile the package:
 
Compile the package:
Line 88: Line 130:
 
     ./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
 
  make
  
Line 94: Line 136:
  
 
  make install &&
 
  make install &&
  mv -v ${KDE_PREFIX}/bin/artsc-config{,-64} &&
+
  mv -v ${KDE_PREFIX}/bin/kde-config{,-64} &&
  ln -sfv /usr/bin/multiarch_wrapper ${KDE_PREFIX}/bin/artsc-config
+
  ln -sfv /usr/bin/multiarch_wrapper ${KDE_PREFIX}/bin/kde-config

Latest revision as of 15:21, 15 July 2009

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.10-LDFLAG_fix-1.patch
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/kdelibs/kdelibs-3.5.10-gcc_4.4-2.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

The following patch fixes a LDFLAGS and RPATH issued in locating the QT library:

patch -Np1 -i ../kdelibs-3.5.10-LDFLAG_fix-1.patch

Apply the patch only if you use gcc-4.4.

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

Compile the package:

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

Install the package

make install

Multilib

32Bit

The following patch fixes a LDFLAGS and RPATH issued in locating the QT library:

patch -Np1 -i ../kdelibs-3.5.10-LDFLAG_fix-1.patch

Apply the patch only if you use gcc-4.4.

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

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

The following patch fixes a LDFLAGS and RPATH issued in locating the QT library:

patch -Np1 -i ../kdelibs-3.5.10-LDFLAG_fix-1.patch

Apply the patch only if you use gcc-4.4.

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

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

The following patch fixes a LDFLAGS and RPATH issued in locating the QT library:

patch -Np1 -i ../kdelibs-3.5.10-LDFLAG_fix-1.patch

Apply the patch only if you use gcc-4.4.

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

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=18687"