question about pconfig file format

Ralf Habacker ralf.habacker at freenet.de
Thu Jan 18 23:09:51 CET 2007


Hi all,

for the kde installer there is a prelimary format which describes the 
download
resources (for an example see 
http://websvn.kde.org/trunk/kdesupport/kdewin32/installer/config.txt?view=markup). 


My question is if someone has a better idea for a file format of this 
config file. 

The recent (initial) format is build up by having records with multiple 
attribute. Records are separated by an empty line.

The main idea of such config format is be able to add external download 
resources (complete download locations or single packages) very quickly 
to the kde installer.

The recent format has two types of record

- sites -> describes a download location. Sites can have the following 
attributes

; site definition
@site <sitename> - this is displayed in the package selector page
@type <typename> - this specifies the type of an internal parser, which 
reads package names from a website
@url <url>   - the url of the location providing a package list
@options  <options>  - special options, not used yet
@exclude <package>[,<package>]  - excludes package from the list, used 
for corrupted or non working packages
@deps <packagename> <related package> [<related package>] - specifies a 
dependency list for a specific package

- packages -> describes single packages on a specific download location, 
packages defined in this manner are currently listed under a virtual 
site <other>

@package <packagename>  - the name of the package in list
@version <versionstring> - package version
@url-bin <url> - url of bin package
@url-lib <url> - url of lib package
@url-doc <url> - url of doc package
@url-src <url> - url of src package
@require <packagename>[ <packagename>]  - list of required packages

Missing is currently support for category based package selector page, 
This requires to have packages and/or sites assigned to specific 
categories.


BTW: Developers helping to finish the installer are very appreciated 
<http://dict.leo.org/ende?lp=ende&p=/gQPU.&search=appreciated>



Ralf







More information about the Kde-windows mailing list