Difference between revisions of "KDE4/KdeLibs"

From CBLFS
Jump to navigationJump to search
Line 135: Line 135:
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
export USE_ARCH=64
 +
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH64}
 +
export QTDIR=/opt/qt4
 +
mkdir -vv build &&
 +
cd build &&
 +
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
 +
CMAKE_CXX_FLAGS=-m64 \
 +
CMAKE_C_FLAGS=-m64 \
 +
LIB_SUFFIX=64 \
 +
..
 +
make

Revision as of 16:42, 22 January 2008

Download Source: http://mirror.cc.columbia.edu/pub/software/kde/stable/4.0.0/src/kdelibs-4.0.0.tar.bz2

Dependencies

Required

Optional

Configuration Information

Non-Multilib

Compile the package:

mkdir -vv build &&
cd build &&
cmake .. -DCMAKE_INSTALL_PREFIX=${KDEDIR} &&
make

Install the package:

make install

Multilib

32Bit

export USE_ARCH=32
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH32}
export QTDIR=/opt/qt4
mkdir -vv build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
-DASOUND_LIBRARY=/usr/lib/libasound.so \
-DASPELL_LIBRARIES=/usr/lib/libaspell.so \
-DBZIP2_LIBRARIES=/usr/lib/libbz2.so \
-DCMAKE_CXX_FLAGS=-m32 \
-DCMAKE_C_FLAGS=-m32 \
-DENCHANT_LIBRARIES=/usr/lib/libenchant.so \
-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

N32

64Bit

export USE_ARCH=64
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH64}
export QTDIR=/opt/qt4
mkdir -vv build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
CMAKE_CXX_FLAGS=-m64 \
CMAKE_C_FLAGS=-m64 \
LIB_SUFFIX=64 \
..
make