MaemoOnUbuntu

Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2006-11-08 01:33:19
Size: 2099
Editor: 65
Comment: First draft of the MaemoOnUbuntu specification
Revision 5 as of 2007-03-28 18:48:59
Size: 3375
Editor: nblzone-209-18
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
Scratchbox is a tool designed to help in building a Linux distribution from Scratch. The host tools are provided with Scratchbox and therefore it is more or less a small Linux distribution in itself. During the build process a number of libraries are copied from the host system (Scratchbox was never intended to be Linux from scratch in itself) which makes Scratchbox heavily dependent on the build environment. The host tools are compiled on top of these libraries, so building in another system would require updating the host tools inside Scratchbox as well.

Currently the supported build environment is Debian Sarge. Scratchbox won't compile under Ubuntu Feisty.

In the development branch of Scratchbox, Scratchbox 2, this is no longer an issue, but Maemo development with Scratchbox 2 is still in it's experimental stage.
Line 14: Line 20:

 * External repositories are evil
Line 17: Line 25:
 * A developer who wants to develop for his new shiny tablet, selects "Maemo SDK" from "Add Application menu" on the latest Ubuntu
Line 19: Line 29:
 * Inclusion of Scratchbox 0.9.8.8 into the 'universe' repository (or in other words, the latest version of scratchbox supported for development on the Maemo platform)  * Inclusion of Scratchbox 1.0.7 and latest modular packages into the xxxx repository
Line 21: Line 31:
 * Inclusion of the Maemo SDK on the next version of Ubuntu (feisty). How this will be done is one of the object of discussions of this specification.  * Inclusion of the Maemo SDK metapackage on the next version of Ubuntu (feisty). How this will be done is one of the object of discussions of this specification.
Line 24: Line 34:
 
Line 40: Line 50:
 * Is a meta-package for easing installation of Maemo SDK worth the effort? (quite probably, yes)    * universe requires scratchbox buildable with Ubuntu buildd's. scratchbox requires Debian sarge build environment. unless someone has time to fix that,
 * Is "binary-only" scratchbox acceptable as temporary measure?
    * sources would still need to be included, but they will not buildable in Ubuntu setup.
Line 44: Line 56:
=== Discussion Part ===

 * Who gives a go/no-go decision is scratchbox can be included as "binary-only" RikuVoipio

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

Maemo development on Ubuntu is a suboptimal experience currently, as external packages need to be downloaded, and the Maemo SDK needs to be manually installed.

The purpose of this specification is to allow Scratchbox to be part of the 'universe', and maintained in a way that makes it easy for developers both from the open source community, and from Nokia, are able to use Ubuntu for Maemo development in a painless way.

Scratchbox is a tool designed to help in building a Linux distribution from Scratch. The host tools are provided with Scratchbox and therefore it is more or less a small Linux distribution in itself. During the build process a number of libraries are copied from the host system (Scratchbox was never intended to be Linux from scratch in itself) which makes Scratchbox heavily dependent on the build environment. The host tools are compiled on top of these libraries, so building in another system would require updating the host tools inside Scratchbox as well.

Currently the supported build environment is Debian Sarge. Scratchbox won't compile under Ubuntu Feisty.

In the development branch of Scratchbox, Scratchbox 2, this is no longer an issue, but Maemo development with Scratchbox 2 is still in it's experimental stage.

Rationale

  • External repositories are evil

Use cases

  • A developer who wants to develop for his new shiny tablet, selects "Maemo SDK" from "Add Application menu" on the latest Ubuntu

Scope

  • Inclusion of Scratchbox 1.0.7 and latest modular packages into the xxxx repository
  • Inclusion of the Maemo SDK metapackage on the next version of Ubuntu (feisty). How this will be done is one of the object of discussions of this specification.
  • Both Scratchbox and Maemo SDK need to be supported to their latest versions, even after feisty (and subsequent releases) are launched. Updates must be provided via feisty-backports, and possibly feisty-proposed + feisty-updates.

Design

Implementation

Code

Data preservation and migration

Unresolved issues

  • How can Maemo SDK be successfully made available for Ubuntu developers?
    • Directly?
    • Via a stable URL which is used for download
    • In both cases, the Maemo SDK license agreement must be shown to the user, and accepted before installation proceeds
  • What repository (universe, multiverse, commercial) should be used for the Maemo SDK?
    • universe requires scratchbox buildable with Ubuntu buildd's. scratchbox requires Debian sarge build environment. unless someone has time to fix that,
  • Is "binary-only" scratchbox acceptable as temporary measure?
    • sources would still need to be included, but they will not buildable in Ubuntu setup.

BoF agenda and discussion

Discussion Part

  • Who gives a go/no-go decision is scratchbox can be included as "binary-only" RikuVoipio


CategorySpec

MaemoOnUbuntu (last edited 2008-08-06 16:23:53 by localhost)