| Home · All Classes · Grouped Classes · Annotated · Functions |
This document describes how to access Qtopia packages using the PackageManager service.
To make a package available for download and installation via the PackageManager follow these steps:
Note: For a default apache2 installation, content will be served from /srv/www/htdocs.
You will likely need root privileges to create the feed directory and set the desired ownership. For example:
sudo mkdir -p /srv/www/htdocs/feed
sudo chown user.group /srv/www/htdocs/feed
where user and group are the user name and group name of the user who will publish packages.
$QPEDIR/bin/mkPackages /srv/www/htdocs/feed
[Local packages]
http://10.10.10.21/feed
active=true
The packages.list file is divided into sections - one per available package.
Each section consists of multiple lines containing mandatory properties of a package as shown in the following table:
| Property | Description |
|---|---|
| Package | Name of the package displayed by the Software Packages application. |
| Filename | File name of the package. |
| Size | Size of the compressed package in bytes. |
| MD5Sum | MD5 sum of the package file. |
| Description | Package information. |
| Maintainer | Person or company responsible for package maintenance. |
| License | License type such as Commercial or GPL. |
| Version | Version of the application packaged. |
| Trust | Packages can be trusted or untrusted. |
| Arch | CPU architecture of the device such as arm or i386. |
| Architecture | Device name: for example, Greenphone. |
| Depends | Package dependencies separated by space: for example, libraries/qtopiabase libraries/qtopia |
| Domain | SXE domains which the package requires to run delimited by comma: for example, window,docapi. |
| Files | All files contained in the package separated by space including their default installation paths. |
| Installed-Size | Size of the package after its decompression and installation. |
| URL | URL of the package file. This is only used in the Qtopia package descriptor files. |
| Copyright © 2007 Trolltech | Trademarks | Qtopia 4.3.0 |