[maemo-developers] [maemo-developers] Enough theory...

From: Devesh Kothari devesh.kothari at nokia.com
Date: Fri Oct 21 09:45:58 EEST 2005
ext Chris Ball wrote:

>>>On 19 Oct 2005 15:59:50, Mattias Schlenker <mattias at apostel13.de> said:
>>>      
>>>
>
>   > I wanted to start installing applications, AbiWord from
>   > indt.org.bra but maemo refused to install libfribidi with a strange
>   > error message saying something like "component already included",
>   > the same with Maemo Word processor.
>
>My 770 turned up today too, and I got the above error installing
>minisip.  "Component not included" obviously isn't what's wrong;
>can anybody tell us what is?  :)
>
>Thanks!
>
>- Chris.
>  
>
best way to find what it means is by looking at the code :)
https://stage.maemo.org/svn/maemo/projects/haf/trunk/osso-application-installer/

but in nutshell
the Application Installer
1. does not install anything which does not have maemo as one of the
component in Depends:.... line of control file. If "maemo" does not
exist, it thinks humm... I am not supposed to be installing this , as
this package is not built for me .. and give out that cryptic message.
2. you can have dependencies, but then these dependencies should be met
through the alternative dpkg pakage DB i.e the one which is used by AI,
and starts afresh
so for example

for package A [x, y, z] dependencies
If you know what packages are included on device [that info would be
available from ameo.org] in this example x, y, you just remove those
packages from depends line and replace it with maemo

Depends: maemo, z

Now you need to worry about packaging z for maemo. first follow the same
rule as above e.g if z depends on [s,t] and bothe s,t are included in
the device
then
Depends: maemo

Now you would need to install first Z and then A

Since no pre/post install scripts are permitted either, so effectively
AI is
1. dpkg to store installed package information
2. effectively, just untar that data.tar.gz in a debian package
3. minimal conflict identification [no resolve]


Hope that at least provide a start point
Br,
Devesh


More information about the maemo-developers mailing list