1 |
commit: 18ffb4c645a3f7067a452ee8a01ad55ea032724a |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 16 01:41:50 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 16 12:36:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ffb4c6 |
7 |
|
8 |
dev-libs/sdformat: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
dev-libs/sdformat/Manifest | 2 - |
14 |
dev-libs/sdformat/files/urdfdom1.patch | 392 -------------------------------- |
15 |
dev-libs/sdformat/sdformat-5.2.0.ebuild | 39 ---- |
16 |
dev-libs/sdformat/sdformat-5.3.0.ebuild | 39 ---- |
17 |
4 files changed, 472 deletions(-) |
18 |
|
19 |
diff --git a/dev-libs/sdformat/Manifest b/dev-libs/sdformat/Manifest |
20 |
index 19c8b11c3d1..dab850325c6 100644 |
21 |
--- a/dev-libs/sdformat/Manifest |
22 |
+++ b/dev-libs/sdformat/Manifest |
23 |
@@ -1,4 +1,2 @@ |
24 |
-DIST sdformat-5.2.0.tar.bz2 445542 BLAKE2B 89daf9e03613bd88aceb1a2034cf0f9efe7b28ffb7aef8add4fc484a6e78d7189b4b6183fca83db4bb8017a4901d2fb3df7dc43e995bf2da8bb0fcde9510c6c9 SHA512 65df9f0d351ab894af41cc2081dc8ab179336092ceba17979720bed4d58f77e9648863501d83f073ea8478197e7e0a7d7a9f8efd3a54d22ee28d74765cebcee7 |
25 |
-DIST sdformat-5.3.0.tar.bz2 447471 BLAKE2B 9b511782f5d2517778fc0c977d1deab00ee7789f50628546b5ca8c1f464cc3ca132b83e1054867ec1d6678bca664232e1d9a499ff095d4f9a623f5061fc340c1 SHA512 63106bc438decb00157eca5fd3f7f783197a1f17a76008bee5d18d5c146f199e67852ef74cbbc53918760a0cdf382628ea84d2b4618512738cd574de1fc719d8 |
26 |
DIST sdformat-6.0.0.tar.bz2 473765 BLAKE2B af3ed14323c2bed8ee5a22580dcb6d73a5e5c772f39ad7f806bf2cdb88d6f2c885585f36a666f2ec711dbd7ad6051ba69d79d2a9f0af7ad3b3681543b9feafe7 SHA512 2188de97cb1eb1117a694d54a0a42112bd7e5b5a4b00c04e049de73a10947904940565e36df93ca08ea5910e628983e234d07c57694c463e0794c48e20cedb21 |
27 |
DIST sdformat-6.1.0.tar.bz2 465231 BLAKE2B 5b12c4974662245ecb01e342632e274b58512dd2c223dfbf8e1ef9bb2ba267f16bc130b62367b09a9cac9e2ccbd2829439d055f2fa062f34df9f4a6ceb1a571e SHA512 6c5a03e877cba3b734f1cb132582274249bd0cb3a8d463be9077519d8ad126bb15650947b5455b3cdd1abea727918b21369b40a12de4fc5d6806880fd8686b97 |
28 |
|
29 |
diff --git a/dev-libs/sdformat/files/urdfdom1.patch b/dev-libs/sdformat/files/urdfdom1.patch |
30 |
deleted file mode 100644 |
31 |
index d76376aec01..00000000000 |
32 |
--- a/dev-libs/sdformat/files/urdfdom1.patch |
33 |
+++ /dev/null |
34 |
@@ -1,392 +0,0 @@ |
35 |
-Index: sdformat-4.1.1/src/parser_urdf.cc |
36 |
-=================================================================== |
37 |
---- sdformat-4.1.1.orig/src/parser_urdf.cc |
38 |
-+++ sdformat-4.1.1/src/parser_urdf.cc |
39 |
-@@ -25,6 +25,7 @@ |
40 |
- #include "urdf_model/model.h" |
41 |
- #include "urdf_model/link.h" |
42 |
- #include "urdf_parser/urdf_parser.h" |
43 |
-+#include <urdf_model/utils.h> |
44 |
- |
45 |
- #include "sdf/SDFExtension.hh" |
46 |
- #include "sdf/parser_urdf.hh" |
47 |
-@@ -32,10 +33,10 @@ |
48 |
- |
49 |
- using namespace sdf; |
50 |
- |
51 |
--typedef boost::shared_ptr<urdf::Collision> UrdfCollisionPtr; |
52 |
--typedef boost::shared_ptr<urdf::Visual> UrdfVisualPtr; |
53 |
--typedef boost::shared_ptr<urdf::Link> UrdfLinkPtr; |
54 |
--typedef boost::shared_ptr<const urdf::Link> ConstUrdfLinkPtr; |
55 |
-+typedef std::shared_ptr<urdf::Collision> UrdfCollisionPtr; |
56 |
-+typedef std::shared_ptr<urdf::Visual> UrdfVisualPtr; |
57 |
-+typedef std::shared_ptr<urdf::Link> UrdfLinkPtr; |
58 |
-+typedef std::shared_ptr<const urdf::Link> ConstUrdfLinkPtr; |
59 |
- typedef std::shared_ptr<TiXmlElement> TiXmlElementPtr; |
60 |
- typedef std::shared_ptr<SDFExtension> SDFExtensionPtr; |
61 |
- typedef std::map<std::string, std::vector<SDFExtensionPtr> > |
62 |
-@@ -78,7 +79,7 @@ void InsertSDFExtensionJoint(TiXmlElemen |
63 |
- /// reduced fixed joints: check if a fixed joint should be lumped |
64 |
- /// checking both the joint type and if disabledFixedJointLumping |
65 |
- /// option is set |
66 |
--bool FixedJointShouldBeReduced(boost::shared_ptr<urdf::Joint> _jnt); |
67 |
-+bool FixedJointShouldBeReduced(std::shared_ptr<urdf::Joint> _jnt); |
68 |
- |
69 |
- /// reduced fixed joints: apply transform reduction for ray sensors |
70 |
- /// in extensions when doing fixed joint reduction |
71 |
-@@ -217,9 +218,9 @@ std::string Values2str(unsigned int _cou |
72 |
- |
73 |
- |
74 |
- void CreateGeometry(TiXmlElement* _elem, |
75 |
-- boost::shared_ptr<urdf::Geometry> _geometry); |
76 |
-+ std::shared_ptr<urdf::Geometry> _geometry); |
77 |
- |
78 |
--std::string GetGeometryBoundingBox(boost::shared_ptr<urdf::Geometry> _geometry, |
79 |
-+std::string GetGeometryBoundingBox(std::shared_ptr<urdf::Geometry> _geometry, |
80 |
- double *_sizeVals); |
81 |
- |
82 |
- ignition::math::Pose3d inverseTransformToParentFrame( |
83 |
-@@ -254,7 +255,7 @@ urdf::Vector3 ParseVector3(const std::st |
84 |
- std::vector<std::string> pieces; |
85 |
- std::vector<double> vals; |
86 |
- |
87 |
-- boost::split(pieces, _str, boost::is_any_of(" ")); |
88 |
-+ urdf::split_string(pieces, _str, " "); |
89 |
- for (unsigned int i = 0; i < pieces.size(); ++i) |
90 |
- { |
91 |
- if (pieces[i] != "") |
92 |
-@@ -262,7 +263,7 @@ urdf::Vector3 ParseVector3(const std::st |
93 |
- try |
94 |
- { |
95 |
- vals.push_back(_scale |
96 |
-- * boost::lexical_cast<double>(pieces[i].c_str())); |
97 |
-+ * std::stod(pieces[i].c_str())); |
98 |
- } |
99 |
- catch(boost::bad_lexical_cast &) |
100 |
- { |
101 |
-@@ -349,7 +350,7 @@ void ReduceCollisionToParent(UrdfLinkPtr |
102 |
- UrdfCollisionPtr _collision) |
103 |
- { |
104 |
- #ifndef URDF_GE_0P3 |
105 |
-- boost::shared_ptr<std::vector<UrdfCollisionPtr> > cols; |
106 |
-+ std::shared_ptr<std::vector<UrdfCollisionPtr> > cols; |
107 |
- cols = _parentLink->getCollisions(_name); |
108 |
- |
109 |
- if (!cols) |
110 |
-@@ -427,7 +428,7 @@ void ReduceVisualToParent(UrdfLinkPtr _p |
111 |
- UrdfVisualPtr _visual) |
112 |
- { |
113 |
- #ifndef URDF_GE_0P3 |
114 |
-- boost::shared_ptr<std::vector<UrdfVisualPtr> > viss; |
115 |
-+ std::shared_ptr<std::vector<UrdfVisualPtr> > viss; |
116 |
- viss = _parentLink->getVisuals(_name); |
117 |
- |
118 |
- if (!viss) |
119 |
-@@ -950,7 +951,7 @@ void ReduceVisualsToParent(UrdfLinkPtr _ |
120 |
- // (original parent link name before lumping/reducing). |
121 |
- #ifndef URDF_GE_0P3 |
122 |
- for (std::map<std::string, |
123 |
-- boost::shared_ptr<std::vector<UrdfVisualPtr> > >::iterator |
124 |
-+ std::shared_ptr<std::vector<UrdfVisualPtr> > >::iterator |
125 |
- visualsIt = _link->visual_groups.begin(); |
126 |
- visualsIt != _link->visual_groups.end(); ++visualsIt) |
127 |
- { |
128 |
-@@ -1057,7 +1058,7 @@ void ReduceCollisionsToParent(UrdfLinkPt |
129 |
- // (original parent link name before lumping/reducing). |
130 |
- #ifndef URDF_GE_0P3 |
131 |
- for (std::map<std::string, |
132 |
-- boost::shared_ptr<std::vector<UrdfCollisionPtr> > >::iterator |
133 |
-+ std::shared_ptr<std::vector<UrdfCollisionPtr> > >::iterator |
134 |
- collisionsIt = _link->collision_groups.begin(); |
135 |
- collisionsIt != _link->collision_groups.end(); ++collisionsIt) |
136 |
- { |
137 |
-@@ -1160,7 +1161,7 @@ void ReduceJointsToParent(UrdfLinkPtr _l |
138 |
- // a parent link up stream that does not have a fixed parentJoint |
139 |
- for (unsigned int i = 0 ; i < _link->child_links.size() ; ++i) |
140 |
- { |
141 |
-- boost::shared_ptr<urdf::Joint> parentJoint = |
142 |
-+ std::shared_ptr<urdf::Joint> parentJoint = |
143 |
- _link->child_links[i]->parent_joint; |
144 |
- if (!FixedJointShouldBeReduced(parentJoint)) |
145 |
- { |
146 |
-@@ -1431,31 +1432,31 @@ void URDF2SDF::ParseSDFExtension(TiXmlDo |
147 |
- else if (childElem->ValueStr() == "dampingFactor") |
148 |
- { |
149 |
- sdf->isDampingFactor = true; |
150 |
-- sdf->dampingFactor = boost::lexical_cast<double>( |
151 |
-+ sdf->dampingFactor = std::stod( |
152 |
- GetKeyValueAsString(childElem).c_str()); |
153 |
- } |
154 |
- else if (childElem->ValueStr() == "maxVel") |
155 |
- { |
156 |
- sdf->isMaxVel = true; |
157 |
-- sdf->maxVel = boost::lexical_cast<double>( |
158 |
-+ sdf->maxVel = std::stod( |
159 |
- GetKeyValueAsString(childElem).c_str()); |
160 |
- } |
161 |
- else if (childElem->ValueStr() == "minDepth") |
162 |
- { |
163 |
- sdf->isMinDepth = true; |
164 |
-- sdf->minDepth = boost::lexical_cast<double>( |
165 |
-+ sdf->minDepth = std::stod( |
166 |
- GetKeyValueAsString(childElem).c_str()); |
167 |
- } |
168 |
- else if (childElem->ValueStr() == "mu1") |
169 |
- { |
170 |
- sdf->isMu1 = true; |
171 |
-- sdf->mu1 = boost::lexical_cast<double>( |
172 |
-+ sdf->mu1 = std::stod( |
173 |
- GetKeyValueAsString(childElem).c_str()); |
174 |
- } |
175 |
- else if (childElem->ValueStr() == "mu2") |
176 |
- { |
177 |
- sdf->isMu2 = true; |
178 |
-- sdf->mu2 = boost::lexical_cast<double>( |
179 |
-+ sdf->mu2 = std::stod( |
180 |
- GetKeyValueAsString(childElem).c_str()); |
181 |
- } |
182 |
- else if (childElem->ValueStr() == "fdir1") |
183 |
-@@ -1465,13 +1466,13 @@ void URDF2SDF::ParseSDFExtension(TiXmlDo |
184 |
- else if (childElem->ValueStr() == "kp") |
185 |
- { |
186 |
- sdf->isKp = true; |
187 |
-- sdf->kp = boost::lexical_cast<double>( |
188 |
-+ sdf->kp = std::stod( |
189 |
- GetKeyValueAsString(childElem).c_str()); |
190 |
- } |
191 |
- else if (childElem->ValueStr() == "kd") |
192 |
- { |
193 |
- sdf->isKd = true; |
194 |
-- sdf->kd = boost::lexical_cast<double>( |
195 |
-+ sdf->kd = std::stod( |
196 |
- GetKeyValueAsString(childElem).c_str()); |
197 |
- } |
198 |
- else if (childElem->ValueStr() == "selfCollide") |
199 |
-@@ -1488,13 +1489,13 @@ void URDF2SDF::ParseSDFExtension(TiXmlDo |
200 |
- else if (childElem->ValueStr() == "maxContacts") |
201 |
- { |
202 |
- sdf->isMaxContacts = true; |
203 |
-- sdf->maxContacts = boost::lexical_cast<int>( |
204 |
-+ sdf->maxContacts = std::stoi( |
205 |
- GetKeyValueAsString(childElem).c_str()); |
206 |
- } |
207 |
- else if (childElem->ValueStr() == "laserRetro") |
208 |
- { |
209 |
- sdf->isLaserRetro = true; |
210 |
-- sdf->laserRetro = boost::lexical_cast<double>( |
211 |
-+ sdf->laserRetro = std::stod( |
212 |
- GetKeyValueAsString(childElem).c_str()); |
213 |
- } |
214 |
- else if (childElem->ValueStr() == "springReference") |
215 |
-@@ -1510,37 +1511,37 @@ void URDF2SDF::ParseSDFExtension(TiXmlDo |
216 |
- else if (childElem->ValueStr() == "stopCfm") |
217 |
- { |
218 |
- sdf->isStopCfm = true; |
219 |
-- sdf->stopCfm = boost::lexical_cast<double>( |
220 |
-+ sdf->stopCfm = std::stod( |
221 |
- GetKeyValueAsString(childElem).c_str()); |
222 |
- } |
223 |
- else if (childElem->ValueStr() == "stopErp") |
224 |
- { |
225 |
- sdf->isStopErp = true; |
226 |
-- sdf->stopErp = boost::lexical_cast<double>( |
227 |
-+ sdf->stopErp = std::stod( |
228 |
- GetKeyValueAsString(childElem).c_str()); |
229 |
- } |
230 |
- else if (childElem->ValueStr() == "stopKp") |
231 |
- { |
232 |
- sdf->isStopKp = true; |
233 |
-- sdf->stopKp = boost::lexical_cast<double>( |
234 |
-+ sdf->stopKp = std::stod( |
235 |
- GetKeyValueAsString(childElem).c_str()); |
236 |
- } |
237 |
- else if (childElem->ValueStr() == "stopKd") |
238 |
- { |
239 |
- sdf->isStopKd = true; |
240 |
-- sdf->stopKd = boost::lexical_cast<double>( |
241 |
-+ sdf->stopKd = std::stod( |
242 |
- GetKeyValueAsString(childElem).c_str()); |
243 |
- } |
244 |
- else if (childElem->ValueStr() == "initialJointPosition") |
245 |
- { |
246 |
- sdf->isInitialJointPosition = true; |
247 |
-- sdf->initialJointPosition = boost::lexical_cast<double>( |
248 |
-+ sdf->initialJointPosition = std::stod( |
249 |
- GetKeyValueAsString(childElem).c_str()); |
250 |
- } |
251 |
- else if (childElem->ValueStr() == "fudgeFactor") |
252 |
- { |
253 |
- sdf->isFudgeFactor = true; |
254 |
-- sdf->fudgeFactor = boost::lexical_cast<double>( |
255 |
-+ sdf->fudgeFactor = std::stod( |
256 |
- GetKeyValueAsString(childElem).c_str()); |
257 |
- } |
258 |
- else if (childElem->ValueStr() == "provideFeedback") |
259 |
-@@ -1917,7 +1918,7 @@ void InsertSDFExtensionCollision(TiXmlEl |
260 |
- if ((*ge)->isMaxContacts) |
261 |
- { |
262 |
- AddKeyValue(_elem, "max_contacts", |
263 |
-- boost::lexical_cast<std::string>((*ge)->maxContacts)); |
264 |
-+ std::to_string((*ge)->maxContacts)); |
265 |
- } |
266 |
- } |
267 |
- } |
268 |
-@@ -2339,7 +2340,7 @@ void InsertSDFExtensionRobot(TiXmlElemen |
269 |
- |
270 |
- //////////////////////////////////////////////////////////////////////////////// |
271 |
- void CreateGeometry(TiXmlElement* _elem, |
272 |
-- boost::shared_ptr<urdf::Geometry> _geom) |
273 |
-+ std::shared_ptr<urdf::Geometry> _geom) |
274 |
- { |
275 |
- TiXmlElement *sdfGeometry = new TiXmlElement("geometry"); |
276 |
- |
277 |
-@@ -2351,8 +2352,8 @@ void CreateGeometry(TiXmlElement* _elem, |
278 |
- case urdf::Geometry::BOX: |
279 |
- type = "box"; |
280 |
- { |
281 |
-- boost::shared_ptr<const urdf::Box> box; |
282 |
-- box = boost::dynamic_pointer_cast< const urdf::Box >(_geom); |
283 |
-+ std::shared_ptr<const urdf::Box> box; |
284 |
-+ box = std::dynamic_pointer_cast< const urdf::Box >(_geom); |
285 |
- int sizeCount = 3; |
286 |
- double sizeVals[3]; |
287 |
- sizeVals[0] = box->dim.x; |
288 |
-@@ -2366,8 +2367,8 @@ void CreateGeometry(TiXmlElement* _elem, |
289 |
- case urdf::Geometry::CYLINDER: |
290 |
- type = "cylinder"; |
291 |
- { |
292 |
-- boost::shared_ptr<const urdf::Cylinder> cylinder; |
293 |
-- cylinder = boost::dynamic_pointer_cast<const urdf::Cylinder >(_geom); |
294 |
-+ std::shared_ptr<const urdf::Cylinder> cylinder; |
295 |
-+ cylinder = std::dynamic_pointer_cast<const urdf::Cylinder >(_geom); |
296 |
- geometryType = new TiXmlElement(type); |
297 |
- AddKeyValue(geometryType, "length", |
298 |
- Values2str(1, &cylinder->length)); |
299 |
-@@ -2378,8 +2379,8 @@ void CreateGeometry(TiXmlElement* _elem, |
300 |
- case urdf::Geometry::SPHERE: |
301 |
- type = "sphere"; |
302 |
- { |
303 |
-- boost::shared_ptr<const urdf::Sphere> sphere; |
304 |
-- sphere = boost::dynamic_pointer_cast<const urdf::Sphere >(_geom); |
305 |
-+ std::shared_ptr<const urdf::Sphere> sphere; |
306 |
-+ sphere = std::dynamic_pointer_cast<const urdf::Sphere >(_geom); |
307 |
- geometryType = new TiXmlElement(type); |
308 |
- AddKeyValue(geometryType, "radius", |
309 |
- Values2str(1, &sphere->radius)); |
310 |
-@@ -2388,8 +2389,8 @@ void CreateGeometry(TiXmlElement* _elem, |
311 |
- case urdf::Geometry::MESH: |
312 |
- type = "mesh"; |
313 |
- { |
314 |
-- boost::shared_ptr<const urdf::Mesh> mesh; |
315 |
-- mesh = boost::dynamic_pointer_cast<const urdf::Mesh >(_geom); |
316 |
-+ std::shared_ptr<const urdf::Mesh> mesh; |
317 |
-+ mesh = std::dynamic_pointer_cast<const urdf::Mesh >(_geom); |
318 |
- geometryType = new TiXmlElement(type); |
319 |
- AddKeyValue(geometryType, "scale", Vector32Str(mesh->scale)); |
320 |
- // do something more to meshes |
321 |
-@@ -2451,7 +2452,7 @@ void CreateGeometry(TiXmlElement* _elem, |
322 |
- |
323 |
- //////////////////////////////////////////////////////////////////////////////// |
324 |
- std::string GetGeometryBoundingBox( |
325 |
-- boost::shared_ptr<urdf::Geometry> _geom, double *_sizeVals) |
326 |
-+ std::shared_ptr<urdf::Geometry> _geom, double *_sizeVals) |
327 |
- { |
328 |
- std::string type; |
329 |
- |
330 |
-@@ -2460,8 +2461,8 @@ std::string GetGeometryBoundingBox( |
331 |
- case urdf::Geometry::BOX: |
332 |
- type = "box"; |
333 |
- { |
334 |
-- boost::shared_ptr<const urdf::Box> box; |
335 |
-- box = boost::dynamic_pointer_cast<const urdf::Box >(_geom); |
336 |
-+ std::shared_ptr<const urdf::Box> box; |
337 |
-+ box = std::dynamic_pointer_cast<const urdf::Box >(_geom); |
338 |
- _sizeVals[0] = box->dim.x; |
339 |
- _sizeVals[1] = box->dim.y; |
340 |
- _sizeVals[2] = box->dim.z; |
341 |
-@@ -2470,8 +2471,8 @@ std::string GetGeometryBoundingBox( |
342 |
- case urdf::Geometry::CYLINDER: |
343 |
- type = "cylinder"; |
344 |
- { |
345 |
-- boost::shared_ptr<const urdf::Cylinder> cylinder; |
346 |
-- cylinder = boost::dynamic_pointer_cast<const urdf::Cylinder >(_geom); |
347 |
-+ std::shared_ptr<const urdf::Cylinder> cylinder; |
348 |
-+ cylinder = std::dynamic_pointer_cast<const urdf::Cylinder >(_geom); |
349 |
- _sizeVals[0] = cylinder->radius * 2; |
350 |
- _sizeVals[1] = cylinder->radius * 2; |
351 |
- _sizeVals[2] = cylinder->length; |
352 |
-@@ -2480,16 +2481,16 @@ std::string GetGeometryBoundingBox( |
353 |
- case urdf::Geometry::SPHERE: |
354 |
- type = "sphere"; |
355 |
- { |
356 |
-- boost::shared_ptr<const urdf::Sphere> sphere; |
357 |
-- sphere = boost::dynamic_pointer_cast<const urdf::Sphere >(_geom); |
358 |
-+ std::shared_ptr<const urdf::Sphere> sphere; |
359 |
-+ sphere = std::dynamic_pointer_cast<const urdf::Sphere >(_geom); |
360 |
- _sizeVals[0] = _sizeVals[1] = _sizeVals[2] = sphere->radius * 2; |
361 |
- } |
362 |
- break; |
363 |
- case urdf::Geometry::MESH: |
364 |
- type = "trimesh"; |
365 |
- { |
366 |
-- boost::shared_ptr<const urdf::Mesh> mesh; |
367 |
-- mesh = boost::dynamic_pointer_cast<const urdf::Mesh >(_geom); |
368 |
-+ std::shared_ptr<const urdf::Mesh> mesh; |
369 |
-+ mesh = std::dynamic_pointer_cast<const urdf::Mesh >(_geom); |
370 |
- _sizeVals[0] = mesh->scale.x; |
371 |
- _sizeVals[1] = mesh->scale.y; |
372 |
- _sizeVals[2] = mesh->scale.z; |
373 |
-@@ -2513,7 +2514,7 @@ void PrintCollisionGroups(UrdfLinkPtr _l |
374 |
- << static_cast<int>(_link->collision_groups.size()) |
375 |
- << "] collisions.\n"; |
376 |
- for (std::map<std::string, |
377 |
-- boost::shared_ptr<std::vector<UrdfCollisionPtr > > >::iterator |
378 |
-+ std::shared_ptr<std::vector<UrdfCollisionPtr > > >::iterator |
379 |
- colsIt = _link->collision_groups.begin(); |
380 |
- colsIt != _link->collision_groups.end(); ++colsIt) |
381 |
- { |
382 |
-@@ -2906,7 +2907,7 @@ void CreateCollisions(TiXmlElement* _ele |
383 |
- // lumped meshes (fixed joint reduction) |
384 |
- #ifndef URDF_GE_0P3 |
385 |
- for (std::map<std::string, |
386 |
-- boost::shared_ptr<std::vector<UrdfCollisionPtr> > >::const_iterator |
387 |
-+ std::shared_ptr<std::vector<UrdfCollisionPtr> > >::const_iterator |
388 |
- collisionsIt = _link->collision_groups.begin(); |
389 |
- collisionsIt != _link->collision_groups.end(); ++collisionsIt) |
390 |
- { |
391 |
-@@ -3028,7 +3029,7 @@ void CreateVisuals(TiXmlElement* _elem, |
392 |
- // lumped meshes (fixed joint reduction) |
393 |
- #ifndef URDF_GE_0P3 |
394 |
- for (std::map<std::string, |
395 |
-- boost::shared_ptr<std::vector<UrdfVisualPtr> > >::const_iterator |
396 |
-+ std::shared_ptr<std::vector<UrdfVisualPtr> > >::const_iterator |
397 |
- visualsIt = _link->visual_groups.begin(); |
398 |
- visualsIt != _link->visual_groups.end(); ++visualsIt) |
399 |
- { |
400 |
-@@ -3411,7 +3412,7 @@ TiXmlDocument URDF2SDF::InitModelString( |
401 |
- g_enforceLimits = _enforceLimits; |
402 |
- |
403 |
- // Create a RobotModel from string |
404 |
-- boost::shared_ptr<urdf::ModelInterface> robotModel = |
405 |
-+ std::shared_ptr<urdf::ModelInterface> robotModel = |
406 |
- urdf::parseURDF(_urdfStr.c_str()); |
407 |
- |
408 |
- // an xml object to hold the xml result |
409 |
-@@ -3453,7 +3454,7 @@ TiXmlDocument URDF2SDF::InitModelString( |
410 |
- // fixed joint lumping only for selected joints |
411 |
- if (g_reduceFixedJoints) |
412 |
- ReduceFixedJoints(robot, |
413 |
-- (boost::const_pointer_cast< urdf::Link >(rootLink))); |
414 |
-+ (std::const_pointer_cast< urdf::Link >(rootLink))); |
415 |
- |
416 |
- if (rootLink->name == "world") |
417 |
- { |
418 |
-@@ -3514,7 +3515,7 @@ TiXmlDocument URDF2SDF::InitModelFile(co |
419 |
- } |
420 |
- |
421 |
- //////////////////////////////////////////////////////////////////////////////// |
422 |
--bool FixedJointShouldBeReduced(boost::shared_ptr<urdf::Joint> _jnt) |
423 |
-+bool FixedJointShouldBeReduced(std::shared_ptr<urdf::Joint> _jnt) |
424 |
- { |
425 |
- // A joint should be lumped only if its type is fixed and |
426 |
- // the disabledFixedJointLumping joint option is not set |
427 |
|
428 |
diff --git a/dev-libs/sdformat/sdformat-5.2.0.ebuild b/dev-libs/sdformat/sdformat-5.2.0.ebuild |
429 |
deleted file mode 100644 |
430 |
index c3c7512d27e..00000000000 |
431 |
--- a/dev-libs/sdformat/sdformat-5.2.0.ebuild |
432 |
+++ /dev/null |
433 |
@@ -1,39 +0,0 @@ |
434 |
-# Copyright 1999-2017 Gentoo Foundation |
435 |
-# Distributed under the terms of the GNU General Public License v2 |
436 |
- |
437 |
-EAPI=5 |
438 |
- |
439 |
-inherit cmake-utils |
440 |
- |
441 |
-DESCRIPTION="Simulation Description Format (SDF) parser" |
442 |
-HOMEPAGE="http://sdformat.org/" |
443 |
-SRC_URI="http://osrf-distributions.s3.amazonaws.com/sdformat/releases/${P}.tar.bz2" |
444 |
- |
445 |
-LICENSE="Apache-2.0" |
446 |
-# subslot = libsdformat major |
447 |
-SLOT="0/5" |
448 |
-KEYWORDS="~amd64" |
449 |
-IUSE="" |
450 |
- |
451 |
-RDEPEND=" |
452 |
- >=dev-libs/urdfdom-1:= |
453 |
- dev-libs/tinyxml |
454 |
- dev-libs/boost:= |
455 |
- sci-libs/ignition-math:3= |
456 |
-" |
457 |
-DEPEND="${RDEPEND} |
458 |
- dev-lang/ruby:* |
459 |
- virtual/pkgconfig |
460 |
-" |
461 |
-CMAKE_BUILD_TYPE=RelWithDebInfo |
462 |
-PATCHES=( "${FILESDIR}/urdfdom1.patch" ) |
463 |
- |
464 |
-src_configure() { |
465 |
- echo "set (CMAKE_C_FLAGS_ALL \"${CXXFLAGS} \${CMAKE_C_FLAGS_ALL}\")" > "${S}/cmake/HostCFlags.cmake" |
466 |
- sed -i -e "s/LINK_FLAGS_RELWITHDEBINFO \" \"/LINK_FLAGS_RELWITHDEBINFO \" ${LDFLAGS} \"/" cmake/DefaultCFlags.cmake || die |
467 |
- local mycmakeargs=( |
468 |
- "-DUSE_EXTERNAL_URDF=ON" |
469 |
- "-DUSE_EXTERNAL_TINYXML=ON" |
470 |
- ) |
471 |
- cmake-utils_src_configure |
472 |
-} |
473 |
|
474 |
diff --git a/dev-libs/sdformat/sdformat-5.3.0.ebuild b/dev-libs/sdformat/sdformat-5.3.0.ebuild |
475 |
deleted file mode 100644 |
476 |
index c3c7512d27e..00000000000 |
477 |
--- a/dev-libs/sdformat/sdformat-5.3.0.ebuild |
478 |
+++ /dev/null |
479 |
@@ -1,39 +0,0 @@ |
480 |
-# Copyright 1999-2017 Gentoo Foundation |
481 |
-# Distributed under the terms of the GNU General Public License v2 |
482 |
- |
483 |
-EAPI=5 |
484 |
- |
485 |
-inherit cmake-utils |
486 |
- |
487 |
-DESCRIPTION="Simulation Description Format (SDF) parser" |
488 |
-HOMEPAGE="http://sdformat.org/" |
489 |
-SRC_URI="http://osrf-distributions.s3.amazonaws.com/sdformat/releases/${P}.tar.bz2" |
490 |
- |
491 |
-LICENSE="Apache-2.0" |
492 |
-# subslot = libsdformat major |
493 |
-SLOT="0/5" |
494 |
-KEYWORDS="~amd64" |
495 |
-IUSE="" |
496 |
- |
497 |
-RDEPEND=" |
498 |
- >=dev-libs/urdfdom-1:= |
499 |
- dev-libs/tinyxml |
500 |
- dev-libs/boost:= |
501 |
- sci-libs/ignition-math:3= |
502 |
-" |
503 |
-DEPEND="${RDEPEND} |
504 |
- dev-lang/ruby:* |
505 |
- virtual/pkgconfig |
506 |
-" |
507 |
-CMAKE_BUILD_TYPE=RelWithDebInfo |
508 |
-PATCHES=( "${FILESDIR}/urdfdom1.patch" ) |
509 |
- |
510 |
-src_configure() { |
511 |
- echo "set (CMAKE_C_FLAGS_ALL \"${CXXFLAGS} \${CMAKE_C_FLAGS_ALL}\")" > "${S}/cmake/HostCFlags.cmake" |
512 |
- sed -i -e "s/LINK_FLAGS_RELWITHDEBINFO \" \"/LINK_FLAGS_RELWITHDEBINFO \" ${LDFLAGS} \"/" cmake/DefaultCFlags.cmake || die |
513 |
- local mycmakeargs=( |
514 |
- "-DUSE_EXTERNAL_URDF=ON" |
515 |
- "-DUSE_EXTERNAL_TINYXML=ON" |
516 |
- ) |
517 |
- cmake-utils_src_configure |
518 |
-} |