Debian Codegraph @

debian/patches/unbundle-tinyxml-library.patch

raw symbols SCIP
1 Fromscip-debian debian opencity 0.0.6.5stable-6 opencity/patches/`unbundle-tinyxml-library.patch`#From.: Markus Koschany <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian opencity 0.0.6.5stable-6 opencity/patches/`unbundle-tinyxml-library.patch`#Date.: Wed, 25 Mar 2015 11:17:50 +0100
3 Subjectscip-debian debian opencity 0.0.6.5stable-6 opencity/patches/`unbundle-tinyxml-library.patch`#Subject.: unbundle tinyxml library
4
5 Forwarded: https://sourceforge.net/p/opencity/bugs/49/
6 ---
7 src/Makefile.am | 6 +++---
8 src/tinyxml/Makefile.am | 12 +++---------
9 src/tinyxpath/Makefile.am | 2 +-
10 src/tinyxpath/node_set.cpp | 8 ++++----
11 src/tinyxpath/xpath_processor.cpp | 10 +++++-----
12 src/tinyxpath/xpath_stream.h | 1 -
13 src/zen.cpp | 2 +-
14 viewer/Makefile.am | 4 ++--
15 8 files changed, 19 insertions(+), 26 deletions(-)
16
17 diff --git a/src/Makefile.amscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/Makefile.am`: b/src/Makefile.amscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/Makefile.am`:
18 index f4b597f..177f566 100644
19 --- a/src/Makefile.am
20 +++ b/src/Makefile.am
21 @@ -17,7 +17,7 @@ AM_CPPFLAGS = \
22 -I@top_srcdir@/src/pngfuncs \
23 -I@top_srcdir@/src/simulator \
24 -I@top_srcdir@/src/structure \
25 - -I@top_srcdir@/src/tinyxml \
26 + -ltinyxml \
27 -I@top_srcdir@/src/tinyxpath \
28 -I@top_srcdir@/src/triangulation \
29 -DDATADIR=\"@datadir@\" \
30 @@ -51,7 +51,7 @@ opencity_LDADD = \
31 pngfuncs/libpngfuncs.a \
32 simulator/libsim.a \
33 structure/libstruct.a \
34 - tinyxml/libtinyxml.a \
35 + -ltinyxml \
36 tinyxpath/libtinyxpath.a \
37 triangulation/libtriangulation.a
38
39 @@ -143,7 +143,7 @@ oczen_LDADD = \
40 pngfuncs/libpngfuncs.a \
41 simulator/libsim.a \
42 structure/libstruct.a \
43 - tinyxml/libtinyxml.a \
44 + -ltinyxml \
45 tinyxpath/libtinyxpath.a \
46 triangulation/libtriangulation.a
47
48 diff --git a/src/tinyxml/Makefile.amscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/tinyxml/Makefile.am`: b/src/tinyxml/Makefile.amscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/tinyxml/Makefile.am`:
49 index e2b13b4..645c277 100644
50 --- a/src/tinyxml/Makefile.am
51 +++ b/src/tinyxml/Makefile.am
52 @@ -1,16 +1,10 @@
53 -noinst_LIBRARIES = libtinyxml.a
54 +noinst_LIBRARIES =
55
56
57 -libtinyxml_a_SOURCES = \
58 -tinystr.cpp \
59 -tinyxml.cpp \
60 -tinyxmlerror.cpp \
61 -tinyxmlparser.cpp
62 +libtinyxml_a_SOURCES =
63
64
65 -noinst_HEADERS = \
66 -tinystr.h \
67 -tinyxml.h
68 +noinst_HEADERS =
69
70
71
72 diff --git a/src/tinyxpath/Makefile.amscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/tinyxpath/Makefile.am`: b/src/tinyxpath/Makefile.amscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/tinyxpath/Makefile.am`:
73 index 8a6a9c7..6d2cc96 100644
74 --- a/src/tinyxpath/Makefile.am
75 +++ b/src/tinyxpath/Makefile.am
76 @@ -3,7 +3,7 @@
77 # $Id: Makefile.am 427 2009-11-23 22:48:26Z neoneurone $
78 #==============================================================================
79 AM_CPPFLAGS = \
80 - -I@top_srcdir@/src/tinyxml/
81 + -ltinyxml
82
83 noinst_LIBRARIES = libtinyxpath.a
84
85 diff --git a/src/tinyxpath/node_set.cppscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/tinyxpath/node_set.cpp`: b/src/tinyxpath/node_set.cppscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/tinyxpath/node_set.cpp`:
86 index cc154d7..514caca 100644
87 --- a/src/tinyxpath/node_set.cpp
88 +++ b/src/tinyxpath/node_set.cpp
89 @@ -100,7 +100,7 @@ void node_set::v_copy_selected_node_recursive (
90
91 if ((! cp_lookup) || ! strcmp (XNp_root -> Value (), cp_lookup))
92 v_add_node_in_set (XNp_root);
93 - if (XNp_root -> Type () == TiXmlNode::ELEMENT)
94 + if (XNp_root -> Type () == TiXmlNode::TINYXML_ELEMENT)
95 {
96 XAp_attrib = XNp_root -> ToElement () -> FirstAttribute ();
97 while (XAp_attrib)
98 @@ -147,7 +147,7 @@ TIXML_STRING node_set::S_get_string_value () const
99 if (! op_attrib [u_node])
100 {
101 XNp_node = (const TiXmlNode *) vpp_node_set [u_node];
102 - if (XNp_node -> Type () == TiXmlNode::TEXT)
103 + if (XNp_node -> Type () == TiXmlNode::TINYXML_TEXT)
104 S_res += XNp_node -> Value ();
105 }
106 }
107 @@ -216,7 +216,7 @@ void node_set::v_add_all_foll_node (
108 XNp_ptr = XNp_ptr -> NextSiblingElement ();
109 }
110 XNp_ptr = XNp_node -> Parent ();
111 - if (XNp_ptr && XNp_ptr -> Type () == TiXmlNode::ELEMENT)
112 + if (XNp_ptr && XNp_ptr -> Type () == TiXmlNode::TINYXML_ELEMENT)
113 v_add_all_foll_node (XNp_ptr, S_name);
114 }
115
116 @@ -239,7 +239,7 @@ void node_set::v_add_all_prec_node (
117 XNp_ptr = XNp_node -> PreviousSibling ();
118 while (XNp_ptr)
119 {
120 - if (XNp_ptr -> Type () == TiXmlNode::ELEMENT)
121 + if (XNp_ptr -> Type () == TiXmlNode::TINYXML_ELEMENT)
122 {
123 v_add_node_in_set_if_name_or_star (XNp_ptr, S_name);
124 v_copy_node_children (XNp_ptr, cp_lookup);
125 diff --git a/src/tinyxpath/xpath_processor.cppscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/tinyxpath/xpath_processor.cpp`: b/src/tinyxpath/xpath_processor.cppscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/tinyxpath/xpath_processor.cpp`:
126 index c559c55..e8fa31f 100644
127 --- a/src/tinyxpath/xpath_processor.cpp
128 +++ b/src/tinyxpath/xpath_processor.cpp
129 @@ -49,7 +49,7 @@ public :
130 class TiXmlNodeManip : public TiXmlNode
131 {
132 public :
133 - TiXmlNodeManip () : TiXmlNode (TiXmlNode::UNKNOWN) {}
134 + TiXmlNodeManip () : TiXmlNode (TiXmlNode::TINYXML_UNKNOWN) {}
135 void v_reset (const TiXmlNode * XNp_parent, const TiXmlNode * XNp_next, const TiXmlNode * XNp_prev)
136 {
137 parent = (TiXmlNode *) XNp_parent;
138 @@ -1196,7 +1196,7 @@ void xpath_processor ::v_execute_step (
139 XNp_next = XEp_father -> PreviousSibling ();
140 while (XNp_next)
141 {
142 - if (XNp_next -> Type () == TiXmlNode::ELEMENT)
143 + if (XNp_next -> Type () == TiXmlNode::TINYXML_ELEMENT)
144 ns_target . v_add_node_in_set_if_name_or_star (XNp_next, S_name);
145 XNp_next = XNp_next -> PreviousSibling ();
146 }
147 @@ -1229,7 +1229,7 @@ void xpath_processor ::v_execute_step (
148 XNp_next = XEp_father -> FirstChild ();
149 while (XNp_next)
150 {
151 - if (XNp_next -> Type () == TiXmlNode::COMMENT)
152 + if (XNp_next -> Type () == TiXmlNode::TINYXML_COMMENT)
153 ns_target . v_add_node_in_set (XNp_next);
154 XNp_next = XNp_next -> NextSibling ();
155 }
156 @@ -1238,7 +1238,7 @@ void xpath_processor ::v_execute_step (
157 XNp_next = XEp_father -> FirstChild ();
158 while (XNp_next)
159 {
160 - if (XNp_next -> Type () == TiXmlNode::TEXT)
161 + if (XNp_next -> Type () == TiXmlNode::TINYXML_TEXT)
162 ns_target . v_add_node_in_set (XNp_next);
163 XNp_next = XNp_next -> NextSibling ();
164 }
165 @@ -1728,7 +1728,7 @@ void xpath_processor::v_function_text (
166 XNp_child = XEp_context -> FirstChild ();
167 while (XNp_child)
168 {
169 - if (XNp_child -> Type () == TiXmlNode::TEXT)
170 + if (XNp_child -> Type () == TiXmlNode::TINYXML_TEXT)
171 S_res += XNp_child -> Value ();
172 XNp_child = XNp_child -> NextSibling ();
173 }
174 diff --git a/src/tinyxpath/xpath_stream.hscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/tinyxpath/xpath_stream.h`: b/src/tinyxpath/xpath_stream.hscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/tinyxpath/xpath_stream.h`:
175 index 46fb376..7fd10ef 100644
176 --- a/src/tinyxpath/xpath_stream.h
177 +++ b/src/tinyxpath/xpath_stream.h
178 @@ -34,7 +34,6 @@ distribution.
179 #include "byte_stream.h"
180 #include "xpath_syntax.h"
181 #include "tinyxml.h"
182 -#include "tinystr.h"
183
184 namespace TinyXPath
185 {
186 diff --git a/src/zen.cppscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/zen.cpp`: b/src/zen.cppscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`src/zen.cpp`:
187 index 8dfe42d..b0a26a2 100644
188 --- a/src/zen.cpp
189 +++ b/src/zen.cpp
190 @@ -37,7 +37,7 @@ extern GlobalVar gVars;
191 // Libraries headers
192 #include "SDL_image.h"
193 #include "binreloc.h" // BinReloc routines from AutoPackage
194 -#include "tinyxml/tinyxml.h"
195 +#include "tinyxml.h"
196 #include "SimpleOpt.h" // Simple command line argument parser
197
198 // Standard headers
199 diff --git a/viewer/Makefile.amscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`viewer/Makefile.am`: b/viewer/Makefile.amscip-debian debian opencity 0.0.6.5stable-6 opencity/upstream/`viewer/Makefile.am`:
200 index 08dcecc..5e4f463 100644
201 --- a/viewer/Makefile.am
202 +++ b/viewer/Makefile.am
203 @@ -10,7 +10,7 @@ AM_CPPFLAGS = \
204 -I@top_srcdir@/src/networking \
205 -I@top_srcdir@/src/pngfuncs \
206 -I@top_srcdir@/src/structure \
207 - -I@top_srcdir@/src/tinyxml \
208 + -ltinyxml \
209 -I@top_srcdir@/src/tinyxpath
210
211 noinst_PROGRAMS = viewer
212 @@ -20,7 +20,7 @@ viewer_LDADD = \
213 ../src/pngfuncs/libpngfuncs.a \
214 ../src/structure/libstruct.a \
215 ../src/triangulation/libtriangulation.a \
216 - ../src/tinyxml/libtinyxml.a \
217 + -ltinyxml \
218 ../src/tinyxpath/libtinyxpath.a
219
220