dev-ros/navfn: Initial import. Ebuild by me.

Package-Manager: portage-2.2.22
This commit is contained in:
Alexis Ballier
2015-09-30 13:21:09 +02:00
parent 61b8122168
commit 8180f9d39f
5 changed files with 104 additions and 0 deletions

1
dev-ros/navfn/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST navigation-1.13.0.tar.gz 336419 SHA256 5ef288325a0de4accfb4ef0cc37d9e9c4106a05d98b0ae5757f6c4823abada97 SHA512 1b686d4d1e930901dcf899fb73c8609855c3bb6d797322f6f3b9ea7ccb349f98802870b44e0fcbee4e68abebeecbaff57d453dc790fbc908cd23b8afda22e1af WHIRLPOOL 096103d8b774205995a12d294c820187fb89302285b363f6e6b9a4bb1e30a2edf9b33a451effc00b8aeec4d8f40664f61266314d389b9c668c0d7cf2152f70dd

View File

@@ -0,0 +1,26 @@
Index: navigation-1.13.0/navfn/src/navtest.cpp
===================================================================
--- navigation-1.13.0.orig/navfn/src/navtest.cpp
+++ navigation-1.13.0/navfn/src/navtest.cpp
@@ -21,7 +21,7 @@ using namespace navfn;
extern "C" {
#include <stdio.h>
// pgm.h is not very friendly with system headers... need to undef max() and min() afterwards
-#include <pgm.h>
+#include <netpbm/pgm.h>
#undef max
#undef min
}
Index: navigation-1.13.0/navfn/src/read_pgm_costmap.cpp
===================================================================
--- navigation-1.13.0.orig/navfn/src/read_pgm_costmap.cpp
+++ navigation-1.13.0/navfn/src/read_pgm_costmap.cpp
@@ -37,7 +37,7 @@
extern "C" {
#include <stdio.h>
// pgm.h is not very friendly with system headers... need to undef max() and min() afterwards
-#include <pgm.h>
+#include <netpbm/pgm.h>
#undef max
#undef min
}

View File

@@ -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>

View File

@@ -0,0 +1,36 @@
# 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-planning/navigation"
ROS_SUBDIR=${PN}
KEYWORDS="~amd64 ~arm"
CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs dev-ros/geometry_msgs dev-ros/nav_msgs"
inherit ros-catkin
DESCRIPTION="Fast interpolated navigation function that can be used to create plans for a mobile base"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="
dev-ros/costmap_2d
dev-ros/nav_core
dev-ros/pcl_conversions
dev-ros/pcl_ros
dev-ros/pluginlib
dev-ros/roscpp
dev-ros/tf
dev-ros/visualization_msgs
dev-cpp/eigen:3
sci-libs/pcl
x11-libs/fltk
media-libs/netpbm
"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )
dev-ros/cmake_modules"
PATCHES=( "${FILESDIR}/pgm_h_location.patch" )

View File

@@ -0,0 +1,36 @@
# 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-planning/navigation"
ROS_SUBDIR=${PN}
KEYWORDS="~amd64 ~arm"
CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs dev-ros/geometry_msgs dev-ros/nav_msgs"
inherit ros-catkin
DESCRIPTION="Fast interpolated navigation function that can be used to create plans for a mobile base"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="
dev-ros/costmap_2d
dev-ros/nav_core
dev-ros/pcl_conversions
dev-ros/pcl_ros
dev-ros/pluginlib
dev-ros/roscpp
dev-ros/tf
dev-ros/visualization_msgs
dev-cpp/eigen:3
sci-libs/pcl
x11-libs/fltk
media-libs/netpbm
"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )
dev-ros/cmake_modules"
PATCHES=( "${FILESDIR}/pgm_h_location.patch" )