Difference between revisions of "KDE4/KdeLibs"

From CBLFS
Jump to navigationJump to search
(Required)
 
(35 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdelibs
+
| {{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=${KDE_PREFIX} &&
+
  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 &&
  mkdir -vv build &&
 
 
  cd build &&
 
  cd build &&
  cmake -DCMAKE_INSTALL_PREFIX=${KDE_PREFIX} \
+
USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
-DASOUND_LIBRARY=/usr/lib/libasound.so
+
  cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
-DASPELL_LIBRARIES=/usr/lib/libaspell.so
+
    -DSYSCONF_INSTALL_DIR=/etc/kde \
-DBZIP2_LIBRARIES                  /usr/lib/libbz2.so
+
    -DLIB_INSTALL_DIR=/opt/kde4/lib \
-DCMAKE_CXX_FLAGS=-m32
+
    -DCMAKE_BUILD_TYPE=Release \
CMAKE_C_FLAGS=-m32
+
    -DCMAKE_C_FLAGS="${BUILD32}" \
ENCHANT_LIBRARIES                /usr/lib/libenchant.so
+
    -DCMAKE_CXX_FLAGS="${BUILD32}" \
FAM_LIBRARIES                    /usr/lib/libfam.so
+
    -DLIB_SUFFIX= \
GIF_LIBRARIES                    /usr/lib/libgif.so
+
    .. &&
JASPER_LIBRARY                  /usr/lib/libjasper.so
+
  make
JPEG_LIBRARY                    /usr/lib/libjpeg.so
 
LIBEXSLT_LIBRARIES              /usr/lib/libexslt.so
 
LIBXML2_LIBRARIES                /usr/lib/libxml2.so
 
LIBXSLT_LIBRARIES                /usr/lib/libxslt.so
 
OPENEXR_HALF_LIBRARY            /usr/lib/libHalf.so
 
OPENEXR_IEX_LIBRARY              /usr/lib/libIex.so                       
 
OPENEXR_ILMIMF_LIBRARY          /usr/lib/libIlmImf.so                     
 
OPENEXR_ILMTHREAD_LIBRARY        /usr/lib/libIlmThread.so                 
 
OPENEXR_IMATH_LIBRARY            /usr/lib/libImath.so
 
OPENEXR_LIBRARIES /usr/lib/libImath.so;/usr/lib/libIlmImf.so;/usr/lib/libIex.so;/usr/lib/libHalf.so;/usr/lib/libIlmThread.so
 
OPENGL_gl_LIBRARY                /usr/lib/libGL.so                         
 
OPENGL_glu_LIBRARY              /usr/lib/libGLU.so
 
OPENSSL_LIBRARIES                /usr/lib/libssl.so
 
PCRE_LIBRARIES                  /usr/lib/libpcre.so;/usr/lib/libpcreposix.so
 
PCRE_PCREPOSIX_LIBRARY          /usr/lib/libpcreposix.so                 
 
PCRE_PCRE_LIBRARY                /usr/lib/libpcre.so
 
PNG_LIBRARY                      /usr/lib/libpng.so
 
QT_LIBRARY_DIR                  /opt/qt-4.3.3/lib
 
QT_PLUGINS_DIR                  /opt/qt-4.3.3/lib/plugins
 
QT_QT3SUPPORT_LIBRARY            /opt/qt-4.3.3/lib/libQt3Support.so
 
QT_QTASSISTANT_LIBRARY          /opt/qt-4.3.3/lib/libQtAssistantClient.so
 
QT_QTCORE_LIBRARY                /opt/qt-4.3.3/lib/libQtCore.so
 
QT_QTDBUS_LIBRARY                /opt/qt-4.3.3/lib/libQtDBus.so
 
QT_QTDESIGNERCOMPONENTS_LIBRAR  /opt/qt-4.3.3/lib/libQtDesignerComponents.so
 
QT_QTDESIGNER_LIBRARY            /opt/qt-4.3.3/lib/libQtDesigner.so
 
QT_QTGUI_LIBRARY                /opt/qt-4.3.3/lib/libQtGui.so
 
QT_QTNETWORK_LIBRARY            /opt/qt-4.3.3/lib/libQtNetwork.so
 
QT_QTOPENGL_LIBRARY              /opt/qt-4.3.3/lib/libQtOpenGL.so
 
QT_QTSCRIPT_LIBRARY              /opt/qt-4.3.3/lib/libQtScript.so
 
QT_QTSQL_LIBRARY                /opt/qt-4.3.3/lib/libQtSql.so
 
QT_QTSVG_LIBRARY                /opt/qt-4.3.3/lib/libQtSvg.so
 
QT_QTTEST_LIBRARY                /opt/qt-4.3.3/lib/libQtTest.so
 
QT_QTUITOOLS_LIBRARY            /opt/qt-4.3.3/lib/libQtUiTools.a
 
QT_QTXML_LIBRARY                /opt/qt-4.3.3/lib/libQtXml.so
 
SOPRANO_CLIENT_LIBRARIES        ${KDEDIR}/lib/libsopranoclient.so         
 
SOPRANO_INCLUDE_DIR              ${KDEDIR}/include             
 
SOPRANO_INDEX_LIBRARIES          ${KDEDIR}/lib/libsopranoindex.so         
 
SOPRANO_LIBRARIES                ${KDEDIR}/lib/libsoprano.so               
 
SOPRANO_SERVER_LIBRARIES        ${KDEDIR}/lib/libsopranoserver.so
 
STRIGI_STREAMANALYZER_LIBRARY    ${KDEDIR}/lib/libstreamanalyzer.so       
 
STRIGI_STREAMS_LIBRARY          ${KDEDIR}/lib/libstreams.so               
 
STRIGI_STRIGIQTDBUSCLIENT_LIBR  ${KDEDIR}/lib/libstrigiqtdbusclient.so
 
X11_ICE_LIB                      /usr/lib64/libICE.so
 
  X11_X11_LIB                      /usr/lib64/libX11.so
 
X11_XTest_LIB                    /usr/lib64/libXtst.so
 
X11_Xau_LIB                      /usr/lib64/libXau.so
 
X11_Xcomposite_LIB              /usr/lib/libXcomposite.so
 
X11_Xcursor_LIB                  /usr/lib/libXcursor.so
 
X11_Xdamage_LIB                  /usr/lib/libXdamage.so
 
X11_Xdmcp_LIB                    /usr/lib/libXdmcp.so                     
 
X11_Xext_LIB                    /usr/lib/libXext.so
 
X11_Xfixes_LIB                  /usr/lib/libXfixes.so
 
X11_Xft_LIB                      /usr/lib/libXft.so
 
X11_Xinerama_LIB                /usr/lib/libXinerama.so
 
X11_Xinput_LIB                  /usr/lib/libXi.so
 
X11_Xkbfile_LIB                  /usr/lib/libxkbfile.so
 
X11_Xpm_LIB                      /usr/lib/libXpm.so
 
X11_Xrandr_LIB                  /usr/lib/libXrandr.so
 
X11_Xrender_LIB                  /usr/lib/libXrender.so
 
X11_Xscreensaver_LIB            /usr/lib/libXss.so
 
X11_Xt_LIB                      /usr/lib/libXt.so
 
X11_Xv_LIB                      /usr/lib/libXv.so                         
 
X11_Xxf86misc_LIB                /usr/lib/libXxf86misc.so
 
ZLIB_LIBRARY                    /usr/lib/libz.so
 
  
 +
Install the Package
  
..
+
make install &&
  make
+
  mv ${KDEDIR}/bin/kde4-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
  
 
=== 64Bit ===
 
=== 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

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