[kido] 01/01: Update patches information

Jose Luis Rivero jrivero-guest at moszumanska.debian.org
Wed Aug 31 13:34:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

jrivero-guest pushed a commit to branch master
in repository kido.

commit 867494d8cb71908c40c41216e85cffb6eb6f30c4
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date:   Wed Aug 31 12:52:07 2016 +0000

    Update patches information
    
    Thanks to Gianfranco Costamagna <locutusofborg at debian.org> for
    pointing to upstream commits.
---
 debian/patches/0003-use-std-shared-pointers.patch | 35 +++++++++++++++++++----
 debian/patches/0004-fix-tinyxml-constant.patch    |  5 ++--
 2 files changed, 31 insertions(+), 9 deletions(-)

diff --git a/debian/patches/0003-use-std-shared-pointers.patch b/debian/patches/0003-use-std-shared-pointers.patch
index e127308..afda4d2 100644
--- a/debian/patches/0003-use-std-shared-pointers.patch
+++ b/debian/patches/0003-use-std-shared-pointers.patch
@@ -1,5 +1,9 @@
+Description: wrap pointers to migrate from boost to std
+Origin: https://github.com/dartsim/dart/pull/750
+Applied-Upstream: 2841967fc6628c9aea58c93227b28abdf5dfbcc2
+
 diff --git a/kido/collision/fcl/FCLCollisionNode.cpp b/kido/collision/fcl/FCLCollisionNode.cpp
-index bf4e7e4..d07c1ba 100644
+index bf4e7e4..d6e5c83 100644
 --- a/kido/collision/fcl/FCLCollisionNode.cpp
 +++ b/kido/collision/fcl/FCLCollisionNode.cpp
 @@ -351,7 +351,7 @@ FCLCollisionNode::FCLCollisionNode(dynamics::BodyNode* _bodyNode)
@@ -7,12 +11,31 @@ index bf4e7e4..d07c1ba 100644
      dynamics::ShapePtr shape = _bodyNode->getCollisionShape(i);
  
 -    boost::shared_ptr<fcl::CollisionGeometry> fclCollGeom;
-+    std::shared_ptr<fcl::CollisionGeometry> fclCollGeom;
++    fcl_shared_ptr<fcl::CollisionGeometry> fclCollGeom;
  
      switch (shape->getShapeType())
      {
+diff --git a/kido/collision/fcl/FCLTypes.hpp b/kido/collision/fcl/FCLTypes.hpp
+index 3463d37..13b68f5 100644
+--- a/kido/collision/fcl/FCLTypes.hpp
++++ b/kido/collision/fcl/FCLTypes.hpp
+@@ -42,6 +42,14 @@
+ #include <fcl/math/matrix_3f.h>
+ #include <fcl/math/transform.h>
+ 
++#if FCL_VERSION_AT_LEAST(0,5,0)
++  template <class T> using fcl_shared_ptr = std::shared_ptr<T>;
++  template <class T> using fcl_weak_ptr = std::weak_ptr<T>;
++#else
++  template <class T> using fcl_shared_ptr = fcl_shared_ptr<T>;
++  template <class T> using fcl_weak_ptr = fcl_weak_ptr<T>;
++#endif
++
+ namespace kido {
+ namespace collision {
+ 
 diff --git a/kido/utils/urdf/KidoLoader.cpp b/kido/utils/urdf/KidoLoader.cpp
-index a7e50c5..4477525 100644
+index a7e50c5..ec36feb 100644
 --- a/kido/utils/urdf/KidoLoader.cpp
 +++ b/kido/utils/urdf/KidoLoader.cpp
 @@ -23,7 +23,7 @@
@@ -20,12 +43,12 @@ index a7e50c5..4477525 100644
  #include "kido/utils/urdf/urdf_world_parser.hpp"
  
 -using ModelInterfacePtr = boost::shared_ptr<urdf::ModelInterface>;
-+using ModelInterfacePtr = std::shared_ptr<urdf::ModelInterface>;
++using ModelInterfacePtr = fcl_shared_ptr<urdf::ModelInterface>;
  
  namespace kido {
  namespace utils {
 diff --git a/kido/utils/urdf/urdf_world_parser.hpp b/kido/utils/urdf/urdf_world_parser.hpp
-index 74227bf..96a17bf 100644
+index 74227bf..f49ca91 100644
 --- a/kido/utils/urdf/urdf_world_parser.hpp
 +++ b/kido/utils/urdf/urdf_world_parser.hpp
 @@ -63,7 +63,7 @@ public:
@@ -33,7 +56,7 @@ index 74227bf..96a17bf 100644
    Entity(const urdf::Entity& urdfEntity);
  
 -  boost::shared_ptr<urdf::ModelInterface> model;
-+  std::shared_ptr<urdf::ModelInterface> model;
++  fcl_shared_ptr<urdf::ModelInterface> model;
    urdf::Pose origin;
    urdf::Twist twist;
  
diff --git a/debian/patches/0004-fix-tinyxml-constant.patch b/debian/patches/0004-fix-tinyxml-constant.patch
index 151cd82..72b47d0 100644
--- a/debian/patches/0004-fix-tinyxml-constant.patch
+++ b/debian/patches/0004-fix-tinyxml-constant.patch
@@ -1,7 +1,6 @@
 Description: Use new tinyxml constant
-Author: Jose Luis Rivero <jrivero at osrfoundation.org>
-Forwarded: No
-Last-Update: 2016-08-29
+Origin: https://github.com/dartsim/dart/pull/750
+Applied-Upstream: 2841967fc6628c9aea58c93227b28abdf5dfbcc2
 
 diff --git a/kido/utils/XmlHelpers.cpp b/kido/utils/XmlHelpers.cpp
 index 6de40bd..22b8641 100644

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/kido.git



More information about the debian-science-commits mailing list