summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-01-28 16:43:17 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-01-28 16:53:38 +0100
commite266a330a77faeed59420718b83dcbf72dfe8123 (patch)
tree1e4aa61f113222511df097b17c76ab7979557f83 /dev-ros/visp_tracker
parentdev-ros/visp_bridge: Bump to kinetic version and 0.9.3. Fix build with gcc6. (diff)
downloadgentoo-e266a330a77faeed59420718b83dcbf72dfe8123.tar.gz
gentoo-e266a330a77faeed59420718b83dcbf72dfe8123.tar.bz2
gentoo-e266a330a77faeed59420718b83dcbf72dfe8123.zip
dev-ros/visp_tracker: Bump to kinetic version and 0.9.3. Fix build with gcc6.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ros/visp_tracker')
-rw-r--r--dev-ros/visp_tracker/Manifest1
-rw-r--r--dev-ros/visp_tracker/files/gcc6.patch13
-rw-r--r--dev-ros/visp_tracker/visp_tracker-0.9.3.ebuild40
-rw-r--r--dev-ros/visp_tracker/visp_tracker-9999.ebuild7
4 files changed, 58 insertions, 3 deletions
diff --git a/dev-ros/visp_tracker/Manifest b/dev-ros/visp_tracker/Manifest
index bff3bdf7a880..14f6b62e9882 100644
--- a/dev-ros/visp_tracker/Manifest
+++ b/dev-ros/visp_tracker/Manifest
@@ -1,2 +1,3 @@
DIST vision_visp-0.8.0.tar.gz 1010996 SHA256 5166e1f17601328d09716879ceb66135e07bdb71a375765a937e3b78a12b0e54 SHA512 2bf2d69b6e19de21b34869858672662162703ff8b2aea85fdb9a6dafa88d8fe1f97d18587e863f3f7c088697e931a1b6e4e2e37f31fc7caff0906e98debbad1a WHIRLPOOL 015778e4cff63a9dbb5bf5812e38f7564b68cb71886e472062be15ec31a87a7299bff7ef9df50124294e22906420f60075cf6cc69f77df1cd29267b401f655e5
DIST vision_visp-0.9.1.tar.gz 1014625 SHA256 918bf731a2fab8bd9fa082c0d0f86800710c79eeb9ec5e8b0c8d5baaffb7988d SHA512 f9ce23286fd9c7706364e9d63e6fb3881bad759aeea72313e5d2a24347f152ba90aab1c73d1b468ed3319e99f0a2bcb81208302825c83be686b9528f3b07469e WHIRLPOOL 8af772091c1c3fec475f32ff0d7232b728b3154491c4ed56300221c0ca96661c63c19baa50d6cdf010d1ffc304049f0ea1e7f5c403f15fb028b1417e41ed88b4
+DIST vision_visp-0.9.3.tar.gz 1014883 SHA256 bf51470d167b1ee202dc55348ad54f6398f0f951b3af06fd32d0689b2fa98347 SHA512 e5775e410efefaaac00cdfaf07b65f9f77ade0e7d6f40b3d8345d7b594520f46741f56039c1eb0193c57287bafbddf8e755e10d6f85cc12ddefb2b997681f44a WHIRLPOOL 9163c1aa27f405213aa7290d9e7ecb4b4f6d0daf79879708bd9246fac9eeb3c6b816de3505729b17cb72357e684bb7af9db6688441c42b279089fbdd8116acc0
diff --git a/dev-ros/visp_tracker/files/gcc6.patch b/dev-ros/visp_tracker/files/gcc6.patch
new file mode 100644
index 000000000000..417357fedce3
--- /dev/null
+++ b/dev-ros/visp_tracker/files/gcc6.patch
@@ -0,0 +1,13 @@
+Index: visp_tracker/CMakeLists.txt
+===================================================================
+--- visp_tracker.orig/CMakeLists.txt
++++ visp_tracker/CMakeLists.txt
+@@ -70,7 +70,7 @@ catkin_package(
+ VISP
+ )
+
+-include_directories(SYSTEM
++include_directories(
+ ${Boost_INCLUDE_DIRS}
+ ${VISP_INCLUDE_DIRS}
+ ${catkin_INCLUDE_DIRS}
diff --git a/dev-ros/visp_tracker/visp_tracker-0.9.3.ebuild b/dev-ros/visp_tracker/visp_tracker-0.9.3.ebuild
new file mode 100644
index 000000000000..b044dbc8cd5e
--- /dev/null
+++ b/dev-ros/visp_tracker/visp_tracker-0.9.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+ROS_REPO_URI="https://github.com/lagadic/vision_visp"
+KEYWORDS="~amd64 ~arm"
+VER_PREFIX="kinetic-"
+ROS_SUBDIR=${PN}
+CATKIN_HAS_MESSAGES=yes
+PYTHON_COMPAT=( python2_7 )
+CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs dev-ros/geometry_msgs"
+
+inherit ros-catkin
+
+DESCRIPTION="Wraps the ViSP moving edge tracker provided by the ViSP visual servoing library into a ROS package"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-libs/boost:=[threads]
+ dev-ros/dynamic_reconfigure
+ dev-ros/geometry_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}]
+ dev-ros/image_proc
+ dev-ros/image_transport
+ dev-ros/nodelet
+ dev-ros/resource_retriever
+ dev-ros/roscpp
+ dev-ros/sensor_msgs
+ dev-ros/tf[${PYTHON_USEDEP}]
+ dev-ros/rospy[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ sci-libs/ViSP[opencv,X]
+"
+DEPEND="${RDEPEND}"
+if [ "${PV#9999}" = "${PV}" ] ; then
+ S="${WORKDIR}/vision_visp-kinetic-${PV}/${ROS_SUBDIR}"
+fi
+PATCHES=( "${FILESDIR}/gcc6.patch" )
diff --git a/dev-ros/visp_tracker/visp_tracker-9999.ebuild b/dev-ros/visp_tracker/visp_tracker-9999.ebuild
index eebf5e298511..b044dbc8cd5e 100644
--- a/dev-ros/visp_tracker/visp_tracker-9999.ebuild
+++ b/dev-ros/visp_tracker/visp_tracker-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/lagadic/vision_visp"
KEYWORDS="~amd64 ~arm"
-VER_PREFIX="jade-"
+VER_PREFIX="kinetic-"
ROS_SUBDIR=${PN}
CATKIN_HAS_MESSAGES=yes
PYTHON_COMPAT=( python2_7 )
@@ -35,5 +35,6 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
if [ "${PV#9999}" = "${PV}" ] ; then
- S="${WORKDIR}/vision_visp-jade-${PV}/${ROS_SUBDIR}"
+ S="${WORKDIR}/vision_visp-kinetic-${PV}/${ROS_SUBDIR}"
fi
+PATCHES=( "${FILESDIR}/gcc6.patch" )