wiki:Getting started developing SHR

To develop SHR' applications, you will have to setup a little more than required to build SHR image. First you must have a good setup which allow you to build correctly a SHR image, see Building SHR.

Create a directory to clone the sources to:

mkdir sources
cd sources

Now get whatever part you want to hack on

git clone git://git.shr-project.org/libphone-ui-shr libphone-ui-shr

Setting the build system to prefer local apps

Now you must setup OpenEmbedded to select your local sources instead of official ones (from SHR repository). To do this edit shr-unstable/conf/local.conf and enable the following line:

require local-builds.inc

then create a conf/local-builds.inc with the following content (i.e libphone-ui-shr):

INHERIT_append_pn-libphone-ui-shr = "srctree gitpkgv"
SRCREV_pn-libphone-ui-shr = "${GITSHA}"
S_pn-libphone-ui-shr = "/path/to/source/${PN}"

After that

bitbake libphone-ui-shr

should build your locally modified source code.

To know the best practice to contribute to SHR, please refer to Coding Conventions.

Now you can start to Developing SHR or Developing your own applications.