From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/urdf/files/, dev-ros/urdf/
Date: Tue, 1 Nov 2016 14:54:28 +0000 (UTC) [thread overview]
Message-ID: <1478012060.8d9c9f21d37199f0b7a93bd51cfe8259e4723089.aballier@gentoo> (raw)
commit: 8d9c9f21d37199f0b7a93bd51cfe8259e4723089
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 1 14:43:12 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Nov 1 14:54:20 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9c9f21
dev-ros/urdf: forward port urdfdom1 fix.
Package-Manager: portage-2.3.2
dev-ros/urdf/files/ns.patch | 17 +++++++++++++++++
dev-ros/urdf/urdf-1.12.5.ebuild | 12 +++++++++---
2 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/dev-ros/urdf/files/ns.patch b/dev-ros/urdf/files/ns.patch
new file mode 100644
index 00000000..b8d482b
--- /dev/null
+++ b/dev-ros/urdf/files/ns.patch
@@ -0,0 +1,17 @@
+Index: urdf/urdfdom_compatibility.h.in
+===================================================================
+--- urdf.orig/urdfdom_compatibility.h.in
++++ urdf/urdfdom_compatibility.h.in
+@@ -75,9 +75,9 @@ URDF_TYPEDEF_CLASS_POINTER(ModelInterfac
+
+ #else // urdfdom <= 0.4
+
+-typedef std::shared_ptr<ModelInterface> ModelInterfaceSharedPtr;
+-typedef std::shared_ptr<const ModelInterface> ModelInterfaceConstSharedPtr;
+-typedef std::weak_ptr<ModelInterface> ModelInterfaceWeakPtr;
++typedef std::shared_ptr<urdf::ModelInterface> ModelInterfaceSharedPtr;
++typedef std::shared_ptr<const urdf::ModelInterface> ModelInterfaceConstSharedPtr;
++typedef std::weak_ptr<urdf::ModelInterface> ModelInterfaceWeakPtr;
+
+ #endif // urdfdom > 0.4
+
diff --git a/dev-ros/urdf/urdf-1.12.5.ebuild b/dev-ros/urdf/urdf-1.12.5.ebuild
index e6cb39f..5e70f56 100644
--- a/dev-ros/urdf/urdf-1.12.5.ebuild
+++ b/dev-ros/urdf/urdf-1.12.5.ebuild
@@ -8,7 +8,7 @@ KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=${PN}
PYTHON_COMPAT=( python2_7 )
-inherit ros-catkin
+inherit ros-catkin flag-o-matic
DESCRIPTION="C++ parser for the Unified Robot Description Format (URDF)"
LICENSE="BSD"
@@ -17,9 +17,9 @@ IUSE=""
RDEPEND="
dev-libs/boost:=[threads]
- dev-libs/urdfdom
+ >=dev-libs/urdfdom-1
dev-libs/urdfdom_headers
- dev-ros/urdf_parser_plugin
+ >=dev-ros/urdf_parser_plugin-1.12.3-r1
dev-ros/pluginlib
dev-ros/rosconsole_bridge
dev-ros/roscpp
@@ -28,3 +28,9 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-ros/cmake_modules
test? ( dev-ros/rostest[${PYTHON_USEDEP}] dev-cpp/gtest )"
+PATCHES=( "${FILESDIR}/urdfdom1.patch" "${FILESDIR}/ns.patch" )
+
+src_configure() {
+ append-cxxflags -std=c++11
+ ros-catkin_src_configure
+}
next reply other threads:[~2016-11-01 14:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-01 14:54 Alexis Ballier [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-06-27 10:01 [gentoo-commits] repo/gentoo:master commit in: dev-ros/urdf/files/, dev-ros/urdf/ Alexis Ballier
2017-01-07 14:40 Alexis Ballier
2016-07-26 9:24 Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1478012060.8d9c9f21d37199f0b7a93bd51cfe8259e4723089.aballier@gentoo \
--to=aballier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox