summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoracxz2020-09-06 08:41:48 -0400
committeracxz2020-09-06 08:41:48 -0400
commit82474766232721aafcb66f0c6e9e657c265d3acc (patch)
treed638fdf07a043a3c8d3b79909a5755d0acc31109
parent08d9fbd1a712dec4a0042c672ec716383be21d11 (diff)
downloadaur-ros-noetic-base-local-planner.tar.gz
create ros-noetic-base-local-planner package
-rw-r--r--.SRCINFO74
-rw-r--r--PKGBUILD103
2 files changed, 69 insertions, 108 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d56464a1f3c..49923798818 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
-pkgbase = ros-melodic-base-local-planner
+pkgbase = ros-noetic-base-local-planner
pkgdesc = ROS - This package provides implementations of the Trajectory Rollout and Dynamic Window approaches to local robot navigation on a plane.
- pkgver = 1.16.6
- pkgrel = 15
+ pkgver = 1.17.1
+ pkgrel = 1
url = https://wiki.ros.org/base_local_planner
arch = i686
arch = x86_64
@@ -11,50 +11,30 @@ pkgbase = ros-melodic-base-local-planner
license = BSD
makedepends = cmake
makedepends = ros-build-tools
- makedepends = eigen
- makedepends = ros-melodic-angles
- makedepends = ros-melodic-angles
- makedepends = ros-melodic-catkin
- makedepends = ros-melodic-cmake-modules
- makedepends = ros-melodic-costmap-2d
- makedepends = ros-melodic-dynamic-reconfigure
- makedepends = ros-melodic-geometry-msgs
- makedepends = ros-melodic-message-generation
- makedepends = ros-melodic-nav-core
- makedepends = ros-melodic-nav-msgs
- makedepends = ros-melodic-pluginlib
- makedepends = ros-melodic-rosconsole
- makedepends = ros-melodic-roscpp
- makedepends = ros-melodic-rospy
- makedepends = ros-melodic-sensor-msgs
- makedepends = ros-melodic-std-msgs
- makedepends = ros-melodic-tf2
- makedepends = ros-melodic-tf2-geometry-msgs
- makedepends = ros-melodic-tf2-ros
- makedepends = ros-melodic-visualization-msgs
- makedepends = ros-melodic-voxel-grid
- depends = ros-melodic-angles
- depends = ros-melodic-angles
- depends = ros-melodic-catkin
- depends = ros-melodic-costmap-2d
- depends = ros-melodic-dynamic-reconfigure
- depends = ros-melodic-geometry-msgs
- depends = ros-melodic-message-generation
- depends = ros-melodic-nav-core
- depends = ros-melodic-nav-msgs
- depends = ros-melodic-pluginlib
- depends = ros-melodic-rosconsole
- depends = ros-melodic-roscpp
- depends = ros-melodic-rospy
- depends = ros-melodic-sensor-msgs
- depends = ros-melodic-std-msgs
- depends = ros-melodic-tf2
- depends = ros-melodic-tf2-ros
- depends = ros-melodic-visualization-msgs
- depends = ros-melodic-voxel-grid
+ makedepends = ros-noetic-catkin
+ makedepends = ros-noetic-cmake-modules
+ makedepends = ros-noetic-message-generation
+ makedepends = ros-noetic-tf2-geometry-msgs
+ depends = ros-noetic-angles
+ depends = ros-noetic-costmap-2d
+ depends = ros-noetic-dynamic-reconfigure
+ depends = ros-noetic-geometry-msgs
+ depends = ros-noetic-nav-core
+ depends = ros-noetic-nav-msgs
+ depends = ros-noetic-pluginlib
+ depends = ros-noetic-sensor-msgs
+ depends = ros-noetic-std-msgs
+ depends = ros-noetic-rosconsole
+ depends = ros-noetic-roscpp
+ depends = ros-noetic-rospy
+ depends = ros-noetic-tf2
+ depends = ros-noetic-tf2-ros
+ depends = ros-noetic-visualization-msgs
+ depends = ros-noetic-voxel-grid
+ depends = ros-noetic-message-runtime
depends = eigen
- source = ros-melodic-base-local-planner-1.16.6.tar.gz::https://github.com/ros-planning/navigation/archive/1.16.6.tar.gz
- sha256sums = 88e3b4433de9645e1132db15b01f436a75a28ebc15cd5b70660b158dd6ba42dd
+ source = ros-noetic-base-local-planner-1.17.1.tar.gz::https://github.com/ros-planning/navigation/archive/1.17.1.tar.gz
+ sha256sums = 50e1fb4a0beb190202e9730180464b76b3a481cae2665e0f1944eb908929148e
-pkgname = ros-melodic-base-local-planner
+pkgname = ros-noetic-base-local-planner
diff --git a/PKGBUILD b/PKGBUILD
index f75a231f85c..d39cdb89090 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,87 +1,68 @@
-# Maintainer: Timon Engelke <aur@timonengelke.de>
pkgdesc="ROS - This package provides implementations of the Trajectory Rollout and Dynamic Window approaches to local robot navigation on a plane."
url='https://wiki.ros.org/base_local_planner'
-pkgname='ros-melodic-base-local-planner'
-pkgver='1.16.6'
+pkgname='ros-noetic-base-local-planner'
+pkgver='1.17.1'
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'armv6h')
-pkgrel=15
+pkgrel=1
license=('BSD')
-ros_makedepends=(ros-melodic-angles
- ros-melodic-angles
- ros-melodic-catkin
- ros-melodic-cmake-modules
- ros-melodic-costmap-2d
- ros-melodic-dynamic-reconfigure
- ros-melodic-geometry-msgs
- ros-melodic-message-generation
- ros-melodic-nav-core
- ros-melodic-nav-msgs
- ros-melodic-pluginlib
- ros-melodic-rosconsole
- ros-melodic-roscpp
- ros-melodic-rospy
- ros-melodic-sensor-msgs
- ros-melodic-std-msgs
- ros-melodic-tf2
- ros-melodic-tf2-geometry-msgs
- ros-melodic-tf2-ros
- ros-melodic-visualization-msgs
- ros-melodic-voxel-grid)
-makedepends=('cmake' 'ros-build-tools' 'eigen'
- ${ros_makedepends[@]})
+ros_makedepends=(
+ ros-noetic-catkin
+ ros-noetic-cmake-modules
+ ros-noetic-message-generation
+ ros-noetic-tf2-geometry-msgs
+)
-ros_depends=(ros-melodic-angles
- ros-melodic-angles
- ros-melodic-catkin
- ros-melodic-costmap-2d
- ros-melodic-dynamic-reconfigure
- ros-melodic-geometry-msgs
- ros-melodic-message-generation
- ros-melodic-nav-core
- ros-melodic-nav-msgs
- ros-melodic-pluginlib
- ros-melodic-rosconsole
- ros-melodic-roscpp
- ros-melodic-rospy
- ros-melodic-sensor-msgs
- ros-melodic-std-msgs
- ros-melodic-tf2
- ros-melodic-tf2-ros
- ros-melodic-visualization-msgs
- ros-melodic-voxel-grid)
-depends=(${ros_depends[@]} 'eigen')
+makedepends=(
+ cmake
+ ros-build-tools
+ ${ros_makedepends[@]}
+)
-# Git version (e.g. for debugging)
-# _tag=release/melodic/base_local_planner/${pkgver}-${_pkgver_patch}
-# _dir=${pkgname}
-# source=("${_dir}"::"git+https://github.com/ros-gbp/navigation-release.git"#tag=${_tag})
-# sha256sums=('SKIP')
+ros_depends=(
+ ros-noetic-angles
+ ros-noetic-costmap-2d
+ ros-noetic-dynamic-reconfigure
+ ros-noetic-geometry-msgs
+ ros-noetic-nav-core
+ ros-noetic-nav-msgs
+ ros-noetic-pluginlib
+ ros-noetic-sensor-msgs
+ ros-noetic-std-msgs
+ ros-noetic-rosconsole
+ ros-noetic-roscpp
+ ros-noetic-rospy
+ ros-noetic-tf2
+ ros-noetic-tf2-ros
+ ros-noetic-visualization-msgs
+ ros-noetic-voxel-grid
+ ros-noetic-message-runtime
+)
+
+depends=(
+ ${ros_depends[@]}
+ eigen
+)
-# Tarball version (faster download)
_dir="navigation-${pkgver}/base_local_planner"
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ros-planning/navigation/archive/${pkgver}.tar.gz")
-sha256sums=('88e3b4433de9645e1132db15b01f436a75a28ebc15cd5b70660b158dd6ba42dd')
+sha256sums=('50e1fb4a0beb190202e9730180464b76b3a481cae2665e0f1944eb908929148e')
build() {
# Use ROS environment variables
source /usr/share/ros-build-tools/clear-ros-env.sh
- [ -f /opt/ros/melodic/setup.bash ] && source /opt/ros/melodic/setup.bash
+ [ -f /opt/ros/noetic/setup.bash ] && source /opt/ros/noetic/setup.bash
# Create build directory
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build
- # Fix Python2/Python3 conflicts
- /usr/share/ros-build-tools/fix-python-scripts.sh -v 3 ${srcdir}/${_dir}
-
# Build project
cmake ${srcdir}/${_dir} \
- -DCMAKE_BUILD_TYPE=Release \
-DCATKIN_BUILD_BINARY_PACKAGE=ON \
- -DCMAKE_INSTALL_PREFIX=/opt/ros/melodic \
- -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \
+ -DPYTHON_EXECUTABLE=/usr/bin/python \
-DSETUPTOOLS_DEB_LAYOUT=OFF
make
}