README 2.75 KB
Newer Older
Sandrine Avakian's avatar
Sandrine Avakian committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
Yocto BSP layer for Linphone
=============================

This layer provides support for linphone for use with :
master : 		Stable linphone version for Yocto Fido.
yocto-jethro : 	Stable linphone version for Yocto Jehtro.
dev-fido :		Follows linphone development for Yocto Fido.

This layer depends on the following layers:

	poky/meta 
	poky/meta-yocto 
	meta-openembedded/meta-oe 
	meta-openembedded/meta-multimedia 
	meta-openembedded/meta-networking 
	meta-openembedded/meta-python 

Contributing
------------

If you wish to contribute to this layer please submit the patches for review to the
mailing list linphone-developers@nongnu.org.


Mailing list:

    https://lists.nongnu.org/mailman/listinfo/linphone-developers

Source code:

    git://git.yoctoproject.org/meta-fsl-arm
    http://git.yoctoproject.org/git/meta-fsl-arm
    https://github.com/Freescale/meta-fsl-arm

When creating patches, you can use something like this:

    git format-patch -s --subject-prefix='meta-bc][PATCH' origin


How to build linphone / flexisip with Yocto
--------------------------------------------
Sylvain Berfini's avatar
Sylvain Berfini committed
42 43

- Edit the conf/bblayers.conf file in your build directory and append to the BBLAYERS list the path to the meta-bc directory
Sandrine Avakian's avatar
Sandrine Avakian committed
44
as well as its dependencies listed above
Sylvain Berfini's avatar
Sylvain Berfini committed
45
- Edit the conf/local.conf file in your build directory and add the following line:
Sandrine Avakian's avatar
Sandrine Avakian committed
46
IMAGE_INSTALL_append = "linphone flexisip" to add the package to your image.
Sylvain Berfini's avatar
Sylvain Berfini committed
47
- Now build your image normally (bitbake core-image-minimal or other)
Sylvain Berfini's avatar
Sylvain Berfini committed
48
- You can also skip the two previous steps and only compile linphone or flexisip directly with bitbake (bitbake linphone; bitbake flexisip)
Sylvain Berfini's avatar
Sylvain Berfini committed
49

Sandrine Avakian's avatar
Sandrine Avakian committed
50 51 52 53 54
How to download and install linphone / flexisip using belledonne communication's ipk repository
------------------------------------------------------------------------------------------------
If you don't want to compile and download the package by yourself, you can use the ones that are already compiled
on Belledonne communication repository.
The packages are built for an arm target (Wandboard solo).
Sylvain Berfini's avatar
Sylvain Berfini committed
55

Sylvain Berfini's avatar
Sylvain Berfini committed
56 57 58
- First make sure your image is built with opkg. To do so, add the following into the local.conf file in your fsl-<version>/ build/conf directory (and also add some free space for download/install ipk purposes):
IMAGE_INSTALL_append = " opkg"
IMAGE_ROOTFS_EXTRA_SPACE="204800"
Sandrine Avakian's avatar
Sandrine Avakian committed
59
- Create the file in /etc/opkg/bc.conf on your target
Sylvain Berfini's avatar
Sylvain Berfini committed
60 61 62 63
- Add the following into the file:
src/gz all http://linphone.org/snapshots/ipk/all
src/gz cortexa9hf-vfp-neon http://linphone.org/snapshots/ipk/cortexa9hf-vfp-neon
src/gz cortexa9hf-vfp-neon-mx6qdl http://linphone.org/snapshots/ipk/cortexa9hf-vfp-neon-mx6qdl
Sylvain Berfini's avatar
Sylvain Berfini committed
64
src/gz wandboard_solo http://linphone.org/snapshots/ipk/wandboard_solo
Sandrine Avakian's avatar
Sandrine Avakian committed
65
- Run the following commands on the target:
Sylvain Berfini's avatar
Sylvain Berfini committed
66 67 68
$ opkg update
$ opkg install linphone
$ opkg install flexisip
Sandrine Avakian's avatar
Sandrine Avakian committed
69