diff options
Diffstat (limited to 'scripts/jhbuild/modulesets/moduleset.dtd')
-rw-r--r-- | scripts/jhbuild/modulesets/moduleset.dtd | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/scripts/jhbuild/modulesets/moduleset.dtd b/scripts/jhbuild/modulesets/moduleset.dtd new file mode 100644 index 0000000000..bee7c8c17e --- /dev/null +++ b/scripts/jhbuild/modulesets/moduleset.dtd | |||
@@ -0,0 +1,115 @@ | |||
1 | <!ELEMENT moduleset ((cvsroot|svnroot|arch-archive|darcs-archive)*, | ||
2 | (include|cvsmodule|svnmodule|archmodule|darcsmodule| | ||
3 | metamodule|tarball|mozillamodule)*) > | ||
4 | |||
5 | <!ELEMENT cvsroot EMPTY > | ||
6 | <!ATTLIST cvsroot | ||
7 | name CDATA #REQUIRED | ||
8 | root CDATA #REQUIRED | ||
9 | password CDATA #IMPLIED | ||
10 | default (yes|no) 'no' > | ||
11 | |||
12 | <!ELEMENT svnroot EMPTY > | ||
13 | <!ATTLIST svnroot | ||
14 | name CDATA #REQUIRED | ||
15 | href CDATA #REQUIRED | ||
16 | default (yes|no) 'no' > | ||
17 | |||
18 | <!ELEMENT arch-archive EMPTY > | ||
19 | <!ATTLIST arch-archive | ||
20 | name CDATA #REQUIRED | ||
21 | href CDATA #REQUIRED | ||
22 | default (yes|no) 'no' > | ||
23 | |||
24 | <!ELEMENT darcs-archive EMPTY > | ||
25 | <!ATTLIST darcs-archive | ||
26 | name CDATA #REQUIRED | ||
27 | href CDATA #REQUIRED | ||
28 | default (yes|no) 'no' > | ||
29 | |||
30 | <!ELEMENT include EMPTY > | ||
31 | <!ATTLIST include | ||
32 | href CDATA #REQUIRED > | ||
33 | |||
34 | <!ELEMENT cvsmodule (dependencies?,suggests?) > | ||
35 | <!ATTLIST cvsmodule | ||
36 | id CDATA #REQUIRED | ||
37 | module CDATA #IMPLIED | ||
38 | revision CDATA #IMPLIED | ||
39 | checkoutdir CDATA #IMPLIED | ||
40 | autogenargs CDATA #IMPLIED | ||
41 | makeargs CDATA #IMPLIED | ||
42 | cvsroot CDATA #IMPLIED | ||
43 | supports-non-srcdir-builds (yes|no) 'yes' > | ||
44 | |||
45 | <!ELEMENT svnmodule (dependencies?,suggests?) > | ||
46 | <!ATTLIST svnmodule | ||
47 | id CDATA #REQUIRED | ||
48 | module CDATA #IMPLIED | ||
49 | checkoutdir CDATA #IMPLIED | ||
50 | autogenargs CDATA #IMPLIED | ||
51 | makeargs CDATA #IMPLIED | ||
52 | root CDATA #IMPLIED | ||
53 | supports-non-srcdir-builds (yes|no) 'yes' > | ||
54 | |||
55 | <!ELEMENT archmodule (dependencies?,suggests?) > | ||
56 | <!ATTLIST archmodule | ||
57 | id CDATA #REQUIRED | ||
58 | version CDATA #IMPLIED | ||
59 | checkoutdir CDATA #IMPLIED | ||
60 | autogenargs CDATA #IMPLIED | ||
61 | makeargs CDATA #IMPLIED | ||
62 | root CDATA #IMPLIED | ||
63 | supports-non-srcdir-builds (yes|no) 'yes' > | ||
64 | |||
65 | <!ELEMENT darcsmodule (dependencies?,suggests?) > | ||
66 | <!ATTLIST darcsmodule | ||
67 | id CDATA #REQUIRED | ||
68 | checkoutdir CDATA #IMPLIED | ||
69 | autogenargs CDATA #IMPLIED | ||
70 | makeargs CDATA #IMPLIED | ||
71 | root CDATA #IMPLIED | ||
72 | supports-non-srcdir-builds (yes|no) 'yes' > | ||
73 | |||
74 | <!ELEMENT metamodule (dependencies) > | ||
75 | <!ATTLIST metamodule | ||
76 | id CDATA #REQUIRED > | ||
77 | |||
78 | <!ELEMENT tarball | ||
79 | (source,patches?,dependencies?,suggests?) > | ||
80 | <!ATTLIST tarball | ||
81 | id CDATA #REQUIRED | ||
82 | version CDATA #REQUIRED | ||
83 | checkoutdir CDATA #IMPLIED | ||
84 | autogenargs CDATA #IMPLIED | ||
85 | makeargs CDATA #IMPLIED | ||
86 | supports-non-srcdir-builds (yes|no) 'yes' > | ||
87 | |||
88 | <!ELEMENT mozillamodule (dependencies?,suggests?) > | ||
89 | <!ATTLIST mozillamodule | ||
90 | id CDATA #REQUIRED | ||
91 | module CDATA #IMPLIED | ||
92 | revision CDATA #IMPLIED | ||
93 | checkoutdir CDATA #IMPLIED | ||
94 | autogenargs CDATA #IMPLIED | ||
95 | makeargs CDATA #IMPLIED | ||
96 | cvsroot CDATA #IMPLIED > | ||
97 | |||
98 | <!-- Tarball sub-elements --> | ||
99 | <!ELEMENT source EMPTY > | ||
100 | <!ATTLIST source | ||
101 | href CDATA #REQUIRED | ||
102 | size CDATA #IMPLIED | ||
103 | md5sum CDATA #IMPLIED > | ||
104 | <!ELEMENT patches (patch)* > | ||
105 | <!ELEMENT patch EMPTY > | ||
106 | <!ATTLIST patch | ||
107 | file CDATA #REQUIRED | ||
108 | strip CDATA '0' > | ||
109 | |||
110 | <!-- common sub-elements --> | ||
111 | <!ELEMENT dependencies (dep*) > | ||
112 | <!ELEMENT suggests (dep*) > | ||
113 | <!ELEMENT dep EMPTY > | ||
114 | <!ATTLIST dep | ||
115 | package CDATA #REQUIRED > | ||