Difference between revisions of "KDE4/KdeLibs"

From CBLFS
Jump to navigationJump to search
(Required)
 
(30 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://mirror.cc.columbia.edu/pub/software/kde/stable/4.0.0/src/kdelibs-4.0.0.tar.bz2
+
| {{KDE4-Mirror}}kdelibs-{{KDE4-Version}}.tar.bz2
 
|}
 
|}
  
Line 9: Line 9:
 
=== Required ===
 
=== Required ===
  
* [[KDE4/Kdesupport]]
+
* [[Qt4]]
 +
* [[Automoc4]]
 +
* [[Phonon]] if not already built with qt4
 +
* [[Strigi]]
 +
* [[Soprano]]
 +
* [[GifLib]]
 +
* [[Shared-MIME-Info]]
  
 
=== Optional ===
 
=== Optional ===
Line 16: Line 22:
 
* [[Acl]]
 
* [[Acl]]
 
* [[Pcre]]
 
* [[Pcre]]
* [[Gamin]]
+
* [[Gamin]] or [[Fam]]
* [[ALSA_Library]]
+
* [[ALSA Library]]
 
* [[LibXSLT]]
 
* [[LibXSLT]]
* [[MIT_krb5]]
+
* [[MIT krb5]]
* [[Shared-MIME-Info]]
 
 
* [[Aspell]]
 
* [[Aspell]]
 
* [[Hspell]]
 
* [[Hspell]]
 
* [[Enchant]]
 
* [[Enchant]]
 
* [[Libjpeg]]
 
* [[Libjpeg]]
* [[GifLib]]
 
 
* [[Libpng]]
 
* [[Libpng]]
 
* [[JasPer]]
 
* [[JasPer]]
 
* [[OpenEXR]]
 
* [[OpenEXR]]
 
* [[Avahi]]
 
* [[Avahi]]
 
== Configuration Information ==
 
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 38: Line 39:
 
Compile the package:
 
Compile the package:
  
  mkdir -vv build &&
+
  mkdir -v build &&
 
  cd build &&
 
  cd build &&
  cmake .. -DCMAKE_INSTALL_PREFIX=${KDEDIR} &&
+
  cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
 +
    -DSYSCONF_INSTALL_DIR=/etc/kde \
 +
    -DLIB_INSTALL_DIR=/opt/kde4/lib \
 +
    -DCMAKE_BUILD_TYPE=Release \
 +
    -DLIB_SUFFIX= \
 +
    .. &&
 
  make
 
  make
  
Line 50: Line 56:
  
 
=== 32Bit ===
 
=== 32Bit ===
export USE_ARCH=32
+
 
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH32}
+
  mkdir -v build &&
export QTDIR=/opt/qt4
 
  mkdir -vv build &&
 
 
  cd build &&
 
  cd build &&
 +
USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
 
  cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
-DASOUND_LIBRARY=/usr/lib/libasound.so \
+
    -DSYSCONF_INSTALL_DIR=/etc/kde \
-DASPELL_LIBRARIES=/usr/lib/libaspell.so \
+
    -DLIB_INSTALL_DIR=/opt/kde4/lib \
-DBZIP2_LIBRARIES=/usr/lib/libbz2.so \
+
    -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS=-m32 \
+
    -DCMAKE_C_FLAGS="${BUILD32}" \
-DCMAKE_C_FLAGS=-m32 \
+
    -DCMAKE_CXX_FLAGS="${BUILD32}" \
-DENCHANT_LIBRARIES=/usr/lib/libenchant.so \
+
    -DLIB_SUFFIX= \
-DFAM_LIBRARIES=/usr/lib/libfam.so \
+
    .. &&
-DGIF_LIBRARIES=/usr/lib/libgif.so \
 
-DJASPER_LIBRARY=/usr/lib/libjasper.so \
 
-DJPEG_LIBRARY=/usr/lib/libjpeg.so \
 
-DLIBEXSLT_LIBRARIES=/usr/lib/libexslt.so \
 
-DLIBXML2_LIBRARIES=/usr/lib/libxml2.so \
 
-DLIBXSLT_LIBRARIES=/usr/lib/libxslt.so \
 
-DOPENEXR_HALF_LIBRARY=/usr/lib/libHalf.so \
 
-DOPENEXR_IEX_LIBRARY=/usr/lib/libIex.so \               
 
