GCompris split source

From GCompris
Revision as of 08:18, 14 June 2007 by JxwR50 (talk | contribs)
Jump to: navigation, search

verizon ringtones motorola ringtones lortab online prozac online free ericsson ringtones but ortho cyclobenzaprine online cheap celexa free ringtones phentermine online free cool ringtones prozac online free qwest ringtones cialis online sprint ringtones cheap nexium real ringtones sagem ringtones free tracfone ringtones free nokia ringtones punk ringtones free mp3 ringtones free sony ringtones ativan online but hgh midi ringtones alltel ringtones flexeril online sony ericsson ringtones motorola ringtones cheap vicodin free tracfone ringtones buy soma order levitra free motorola ringtones cheap didrex sildenafil online pharmacy online online cheap zoloft hydrocodone online free sony ringtones cingular ringtones viagra paxil online buy ambien buy lortab hydrocodone online cheap vigrx ativan online hgh online sildenafil online viagra online buy ortho free nextel ringtones lisinopril funny ringtones free sony ericsson ringtones vicodin online hydrocodone ativan online mono ringtones online clonazepam levitra online sprint ringtones cheap cialis free sony ringtones cheap levitra cheap zanaflex phentermine order celexa ultracet online free wwe ringtones sharp ringtones buy norco soma cheap ultracet free cingular ringtones adipex online cheap xenical albuterol online tenuate online cheap ortho music ringtones sagem ringtones lisinopril online cheap meridia propecia online cheap vigrx diethylpropion online cheap albuterol mp3 ringtones cheap meridia free free ringtones ultram online soma online lortab online sildenafil online nextel ringtones cheap lorazepam funny ringtones buy diethylpropion free free ringtones funny ringtones free cingular ringtones soma online nokia ringtones cheap clonazepam zyban online clomid online prozac online online valium lisinopril online meridia online buy tramadol sharp ringtones midi ringtones flexeril online real ringtones cheap celexa zoloft online free nextel ringtones free ericsson ringtones free music ringtones mtv ringtones ultram online valium online cheap viagra order lorazepam cialis online phentermine online buy nexium samsung ringtones cheap norco meridia online sprint ringtones rivotril online carisoprodol online order carisoprodol cyclobenzaprine online free qwest ringtones free qwest ringtones cheap fioricet free verizon ringtones punk ringtones cheap hoodia pharmacy online online free tracfone ringtones online tramadol cheap rivotril tramadol online cheap didrex cheap fioricet music ringtones albuterol online nokia ringtones viagra online buy alprazolam xenical online buy pharmacy online free funny ringtones cheap zanaflex free ericsson ringtones cheap cyclobenzaprine cheap adipex xanax online free alltel ringtones qwest ringtones order ultram free sonyericsson ringtones samsung ringtones lortab online mono ringtones samsung ringtones cheap zyban celexa online funny ringtones free wwe ringtones rivotril online but clomid buy fioricet buy hgh cheap lipitor cheap hoodia clonazepam free cool ringtones tenuate online vicodin online real ringtones free sonyericsson ringtones hoodia online tramadol online free nextel ringtones alprazolam online ambien online free mono ringtones sonyericsson ringtones free sony ericsson ringtones cheap ambien phentermine tracfone ringtones == Problems == Source of GCompris is to big. This is a problem for translators, they have to download all the source to get their up to date file to translate.

Binary packages are also too big. We already have separated sounds package but the data package is also big. We should find ways to provide users with limited disk spaces (embedded, live cds, main distro cd)

Solution

Split GCompris.

  • GCompris compilation part, with all xml.in (they needs translation too) and all xml file for wordlists. This part has to include all the translations of gcompris (probably without sound files).
  • GCompris data: all images and others data mandatory to run gcompris. skin, no skin? no skin!
  • GCompris non translated sounds ? that could make easy an installation without sound files, e.g if computer has no soundcard.
  • GCompris skins: can be packaged separately. Probably should. To make possible a minimal installation for livecd.
  • GCompris translated sounds: are packaged separately by debian/ubuntu. We should do the same. English sounds are fallback if others are not found, for click_on_letter: we should add such callback in others boards (colors, gletters, smallnumbers).

How

  • use package-config in data packages to know where main gcompris package is installed ? with a compilation option to force install everywhere, that's mandatory for deb/rpm packagers.
  • add check in gcompris start to ensure data, skin and sounds are installed.
  • add a global option like /etc/gcompris/gcompris.conf ? that should make possible a global default skin choosed when skins are installed. Anyway it should contains the default db location too, if db is shared between multiple users.

Creating specific dataset

We need to provide distro builder, livecd, embedded systems a way to create a GCompris dataset that suits their needs in terms of content selection and resulting size. For example, on a live cd for small children like freeduc cd, we may choose to put only level 1 to 3 and so save room for other apps.

To provide a nice level of flexibility, we need to know which activity need which sounds and images. The best place to keep this information is to put it in the activity menu files. More, to be sure it's uptotime, we should enforce that boards only access images and sounds by refering to it.

Once we have this, we know on a per activity basis exactly what it needs and so what space it takes. We can then create tools to let packagers select activities and see in real time what space it takes.

This has another advantage, we can easyly check at runtime if we have the necessary content to let the user run an activity.