summaryrefslogtreecommitdiffstats
path: root/scripts/jhbuild/modulesets/moduleset.dtd
blob: bee7c8c17ecfbccb2b77b7bd976b04d00c5828fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!ELEMENT moduleset ((cvsroot|svnroot|arch-archive|darcs-archive)*,
                     (include|cvsmodule|svnmodule|archmodule|darcsmodule|
                      metamodule|tarball|mozillamodule)*) >

<!ELEMENT cvsroot EMPTY >
<!ATTLIST cvsroot
  name CDATA #REQUIRED
  root CDATA #REQUIRED
  password CDATA #IMPLIED
  default (yes|no) 'no' >

<!ELEMENT svnroot EMPTY >
<!ATTLIST svnroot
  name CDATA #REQUIRED
  href CDATA #REQUIRED
  default (yes|no) 'no' >

<!ELEMENT arch-archive EMPTY >
<!ATTLIST arch-archive
  name CDATA #REQUIRED
  href CDATA #REQUIRED
  default (yes|no) 'no' >

<!ELEMENT darcs-archive EMPTY >
<!ATTLIST darcs-archive
  name CDATA #REQUIRED
  href CDATA #REQUIRED
  default (yes|no) 'no' >
  
<!ELEMENT include EMPTY >
<!ATTLIST include
  href CDATA #REQUIRED >

<!ELEMENT cvsmodule (dependencies?,suggests?) >
<!ATTLIST cvsmodule
  id CDATA #REQUIRED
  module CDATA #IMPLIED
  revision CDATA #IMPLIED
  checkoutdir CDATA #IMPLIED
  autogenargs CDATA #IMPLIED
  makeargs CDATA #IMPLIED
  cvsroot CDATA #IMPLIED
  supports-non-srcdir-builds (yes|no) 'yes' >

<!ELEMENT svnmodule (dependencies?,suggests?) >
<!ATTLIST svnmodule
  id CDATA #REQUIRED
  module CDATA #IMPLIED
  checkoutdir CDATA #IMPLIED
  autogenargs CDATA #IMPLIED
  makeargs CDATA #IMPLIED
  root CDATA #IMPLIED
  supports-non-srcdir-builds (yes|no) 'yes' >

<!ELEMENT archmodule (dependencies?,suggests?) >
<!ATTLIST archmodule
  id CDATA #REQUIRED
  version CDATA #IMPLIED
  checkoutdir CDATA #IMPLIED
  autogenargs CDATA #IMPLIED
  makeargs CDATA #IMPLIED
  root CDATA #IMPLIED
  supports-non-srcdir-builds (yes|no) 'yes' >

<!ELEMENT darcsmodule (dependencies?,suggests?) >
<!ATTLIST darcsmodule
  id CDATA #REQUIRED
  checkoutdir CDATA #IMPLIED
  autogenargs CDATA #IMPLIED
  makeargs CDATA #IMPLIED
  root CDATA #IMPLIED
  supports-non-srcdir-builds (yes|no) 'yes' >
  
<!ELEMENT metamodule (dependencies) >
<!ATTLIST metamodule
  id CDATA #REQUIRED >

<!ELEMENT tarball
  (source,patches?,dependencies?,suggests?) >
<!ATTLIST tarball
  id CDATA #REQUIRED
  version CDATA #REQUIRED
  checkoutdir CDATA #IMPLIED
  autogenargs CDATA #IMPLIED
  makeargs CDATA #IMPLIED
  supports-non-srcdir-builds (yes|no) 'yes' >

<!ELEMENT mozillamodule (dependencies?,suggests?) >
<!ATTLIST mozillamodule
  id CDATA #REQUIRED
  module CDATA #IMPLIED
  revision CDATA #IMPLIED
  checkoutdir CDATA #IMPLIED
  autogenargs CDATA #IMPLIED
  makeargs CDATA #IMPLIED
  cvsroot CDATA #IMPLIED >

<!-- Tarball sub-elements -->
<!ELEMENT source EMPTY >
<!ATTLIST source
  href CDATA #REQUIRED
  size CDATA #IMPLIED
  md5sum CDATA #IMPLIED >
<!ELEMENT patches (patch)* >
<!ELEMENT patch EMPTY >
<!ATTLIST patch
  file CDATA #REQUIRED
  strip CDATA '0' >

<!-- common sub-elements -->
<!ELEMENT dependencies (dep*) >
<!ELEMENT suggests (dep*) >
<!ELEMENT dep EMPTY >
<!ATTLIST dep
  package CDATA #REQUIRED >