SXE - Control File
|
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 Qt Extended 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 Qt Extended. | 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 |
File-Count | Number of files in the package(includes directories) | 10 |
The packages.list file is generated using the mkPackages command and consists of a list of package meta-data. Effectively the <app-name>.control files are extracted from the qpk packages, combined with some extra meta-data 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 |
The Packages.list file can be generated as follows
mkPackages /srv/www/htdocs/feed
From the current directory, this will recursively search for any packages and copy them into the feed directory /srv/www/htdocs/feed. A packages.list file will be created in the feed directory, listing all the packages found in it. If a feed directory is not supplied, the current directory is considered the feed directory and no recursive searching occurs.
Descriptor(qpd) files are used by packagemanager in a similar way to the packages.list file except that each only contains the 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 PackageManager - Browser Integration 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 descriptor is
Field | Description | Example |
---|---|---|
URL | URL of the package qpk file | http://example.org/feed/Example_1.0.0_arm.qpk |
Descriptor files can be generated using the mkPackages script as follows
mkPackages /srv/www/htdocs/feed --descriptor http://example.org/feed/
From the current directory, this will recursively search for any packages and copy them into the feed directory /srv/www/htdocs/feed. Descriptor files will be created in the feed directory for all packages found in it. If a feed directory is not supplied, the current directory is considered the feed directory and no recursive searching occurs.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com