Merge pull request #580 from bulwahn/indigo-update

recipe updates for indigo distribution on 2018-01-30
This commit is contained in:
Lukas Bulwahn 2018-02-06 06:45:21 +01:00 committed by GitHub
commit fc63fb01b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 6 additions and 107 deletions

View File

@ -1,6 +1,6 @@
SRC_URI = "https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz" SRC_URI = "https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "bd0907555fbbab035a03016729a48b7a" SRC_URI[md5sum] = "94fbafe3e86b8b1e21a8d2a15f30d48a"
SRC_URI[sha256sum] = "61001913ea7568a513171f57a09f02905918cee0b558baa27f7439fbb79700cb" SRC_URI[sha256sum] = "f08f4002cfa8c83021e959176d6384e7c4669a8c5363546f27911103bca84232"
S = "${WORKDIR}/${ROS_SP}/${ROS_BPN}" S = "${WORKDIR}/${ROS_SP}/${ROS_BPN}"

View File

@ -1,26 +0,0 @@
From 840caf53b0523b160c2add7e02d3559563826e56 Mon Sep 17 00:00:00 2001
From: Maarten de Vries <maarten@de-vri.es>
Date: Sun, 16 Jul 2017 19:46:55 +0200
Subject: [PATCH 1/2] Use string conversion from python_compat.h.
Upstream-Status: Backport [commit 840caf53b0523b160c2add7e02d3559563826e56]
---
tf2_py/src/tf2_py.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tf2_py/src/tf2_py.cpp b/tf2_py/src/tf2_py.cpp
index 3d680d7..edd38fe 100644
--- a/tf2_py/src/tf2_py.cpp
+++ b/tf2_py/src/tf2_py.cpp
@@ -536,7 +536,7 @@ static PyObject *_allFramesAsDot(PyObject *self, PyObject *args, PyObject *kw)
ros::Time time;
if (!PyArg_ParseTupleAndKeywords(args, kw, "|O&", (char**)keywords, rostime_converter, &time))
return NULL;
- return PyString_FromString(bc->_allFramesAsDot(time.toSec()).c_str());
+ return stringToPython(bc->_allFramesAsDot(time.toSec()));
}
--
2.1.4

View File

@ -1,70 +0,0 @@
From 552c5c239a9ac21f99c99c41d6fe8739072a87de Mon Sep 17 00:00:00 2001
From: randoms <randoms@bwbot.org>
Date: Wed, 9 Aug 2017 11:16:07 +0800
Subject: [PATCH 2/2] fix python3 import error
Upstream-Status: Backport [commit 552c5c239a9ac21f99c99c41d6fe8739072a87de]
---
tf2_py/src/tf2_py.cpp | 2 +-
tf2_py/src/tf2_py/__init__.py | 5 +++--
tf2_ros/src/tf2_ros/__init__.py | 15 ++++++++-------
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/tf2_py/src/tf2_py.cpp b/tf2_py/src/tf2_py.cpp
index edd38fe..279a2d2 100644
--- a/tf2_py/src/tf2_py.cpp
+++ b/tf2_py/src/tf2_py.cpp
@@ -632,7 +632,7 @@ struct PyModuleDef tf_module = {
module_methods // methods
};
-PyMODINIT_FUNC PyInit_tf2()
+PyMODINIT_FUNC PyInit__tf2()
{
if (!staticInit())
return NULL;
diff --git a/tf2_py/src/tf2_py/__init__.py b/tf2_py/src/tf2_py/__init__.py
index ccade4e..5a38341 100644
--- a/tf2_py/src/tf2_py/__init__.py
+++ b/tf2_py/src/tf2_py/__init__.py
@@ -31,7 +31,8 @@
#* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
#* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
#* POSSIBILITY OF SUCH DAMAGE.
-#*
+#*
#* Author: Eitan Marder-Eppstein
#***********************************************************
-from _tf2 import *
+from __future__ import absolute_import
+from ._tf2 import *
diff --git a/tf2_ros/src/tf2_ros/__init__.py b/tf2_ros/src/tf2_ros/__init__.py
index b3df91b..af5642c 100644
--- a/tf2_ros/src/tf2_ros/__init__.py
+++ b/tf2_ros/src/tf2_ros/__init__.py
@@ -31,13 +31,14 @@
#* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
#* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
#* POSSIBILITY OF SUCH DAMAGE.
-#*
+#*
#* Author: Eitan Marder-Eppstein
#***********************************************************
+from __future__ import absolute_import
from tf2_py import *
-from buffer_interface import *
-from buffer import *
-from buffer_client import *
-from transform_listener import *
-from transform_broadcaster import *
-from static_transform_broadcaster import *
+from .buffer_interface import *
+from .buffer import *
+from .buffer_client import *
+from .transform_listener import *
+from .transform_broadcaster import *
+from .static_transform_broadcaster import *
--
2.1.4

View File

@ -8,8 +8,3 @@ DEPENDS = "rospy tf2"
EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=ON" EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=ON"
require geometry2.inc require geometry2.inc
SRC_URI += " \
file://0001-Use-string-conversion-from-python_compat_h.patch;patchdir=${WORKDIR}/${ROS_SP} \
file://0002-fix-python3-import-error.patch;patchdir=${WORKDIR}/${ROS_SP} \
"

View File

@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=15;endline=15;md5=d566ef916e9de
DEPENDS = "dynamic-reconfigure ${PYTHON_PN}-rospkg" DEPENDS = "dynamic-reconfigure ${PYTHON_PN}-rospkg"
SRC_URI = "https://github.com/KristofRobot/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz" SRC_URI = "https://github.com/KristofRobot/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "4712cbe1d9d8bacd9eebfd51825ada36" SRC_URI[md5sum] = "1d036536b614e4e9841c970150692e46"
SRC_URI[sha256sum] = "9917e7ae713016c63786511736bbdc1b671a9685ea0ddfc87839251ca7513c95" SRC_URI[sha256sum] = "9953df3323167510243386525558dd4fc40d628326852db5ebb303fbcc42a7cb"
S = "${WORKDIR}/${ROS_SP}" S = "${WORKDIR}/${ROS_SP}"

View File

@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=11e24f757f025
DEPENDS = "nodelet nav-msgs openslam-gmapping roscpp tf rosbag-storage" DEPENDS = "nodelet nav-msgs openslam-gmapping roscpp tf rosbag-storage"
SRC_URI = "https://github.com/ros-perception/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz" SRC_URI = "https://github.com/ros-perception/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "2a17fa7818b8f6b23ccd66786c1854ff" SRC_URI[md5sum] = "b70ca310173d7234d7892f2ab7b21245"
SRC_URI[sha256sum] = "5dfd3dc967d8861b820d5ab7355024c3f1626c3fa7b422cf93a85e292ed4d04a" SRC_URI[sha256sum] = "a4eae02f88d599bf34ed8d3865d37e276af22a644d4c45c3fe35d90a48378abc"
S = "${WORKDIR}/${ROS_SP}/${ROS_BPN}" S = "${WORKDIR}/${ROS_SP}/${ROS_BPN}"