1 |
commit: 8180f9d39f5f4c2dcc0707b082cd14b493fc7b2a |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 30 11:21:09 2015 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 30 12:03:50 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8180f9d3 |
7 |
|
8 |
dev-ros/navfn: Initial import. Ebuild by me. |
9 |
|
10 |
Package-Manager: portage-2.2.22 |
11 |
|
12 |
dev-ros/navfn/Manifest | 1 + |
13 |
dev-ros/navfn/files/pgm_h_location.patch | 26 +++++++++++++++++++++++ |
14 |
dev-ros/navfn/metadata.xml | 5 +++++ |
15 |
dev-ros/navfn/navfn-1.13.0.ebuild | 36 ++++++++++++++++++++++++++++++++ |
16 |
dev-ros/navfn/navfn-9999.ebuild | 36 ++++++++++++++++++++++++++++++++ |
17 |
5 files changed, 104 insertions(+) |
18 |
|
19 |
diff --git a/dev-ros/navfn/Manifest b/dev-ros/navfn/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000..2ab0c74 |
22 |
--- /dev/null |
23 |
+++ b/dev-ros/navfn/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST navigation-1.13.0.tar.gz 336419 SHA256 5ef288325a0de4accfb4ef0cc37d9e9c4106a05d98b0ae5757f6c4823abada97 SHA512 1b686d4d1e930901dcf899fb73c8609855c3bb6d797322f6f3b9ea7ccb349f98802870b44e0fcbee4e68abebeecbaff57d453dc790fbc908cd23b8afda22e1af WHIRLPOOL 096103d8b774205995a12d294c820187fb89302285b363f6e6b9a4bb1e30a2edf9b33a451effc00b8aeec4d8f40664f61266314d389b9c668c0d7cf2152f70dd |
26 |
|
27 |
diff --git a/dev-ros/navfn/files/pgm_h_location.patch b/dev-ros/navfn/files/pgm_h_location.patch |
28 |
new file mode 100644 |
29 |
index 0000000..683a955 |
30 |
--- /dev/null |
31 |
+++ b/dev-ros/navfn/files/pgm_h_location.patch |
32 |
@@ -0,0 +1,26 @@ |
33 |
+Index: navigation-1.13.0/navfn/src/navtest.cpp |
34 |
+=================================================================== |
35 |
+--- navigation-1.13.0.orig/navfn/src/navtest.cpp |
36 |
++++ navigation-1.13.0/navfn/src/navtest.cpp |
37 |
+@@ -21,7 +21,7 @@ using namespace navfn; |
38 |
+ extern "C" { |
39 |
+ #include <stdio.h> |
40 |
+ // pgm.h is not very friendly with system headers... need to undef max() and min() afterwards |
41 |
+-#include <pgm.h> |
42 |
++#include <netpbm/pgm.h> |
43 |
+ #undef max |
44 |
+ #undef min |
45 |
+ } |
46 |
+Index: navigation-1.13.0/navfn/src/read_pgm_costmap.cpp |
47 |
+=================================================================== |
48 |
+--- navigation-1.13.0.orig/navfn/src/read_pgm_costmap.cpp |
49 |
++++ navigation-1.13.0/navfn/src/read_pgm_costmap.cpp |
50 |
+@@ -37,7 +37,7 @@ |
51 |
+ extern "C" { |
52 |
+ #include <stdio.h> |
53 |
+ // pgm.h is not very friendly with system headers... need to undef max() and min() afterwards |
54 |
+-#include <pgm.h> |
55 |
++#include <netpbm/pgm.h> |
56 |
+ #undef max |
57 |
+ #undef min |
58 |
+ } |
59 |
|
60 |
diff --git a/dev-ros/navfn/metadata.xml b/dev-ros/navfn/metadata.xml |
61 |
new file mode 100644 |
62 |
index 0000000..c42ea5b |
63 |
--- /dev/null |
64 |
+++ b/dev-ros/navfn/metadata.xml |
65 |
@@ -0,0 +1,5 @@ |
66 |
+<?xml version="1.0" encoding="UTF-8"?> |
67 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
68 |
+<pkgmetadata> |
69 |
+<herd>ros</herd> |
70 |
+</pkgmetadata> |
71 |
|
72 |
diff --git a/dev-ros/navfn/navfn-1.13.0.ebuild b/dev-ros/navfn/navfn-1.13.0.ebuild |
73 |
new file mode 100644 |
74 |
index 0000000..bea902d |
75 |
--- /dev/null |
76 |
+++ b/dev-ros/navfn/navfn-1.13.0.ebuild |
77 |
@@ -0,0 +1,36 @@ |
78 |
+# Copyright 1999-2014 Gentoo Foundation |
79 |
+# Distributed under the terms of the GNU General Public License v2 |
80 |
+# $Id$ |
81 |
+ |
82 |
+EAPI=5 |
83 |
+ROS_REPO_URI="https://github.com/ros-planning/navigation" |
84 |
+ROS_SUBDIR=${PN} |
85 |
+KEYWORDS="~amd64 ~arm" |
86 |
+CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs dev-ros/geometry_msgs dev-ros/nav_msgs" |
87 |
+ |
88 |
+inherit ros-catkin |
89 |
+ |
90 |
+DESCRIPTION="Fast interpolated navigation function that can be used to create plans for a mobile base" |
91 |
+LICENSE="BSD" |
92 |
+SLOT="0" |
93 |
+IUSE="" |
94 |
+ |
95 |
+RDEPEND=" |
96 |
+ dev-ros/costmap_2d |
97 |
+ dev-ros/nav_core |
98 |
+ dev-ros/pcl_conversions |
99 |
+ dev-ros/pcl_ros |
100 |
+ dev-ros/pluginlib |
101 |
+ dev-ros/roscpp |
102 |
+ dev-ros/tf |
103 |
+ dev-ros/visualization_msgs |
104 |
+ dev-cpp/eigen:3 |
105 |
+ sci-libs/pcl |
106 |
+ x11-libs/fltk |
107 |
+ media-libs/netpbm |
108 |
+" |
109 |
+DEPEND="${RDEPEND} |
110 |
+ test? ( dev-cpp/gtest ) |
111 |
+ dev-ros/cmake_modules" |
112 |
+ |
113 |
+PATCHES=( "${FILESDIR}/pgm_h_location.patch" ) |
114 |
|
115 |
diff --git a/dev-ros/navfn/navfn-9999.ebuild b/dev-ros/navfn/navfn-9999.ebuild |
116 |
new file mode 100644 |
117 |
index 0000000..bea902d |
118 |
--- /dev/null |
119 |
+++ b/dev-ros/navfn/navfn-9999.ebuild |
120 |
@@ -0,0 +1,36 @@ |
121 |
+# Copyright 1999-2014 Gentoo Foundation |
122 |
+# Distributed under the terms of the GNU General Public License v2 |
123 |
+# $Id$ |
124 |
+ |
125 |
+EAPI=5 |
126 |
+ROS_REPO_URI="https://github.com/ros-planning/navigation" |
127 |
+ROS_SUBDIR=${PN} |
128 |
+KEYWORDS="~amd64 ~arm" |
129 |
+CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs dev-ros/geometry_msgs dev-ros/nav_msgs" |
130 |
+ |
131 |
+inherit ros-catkin |
132 |
+ |
133 |
+DESCRIPTION="Fast interpolated navigation function that can be used to create plans for a mobile base" |
134 |
+LICENSE="BSD" |
135 |
+SLOT="0" |
136 |
+IUSE="" |
137 |
+ |
138 |
+RDEPEND=" |
139 |
+ dev-ros/costmap_2d |
140 |
+ dev-ros/nav_core |
141 |
+ dev-ros/pcl_conversions |
142 |
+ dev-ros/pcl_ros |
143 |
+ dev-ros/pluginlib |
144 |
+ dev-ros/roscpp |
145 |
+ dev-ros/tf |
146 |
+ dev-ros/visualization_msgs |
147 |
+ dev-cpp/eigen:3 |
148 |
+ sci-libs/pcl |
149 |
+ x11-libs/fltk |
150 |
+ media-libs/netpbm |
151 |
+" |
152 |
+DEPEND="${RDEPEND} |
153 |
+ test? ( dev-cpp/gtest ) |
154 |
+ dev-ros/cmake_modules" |
155 |
+ |
156 |
+PATCHES=( "${FILESDIR}/pgm_h_location.patch" ) |