# Obtenir l'estructura Bluetooth per a KDE

## Paquets

&The.framework; is currently being developed as a part of kdeextragear-3 (link). You can check out a copy of it via anonymous CVS, but if you don't plan to play with the sources yourself or send us patches, we recommend using a package for your distribution. Using packages will save you a lot of time and grey hair when dependencies change or files are moved around.

## Distribucions suportades actualment

Debian Sid

- Podeu usar les següents línies en el vostre `/etc/apt/sources.list`:

      # KDE-Bluetooth
      deb http://fred.hexbox.de/debian ./

Gentoo Linux

- L'últim ebuild ja es troba en l'arbre portage de gentoo, també podeu comprovar http://bugs.gentoo.org per als ebuild que estiguin pendents d'entrega.

  També podeu descarregar un ebuild del CVS per a kdebluetooth des d'aquí.

SuSE

- Podeu descarregar l'RPM per a SuSE 8.2 des d'aquí (gràcies a Filippo Biondi), per a SuSE 9.0 des d'aquí (gràcies a Marcel Hilzinger) o el fitxer .spec de RPM per a SuSE 9.0 des d'aquí (gràcies a Michael Sabielny).

  1) Get the latest CVS version of kde-bluetooth. 2) Make a bzip'd tar ball of it: `tar cvjf kdebluetooth.tar.bz2 kdebluetooth` 3) Copy the tar ball to `/usr/src/packages/SOURCES` 4) Copy the spec file to `/usr/src/packages/SPECS` 5) Make sure, that all necessary additional software is installed: `kdelibs3 kdelibs3-devel qt3 qt3-devel openobex arts` `bluez-sdp bluez-libs bluez-utils xmms xmms-devel` 6) Build the package with `cd /usr/src/packages` `rpmbuild -ba SPECS/kdebluetooth.spec`

## Tarballs

If your distribution is not supported and you don't want to install from CVS, you can use completely untested tarballs. Feeback is welcome.

## Anonymous CVS

The KDE Bluetooth Framework is being developed in kdeextragear-3. The CVS on kde-bluetooth.sf.net is not used anymore.

The check out the current development version of kdebluetooth, do the following:

    export CVSROOT=:pserver:anonymous@anoncvs.kde.org:/home/kde
    cvs checkout kdeextragear-3/kdebluetooth
    cvs checkout -l kdeextragear-3
    cvs checkout kde-common
    cd kdeextragear-3
    ln -s ../kde-common/admin
    make -f Makefile.cvs
    ./configure --prefix=... ..
    cd kdebluetooth
    make
    make install

Depending on your distribution you might have to change some options of the configure script. If you don't have good reasons not to do so, you should use the prefix of your KDE installation as the prefix for ./configure. See `kde-config --prefix` to find out the correct prefix and `./configure --help` for more available options.