summaryrefslogtreecommitdiffstats
path: root/scripts/jhbuild/modulesets/moduleset.rnc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/jhbuild/modulesets/moduleset.rnc')
-rw-r--r--scripts/jhbuild/modulesets/moduleset.rnc131
1 files changed, 0 insertions, 131 deletions
diff --git a/scripts/jhbuild/modulesets/moduleset.rnc b/scripts/jhbuild/modulesets/moduleset.rnc
deleted file mode 100644
index b46122101d..0000000000
--- a/scripts/jhbuild/modulesets/moduleset.rnc
+++ /dev/null
@@ -1,131 +0,0 @@
1default namespace = ""
2
3start = moduleset
4
5boolean = "yes" | "no"
6
7moduleset = element moduleset { repository*,
8 (\include|package)* }
9
10repository_cvs = attribute type { "cvs" },
11 attribute cvsroot { text },
12 attribute password { text }?
13repository_svn = attribute type { "svn" },
14 attribute href { xsd:anyURI }
15repository_arch = attribute type { "arch" },
16 attribute archive { text },
17 attribute href { xsd:anyURI }?
18repository_darcs = attribute type { "darcs" },
19 attribute href { xsd:anyURI }
20repository_git = attribute type { "git" },
21 attribute href { xsd:anyURI }
22repository_tarball = attribute type { "tarball" },
23 attribute href { xsd:anyURI }
24
25repository = element repository {
26 attribute name { text },
27 attribute default { boolean }?,
28 (repository_cvs|repository_svn|repository_arch|
29 repository_darcs|repository_git|repository_tarball)
30}
31
32\include = element include {
33 attribute href { xsd:anyURI }
34}
35
36package = autotools |
37 metamodule |
38 distutils |
39 perl |
40 tarball |
41 mozillamodule
42
43dep = element dep {
44 attribute package { text }
45}
46dependencies = element dependencies { dep* }
47after = element after { dep* } | element suggests { dep* }
48
49common = attribute id { text } & dependencies* & after*
50
51branch_cvs = attribute module { text }?,
52 attribute checkoutdir { text }?,
53 attribute revision { text}?,
54 attribute override-checkoutdir { boolean }?,
55 attribute update-new-dirs { boolean }?
56branch_svn = attribute module { xsd:anyURI }?,
57 attribute checkoutdir { text }?
58branch_arch = attribute module { xsd:anyURI }?,
59 attribute checkoutdir { text }?
60branch_darcs = attribute module { xsd:anyURI }?,
61 attribute checkoutdir { text }?
62branch_git = attribute module { xsd:anyURI }?,
63 attribute checkoutdir { text }?
64branch_tarball = attribute module { xsd:anyURI },
65 attribute version { text },
66 attribute size { text }?,
67 attribute md5sum { text }?,
68 element patch {
69 attribute file { text },
70 attribute strip { text }?
71 }*
72
73
74branch = element branch {
75 attribute repo { text }?,
76 (branch_cvs|branch_svn|branch_arch|branch_darcs|branch_git|branch_tarball)
77}
78
79autotools = element autotools {
80 branch &
81 attribute autogen-sh { text }? &
82 attribute autogenargs { text }? &
83 attribute makeargs { text }? &
84 attribute supports-non-srcdir-builds { boolean }? &
85 common
86}
87
88metamodule = element metamodule { common }
89
90distutils = element distutils {
91 branch &
92 attribute supports-non-srcdir-builds { boolean }? &
93 common
94}
95
96perl = element perl {
97 branch &
98 attribute makeargs { text }? &
99 common
100}
101
102tarball = element tarball {
103 attribute version { text },
104 attribute checkoutdir { text }?,
105 attribute autogenargs { text }?,
106 attribute makeargs { text }?,
107 attribute supports-non-srcdir-builds { boolean }?,
108
109 (element source {
110 attribute href { text },
111 attribute size { text }?,
112 attribute md5sum { text }? } &
113 element patches {
114 element patch {
115 attribute file { text },
116 attribute strip { text }?
117 }+ }? &
118 common)
119}
120
121mozillamodule = element mozillamodule {
122 attribute module { text }?,
123 attribute revision { text }?,
124 attribute checkoutdir { text }?,
125 attribute autogenargs { text }?,
126 attribute makeargs { text }?,
127 attribute cvsroot { text }?,
128 attribute root { text }?,
129 common
130}
131