-DOPENEXR_ILMIMF_LIBRARY=/usr/lib/libIlmImf.so \             
 
-DOPENEXR_ILMTHREAD_LIBRARY=/usr/lib/libIlmThread.so \
 
-DOPENEXR_IMATH_LIBRARY=/usr/lib/libImath.so \
 
-DOPENEXR_LIBRARIES=/usr/lib/libImath.so;/usr/lib/libIlmImf.so;/usr/lib/libIex.so;/usr/lib/libHalf.so;/usr/lib/libIlmThread.so \
 
-DOPENGL_gl_LIBRARY=/usr/lib/libGL.so \                     
 
-DOPENGL_glu_LIBRARY=/usr/lib/libGLU.so \
 
-DOPENSSL_LIBRARIES=/usr/lib/libssl.so \
 
-DPCRE_LIBRARIES=/usr/lib/libpcre.so;/usr/lib/libpcreposix.so \
 
-DPCRE_PCREPOSIX_LIBRARY=/usr/lib/libpcreposix.so \
 
-DPCRE_PCRE_LIBRARY=/usr/lib/libpcre.so \
 
-DPNG_LIBRARY=/usr/lib/libpng.so \
 
-DQT_LIBRARY_DIR=${QTDIR}/lib \
 
-DQT_PLUGINS_DIR=${QTDIR}/lib/plugins \
 
-DQT_QT3SUPPORT_LIBRARY=${QTDIR}/lib/libQt3Support.so \
 
-DQT_QTASSISTANT_LIBRARY=${QTDIR}/lib/libQtAssistantClient.so \
 
-DQT_QTCORE_LIBRARY=${QTDIR}/lib/libQtCore.so \
 
-DQT_QTDBUS_LIBRARY=${QTDIR}/lib/libQtDBus.so \
 
-DQT_QTDESIGNERCOMPONENTS_LIBRAR=${QTDIR}/lib/libQtDesignerComponents.so \
 
-DQT_QTDESIGNER_LIBRARY=${QTDIR}/lib/libQtDesigner.so \
 
-DQT_QTGUI_LIBRARY=${QTDIR}/lib/libQtGui.so \
 
-DQT_QTNETWORK_LIBRARY=${QTDIR}/lib/libQtNetwork.so \
 
-DQT_QTOPENGL_LIBRARY=${QTDIR}/lib/libQtOpenGL.so \
 
-DQT_QTSCRIPT_LIBRARY=${QTDIR}/lib/libQtScript.so \
 
-DQT_QTSQL_LIBRARY=${QTDIR}/lib/libQtSql.so \
 
-DQT_QTSVG_LIBRARY=${QTDIR}/lib/libQtSvg.so \
 
-DQT_QTTEST_LIBRARY=${QTDIR}/lib/libQtTest.so \
 
-DQT_QTUITOOLS_LIBRARY=${QTDIR}/lib/libQtUiTools.a \
 
-DQT_QTXML_LIBRARY=${QTDIR}/lib/libQtXml.so \
 
-DSOPRANO_CLIENT_LIBRARIES=${KDEDIR}/lib/libsopranoclient.so \
 
-DSOPRANO_INCLUDE_DIR =${KDEDIR}/include \
 
-DSOPRANO_INDEX_LIBRARIES=${KDEDIR}/lib/libsopranoindex.so \
 
-DSOPRANO_LIBRARIES=${KDEDIR}/lib/libsoprano.so \ 
 
-DSOPRANO_SERVER_LIBRARIES=${KDEDIR}/lib/libsopranoserver.so \
 
-DSTRIGI_STREAMANALYZER_LIBRARY=${KDEDIR}/lib/libstreamanalyzer.so \
 
-DSTRIGI_STREAMS_LIBRARY=${KDEDIR}/lib/libstreams.so \
 
-DSTRIGI_STRIGIQTDBUSCLIENT_LIBR=${KDEDIR}/lib/libstrigiqtdbusclient.so \
 
-DX11_ICE_LIB=/usr/lib/libICE.so \
 
-DX11_X11_LIB=/usr/lib/libX11.so \
 
-DX11_XTest_LIB=/usr/lib/libXtst.so \
 
-DX11_Xau_LIB=/usr/lib/libXau.so \
 
-DX11_Xcomposite_LIB=/usr/lib/libXcomposite.so \
 
