File: xmlada-split.diff

package info (click to toggle)
asis 2018-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 13,528 kB
  • sloc: ada: 155,205; makefile: 297; sh: 67; xml: 48; csh: 10
file content (50 lines) | stat: -rw-r--r-- 1,467 bytes parent folder | download | duplicates (2)
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
Description: only import used xmlada sublibraries in gnat2xml projects
 Using the compatibility xmlada.gpr would imply an unneeded dependency
 on libxmlada-schema-dev.
Author: Nicolas Boulenguez <nicolas@debian.org>

--- a/tools/gnat2xml/boot.gpr
+++ b/tools/gnat2xml/boot.gpr
@@ -1,6 +1,8 @@
 --  Project file used by Makefile to build the stage 2 version
 
-with "xmlada.gpr";
+with "xmlada_input";
+with "xmlada_sax";
+with "xmlada_dom";
 with "../../../../../asis.gpr";
 --  This gets copied into .../ASIS/tools/gnat2xml/stage/1/generated_ada,
 --  and we're referring to .../ASIS/asis.gpr.
--- a/tools/gnat2xml/gnat2xml.gpr
+++ b/tools/gnat2xml/gnat2xml.gpr
@@ -22,7 +22,9 @@
 --                                                                          --
 ------------------------------------------------------------------------------
 
-with "xmlada";
+with "xmlada_input";
+with "xmlada_sax";
+with "xmlada_dom";
 with "../../asis";
 with "../../common";
 
--- a/tools/gnat2xml/self_rep.gpr
+++ b/tools/gnat2xml/self_rep.gpr
@@ -1,4 +1,6 @@
-with "xmlada";
+with "xmlada_input";
+with "xmlada_sax";
+with "xmlada_dom";
 with "../../asis";
 with "../../common";
 
--- a/tools/gnat2xml/tokens.gpr
+++ b/tools/gnat2xml/tokens.gpr
@@ -1,4 +1,6 @@
-with "xmlada";
+with "xmlada_input";
+with "xmlada_sax";
+with "xmlada_dom";
 with "../../../../asis";
 --  This gets copied into .../ASIS/tools/gnat2xml/stage/tokens,
 --  and we're referring to .../ASIS/asis.gpr.