Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/pr2_description/, dev-ros/pr2_description/files/
Date: Wed, 23 Sep 2015 10:49:06
Message-Id: 1443005140.0b2b489e0b4ff765e2545d83378c5a459d185429.aballier@gentoo
1 commit: 0b2b489e0b4ff765e2545d83378c5a459d185429
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 23 10:45:40 2015 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 23 10:45:40 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b2b489e
7
8 dev-ros/pr2_description: Initial import. Ebuild by me.
9
10 Package-Manager: portage-2.2.21
11
12 dev-ros/pr2_description/Manifest | 1 +
13 .../pr2_description/files/pr2_description.patch | 17 ++++++++++++++++
14 dev-ros/pr2_description/metadata.xml | 5 +++++
15 .../pr2_description/pr2_description-1.11.9.ebuild | 23 ++++++++++++++++++++++
16 .../pr2_description/pr2_description-9999.ebuild | 23 ++++++++++++++++++++++
17 5 files changed, 69 insertions(+)
18
19 diff --git a/dev-ros/pr2_description/Manifest b/dev-ros/pr2_description/Manifest
20 new file mode 100644
21 index 0000000..81a1f40
22 --- /dev/null
23 +++ b/dev-ros/pr2_description/Manifest
24 @@ -0,0 +1 @@
25 +DIST pr2_common-1.11.9.tar.gz 33337556 SHA256 c6134939602c8a81d006bf4a4bfc48bf8746f5eb0c5b12baa1da8c946d1b4ce1 SHA512 44eb4f802a7b6983b621ca5b2c1c0e2516f16992f35902c2fb4afbdc9ffc8e63c1ed647f4ef09fd4cbeef747aba133a55172cec64c3cf9d759d2c83f7ec8a213 WHIRLPOOL ad5d6c543b1faca2ed48a66405eb8d6c17b9ef6352fa16b6fc55f9b093a6b1b7da3e0571ade5a6013c84d3695c16e910549ea2673c36a4179043ea4f085c1e05
26
27 diff --git a/dev-ros/pr2_description/files/pr2_description.patch b/dev-ros/pr2_description/files/pr2_description.patch
28 new file mode 100644
29 index 0000000..5296a67
30 --- /dev/null
31 +++ b/dev-ros/pr2_description/files/pr2_description.patch
32 @@ -0,0 +1,17 @@
33 +diff --git a/pr2_description/CMakeLists.txt b/pr2_description/CMakeLists.txt
34 +index 1b75223..6c83182 100644
35 +--- a/pr2_description/CMakeLists.txt
36 ++++ b/pr2_description/CMakeLists.txt
37 +@@ -91,8 +91,10 @@ add_custom_target(media_files ALL DEPENDS ${pr2urdf} ${pr2robot_expanded} ${prfr
38 + ## DEPENDS: system dependencies of this project that dependent projects also need
39 + catkin_package(CATKIN_DEPENDS xacro)
40 +
41 +-catkin_add_gtest(test_urdf test/test_urdf.cpp WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
42 +-target_link_libraries(test_urdf urdfdom_model)
43 ++if(CATKIN_ENABLE_TESTING)
44 ++ catkin_add_gtest(test_urdf test/test_urdf.cpp WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
45 ++ target_link_libraries(test_urdf urdfdom_model)
46 ++endif()
47 +
48 + foreach(dir meshes gazebo materials robots documents urdf)
49 + install(DIRECTORY ${dir}/
50
51 diff --git a/dev-ros/pr2_description/metadata.xml b/dev-ros/pr2_description/metadata.xml
52 new file mode 100644
53 index 0000000..c42ea5b
54 --- /dev/null
55 +++ b/dev-ros/pr2_description/metadata.xml
56 @@ -0,0 +1,5 @@
57 +<?xml version="1.0" encoding="UTF-8"?>
58 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
59 +<pkgmetadata>
60 +<herd>ros</herd>
61 +</pkgmetadata>
62
63 diff --git a/dev-ros/pr2_description/pr2_description-1.11.9.ebuild b/dev-ros/pr2_description/pr2_description-1.11.9.ebuild
64 new file mode 100644
65 index 0000000..3c99ffb
66 --- /dev/null
67 +++ b/dev-ros/pr2_description/pr2_description-1.11.9.ebuild
68 @@ -0,0 +1,23 @@
69 +# Copyright 1999-2014 Gentoo Foundation
70 +# Distributed under the terms of the GNU General Public License v2
71 +# $Id$
72 +
73 +EAPI=5
74 +ROS_REPO_URI="https://github.com/pr2/pr2_common"
75 +KEYWORDS="~amd64"
76 +ROS_SUBDIR=${PN}
77 +
78 +inherit ros-catkin
79 +
80 +DESCRIPTION="Description (mechanical, kinematic, visual, etc.) of the PR2 robot"
81 +LICENSE="BSD"
82 +SLOT="0"
83 +IUSE=""
84 +
85 +RDEPEND="dev-ros/xacro"
86 +DEPEND="${RDEPEND}
87 + dev-ros/convex_decomposition
88 + dev-ros/ivcon
89 + test? ( dev-libs/urdfdom dev-cpp/gtest )"
90 +
91 +PATCHES=( "${FILESDIR}/pr2_description.patch" )
92
93 diff --git a/dev-ros/pr2_description/pr2_description-9999.ebuild b/dev-ros/pr2_description/pr2_description-9999.ebuild
94 new file mode 100644
95 index 0000000..3c99ffb
96 --- /dev/null
97 +++ b/dev-ros/pr2_description/pr2_description-9999.ebuild
98 @@ -0,0 +1,23 @@
99 +# Copyright 1999-2014 Gentoo Foundation
100 +# Distributed under the terms of the GNU General Public License v2
101 +# $Id$
102 +
103 +EAPI=5
104 +ROS_REPO_URI="https://github.com/pr2/pr2_common"
105 +KEYWORDS="~amd64"
106 +ROS_SUBDIR=${PN}
107 +
108 +inherit ros-catkin
109 +
110 +DESCRIPTION="Description (mechanical, kinematic, visual, etc.) of the PR2 robot"
111 +LICENSE="BSD"
112 +SLOT="0"
113 +IUSE=""
114 +
115 +RDEPEND="dev-ros/xacro"
116 +DEPEND="${RDEPEND}
117 + dev-ros/convex_decomposition
118 + dev-ros/ivcon
119 + test? ( dev-libs/urdfdom dev-cpp/gtest )"
120 +
121 +PATCHES=( "${FILESDIR}/pr2_description.patch" )