[2.30] set glade3 to its 2.28 branch
[jhbuild/xnox.git] / modulesets / moduleset.rnc
blob1fc7611464bd735e5f51f0a973785fd248383a75
1 default namespace = ""
3 start = moduleset
5 boolean = "yes" | "no"
7 moduleset = element moduleset { repository*,
8                                 (\include|package)* }
10 repository_cvs     = attribute type { "cvs" },
11                      attribute cvsroot { text },
12                      attribute password { text }?
13 repository_svn     = attribute type { "svn" },
14                      attribute href { xsd:anyURI }
15 repository_arch    = attribute type { "arch" },
16                      attribute archive { text },
17                      attribute href { xsd:anyURI }?
18 repository_darcs   = attribute type { "darcs" },
19                      attribute href { xsd:anyURI }
20 repository_git     = attribute type { "git" },
21                      attribute href { xsd:anyURI }
22 repository_tarball = attribute type { "tarball" },
23                      attribute href { xsd:anyURI }
25 mirror = element mirror {
26    (repository_cvs|repository_svn|repository_arch|
27    repository_darcs|repository_git|repository_tarball)
30 repository = element repository {
31   attribute name { text },
32   attribute default { boolean }?,
33   (repository_cvs|repository_svn|repository_arch|
34    repository_darcs|repository_git|repository_tarball),
35   mirror*
38 \include = element include {
39   attribute href { xsd:anyURI }
42 package = autotools |
43           metamodule |
44           distutils |
45           perl |
46           tarball |
47           linux
49 dep = element dep {
50   attribute package { text }
52 dependencies = element dependencies { dep* }
53 after = element after { dep* } | element suggests { dep* }
55 common = attribute id { text } & dependencies* & after*
57 branch_cvs   = attribute module { text }?,
58                attribute checkoutdir { text }?,
59                attribute revision { text}?,
60                attribute override-checkoutdir { boolean }?,
61                attribute update-new-dirs { boolean }?
62 branch_svn   = attribute module { xsd:anyURI }?,
63                attribute checkoutdir { text }?
64 branch_arch  = attribute module { xsd:anyURI }?,
65                attribute checkoutdir { text }?
66 branch_darcs = attribute module { xsd:anyURI }?,
67                attribute checkoutdir { text }?
68 branch_git   = attribute module { xsd:anyURI }?,
69                attribute checkoutdir { text }?
70 branch_tarball = attribute module { xsd:anyURI },
71                  attribute version { text },
72                  attribute size { text }?,
73                  attribute md5sum { text }?,
74                  attribute hash { text }?,
75                  element patch {
76                    attribute file { text },
77                    attribute strip { text }?
78                  }*
79                  element quilt {
80                    attribute id { text },
81                    element branch {
82                      attribute repo { text }?,
83                      (branch_cvs|branch_svn|branch_arch|branch_darcs|branch_git|branch_tarball)
84                    }
85                  }
87 branch = element branch {
88   attribute repo { text }?,
89   (branch_cvs|branch_svn|branch_arch|branch_darcs|branch_git|branch_tarball)
92 autotools = element autotools {
93   branch &
94   attribute autogen-sh { text }? &
95   attribute autogenargs { text }? &
96   attribute makeargs { text }? &
97   attribute supports-non-srcdir-builds { boolean }? &
98   common
101 metamodule = element metamodule { common }
103 distutils = element distutils {
104   branch &
105   attribute supports-non-srcdir-builds { boolean }? &
106   common
109 perl = element perl {
110   branch &
111   attribute makeargs { text }? &
112   common
115 tarball = element tarball {
116   attribute version { text },
117   attribute checkoutdir { text }?,
118   attribute autogenargs { text }?,
119   attribute makeargs { text }?,
120   attribute supports-non-srcdir-builds { boolean }?,
122   (element source {
123      attribute href { text },
124      attribute size { text }?,
125      attribute md5sum { text }?,
126      attribute hash { text }? } &
127    element patches {
128      element patch {
129        attribute file { text },
130        attribute strip { text }?
131      }+ }? &
132    common)
135 kconfig = element kconfig {
136   attribute repo { text }?,
137   attribute version { text },
138   attribute config { text }?,
139   (branch_cvs|branch_svn|branch_arch|branch_darcs|branch_git|branch_tarball)
142 linux = element linux {
143   branch &
144   kconfig+ &
145   attribute makeargs { text }? &
146   common