[maemo-developers] How to optify in MADDE?

From: Tomi Ollila tomi.ollila at guru.guru-group.fi
Date: Thu Jun 10 13:44:22 EEST 2010
On Thu 10 Jun 2010 13:08, Tim Teulings <tim at framstag.com> writes:

> Hallo!
>
> Location of application files is not only defined by the packaging
> mechanism. Part of the locations are defined by the software at
> buildtime (partly configure options), some may be hardcoded. In
> general one cannot be sure that after apckaging moves around files the
> application can find all of its files.

(autotools/configure not supported in MADDE).

Is it allowed to have symlinks in 'data.tar.gz' in debian file ?

If so, then it would be pretty easy to tune MADDE:s 'dh_fixperms' 
(which is written from scratch for MADDE environment) to move most(*)
files to /opt/maemo/* and make symlinks from their original places.
Although current tarlisted supports only 99/155 filename lengths then.

(*) not those copied by dh_installdirs etc. 

Well, this is a quick note; I did not follow the optify-thread for
hints about other problems this might bring up.


> Optification was a very late "feature" and getting software to run on
> the device quickly was a goal while SDK or device modification were
> not possible in that short time frame. So a solution was created that
> may not require the active support of the developer, by mobinf files
> and at the same time creating links from the old to the new location
> hiding the movement from the application.

>
> -- 
> Gruß...
>    Tim
>

Tomi
More information about the maemo-developers mailing list