1 |
commit: 3d61dabb8f91363f556d53f69f9e592a49130c35 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 31 07:20:54 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 31 09:10:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d61dabb |
7 |
|
8 |
sci-libs/rtabmap: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
sci-libs/rtabmap/Manifest | 2 - |
14 |
sci-libs/rtabmap/files/boost173.patch | 13 ------ |
15 |
sci-libs/rtabmap/files/ocv.patch | 24 ----------- |
16 |
sci-libs/rtabmap/files/ocv4.patch | 23 ----------- |
17 |
sci-libs/rtabmap/files/pcl111.patch | 49 ---------------------- |
18 |
sci-libs/rtabmap/rtabmap-0.19.3-r1.ebuild | 65 ----------------------------- |
19 |
sci-libs/rtabmap/rtabmap-0.19.7.ebuild | 69 ------------------------------- |
20 |
7 files changed, 245 deletions(-) |
21 |
|
22 |
diff --git a/sci-libs/rtabmap/Manifest b/sci-libs/rtabmap/Manifest |
23 |
index 3cafd44ce7f..d2e1c860aaf 100644 |
24 |
--- a/sci-libs/rtabmap/Manifest |
25 |
+++ b/sci-libs/rtabmap/Manifest |
26 |
@@ -1,3 +1 @@ |
27 |
-DIST rtabmap-0.19.3.tar.gz 19818629 BLAKE2B f732a02db6ef8434b1457234211a128e3050236590e0f6a1e08e36bbb5899b9d3de9409d7d7329f346d29874d440bd86835c1501fb638e3802e2663907e7b04d SHA512 bda72596911b1c35d757322c7e5acd7e43ec1f4e984bfb0599cfb39597bee79e470d1bc11b492f244f39c35812ae570d023848cdcbd011eeb78e347727045509 |
28 |
-DIST rtabmap-0.19.7.tar.gz 19936131 BLAKE2B ec640bb8dddb2acac9eb70e828edc88e76d90b287dc5be0c99f0943dac3df448b0a06bde79b1288e0b84a1b2a022e5713346f87e68f11a6f25be486e3122b62a SHA512 d02fec1db427092867b32d464e4b2450a729923260088b75dd0a813fc6d3e2539b3694035cddffc33b8fcd5a56a2a5c3dedb7c7a998b72f2094e1916f2a99084 |
29 |
DIST rtabmap-0.20.3.tar.gz 20008545 BLAKE2B d50a66034905243473d26f66a09f1e1408477908cca9337d77227d8e38ba6b571d5720a5391495903cd784742dd11ccaa035b2ed03568c9917e85c46681bdfe1 SHA512 2f8837e00f89210b270dbd863e1088d9786774a8fcf3db593efe35384251c2bb92bd97b261f823e4aee90312e30c886b42241ed22042a540091a218a2d1819f7 |
30 |
|
31 |
diff --git a/sci-libs/rtabmap/files/boost173.patch b/sci-libs/rtabmap/files/boost173.patch |
32 |
deleted file mode 100644 |
33 |
index 4549e9bc842..00000000000 |
34 |
--- a/sci-libs/rtabmap/files/boost173.patch |
35 |
+++ /dev/null |
36 |
@@ -1,13 +0,0 @@ |
37 |
-Index: rtabmap-0.19.7/corelib/src/camera/CameraOpenni.cpp |
38 |
-=================================================================== |
39 |
---- rtabmap-0.19.7.orig/corelib/src/camera/CameraOpenni.cpp |
40 |
-+++ rtabmap-0.19.7/corelib/src/camera/CameraOpenni.cpp |
41 |
-@@ -126,7 +126,7 @@ bool CameraOpenni::init(const std::strin |
42 |
- boost::function<void ( |
43 |
- const boost::shared_ptr<openni_wrapper::Image>&, |
44 |
- const boost::shared_ptr<openni_wrapper::DepthImage>&, |
45 |
-- float)> f = boost::bind (&CameraOpenni::image_cb, this, _1, _2, _3); |
46 |
-+ float)> f = boost::bind (&CameraOpenni::image_cb, this, boost::placeholders::_1, boost::placeholders::_2, boost::placeholders::_3); |
47 |
- connection_ = interface_->registerCallback (f); |
48 |
- |
49 |
- interface_->start (); |
50 |
|
51 |
diff --git a/sci-libs/rtabmap/files/ocv.patch b/sci-libs/rtabmap/files/ocv.patch |
52 |
deleted file mode 100644 |
53 |
index 0802b7899a2..00000000000 |
54 |
--- a/sci-libs/rtabmap/files/ocv.patch |
55 |
+++ /dev/null |
56 |
@@ -1,24 +0,0 @@ |
57 |
-From 7041d5fd34fb34851ad3287891aa5c383d73b5c2 Mon Sep 17 00:00:00 2001 |
58 |
-From: matlabbe <matlabbe@×××××.com> |
59 |
-Date: Sun, 3 May 2020 22:59:35 -0400 |
60 |
-Subject: [PATCH] Fixed #541 |
61 |
- |
62 |
---- |
63 |
- corelib/include/rtabmap/core/stereo/stereoRectifyFisheye.h | 3 --- |
64 |
- 1 file changed, 3 deletions(-) |
65 |
- |
66 |
-Index: rtabmap-0.19.7/corelib/include/rtabmap/core/stereo/stereoRectifyFisheye.h |
67 |
-=================================================================== |
68 |
---- rtabmap-0.19.7.orig/corelib/include/rtabmap/core/stereo/stereoRectifyFisheye.h |
69 |
-+++ rtabmap-0.19.7/corelib/include/rtabmap/core/stereo/stereoRectifyFisheye.h |
70 |
-@@ -37,10 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI |
71 |
- #include <opencv2/calib3d/calib3d_c.h> |
72 |
- |
73 |
- #if CV_MAJOR_VERSION >= 4 |
74 |
-- |
75 |
--#if CV_MINOR_VERSION >= 3 |
76 |
- #include <opencv2/core/core_c.h> |
77 |
--#endif |
78 |
- |
79 |
- // Opencv4 doesn't expose those functions below anymore, we should recopy all of them! |
80 |
- int cvRodrigues2( const CvMat* src, CvMat* dst, CvMat* jacobian CV_DEFAULT(0)) |
81 |
|
82 |
diff --git a/sci-libs/rtabmap/files/ocv4.patch b/sci-libs/rtabmap/files/ocv4.patch |
83 |
deleted file mode 100644 |
84 |
index 465b364ef01..00000000000 |
85 |
--- a/sci-libs/rtabmap/files/ocv4.patch |
86 |
+++ /dev/null |
87 |
@@ -1,23 +0,0 @@ |
88 |
-From d5b4b252870e4225ed00bd544a102015e5172c85 Mon Sep 17 00:00:00 2001 |
89 |
-From: matlabbe <matlabbe@×××××.com> |
90 |
-Date: Fri, 9 Aug 2019 15:31:47 -0400 |
91 |
-Subject: [PATCH] updated ORBExtractor opencv include (compatibility issue |
92 |
- https://github.com/introlab/rtabmap_ros/issues/333) |
93 |
- |
94 |
---- |
95 |
- corelib/src/opencv/ORBextractor.h | 2 +- |
96 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
97 |
- |
98 |
-diff --git a/corelib/src/opencv/ORBextractor.h b/corelib/src/opencv/ORBextractor.h |
99 |
-index 0f06c395..58619a15 100644 |
100 |
---- a/corelib/src/opencv/ORBextractor.h |
101 |
-+++ b/corelib/src/opencv/ORBextractor.h |
102 |
-@@ -31,7 +31,7 @@ |
103 |
- |
104 |
- #include <vector> |
105 |
- #include <list> |
106 |
--#include <opencv/cv.h> |
107 |
-+#include <opencv2/core/core_c.h> |
108 |
- |
109 |
- |
110 |
- namespace rtabmap |
111 |
|
112 |
diff --git a/sci-libs/rtabmap/files/pcl111.patch b/sci-libs/rtabmap/files/pcl111.patch |
113 |
deleted file mode 100644 |
114 |
index 3ff5d6be452..00000000000 |
115 |
--- a/sci-libs/rtabmap/files/pcl111.patch |
116 |
+++ /dev/null |
117 |
@@ -1,49 +0,0 @@ |
118 |
-Index: rtabmap-0.19.7/corelib/src/Graph.cpp |
119 |
-=================================================================== |
120 |
---- rtabmap-0.19.7.orig/corelib/src/Graph.cpp |
121 |
-+++ rtabmap-0.19.7/corelib/src/Graph.cpp |
122 |
-@@ -39,6 +39,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI |
123 |
- #include <pcl/search/kdtree.h> |
124 |
- #include <pcl/common/eigen.h> |
125 |
- #include <pcl/common/common.h> |
126 |
-+#include <pcl/common/point_tests.h> |
127 |
- #include <set> |
128 |
- #include <queue> |
129 |
- #include <fstream> |
130 |
-Index: rtabmap-0.19.7/corelib/src/clams/frame_projector.cpp |
131 |
-=================================================================== |
132 |
---- rtabmap-0.19.7.orig/corelib/src/clams/frame_projector.cpp |
133 |
-+++ rtabmap-0.19.7/corelib/src/clams/frame_projector.cpp |
134 |
-@@ -33,6 +33,7 @@ RTAB-Map integration: Mathieu Labbe |
135 |
- #include <rtabmap/core/util3d.h> |
136 |
- #include <opencv2/highgui/highgui.hpp> |
137 |
- #include <opencv2/imgproc/imgproc.hpp> |
138 |
-+#include <pcl/common/point_tests.h> |
139 |
- |
140 |
- using namespace std; |
141 |
- using namespace Eigen; |
142 |
-Index: rtabmap-0.19.7/corelib/src/util3d_correspondences.cpp |
143 |
-=================================================================== |
144 |
---- rtabmap-0.19.7.orig/corelib/src/util3d_correspondences.cpp |
145 |
-+++ rtabmap-0.19.7/corelib/src/util3d_correspondences.cpp |
146 |
-@@ -32,6 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI |
147 |
- #include <rtabmap/core/EpipolarGeometry.h> |
148 |
- #include <opencv2/calib3d/calib3d.hpp> |
149 |
- #include <pcl/search/kdtree.h> |
150 |
-+#include <pcl/common/point_tests.h> |
151 |
- |
152 |
- namespace rtabmap |
153 |
- { |
154 |
-Index: rtabmap-0.19.7/corelib/src/util3d_features.cpp |
155 |
-=================================================================== |
156 |
---- rtabmap-0.19.7.orig/corelib/src/util3d_features.cpp |
157 |
-+++ rtabmap-0.19.7/corelib/src/util3d_features.cpp |
158 |
-@@ -42,6 +42,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI |
159 |
- |
160 |
- #include <opencv2/video/tracking.hpp> |
161 |
- |
162 |
-+#include <pcl/common/point_tests.h> |
163 |
-+ |
164 |
- namespace rtabmap |
165 |
- { |
166 |
- |
167 |
|
168 |
diff --git a/sci-libs/rtabmap/rtabmap-0.19.3-r1.ebuild b/sci-libs/rtabmap/rtabmap-0.19.3-r1.ebuild |
169 |
deleted file mode 100644 |
170 |
index df3b781baf7..00000000000 |
171 |
--- a/sci-libs/rtabmap/rtabmap-0.19.3-r1.ebuild |
172 |
+++ /dev/null |
173 |
@@ -1,65 +0,0 @@ |
174 |
-# Copyright 1999-2019 Gentoo Authors |
175 |
-# Distributed under the terms of the GNU General Public License v2 |
176 |
- |
177 |
-EAPI=7 |
178 |
- |
179 |
-SCM="" |
180 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
181 |
- SCM="git-r3" |
182 |
- EGIT_REPO_URI="https://github.com/introlab/rtabmap" |
183 |
-fi |
184 |
- |
185 |
-inherit ${SCM} cmake-utils multilib |
186 |
- |
187 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
188 |
- KEYWORDS="" |
189 |
- SRC_URI="" |
190 |
-else |
191 |
- KEYWORDS="~amd64" |
192 |
- SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}.tar.gz -> ${P}.tar.gz" |
193 |
- S="${WORKDIR}/${P}" |
194 |
-fi |
195 |
- |
196 |
-DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)" |
197 |
-HOMEPAGE="http://introlab.github.io/rtabmap/" |
198 |
-LICENSE="BSD" |
199 |
-SLOT="0" |
200 |
-IUSE="examples ieee1394 openni2 qt5" |
201 |
- |
202 |
-RDEPEND=" |
203 |
- media-libs/opencv:=[qt5(-)?] |
204 |
- sci-libs/pcl:=[openni,vtk,qt5(-)?] |
205 |
- sci-libs/vtk:=[qt5(-)?] |
206 |
- sys-libs/zlib |
207 |
- sci-libs/octomap:= |
208 |
- dev-libs/boost:= |
209 |
- ieee1394? ( media-libs/libdc1394 ) |
210 |
- openni2? ( dev-libs/OpenNI2 ) |
211 |
- qt5? ( |
212 |
- dev-qt/qtwidgets:5 |
213 |
- dev-qt/qtcore:5 |
214 |
- dev-qt/qtgui:5 |
215 |
- dev-qt/qtsvg:5 |
216 |
- ) |
217 |
-" |
218 |
-DEPEND="${RDEPEND}" |
219 |
-BDEPEND="virtual/pkgconfig" |
220 |
-PATCHES=( "${FILESDIR}/ocv4.patch" ) |
221 |
- |
222 |
-src_configure() { |
223 |
- local mycmakeargs=( |
224 |
- "-DWITH_QT=$(usex qt5 ON OFF)" |
225 |
- "-DWITH_DC1394=$(usex ieee1394 ON OFF)" |
226 |
- "-DWITH_OPENNI2=$(usex openni2 ON OFF)" |
227 |
- "-DBUILD_EXAMPLES=$(usex examples ON OFF)" |
228 |
- ) |
229 |
- cmake-utils_src_configure |
230 |
-} |
231 |
- |
232 |
-src_install() { |
233 |
- cmake-utils_src_install |
234 |
- # Needed since we force ros crawling to be done only in |
235 |
- # /usr/share/ros_packages/ |
236 |
- insinto /usr/share/ros_packages/${PN} |
237 |
- doins "${ED}/usr/share/${PN}/package.xml" |
238 |
-} |
239 |
|
240 |
diff --git a/sci-libs/rtabmap/rtabmap-0.19.7.ebuild b/sci-libs/rtabmap/rtabmap-0.19.7.ebuild |
241 |
deleted file mode 100644 |
242 |
index 4640d13e9cf..00000000000 |
243 |
--- a/sci-libs/rtabmap/rtabmap-0.19.7.ebuild |
244 |
+++ /dev/null |
245 |
@@ -1,69 +0,0 @@ |
246 |
-# Copyright 1999-2020 Gentoo Authors |
247 |
-# Distributed under the terms of the GNU General Public License v2 |
248 |
- |
249 |
-EAPI=7 |
250 |
- |
251 |
-SCM="" |
252 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
253 |
- SCM="git-r3" |
254 |
- EGIT_REPO_URI="https://github.com/introlab/rtabmap" |
255 |
-fi |
256 |
- |
257 |
-inherit ${SCM} cmake-utils multilib |
258 |
- |
259 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
260 |
- KEYWORDS="" |
261 |
- SRC_URI="" |
262 |
-else |
263 |
- KEYWORDS="~amd64" |
264 |
- SRC_URI="https://github.com/introlab/rtabmap/archive/${PV}.tar.gz -> ${P}.tar.gz" |
265 |
- S="${WORKDIR}/${P}" |
266 |
-fi |
267 |
- |
268 |
-DESCRIPTION="Real-Time Appearance-Based Mapping (RGB-D Graph SLAM)" |
269 |
-HOMEPAGE="http://introlab.github.io/rtabmap/" |
270 |
-LICENSE="BSD" |
271 |
-SLOT="0" |
272 |
-IUSE="examples ieee1394 openni2 qt5" |
273 |
- |
274 |
-RDEPEND=" |
275 |
- media-libs/opencv:=[qt5(-)?] |
276 |
- sci-libs/pcl:=[openni,vtk,qt5(-)?] |
277 |
- sci-libs/vtk:=[qt5(-)?] |
278 |
- sys-libs/zlib |
279 |
- sci-libs/octomap:= |
280 |
- dev-libs/boost:= |
281 |
- ieee1394? ( media-libs/libdc1394 ) |
282 |
- openni2? ( dev-libs/OpenNI2 ) |
283 |
- qt5? ( |
284 |
- dev-qt/qtwidgets:5 |
285 |
- dev-qt/qtcore:5 |
286 |
- dev-qt/qtgui:5 |
287 |
- dev-qt/qtsvg:5 |
288 |
- ) |
289 |
-" |
290 |
-DEPEND="${RDEPEND}" |
291 |
-BDEPEND="virtual/pkgconfig" |
292 |
-PATCHES=( |
293 |
- "${FILESDIR}/pcl111.patch" |
294 |
- "${FILESDIR}/boost173.patch" |
295 |
- "${FILESDIR}/ocv.patch" |
296 |
-) |
297 |
- |
298 |
-src_configure() { |
299 |
- local mycmakeargs=( |
300 |
- "-DWITH_QT=$(usex qt5 ON OFF)" |
301 |
- "-DWITH_DC1394=$(usex ieee1394 ON OFF)" |
302 |
- "-DWITH_OPENNI2=$(usex openni2 ON OFF)" |
303 |
- "-DBUILD_EXAMPLES=$(usex examples ON OFF)" |
304 |
- ) |
305 |
- cmake-utils_src_configure |
306 |
-} |
307 |
- |
308 |
-src_install() { |
309 |
- cmake-utils_src_install |
310 |
- # Needed since we force ros crawling to be done only in |
311 |
- # /usr/share/ros_packages/ |
312 |
- insinto /usr/share/ros_packages/${PN} |
313 |
- doins "${ED}/usr/share/${PN}/package.xml" |
314 |
-} |