diff options
Diffstat (limited to 'dev-ros/visp_camera_calibration')
6 files changed, 118 insertions, 0 deletions
diff --git a/dev-ros/visp_camera_calibration/Manifest b/dev-ros/visp_camera_calibration/Manifest new file mode 100644 index 000000000000..49e9f7ff55de --- /dev/null +++ b/dev-ros/visp_camera_calibration/Manifest @@ -0,0 +1,6 @@ +AUX boost.patch 763 BLAKE2B 35752cfddd17e214035570181bab527d86c670be398be4f092b02dacd16ff041f30351258518f70548e5af8c34616b3b945af4bc2c6e6fb5578e2fc1963f1829 SHA512 32e9b218ea6d66658cf4d999607e798b232cc160bb8b305e20fee8f3204ea1344cfe8ef54eead8e61cd84870a5a37f7205d7ff1da82d6a19610967985122ed65 +AUX gcc6.patch 421 BLAKE2B cf5b648dbd6d5121db22cee0aaddd9a359a87e9305e3887b4ec15b148e2921baf2562c9c377abb6c848088ce9592952bf537469fbe68cc025ad6e32db8817c61 SHA512 a4ed8165e1a8099d79bfe48563558bbb6de20b90dcc7def4b9dbb46a6c1115cbacfe09ed0c3ddb2b654914fe3b49554f11453fc3d2c87c8841b6755a24f08c4e +DIST vision_visp-0.10.0.tar.gz 1015180 BLAKE2B bf0474d0633a6b704077e232d4676e6ebb9ec666b9b03792dbb929c6c6d1c52a941f7a4517f7bc6a7150882c16ba719eb3cf17c3fbdd13df109eab3a34afa259 SHA512 8e2652d6ca9c9535f1bebb628ec908f64c9fc89358bc92ed42ef12430b0b28c8ed3ed7935d2d3fe03c9761f9ac08e200eb59839ee2243df62d5934e8162cca9c +EBUILD visp_camera_calibration-0.10.0.ebuild 855 BLAKE2B 9046ce6ff32db6afb83d016092686e3cccfbf33de0c28df61df7c28c427ba18603ce5b914b344462b3556677cd426ea094f96902b1ef7502e58a72862655d558 SHA512 66cc9bf7b893d2cb07b20697a7a36d75179fe981d0c615712eea7cec7c297d8eb639bd78f943e85dadfd1932b02902b526ec2aeff9d41ce11815093e6a114b01 +EBUILD visp_camera_calibration-9999.ebuild 855 BLAKE2B 9046ce6ff32db6afb83d016092686e3cccfbf33de0c28df61df7c28c427ba18603ce5b914b344462b3556677cd426ea094f96902b1ef7502e58a72862655d558 SHA512 66cc9bf7b893d2cb07b20697a7a36d75179fe981d0c615712eea7cec7c297d8eb639bd78f943e85dadfd1932b02902b526ec2aeff9d41ce11815093e6a114b01 +MISC metadata.xml 333 BLAKE2B 107f301bea0dd9adee5e472d36be074cc6a57d8a49fa14cb28b5aca166e99c73f3aaf19ce77acd1040bddcd86c3961f1411e994cd1ce9c0a636cff7d11e4ea66 SHA512 ddf6afe9a48cd4b3a1387aa6e7f0a46260ee2aaeb99d93e96aecac0ba5c36d59b578cc40c0337d40c5ecb9e485a3506138932897c0d9b5a8972d6ad479fa64a3 diff --git a/dev-ros/visp_camera_calibration/files/boost.patch b/dev-ros/visp_camera_calibration/files/boost.patch new file mode 100644 index 000000000000..e91630caa89e --- /dev/null +++ b/dev-ros/visp_camera_calibration/files/boost.patch @@ -0,0 +1,24 @@ +Index: visp_camera_calibration/src/camera.cpp +=================================================================== +--- visp_camera_calibration.orig/src/camera.cpp ++++ visp_camera_calibration/src/camera.cpp +@@ -62,6 +62,7 @@ + + #include <visp/vpDisplayX.h> + #include "visp/vpTrackingException.h" ++#include <boost/format.hpp> + + + namespace visp_camera_calibration +Index: visp_camera_calibration/src/image_processing.cpp +=================================================================== +--- visp_camera_calibration.orig/src/image_processing.cpp ++++ visp_camera_calibration/src/image_processing.cpp +@@ -69,6 +69,7 @@ + #include "visp/vpDot2.h" + #include "visp/vpCalibration.h" + #include <iostream> ++#include <boost/format.hpp> + + + namespace visp_camera_calibration diff --git a/dev-ros/visp_camera_calibration/files/gcc6.patch b/dev-ros/visp_camera_calibration/files/gcc6.patch new file mode 100644 index 000000000000..48a77c9eee15 --- /dev/null +++ b/dev-ros/visp_camera_calibration/files/gcc6.patch @@ -0,0 +1,13 @@ +Index: visp_camera_calibration/CMakeLists.txt +=================================================================== +--- visp_camera_calibration.orig/CMakeLists.txt ++++ visp_camera_calibration/CMakeLists.txt +@@ -13,7 +13,7 @@ find_package(catkin REQUIRED COMPONENTS + + find_package(VISP REQUIRED) + +-include_directories(SYSTEM ++include_directories( + ${BULLET_INCLUDE_DIRS} + ${Boost_INCLUDE_DIRS} + ${VISP_INCLUDE_DIRS} diff --git a/dev-ros/visp_camera_calibration/metadata.xml b/dev-ros/visp_camera_calibration/metadata.xml new file mode 100644 index 000000000000..1b7d80220614 --- /dev/null +++ b/dev-ros/visp_camera_calibration/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ros@gentoo.org</email> + <name>Gentoo ROS Project</name> + </maintainer> + <upstream> + <remote-id type="github">lagadic/vision_visp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ros/visp_camera_calibration/visp_camera_calibration-0.10.0.ebuild b/dev-ros/visp_camera_calibration/visp_camera_calibration-0.10.0.ebuild new file mode 100644 index 000000000000..fa6296e9aa9d --- /dev/null +++ b/dev-ros/visp_camera_calibration/visp_camera_calibration-0.10.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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=( python{2_7,3_4,3_5} ) +CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/sensor_msgs dev-ros/std_msgs" + +inherit ros-catkin + +DESCRIPTION="Calibration of cameras using a customizable pattern and ViSP library" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-ros/camera_calibration_parsers + dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] + dev-ros/roscpp + dev-ros/visp_bridge + sci-libs/ViSP:= + dev-libs/boost:= +" +DEPEND="${RDEPEND}" +if [ "${PV#9999}" = "${PV}" ] ; then + S="${WORKDIR}/vision_visp-kinetic-${PV}/${ROS_SUBDIR}" +fi +PATCHES=( "${FILESDIR}/gcc6.patch" "${FILESDIR}/boost.patch" ) diff --git a/dev-ros/visp_camera_calibration/visp_camera_calibration-9999.ebuild b/dev-ros/visp_camera_calibration/visp_camera_calibration-9999.ebuild new file mode 100644 index 000000000000..fa6296e9aa9d --- /dev/null +++ b/dev-ros/visp_camera_calibration/visp_camera_calibration-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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=( python{2_7,3_4,3_5} ) +CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/sensor_msgs dev-ros/std_msgs" + +inherit ros-catkin + +DESCRIPTION="Calibration of cameras using a customizable pattern and ViSP library" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-ros/camera_calibration_parsers + dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] + dev-ros/roscpp + dev-ros/visp_bridge + sci-libs/ViSP:= + dev-libs/boost:= +" +DEPEND="${RDEPEND}" +if [ "${PV#9999}" = "${PV}" ] ; then + S="${WORKDIR}/vision_visp-kinetic-${PV}/${ROS_SUBDIR}" +fi +PATCHES=( "${FILESDIR}/gcc6.patch" "${FILESDIR}/boost.patch" ) |