[maemo-developers] Developing for all IT platforms

From: Marius Gedminas marius at pov.lt
Date: Fri Oct 19 21:43:07 EEST 2007
On Thu, Oct 18, 2007 at 10:12:29PM +0100, Neil Jerram wrote:
> Something that's been bugging for a while, and will become more
> important now that N810 is here...
> 
> Is there a recommended procedure for setting up Scratchbox so that one
> can easily compile an application and build its package for all of the
> IT platforms (i.e. ideally: 770 with latest 2006 OS, 770 with HE, N800
> with latest 2007 OS, and N810 with whatever its OS is).

I had Maemo 2.1 and 3.0 targets side-by-side in my Scratchbox once.  I
haven't tried installing 4.0, 3.2 and 2.2 yet (actually I haven't gotten
up to installing scratchbox on my new laptop yet, it's just too tedious.
I want 'apt-get install maemo-sdk-4.0 maemo-sdk-3.2 maemo-sdk-2.2'!)

> Then, similarly, is there a recommended procedure for publishing the
> packages,

http://maemo.org/community/application-catalog/extras_repository.html

> and/or setting up a repository,

Please don't.  There are too many ad-hoc repositories already.

> and/or providing .install
> files, so that an IT user will easily be able to get the version of
> the package that is right for them?

The Extras repository will generate several .install files for you,
which is a bit silly, because you want only one that works for all OS
versions.  Merging them into a single .install isn't too difficult, and
the format is pretty obvious.  It is documented here:

https://stage.maemo.org/svn/maemo/projects/haf/trunk/osso-application-installer/doc/repository.txt

Hm, it only speaks of OS2006 (where .install files are not officially
supported, but work fine nevertheless) and OS2007.

Marius Gedminas
-- 
Where do you think you're going today?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20071019/39b95ef4/attachment.pgp 
More information about the maemo-developers mailing list