DevelopmentEnvironment

Revision 6 as of 2007-10-29 21:29:46

Clear message

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Summary

This specification describes an application development environment for Ubuntu Mobile and Embedded (UME), including the necessary tools and documentation, and a means to make them available as a convenient bundle.

TODO

Update ubuntu mobile seed to include:

  • python-doc
  • autotools-dev
  • automake, autoconf, libtool
  • python-hildon-dev
  • libhildon*-{dev,dbg}
  • libosso*-{dev,dbg}
  • libdbus*-{doc,dev,dbg}
  • telepathy-devel{,-gtk}
  • pkg-config
  • osso-af-settings
  • python-hildondesktop (needs packaging/uploading)

Change the FSET to only point to ubuntu-mobile-dev -- done

Release Note

Rationale

An easily accessible development environment is an important part of encouraging application developers to target UME. Due to the design of UME, all of the necessary components should be available in the Ubuntu archive, and so it is natural to allow an Ubuntu desktop to be easily enabled for UME application development.

The packages in the ubuntu-mobile-dev seed were chosen based on that we wanted a developer to be able to start developing packages for the device, either on the device itself, or inside a chroot that is used for development.

Use Cases

  • Frances is a developer of mobile applications, and is interested in developing for UME. She uses her existing Ubuntu desktop system to install the UME development environment and is able to begin writing and testing the new application immediately
  • Carl is the owner of a UME-based device, and using his basic development skills, would like to create a simple application for his own use. He installs an Ubuntu desktop system, because it provides a simple way to set this up, and begins work

Assumptions

The initial target platforms for UME do not require cross-compilation.

Design

Developer Bundle / SDK

The process can done in two ways:

Test tool

This should be a script which launches a UME environment on the user's desktop using a nested X server or similar. It should allow a program to be specified, which would be launched within the session automatically, making it convenient to run from a developer's source tree. Running ume-xephyr-start will check for xserver-xephyr, set the DISPLAY=:2, start xephyr and launch the UI.

Implementation

Create an ubuntu-mobile-dev seed, and populate it with packages that should be installed.

Test/Demo Plan


CategorySpec