dev-ros/interactive_markers: Initial import. Ebuild by me.
authorAlexis Ballier <aballier@gentoo.org>
Wed, 23 Sep 2015 08:25:29 +0000 (10:25 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 23 Sep 2015 08:25:29 +0000 (10:25 +0200)
Package-Manager: portage-2.2.21

dev-ros/interactive_markers/Manifest [new file with mode: 0644]
dev-ros/interactive_markers/files/tests.patch [new file with mode: 0644]
dev-ros/interactive_markers/interactive_markers-1.11.1.ebuild [new file with mode: 0644]
dev-ros/interactive_markers/interactive_markers-9999.ebuild [new file with mode: 0644]
dev-ros/interactive_markers/metadata.xml [new file with mode: 0644]

diff --git a/dev-ros/interactive_markers/Manifest b/dev-ros/interactive_markers/Manifest
new file mode 100644 (file)
index 0000000..70a2cf0
--- /dev/null
@@ -0,0 +1 @@
+DIST interactive_markers-1.11.1.tar.gz 29686 SHA256 cd426826681b769d5ae60ea379b6c607f5ca69462955058ab34b275c4a0028a0 SHA512 059a8f84ec86acd79733f76bcd10ba4dbcad38b69a644bac72cc8099ead6c62a1da89289af059fa8b17bddf2b5631c18ea88a69c7864b2b7246c9d8302c1d67e WHIRLPOOL 53963bb1b431238d9da54136e804c39a4b29ab57440c0f0cbe79e11dd13839b6f97bfde33a7aa86a8bc82a87d59f63234d5747094763a1263dd671d86835c93f
diff --git a/dev-ros/interactive_markers/files/tests.patch b/dev-ros/interactive_markers/files/tests.patch
new file mode 100644 (file)
index 0000000..8dac7e8
--- /dev/null
@@ -0,0 +1,37 @@
+Upstream status: Pending
+https://github.com/ros-visualization/interactive_markers/pull/26
+
+commit e6b735989a15e840ba100bdd578b51caba614d37
+Author: Alexis Ballier <aballier@gentoo.org>
+Date:   Tue Feb 3 11:27:33 2015 +0100
+
+    Fix build with -DCATKIN_ENABLE_TESTING=OFF
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0fbb8a9..2d6be3a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -55,14 +55,14 @@ if(GTEST_FOUND)
+   target_link_libraries(server_client_test ${PROJECT_NAME} ${GTEST_LIBRARIES})
+   add_dependencies(tests server_client_test)
+   add_rostest(test/cpp_server_client.test)
+-endif()
+-# Test program to simulate Interactive Marker with missing tf information
+-add_executable(bursty_tf EXCLUDE_FROM_ALL src/test/bursty_tf.cpp)
+-target_link_libraries(bursty_tf ${PROJECT_NAME})
+-add_dependencies(tests bursty_tf)
++  # Test program to simulate Interactive Marker with missing tf information
++  add_executable(bursty_tf EXCLUDE_FROM_ALL src/test/bursty_tf.cpp)
++  target_link_libraries(bursty_tf ${PROJECT_NAME})
++  add_dependencies(tests bursty_tf)
+-# Test program to simulate Interactive Marker with wrong tf information
+-add_executable(missing_tf EXCLUDE_FROM_ALL src/test/missing_tf.cpp)
+-target_link_libraries(missing_tf ${PROJECT_NAME})
+-add_dependencies(tests missing_tf)
++  # Test program to simulate Interactive Marker with wrong tf information
++  add_executable(missing_tf EXCLUDE_FROM_ALL src/test/missing_tf.cpp)
++  target_link_libraries(missing_tf ${PROJECT_NAME})
++  add_dependencies(tests missing_tf)
++endif()
diff --git a/dev-ros/interactive_markers/interactive_markers-1.11.1.ebuild b/dev-ros/interactive_markers/interactive_markers-1.11.1.ebuild
new file mode 100644 (file)
index 0000000..e0cd536
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+ROS_REPO_URI="https://github.com/ros-visualization/interactive_markers"
+KEYWORDS="~amd64"
+PYTHON_COMPAT=( python2_7 )
+
+inherit ros-catkin
+
+DESCRIPTION="3D interactive marker communication library for RViz and similar tools"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+       dev-ros/std_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+       dev-ros/visualization_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+       dev-ros/tf
+       dev-ros/rospy[${PYTHON_USEDEP}]
+       dev-ros/roscpp
+       dev-ros/rosconsole
+       dev-ros/rostest[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+       test? ( dev-cpp/gtest )"
+
+PATCHES=( "${FILESDIR}/tests.patch" )
diff --git a/dev-ros/interactive_markers/interactive_markers-9999.ebuild b/dev-ros/interactive_markers/interactive_markers-9999.ebuild
new file mode 100644 (file)
index 0000000..98b0b94
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+ROS_REPO_URI="https://github.com/ros-visualization/interactive_markers"
+KEYWORDS="~amd64"
+PYTHON_COMPAT=( python2_7 )
+
+inherit ros-catkin
+
+DESCRIPTION="3D interactive marker communication library for RViz and similar tools"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+       dev-ros/std_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+       dev-ros/visualization_msgs[${CATKIN_MESSAGES_CXX_USEDEP},${CATKIN_MESSAGES_PYTHON_USEDEP}]
+       dev-ros/tf
+       dev-ros/rospy[${PYTHON_USEDEP}]
+       dev-ros/roscpp
+       dev-ros/rosconsole
+       dev-ros/rostest[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+       test? ( dev-cpp/gtest )"
diff --git a/dev-ros/interactive_markers/metadata.xml b/dev-ros/interactive_markers/metadata.xml
new file mode 100644 (file)
index 0000000..c42ea5b
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ros</herd>
+</pkgmetadata>