| Home · All Classes · Grouped Classes · Annotated · Functions |
The file which drives the package system is the application's <app-name>.control file. It contains meta-information about the package and typically is automatically generated by the build system using information from the pkg structure of the .pro file and from Qtopia itself
| Field | Description | Example |
|---|---|---|
| Package | Package name | GamerGeex |
| Description | Long and short description. The short (60 chars max) is on the same line. The long description is on the following lines and is indented one space. | A fun and challenging blocks game. A super challenging colorful blocks game, with high-score table and cool music for up to 4 players. |
| Domain | The security profile which the package should operate under | untrusted |
| Maintainer | name and email address of the package maintainer | jo_hacker@hackcorp.net |
| License | License type such as Commercial or GPL. | GPL, Unspecified,Commercial |
| Version | Version should have at least one digit, with an optional trailing revision. | 1.2 |
| Trust | Specifies trust level based on whether the package is certified(unused) | Untrusted |
| Arch | machine on which the package is tested and known to be good (deprecated) | sl5600 |
| Architecture | chip architecture for which the package is compiled (deprecated) | arm |
| QtopiaVersion | Versions of qtopia that the package is known to be compatible with | 4.2.2-4.2.3 |
| Type | Whether the package is an sxe-only package or generic package that can operate both on sxe and non-sxe builds of Qtopia. | sxe-only, generic |
| Devices | The type of devices this packages is compatible with. | Greenphone |
| Installed-Size | Size of the package after its decompression and installation. | 236K, 8.9M |
The packages.list file is generated using the mkPackages command and consists of a list of package metadata. Effectively the <app-name>.control files are extracted from the qpk packages, combined with some extra metadata and then concatenated together. The Package Manager downloads and uses the packages.list file to present a list of available packages.
The extra package properties that go into the packages.list file are as below:
| Field | Description | Example |
|---|---|---|
| Filename | File name of the package. | chessgame_1.0.0-1_arm.qpk |
| Size | Size of the compressed package in bytes. | 66986 |
| MD5Sum | MD5 sum of the package file. | d4910373e317101b8e26a78308df5939 |
Descriptor(qpd) files are used by packagemanager in a similar way to the packages.list file except that it only contains information of one package. The descriptor files are used when the PackageManagerService is invoked to direct the packagemanager to begin the process of installing a package. (The user still needs to manually confirm download and installation). See SXE - Web Browser Integration Implementation for more information on the role of the qpd descriptor.
The extra property on top of those in the packages.list that go into the qpd desriptor is
| Field | Description | Example |
|---|---|---|
| URL | URL of the package qpk file | http://example.org/feed/Example_1.0.0_arm.qpk |
| Copyright © 2008 Trolltech | Trademarks | Qtopia 4.3.1 |