The archives for February 29th, 2008


Feb 29

To compile Kde 4.1

After a small “holiday” period eccomi of return with the compilation of the version “trunk” (Directory revision: 780586) of kde 4, that which will be, task within July, the 4.1. I have compiled on kubuntu 7,10 in VirtualBox thus:

  • Dependencies:
    I sudo aptitude install build-essential cdbs debhelper cmake \
    libxml2-dev libxslt1-dev libbz2-dev libclucene-dev librdf-dev \
    shared-MIME-info libgl1-mesa-dev libglu1-mesa-dev mesa-common-dev \
    libxext-dev libjpeg-dev libpng-dev subversion libsm-dev libxinerama-dev \
    libxrender-dev libfontconfig-dev libboost-dev libxcursor-dev doxygen \
    libungif4-dev libdbus-1-dev libgpgme11-dev libssl-dev libgpgme11-dev \
    libasound2-dev kdesdk-scripts libpth-dev libjasper-dev \
    ssh libxine-dev libqimageblitz-dev libqimageblitz4 libglib2.0-dev \
    libxkbfile-dev dbus-x11 libqt4-dev libqca2-dev libeigen-dev \
    libstreamanalyzer-dev libsoprano-dev libstrigiqtdbusclient-dev libcomposite.dev
  • Download and installation of kdesvn-build:
    mkdir - p ~/kdesvn
    cd ~/kdesvn
    svn cat svn: /anonsvn.kde.org/home/kde/trunk/KDE/kdesdk/scripts/kdesvn-build > kdesvn-build
    svn cat svn: /anonsvn.kde.org/home/kde/trunk/KDE/kdesdk/scripts/kdesvn-buildrc-sample > ~/.kdesvn-buildrc
    chmod x kdesvn-build
  • Execution of kdesvn-build:
    cd ~/kdesvn
    ./kdesvn-build

Attention! This script will install the new bookcases Qt 4,4, because already the 4,3 installed on Kubuntu are not support this version of kde 4. Moreover it will limit itself to compile a version, calls it minibadly, of ours desktop manager, that is the modules: qt-copy (is qt the 4,4), kdesupport, kdelibs, kdepimlibs, kdebase, kdemultimedia, kdegames. If wish is had to add other modules, like extragear/umtilmedia (that it contains the new one amarok and k3b), or extragear/graphics (with digikamimageplugins, digikam, gwenview, kimdaba) enough decommentarli in the ./kdesvn-buildrc rows.
After to have launch the script enough to attend (on VirtualBox obviously the times they are longer) and you will have your beautiful one kde.
kde4trunk1.png
A thing still lacks: “Like launch a session of kde 4 from the login of kdm”.
Soon made! It is necessary to create .desktop rows in /usr/share/xsessions/. The simpler method is that one than to copy rows existing, kde.desktop, rinominarlo in kde4.desktop and inserting these lines:
Exec=$HOME/kde/bin/startkde
TryExec=$HOME/kde/bin/startkde
Name=KDE4
Al riavvio in the login manager will be the option kde4 in session the menu.