Comment 43 for bug 146145

Revision history for this message
Martin Rusko (rusko) wrote :

Hi all,

relatively clean solution is to backport package from Hardy to Gutsy. Here is the procedure ...

1.) Preparation
mkdir $HOME/temp-build
cd $HOME/temp-build
sudo apt-get install build-essential
sudo apt-get build-dep kdebluetooth
sudo apt-get install wget fakeroot

2.) Visit http://packages.ubuntu.com/source/hardy/kdebluetooth

3.) Download three files from bottom of page (.dsc, .tar.gz, .diff.gz) into $HOME/temp-build directory
wget http://archive.ubuntu.com/ubuntu/pool/main/k/kdebluetooth/kdebluetooth_1.0~beta9~r769275-0ubuntu1.dsc
wget http://archive.ubuntu.com/ubuntu/pool/main/k/kdebluetooth/kdebluetooth_1.0~beta9~r769275.orig.tar.gz
wget http://archive.ubuntu.com/ubuntu/pool/main/k/kdebluetooth/kdebluetooth_1.0~beta9~r769275-0ubuntu1.diff.gz
Note: File versions can change, so please download current version.

4.) Building binary package
cd $HOME/temp-build
dpkg-source -x *.dsc
cd kdebluetooth-1.0~beta9~r769275 <-- Note: If versions changed, directory name is different
fakeroot dpkg-buildpackage -b -uc -us

You can watch how compilation goes now :-)

5.) Installation - there are *.deb files created after compilation in $HOME/temp-build directory
cd $HOME/temp-build
sudo dpkg -i *.deb

It might be needed to logout and login and it worked for me. Enjoy!

Martin