01b3beafcc6e71eac46391ca6e0adb14162faae4
[pandora-libraries.git] / docs / examples / full-sample_PXML.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This is an complex example defining a "real" package collection. It offers several applications, all using different features of PXML.-->
3 <PXML xmlns="http://openpandora.org/namespaces/PXML">
4   <package id="sample-package">
5     <version major="1" minor="0" release="0" build="0" type="release"/>
6     <author name="packagers name" website="http://www.website.foo" email="user@name.who"/>
7     <titles>
8       <title lang="en_US">Sample Collection</title>
9       <title lang="de_DE">Beispiel Sammlung</title>
10     </titles>
11     <descriptions>
12       <description lang="en_US">This is a really verbose package with a whole lot of stuff from 2 different sources, mixing different things, having stuff in ways sometimes making use of stuff, often not.</description>
13       <description lang="de_DE">Die gleiche Beschreibung wie oben, nur auf deutsch.</description>
14     </descriptions>
15     <icon src="my-icon.png"/>
16   </package>
17   
18   <application id="sample-app1">
19     <exec command="run.sh" x11="req"/>
20     <version major="1" minor="18" release="0" build="0" type="alpha"/>
21     <author name="the authors name" website="http://www.openpandora.org"/>
22     <titles>
23       <title lang="en_US">Sample Application 1</title>
24       <title lang="de_DE">Beispiel Anwendung 1</title>
25     </titles>
26     <title lang="en_US">Sample Application 1</title> <!--Extra block for compatibility with OS versions before HF6-->
27     <descriptions>
28       <description lang="en_US">A really lenghty description for the application.</description>
29       <description lang="de_DE">Die Beschreibung einer Beispielanwendung.</description>
30     </descriptions>
31     <description lang="en_US">A really lenghty description for the application.</description> <!--Extra block for compatibility with OS versions before HF6-->
32     <icon src="my-icon.png"/>
33     <previewpics>
34       <pic src="preview-image.png"/>
35       <pic src="application_1.png"/>
36     </previewpics>
37     <info name="Readme" type="text/html" src="readme.html"/>
38     <licenses>
39       <license name="I do as I please" sourcecodeurl="git://git.openpandora.org/special_project"/>
40     </licenses>
41     <categories>
42       <category name="Game">
43         <subcategory name="Emulator"/>
44       </category>
45       <category name="System">
46         <subcategory name="Emulator"/>
47       </category>
48     </categories>
49   </application>
50   
51   <application id="sample-app2" appdata="sample-app1">
52     <exec command="run2.sh"/>
53     <version major="1" minor="17" release="3" build="4" type="release"/>
54     <author name="the authors name" website="http://www.openpandora.org"/>
55     <titles>
56       <title lang="en_US">Sample Application</title>
57       <title lang="de_DE">Beispiel Anwendung</title>
58     </titles>
59     <title lang="en_US">Sample Application</title> <!--Extra block for compatibility with OS versions before HF6-->
60     <descriptions>
61       <description lang="en_US">A really lenghty description for the application. Just different</description>
62       <description lang="de_DE">Die Beschreibung einer *anderen* Beispielanwendung.</description>
63       <description lang="fr_FR">This is in french!</description>
64     </descriptions>
65     <description lang="en_US">A really lenghty description for the application. Just different</description> <!--Extra block for compatibility with OS versions before HF6-->
66     <info name="Readme (old)" type="text/html" src="readme_old.html"/>
67     <icon src="my-icon2.png"/>
68     <licenses>
69       <license name="other" url="http://openpandora.org/pandora_special.html"/>
70       <license name="Qt-commercial" url="http://url.openpandora.org/commercial_license.html"/>
71       <license name="public domain"/>
72       <license name="GPLv2+" url="http://www.gnu.org/licenses/gpl-2.0.html" sourcecodeurl="http://pandora.org/sources/package.tar.bz2"/>
73     </licenses>
74     <categories>
75       <category name="Game">
76         <subcategory name="StrategyGame"/>
77       </category>
78     </categories>
79   </application>
80   
81   <application id="sample-app3">
82     <exec command="bin/tool" standalone="false"/>
83     <version major="1" minor="0" release="0" build="1"/>
84     <author name="completely different author" website="http://www.website.foo" email="user@name.who"/>
85     <titles>
86       <title lang="en_US">Sample Application</title>
87     </titles>
88     <title lang="en_US">Sample Application</title> <!--Extra block for compatibility with OS versions before HF6-->
89     <descriptions>
90       <description lang="en_US">Additional tool description.</description>
91     </descriptions>
92     <description lang="en_US">Additional tool description.</description> <!--Extra block for compatibility with OS versions before HF6-->
93     <icon src="no-real-icon.png"/>
94     <licenses>
95       <license name="GPLv2+" url="http://www.gnu.org/licenses/gpl-2.0.html" sourcecodeurl="http://pandora.org/sources/package.tar.bz2"/>
96     </licenses>
97     <previewpics>
98       <pic src="different-preview-image.png"/>
99     </previewpics>
100     <categories>
101       <category name="System">
102       </category>
103     </categories>
104     <associations>
105       <association name="Deinterlaced Bitmap Image" filetype="image/bmp" exec="-f %s --no-deinterlacing"/>
106       <association name="Style sheet system crasher" filetype="text/css" exec="-f %s --crash-on-success"/>
107     </associations>
108   </application>
109 </PXML>