diff options
4 files changed, 663 insertions, 0 deletions
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS new file mode 100644 index 0000000000..6da7f5b8c7 --- /dev/null +++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS | |||
@@ -0,0 +1,16 @@ | |||
1 | Permission to use, copy, modify and distribute the DocBook XML DTD | ||
2 | and its accompanying documentation for any purpose and without fee | ||
3 | is hereby granted in perpetuity, provided that the above copyright | ||
4 | notice and this paragraph appear in all copies. The copyright | ||
5 | holders make no representation about the suitability of the DTD for | ||
6 | any purpose. It is provided "as is" without expressed or implied | ||
7 | warranty. | ||
8 | |||
9 | If you modify the DocBook DTD in any way, except for declaring and | ||
10 | referencing additional sets of general entities and declaring | ||
11 | additional notations, label your DTD as a variant of DocBook. See | ||
12 | the maintenance documentation for more information. | ||
13 | |||
14 | Please direct all questions, bug reports, or suggestions for | ||
15 | changes to the docbook@lists.oasis-open.org mailing list. For more | ||
16 | information, see http://www.oasis-open.org/docbook/. | ||
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch new file mode 100644 index 0000000000..59703609ca --- /dev/null +++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch | |||
@@ -0,0 +1,515 @@ | |||
1 | docbook-xml: update catalog.xml | ||
2 | |||
3 | Refer Ubuntu 13.04 to update catalog.xml | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
7 | --- | ||
8 | docbook-4.0/catalog.xml | 72 +++++++++++++++++++++++++++++++++++++++++++++++ | ||
9 | docbook-4.1.2/catalog.xml | 66 +++++++++++++++++++++++++++++++++++++++++++ | ||
10 | docbook-4.2/catalog.xml | 69 ++++++--------------------------------------- | ||
11 | docbook-4.3/catalog.xml | 72 ++++++++--------------------------------------- | ||
12 | docbook-4.4/catalog.xml | 63 ++--------------------------------------- | ||
13 | docbook-4.5/catalog.xml | 63 ++--------------------------------------- | ||
14 | 6 files changed, 165 insertions(+), 240 deletions(-) | ||
15 | create mode 100644 docbook-4.0/catalog.xml | ||
16 | create mode 100644 docbook-4.1.2/catalog.xml | ||
17 | |||
18 | diff --git a/docbook-4.0/catalog.xml b/docbook-4.0/catalog.xml | ||
19 | new file mode 100644 | ||
20 | --- /dev/null | ||
21 | +++ b/docbook-4.0/catalog.xml | ||
22 | @@ -0,0 +1,72 @@ | ||
23 | +<?xml version='1.0'?> | ||
24 | +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" | ||
25 | + "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> | ||
26 | + | ||
27 | +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> | ||
28 | + | ||
29 | +<!-- ...................................................................... --> | ||
30 | +<!-- XML Catalog data for DocBook XML V4.0............................... --> | ||
31 | +<!-- File catalog.xml ..................................................... --> | ||
32 | + | ||
33 | +<!-- Please direct all questions, bug reports, or suggestions for | ||
34 | + changes to the docbook@lists.oasis-open.org mailing list. For more | ||
35 | + information, see http://www.oasis-open.org/. | ||
36 | + --> | ||
37 | + | ||
38 | +<!-- This is the catalog data file for DocBook V4.0. It is provided as | ||
39 | + a convenience in building your own catalog files. You need not use | ||
40 | + the filenames listed here, and need not use the filename method of | ||
41 | + identifying storage objects at all. See the documentation for | ||
42 | + detailed information on the files associated with the DocBook DTD. | ||
43 | + See XML Catalogs at http://www.oasis-open.org/committees/entity/ for | ||
44 | + detailed information on supplying and using catalog data. | ||
45 | + --> | ||
46 | + | ||
47 | +<!-- ...................................................................... --> | ||
48 | +<!-- DocBook driver file .................................................. --> | ||
49 | + | ||
50 | +<public publicId="-//Norman Walsh//DTD DocBk XML V4.0//EN" | ||
51 | + uri="docbookx.dtd"/> | ||
52 | + | ||
53 | +<!-- Other ways to refer to DocBook XML v4.0............................... --> | ||
54 | +<public publicId="-//Norman Walsh//DTD DocBook XML V4.0//EN" | ||
55 | + uri="docbookx.dtd"/> | ||
56 | + | ||
57 | +<system systemId="http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd" | ||
58 | + uri="docbookx.dtd"/> | ||
59 | + | ||
60 | +<!-- ...................................................................... --> | ||
61 | +<!-- DocBook modules ...................................................... --> | ||
62 | + | ||
63 | +<public publicId="-//Norman Walsh//ENTITIES DocBook XML Notations V4.0//EN" | ||
64 | + uri="dbnotnx.mod"/> | ||
65 | + | ||
66 | +<public publicId="-//Norman Walsh//ENTITIES DocBook XML Character Entities V4.0//EN" | ||
67 | + uri="dbcentx.mod"/> | ||
68 | + | ||
69 | +<public publicId="-//Norman Walsh//ELEMENTS DocBook XML Information Pool V4.0//EN" | ||
70 | + uri="dbpoolx.mod"/> | ||
71 | + | ||
72 | +<public publicId="-//Norman Walsh//ELEMENTS DocBook XML Document Hierarchy V4.0//EN" | ||
73 | + uri="dbhierx.mod"/> | ||
74 | + | ||
75 | +<public publicId="-//Norman Walsh//ENTITIES DocBook XML Additional General Entities V4.0//EN" | ||
76 | + uri="dbgenent.mod"/> | ||
77 | + | ||
78 | +<public publicId="-//Norman Walsh//DTD CALS Table Model XML V4.0//EN" | ||
79 | + uri="calstblx.dtd"/> | ||
80 | + | ||
81 | +<!-- UNOFFICIAL conversion of the exchange table model to XML, based on the OASIS Exchange --> | ||
82 | +<!-- Table Model PUBLIC "-//SGML Open//DTD Exchange Table Model 19960430//EN" --> | ||
83 | +<public publicId="-//Normal Walsh//Exchange Table Model 19960430 XML V4.0//EN" | ||
84 | + uri="soextblx.dtd"/> | ||
85 | + | ||
86 | +<!-- the following FPI is declared for the DTD inside the DTD, but we'll --> | ||
87 | +<!-- use the version from the latest DocBook | ||
88 | +<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN" | ||
89 | + uri="soextblx.dtd"/> --> | ||
90 | + | ||
91 | +<!-- End of catalog data for DocBook XML V4.0 ............................. --> | ||
92 | +<!-- ...................................................................... --> | ||
93 | + | ||
94 | +</catalog> | ||
95 | diff --git a/docbook-4.1.2/catalog.xml b/docbook-4.1.2/catalog.xml | ||
96 | new file mode 100644 | ||
97 | --- /dev/null | ||
98 | +++ b/docbook-4.1.2/catalog.xml | ||
99 | @@ -0,0 +1,66 @@ | ||
100 | +<?xml version='1.0'?> | ||
101 | +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" | ||
102 | + "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> | ||
103 | + | ||
104 | +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> | ||
105 | + | ||
106 | +<!-- ...................................................................... --> | ||
107 | +<!-- XML Catalog data for DocBook XML V4.1.2............................... --> | ||
108 | +<!-- File catalog.xml ..................................................... --> | ||
109 | + | ||
110 | +<!-- Please direct all questions, bug reports, or suggestions for | ||
111 | + changes to the docbook@lists.oasis-open.org mailing list. For more | ||
112 | + information, see http://www.oasis-open.org/. | ||
113 | + --> | ||
114 | + | ||
115 | +<!-- This is the catalog data file for DocBook V4.1.2. It is provided as | ||
116 | + a convenience in building your own catalog files. You need not use | ||
117 | + the filenames listed here, and need not use the filename method of | ||
118 | + identifying storage objects at all. See the documentation for | ||
119 | + detailed information on the files associated with the DocBook DTD. | ||
120 | + See XML Catalogs at http://www.oasis-open.org/committees/entity/ for | ||
121 | + detailed information on supplying and using catalog data. | ||
122 | + --> | ||
123 | + | ||
124 | +<!-- ...................................................................... --> | ||
125 | +<!-- DocBook driver file .................................................. --> | ||
126 | + | ||
127 | +<public publicId="-//OASIS//DTD DocBook XML V4.1.2//EN" | ||
128 | + uri="docbookx.dtd"/> | ||
129 | + | ||
130 | +<system systemId="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" | ||
131 | + uri="docbookx.dtd"/> | ||
132 | + | ||
133 | +<system systemId="http://docbook.org/xml/4.1.2/docbookx.dtd" | ||
134 | + uri="docbookx.dtd"/> | ||
135 | + | ||
136 | +<!-- ...................................................................... --> | ||
137 | +<!-- DocBook modules ...................................................... --> | ||
138 | + | ||
139 | +<public publicId="-//OASIS//DTD DocBook CALS Table Model V4.1.2//EN" | ||
140 | + uri="calstblx.dtd"/> | ||
141 | + | ||
142 | + <!-- already included in docbook 4.2 | ||
143 | +<public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN" | ||
144 | + uri="soextblx.dtd"/> --> | ||
145 | + | ||
146 | +<public publicId="-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" | ||
147 | + uri="dbpoolx.mod"/> | ||
148 | + | ||
149 | +<public publicId="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1.2//EN" | ||
150 | + uri="dbhierx.mod"/> | ||
151 | + | ||
152 | +<public publicId="-//OASIS//ENTITIES DocBook Additional General Entities V4.1.2//EN" | ||
153 | + uri="dbgenent.mod"/> | ||
154 | + | ||
155 | +<public publicId="-//OASIS//ENTITIES DocBook Notations V4.1.2//EN" | ||
156 | + uri="dbnotnx.mod"/> | ||
157 | + | ||
158 | +<public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.1.2//EN" | ||
159 | + uri="dbcentx.mod"/> | ||
160 | + | ||
161 | + | ||
162 | +<!-- End of catalog data for DocBook XML V4.1.2 ............................. --> | ||
163 | +<!-- ...................................................................... --> | ||
164 | + | ||
165 | +</catalog> | ||
166 | diff --git a/docbook-4.2/catalog.xml b/docbook-4.2/catalog.xml | ||
167 | --- a/docbook-4.2/catalog.xml | ||
168 | +++ b/docbook-4.2/catalog.xml | ||
169 | @@ -1,4 +1,7 @@ | ||
170 | <?xml version='1.0'?> | ||
171 | +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" | ||
172 | + "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> | ||
173 | + | ||
174 | <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> | ||
175 | |||
176 | <!-- ...................................................................... --> | ||
177 | @@ -25,6 +28,12 @@ | ||
178 | <public publicId="-//OASIS//DTD DocBook XML V4.2//EN" | ||
179 | uri="docbookx.dtd"/> | ||
180 | |||
181 | +<system systemId="http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" | ||
182 | + uri="docbookx.dtd"/> | ||
183 | + | ||
184 | +<system systemId="http://docbook.org/xml/4.2/docbookx.dtd" | ||
185 | + uri="docbookx.dtd"/> | ||
186 | + | ||
187 | <!-- ...................................................................... --> | ||
188 | <!-- DocBook modules ...................................................... --> | ||
189 | |||
190 | @@ -49,66 +58,6 @@ | ||
191 | <public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" | ||
192 | uri="dbcentx.mod"/> | ||
193 | |||
194 | -<!-- ...................................................................... --> | ||
195 | -<!-- ISO entity sets ...................................................... --> | ||
196 | - | ||
197 | -<public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" | ||
198 | - uri="ent/iso-dia.ent"/> | ||
199 | - | ||
200 | -<public publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" | ||
201 | - uri="ent/iso-num.ent"/> | ||
202 | - | ||
203 | -<public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML" | ||
204 | - uri="ent/iso-pub.ent"/> | ||
205 | - | ||
206 | -<public publicId="ISO 8879:1986//ENTITIES General Technical//EN//XML" | ||
207 | - uri="ent/iso-tech.ent"/> | ||
208 | - | ||
209 | -<public publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" | ||
210 | - uri="ent/iso-lat1.ent"/> | ||
211 | - | ||
212 | -<public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" | ||
213 | - uri="ent/iso-lat2.ent"/> | ||
214 | - | ||
215 | -<public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML" | ||
216 | - uri="ent/iso-grk1.ent"/> | ||
217 | - | ||
218 | -<public publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" | ||
219 | - uri="ent/iso-grk2.ent"/> | ||
220 | - | ||
221 | -<public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" | ||
222 | - uri="ent/iso-grk3.ent"/> | ||
223 | - | ||
224 | -<public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" | ||
225 | - uri="ent/iso-grk4.ent"/> | ||
226 | - | ||
227 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" | ||
228 | - uri="ent/iso-amsa.ent"/> | ||
229 | - | ||
230 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" | ||
231 | - uri="ent/iso-amsb.ent"/> | ||
232 | - | ||
233 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" | ||
234 | - uri="ent/iso-amsc.ent"/> | ||
235 | - | ||
236 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" | ||
237 | - uri="ent/iso-amsn.ent"/> | ||
238 | - | ||
239 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" | ||
240 | - uri="ent/iso-amso.ent"/> | ||
241 | - | ||
242 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" | ||
243 | - uri="ent/iso-amsr.ent"/> | ||
244 | - | ||
245 | -<public publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" | ||
246 | - uri="ent/iso-box.ent"/> | ||
247 | - | ||
248 | -<public publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" | ||
249 | - uri="ent/iso-cyr1.ent"/> | ||
250 | - | ||
251 | -<public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" | ||
252 | - uri="ent/iso-cyr2.ent"/> | ||
253 | - | ||
254 | <!-- End of catalog data for DocBook XML V4.2 ............................. --> | ||
255 | <!-- ...................................................................... --> | ||
256 | |||
257 | diff --git a/docbook-4.3/catalog.xml b/docbook-4.3/catalog.xml | ||
258 | --- a/docbook-4.3/catalog.xml | ||
259 | +++ b/docbook-4.3/catalog.xml | ||
260 | @@ -1,4 +1,7 @@ | ||
261 | <?xml version='1.0'?> | ||
262 | +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" | ||
263 | + "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> | ||
264 | + | ||
265 | <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> | ||
266 | |||
267 | <!-- ...................................................................... --> | ||
268 | @@ -25,12 +28,21 @@ | ||
269 | <public publicId="-//OASIS//DTD DocBook XML V4.3//EN" | ||
270 | uri="docbookx.dtd"/> | ||
271 | |||
272 | +<system systemId="http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" | ||
273 | + uri="docbookx.dtd"/> | ||
274 | + | ||
275 | +<system systemId="http://docbook.org/xml/4.3/docbookx.dtd" | ||
276 | + uri="docbookx.dtd"/> | ||
277 | + | ||
278 | <!-- ...................................................................... --> | ||
279 | <!-- DocBook modules ...................................................... --> | ||
280 | |||
281 | <public publicId="-//OASIS//DTD DocBook CALS Table Model V4.3//EN" | ||
282 | uri="calstblx.dtd"/> | ||
283 | |||
284 | +<public publicId="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN" | ||
285 | + uri="htmltblx.mod"/> | ||
286 | + | ||
287 | <public publicId="-//OASIS//DTD XML Exchange Table Model 19990315//EN" | ||
288 | uri="soextblx.dtd"/> | ||
289 | |||
290 | @@ -49,66 +61,6 @@ | ||
291 | <public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" | ||
292 | uri="dbcentx.mod"/> | ||
293 | |||
294 | -<!-- ...................................................................... --> | ||
295 | -<!-- ISO entity sets ...................................................... --> | ||
296 | - | ||
297 | -<public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" | ||
298 | - uri="ent/iso-dia.ent"/> | ||
299 | - | ||
300 | -<public publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" | ||
301 | - uri="ent/iso-num.ent"/> | ||
302 | - | ||
303 | -<public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML" | ||
304 | - uri="ent/iso-pub.ent"/> | ||
305 | - | ||
306 | -<public publicId="ISO 8879:1986//ENTITIES General Technical//EN//XML" | ||
307 | - uri="ent/iso-tech.ent"/> | ||
308 | - | ||
309 | -<public publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" | ||
310 | - uri="ent/iso-lat1.ent"/> | ||
311 | - | ||
312 | -<public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" | ||
313 | - uri="ent/iso-lat2.ent"/> | ||
314 | - | ||
315 | -<public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML" | ||
316 | - uri="ent/iso-grk1.ent"/> | ||
317 | - | ||
318 | -<public publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" | ||
319 | - uri="ent/iso-grk2.ent"/> | ||
320 | - | ||
321 | -<public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" | ||
322 | - uri="ent/iso-grk3.ent"/> | ||
323 | - | ||
324 | -<public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" | ||
325 | - uri="ent/iso-grk4.ent"/> | ||
326 | - | ||
327 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" | ||
328 | - uri="ent/iso-amsa.ent"/> | ||
329 | - | ||
330 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" | ||
331 | - uri="ent/iso-amsb.ent"/> | ||
332 | - | ||
333 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" | ||
334 | - uri="ent/iso-amsc.ent"/> | ||
335 | - | ||
336 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" | ||
337 | - uri="ent/iso-amsn.ent"/> | ||
338 | - | ||
339 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" | ||
340 | - uri="ent/iso-amso.ent"/> | ||
341 | - | ||
342 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" | ||
343 | - uri="ent/iso-amsr.ent"/> | ||
344 | - | ||
345 | -<public publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" | ||
346 | - uri="ent/iso-box.ent"/> | ||
347 | - | ||
348 | -<public publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" | ||
349 | - uri="ent/iso-cyr1.ent"/> | ||
350 | - | ||
351 | -<public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" | ||
352 | - uri="ent/iso-cyr2.ent"/> | ||
353 | - | ||
354 | <!-- End of catalog data for DocBook XML V4.3 ............................. --> | ||
355 | <!-- ...................................................................... --> | ||
356 | |||
357 | diff --git a/docbook-4.4/catalog.xml b/docbook-4.4/catalog.xml | ||
358 | --- a/docbook-4.4/catalog.xml | ||
359 | +++ b/docbook-4.4/catalog.xml | ||
360 | @@ -1,4 +1,7 @@ | ||
361 | <?xml version='1.0'?> | ||
362 | +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" | ||
363 | + "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> | ||
364 | + | ||
365 | <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public"> | ||
366 | |||
367 | <!-- ...................................................................... --> | ||
368 | @@ -58,66 +61,6 @@ | ||
369 | <public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" | ||
370 | uri="dbcentx.mod"/> | ||
371 | |||
372 | -<!-- ...................................................................... --> | ||
373 | -<!-- ISO entity sets ...................................................... --> | ||
374 | - | ||
375 | -<public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" | ||
376 | - uri="ent/isodia.ent"/> | ||
377 | - | ||
378 | -<public publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" | ||
379 | - uri="ent/isonum.ent"/> | ||
380 | - | ||
381 | -<public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML" | ||
382 | - uri="ent/isopub.ent"/> | ||
383 | - | ||
384 | -<public publicId="ISO 8879:1986//ENTITIES General Technical//EN//XML" | ||
385 | - uri="ent/isotech.ent"/> | ||
386 | - | ||
387 | -<public publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" | ||
388 | - uri="ent/isolat1.ent"/> | ||
389 | - | ||
390 | -<public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" | ||
391 | - uri="ent/isolat2.ent"/> | ||
392 | - | ||
393 | -<public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML" | ||
394 | - uri="ent/isogrk1.ent"/> | ||
395 | - | ||
396 | -<public publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" | ||
397 | - uri="ent/isogrk2.ent"/> | ||
398 | - | ||
399 | -<public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" | ||
400 | - uri="ent/isogrk3.ent"/> | ||
401 | - | ||
402 | -<public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" | ||
403 | - uri="ent/isogrk4.ent"/> | ||
404 | - | ||
405 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" | ||
406 | - uri="ent/isoamsa.ent"/> | ||
407 | - | ||
408 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" | ||
409 | - uri="ent/isoamsb.ent"/> | ||
410 | - | ||
411 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" | ||
412 | - uri="ent/isoamsc.ent"/> | ||
413 | - | ||
414 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" | ||
415 | - uri="ent/isoamsn.ent"/> | ||
416 | - | ||
417 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" | ||
418 | - uri="ent/isoamso.ent"/> | ||
419 | - | ||
420 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" | ||
421 | - uri="ent/isoamsr.ent"/> | ||
422 | - | ||
423 | -<public publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" | ||
424 | - uri="ent/isobox.ent"/> | ||
425 | - | ||
426 | -<public publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" | ||
427 | - uri="ent/isocyr1.ent"/> | ||
428 | - | ||
429 | -<public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" | ||
430 | - uri="ent/isocyr2.ent"/> | ||
431 | - | ||
432 | <!-- End of catalog data for DocBook XML V4.4 ............................. --> | ||
433 | <!-- ...................................................................... --> | ||
434 | |||
435 | diff --git a/docbook-4.5/catalog.xml b/docbook-4.5/catalog.xml | ||
436 | --- a/docbook-4.5/catalog.xml | ||
437 | +++ b/docbook-4.5/catalog.xml | ||
438 | @@ -1,4 +1,7 @@ | ||
439 | <?xml version='1.0'?> | ||
440 | +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" | ||
441 | + "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> | ||
442 | + | ||
443 | <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public"> | ||
444 | |||
445 | <!-- ...................................................................... --> | ||
446 | @@ -58,66 +61,6 @@ | ||
447 | <public publicId="-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" | ||
448 | uri="dbcentx.mod"/> | ||
449 | |||
450 | -<!-- ...................................................................... --> | ||
451 | -<!-- ISO entity sets ...................................................... --> | ||
452 | - | ||
453 | -<public publicId="ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" | ||
454 | - uri="ent/isodia.ent"/> | ||
455 | - | ||
456 | -<public publicId="ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" | ||
457 | - uri="ent/isonum.ent"/> | ||
458 | - | ||
459 | -<public publicId="ISO 8879:1986//ENTITIES Publishing//EN//XML" | ||
460 | - uri="ent/isopub.ent"/> | ||
461 | - | ||
462 | -<public publicId="ISO 8879:1986//ENTITIES General Technical//EN//XML" | ||
463 | - uri="ent/isotech.ent"/> | ||
464 | - | ||
465 | -<public publicId="ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" | ||
466 | - uri="ent/isolat1.ent"/> | ||
467 | - | ||
468 | -<public publicId="ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" | ||
469 | - uri="ent/isolat2.ent"/> | ||
470 | - | ||
471 | -<public publicId="ISO 8879:1986//ENTITIES Greek Letters//EN//XML" | ||
472 | - uri="ent/isogrk1.ent"/> | ||
473 | - | ||
474 | -<public publicId="ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" | ||
475 | - uri="ent/isogrk2.ent"/> | ||
476 | - | ||
477 | -<public publicId="ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" | ||
478 | - uri="ent/isogrk3.ent"/> | ||
479 | - | ||
480 | -<public publicId="ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" | ||
481 | - uri="ent/isogrk4.ent"/> | ||
482 | - | ||
483 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" | ||
484 | - uri="ent/isoamsa.ent"/> | ||
485 | - | ||
486 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" | ||
487 | - uri="ent/isoamsb.ent"/> | ||
488 | - | ||
489 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" | ||
490 | - uri="ent/isoamsc.ent"/> | ||
491 | - | ||
492 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" | ||
493 | - uri="ent/isoamsn.ent"/> | ||
494 | - | ||
495 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" | ||
496 | - uri="ent/isoamso.ent"/> | ||
497 | - | ||
498 | -<public publicId="ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" | ||
499 | - uri="ent/isoamsr.ent"/> | ||
500 | - | ||
501 | -<public publicId="ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" | ||
502 | - uri="ent/isobox.ent"/> | ||
503 | - | ||
504 | -<public publicId="ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" | ||
505 | - uri="ent/isocyr1.ent"/> | ||
506 | - | ||
507 | -<public publicId="ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" | ||
508 | - uri="ent/isocyr2.ent"/> | ||
509 | - | ||
510 | <!-- End of catalog data for DocBook XML V4.5 ............................. --> | ||
511 | <!-- ...................................................................... --> | ||
512 | |||
513 | -- | ||
514 | 1.8.1.2 | ||
515 | |||
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml.xml b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml.xml new file mode 100644 index 0000000000..b71f559ef5 --- /dev/null +++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml.xml | |||
@@ -0,0 +1,68 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> | ||
3 | <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> | ||
4 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/> | ||
5 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/> | ||
6 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/> | ||
7 | <delegatePublic publicIdStartString="-//Norman Walsh//ELEMENTS DocBook XML Information Pool V4.0//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.0/catalog.xml"/> | ||
8 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/> | ||
9 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/> | ||
10 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/> | ||
11 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
12 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/> | ||
13 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/> | ||
14 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/catalog.xml"/> | ||
15 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.1//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/catalog.xml"/> | ||
16 | <delegatePublic publicIdStartString="-//Norman Walsh//ENTITIES DocBook XML Notations V4.0//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.0/catalog.xml"/> | ||
17 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
18 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/> | ||
19 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/> | ||
20 | <delegatePublic publicIdStartString="-//Norman Walsh//DTD CALS Table Model XML V4.0//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.0/catalog.xml"/> | ||
21 | <delegatePublic publicIdStartString="-//Norman Walsh//ENTITIES DocBook XML Character Entities V4.0//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.0/catalog.xml"/> | ||
22 | <delegatePublic publicIdStartString="-//Norman Walsh//ELEMENTS DocBook XML Document Hierarchy V4.0//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.0/catalog.xml"/> | ||
23 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/> | ||
24 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/> | ||
25 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/> | ||
26 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/> | ||
27 | <delegatePublic publicIdStartString="-//Normal Walsh//Exchange Table Model 19960430 XML V4.0//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.0/catalog.xml"/> | ||
28 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/> | ||
29 | <delegateSystem systemIdStartString="http://docbook.org/xml/4.4/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/> | ||
30 | <delegateSystem systemIdStartString="http://docbook.org/xml/4.1/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/catalog.xml"/> | ||
31 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
32 | <delegatePublic publicIdStartString="-//Norman Walsh//DTD DocBk XML V4.0//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.0/catalog.xml"/> | ||
33 | <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/> | ||
34 | <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
35 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
36 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/> | ||
37 | <delegatePublic publicIdStartString="-//Norman Walsh//DTD DocBook XML V4.0//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.0/catalog.xml"/> | ||
38 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/> | ||
39 | <delegateSystem systemIdStartString="http://docbook.org/xml/4.1.2/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/> | ||
40 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
41 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/> | ||
42 | <delegateSystem systemIdStartString="http://docbook.org/xml/4.5/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
43 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/> | ||
44 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/> | ||
45 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
46 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/> | ||
47 | <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/> | ||
48 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
49 | <delegatePublic publicIdStartString="-//Norman Walsh//ENTITIES DocBook XML Additional General Entities V4.0//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.0/catalog.xml"/> | ||
50 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/> | ||
51 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/> | ||
52 | <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/> | ||
53 | <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.0/catalog.xml"/> | ||
54 | <delegateSystem systemIdStartString="http://docbook.org/xml/4.2/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/> | ||
55 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/> | ||
56 | <delegatePublic publicIdStartString="-//OASIS//DTD XML Exchange Table Model 19990315//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
57 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/> | ||
58 | <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.4/catalog.xml"/> | ||
59 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/> | ||
60 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.3//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/> | ||
61 | <delegateSystem systemIdStartString="http://docbook.org/xml/4.3/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/4.3/catalog.xml"/> | ||
62 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.2/catalog.xml"/> | ||
63 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook CALS Table Model V4.5//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.5/catalog.xml"/> | ||
64 | <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/catalog.xml"/> | ||
65 | <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/> | ||
66 | <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.1.2//EN" catalog="file:///usr/share/xml/docbook/schema/dtd/4.1.2/catalog.xml"/> | ||
67 | <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" catalog="file:///usr/share/xml/docbook/schema/dtd/catalog.xml"/> | ||
68 | </catalog> | ||
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb new file mode 100644 index 0000000000..de1bc39704 --- /dev/null +++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb | |||
@@ -0,0 +1,64 @@ | |||
1 | SUMMARY = "Document type definitions for verification of XML data files" | ||
2 | DESCRIPTION = "Document type definitions for verification of XML data \ | ||
3 | files against the DocBook rule set, it ships with the latest DocBook 4.5 \ | ||
4 | XML DTD, as well as a selected set of legacy DTDs for use with older \ | ||
5 | documents, including 4.0, 4.1.2, 4.2, 4.3 and 4.4" | ||
6 | HOMEPAGE = "http://www.docbook.org/xml/" | ||
7 | |||
8 | LICENSE = "OASIS" | ||
9 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e" | ||
10 | |||
11 | # Note: the upstream sources are not distributed with a license file. | ||
12 | # LICENSE-OASIS is included as a "patch" to workaround this. When | ||
13 | # upgrading this recipe, please verify whether this is still needed. | ||
14 | SRC_URI = "${DEBIAN_MIRROR}/main/d/docbook-xml/docbook-xml_${PV}.orig.tar.gz \ | ||
15 | file://LICENSE-OASIS \ | ||
16 | file://docbook-xml-update-catalog.xml.patch \ | ||
17 | file://docbook-xml.xml \ | ||
18 | " | ||
19 | |||
20 | SRC_URI[md5sum] = "487b4d44e15cffb1f4048af23f98208e" | ||
21 | SRC_URI[sha256sum] = "b0f8edcf697f5318e63dd98c9a931f3fee167af0805ba441db372e0f17b2a44f" | ||
22 | |||
23 | S="${WORKDIR}/docbook-xml-4.5.c31424" | ||
24 | |||
25 | inherit allarch | ||
26 | BBCLASSEXTEND = "native" | ||
27 | |||
28 | SSTATEPOSTINSTFUNCS_append_class-native = " docbook_xml_dtd_sstate_postinst" | ||
29 | SYSROOT_PREPROCESS_FUNCS_append_class-native = " docbook_xml_dtd_sysroot_preprocess" | ||
30 | |||
31 | do_configre (){ | ||
32 | : | ||
33 | } | ||
34 | |||
35 | do_compile (){ | ||
36 | : | ||
37 | } | ||
38 | |||
39 | do_install () { | ||
40 | # Refer debian https://packages.debian.org/sid/all/docbook-xml/filelist | ||
41 | for DTDVERSION in 4.0 4.1.2 4.2 4.3 4.4 4.5; do | ||
42 | install -d -m 755 ${D}${datadir}/xml/docbook/schema/dtd/${DTDVERSION} | ||
43 | cp -v -R docbook-${DTDVERSION}/* ${D}${datadir}/xml/docbook/schema/dtd/${DTDVERSION} | ||
44 | done | ||
45 | |||
46 | install -d ${D}${sysconfdir}/xml/ | ||
47 | install -m 755 ${WORKDIR}/docbook-xml.xml ${D}${sysconfdir}/xml/docbook-xml.xml | ||
48 | } | ||
49 | |||
50 | docbook_xml_dtd_sstate_postinst () { | ||
51 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] | ||
52 | then | ||
53 | # Ensure that the catalog file sgml-docbook.cat is properly | ||
54 | # updated when the package is installed from sstate cache. | ||
55 | sed -i -e "s|file://.*/usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xml.xml | ||
56 | fi | ||
57 | } | ||
58 | |||
59 | docbook_xml_dtd_sysroot_preprocess () { | ||
60 | # Update the hardcode dir in docbook-xml.xml | ||
61 | sed -i -e "s|file:///usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xml.xml | ||
62 | } | ||
63 | |||
64 | FILES_${PN} = "${datadir}/* ${sysconfdir}/xml/docbook-xml.xml" | ||