Howto: Build minisip on maemo 2.0

Stephan Krause stkrause at tm.uka.de
Thu Aug 3 17:25:17 CEST 2006


Hi,

as promised, a little documentation about what I did to make minisip run under 
maemo. However, you may not be able to use it for telephony on a Nokia 770, 
as minisip does not support gstreamer or esd, which are the only way to 
communicate with the sound architecture on the Nokia (they have dropped ALSA 
support in OS 2006.)

0. Install dependencies. Most libraries are installable with apt-get, as of
     today, you only need to compile libglademm. Get version 2.4.0 (*NOT*
     2.6.0) Compiling should give you no problems. You may want to create a
     debian package for this. For this, read some tutorial on the internet, my 
     knowledge of debianising packages is most probably not bigger than yours,
     and my selfmade packages are too ugly to be made available to the public.
0.1: If you want some codecs like speex or gsm, you can use the source
     packages from debian testing or ubuntu 6.06. libgsm should build without
     problems. If you want the speex codec, disable everything in the
     debian/control file except libspeex and libspeex-dev

1. Checkout minisip sources from SVN (I used revision 2700)
2. Apply the attached patch.
3. run ./build.pl bootstrap+configure+compile+install minisip
4. run ./build.pl dist minisip
5. Edit build.d/dist/debian/src/*/debian/changelog
     Each changelog *must* have start with an entry for the current FULL
     version, else the next steps will fail at some point.
     You can get the full version by looking at the .tar.gz files created at
     step 4. E.g. if the file is named libminisip-0.3.1+r2699M.tar.gz, the
     full version is 0.3.1+r2699M.
6. Run ./build.pl package minisip
     After creating some .deb files it will abort due to missing build-deps
7. Install all .deb files already created ("fakeroot dpkg -i
     <filename.deb>")
8. Repeat step 6+7 until all .deb files are created.
9. Install the packets on your Nokia 770 (you have to use the command line
     tools for this)

As stated above, the lack of sound make these packages less usefull than they 
could be. Possible fixes:
- Write an esd or gstreamer backend for minisip.
- Write an esd or gstreamer backend for libportaudio.
- (Ugly:) Write a (trivial) gstreamer application that writes input from the 
mic to a fifo queue and output data read from a queue to the dspsink. Use 
FileSoundDevice in minisip to write/read the queues.

  Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maemo-r2700.patch
Type: text/x-diff
Size: 7071 bytes
Desc: not available
Url : http://lists.minisip.org/pipermail/minisip-users/attachments/20060803/418f0416/maemo-r2700.bin


More information about the Minisip-users mailing list