Currently, there are no specific source code releases of HFP for Linux. If you wish to compile HFP for Linux from source, pull from the Subversion repository as described below.
In order to build HFP for Linux, development packages for a number of components must be installed. These packages provide header files and static library files that are required in order to build a dependent package, including HFP for Linux. Most binary distrubutions will not install these by default. Some of the required development packages include:
- libspeexdsp >= 1.2beta1
This library is used for echo cancelation and noise reduction. - libasound
The standard ALSA user-level library. - libdbus
The D-Bus low-level library for integrating with D-Bus.
Versions of Ubuntu prior to 8.10 Intrepid Ibex do not include a sufficiently recent version of the libspeexdsp package. If you wish to build HFP for Linux on an older version of Ubuntu, you will need to manually install the libspeexdsp1 and libspeexdsp-dev packages from here.
The following command should be sufficient to set up a build environment on a freshly installed Ubuntu 8.10 system:
sudo apt-get install subversion g++ autoconf libtool libspeexdsp-dev libasound2-dev libbluetooth-dev libaudiofile-dev libdbus-1-dev
If you wish to build hfstandalone, additional packages will be required.
HFP for Linux uses the Sourceforge Subversion service for its source code repository and for version control.
To check out a copy of the most recent source code, run:
svn co https://nohands.svn.sourceforge.net/svnroot/nohands/trunk
The source code repository may also be browsed online.
Doxygen documentation is available online for the HFPD D-Bus API and the libhfp library (C++)