-DX11_Xcursor_LIB=/usr/lib/libXcursor.so \
 
-DX11_Xdamage_LIB=/usr/lib/libXdamage.so \
 
-DX11_Xdmcp_LIB=/usr/lib/libXdmcp.so \                     
 
-DX11_Xext_LIB=/usr/lib/libXext.so \
 
-DX11_Xfixes_LIB=/usr/lib/libXfixes.so \
 
-DX11_Xft_LIB=/usr/lib/libXft.so \
 
-DX11_Xinerama_LIB=/usr/lib/libXinerama.so \
 
-DX11_Xinput_LIB=/usr/lib/libXi.so \
 
-DX11_Xkbfile_LIB=/usr/lib/libxkbfile.so \
 
-DX11_Xpm_LIB=/usr/lib/libXpm.so \
 
-DX11_Xrandr_LIB=/usr/lib/libXrandr.so \
 
-DX11_Xrender_LIB=/usr/lib/libXrender.so \
 
-DX11_Xscreensaver_LIB=/usr/lib/libXss.so \
 
-DX11_Xt_LIB=/usr/lib/libXt.so \
 
-DX11_Xv_LIB=/usr/lib/libXv.so \         
 
-DX11_Xxf86misc_LIB=/usr/lib/libXxf86misc.so \
 
-DZLIB_LIBRARY=/usr/lib/libz.so \
 
..
 
 
  make
 
  make
 +
 +
Install the Package
 +
 +
make install &&
 +
mv ${KDEDIR}/bin/kde4-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 136: Line 79:
 
=== 64Bit ===
 
=== 64Bit ===
  
export USE_ARCH=64
+
  mkdir -v build &&
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH64}
 
export QTDIR=/opt/qt4
 
  mkdir -vv build &&
 
 
  cd build &&
 
  cd build &&
 +
USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
 
  cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
CMAKE_CXX_FLAGS=-m64 \
+
    -DSYSCONF_INSTALL_DIR=/etc/kde \
CMAKE_C_FLAGS=-m64 \
+
    -DLIB_INSTALL_DIR=/opt/kde4/lib64 \
LIB_SUFFIX=64 \
+
    -DCMAKE_BUILD_TYPE=Release \
..
+
    -DCMAKE_C_FLAGS="${BUILD64}" \
 +
    -DCMAKE_CXX_FLAGS="${BUILD64}" \
 +
    -DLIB_SUFFIX=64 \
 +
    .. &&
 
  make
 
  make
 +
 +
Install the Package
 +
 +
make install &&
 +
mv -v ${KDEDIR}/bin/kde4-config{,-64} &&
 +
ln -sfv /usr/bin/multiarch_wrapper ${KDEDIR}/bin/kde4-config

Latest revision as of 09:38, 20 February 2010

Download Source: ftp://ftp.kde.org/pub/kde/stable/4.3.5/src/kdelibs-4.3.5.tar.bz2

Dependencies

Required

Optional

Non-Multilib

Compile the package:

mkdir -v build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
    -DSYSCONF_INSTALL_DIR=/etc/kde \
    -DLIB_INSTALL_DIR=/opt/kde4/lib \
    -DCMAKE_BUILD_TYPE=Release \
    -DLIB_SUFFIX= \
    .. &&
make

Install the package:

make install

Multilib

32Bit

mkdir -v build &&
cd build &&
USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
    -DSYSCONF_INSTALL_DIR=/etc/kde \
    -DLIB_INSTALL_DIR=/opt/kde4/lib \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_C_FLAGS="${BUILD32}" \
    -DCMAKE_CXX_FLAGS="${BUILD32}" \
    -DLIB_SUFFIX= \
    .. &&
make

Install the Package

make install &&
mv ${KDEDIR}/bin/kde4-config{,-32}

N32

64Bit

mkdir -v build &&
cd build &&
USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
    -DSYSCONF_INSTALL_DIR=/etc/kde \
    -DLIB_INSTALL_DIR=/opt/kde4/lib64 \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_C_FLAGS="${BUILD64}" \
    -DCMAKE_CXX_FLAGS="${BUILD64}" \
    -DLIB_SUFFIX=64 \
    .. &&
make

Install the Package

make install &&
mv -v ${KDEDIR}/bin/kde4-config{,-64} &&
ln -sfv /usr/bin/multiarch_wrapper ${KDEDIR}/bin/kde4-config