ros2-jazzy-slam_toolbox
LOW
maintainer AutoUpdateBot
0 votes
scanned 2026-09-05 09:59:47.702300
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: AutoUpdateBot <auto-update-bot@arch4edu.org>
2
3
_pkgname=slam_toolbox
4
pkgname=ros2-jazzy-slam_toolbox
5
pkgver=2.8.5
6
pkgrel=1
7
pkgdesc="Slam Toolbox for lifelong mapping and localization in potentially massive maps with ROS 2 Jazzy"
8
url="https://github.com/SteveMacenski/slam_toolbox"
9
arch=('x86_64')
10
license=('LGPL-2.1-only')
11
depends=(
12
'ros2-jazzy'
13
'ros2-jazzy-bond'
14
'ros2-jazzy-bondcpp'
15
'ceres-solver'
16
'suitesparse'
17
'boost-libs'
18
'onetbb'
19
'qt5-base'
20
'eigen'
21
)
22
makedepends=('cmake' 'boost')
23
source=("$pkgname-$pkgver.tar.gz::https://github.com/SteveMacenski/slam_toolbox/archive/refs/tags/${pkgver}.tar.gz")
24
sha256sums=('657de32eb37b9e39da80882f356438df6aa8d8898a17acdb62f7a4d0fa8d3f70')
25
26
prepare() {
27
# G2O is find_package(... REQUIRED) but never linked or included in 2.8.5,
28
# and g2o is not packaged; drop the vestigial hard requirement.
29
sed -i '/find_package(G2O REQUIRED)/d' "$_pkgname-$pkgver/CMakeLists.txt"
30
}
31
32
build() {
33
source /opt/ros/jazzy/setup.bash
34
35
# Compiled nodes embed __FILE__ build paths.
36
export CFLAGS+=" -ffile-prefix-map=$srcdir=/usr/src/debug/$pkgname"
37
export CXXFLAGS+=" -ffile-prefix-map=$srcdir=/usr/src/debug/$pkgname"
38
# karto_sdk relies on EIGEN3_INCLUDE_DIRS which is empty on Arch; add the path explicitly.
39
export CXXFLAGS+=" -I/usr/include/eigen3"
40
41
cmake -B build -S "$_pkgname-$pkgver" \
42
-DCMAKE_BUILD_TYPE='None' \
43
-DCMAKE_INSTALL_PREFIX='/opt/ros/jazzy' \
44
-DBUILD_TESTING=OFF \
45
-Wno-dev
46
cmake --build build
47
}
48
49
package() {
50
DESTDIR="$pkgdir" cmake --install build
51
52
install -Dm644 "$_pkgname-$pkgver/LICENSE" \
53
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
54
}
55
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-05 09:59:47 | Low | 1 |