Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{ros2} Add required ROS2 SDK environment variables #1261

Draft
wants to merge 177 commits into
base: master-next
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
564a9bc
meta-ros-common: Preserve PYTHONPATH in ros_opt_prefix.bbclass
robwoolley Jul 7, 2024
1385f94
meta-ros2: Add missing copyright to ros_ament_cmake.bbclass
robwoolley Jul 7, 2024
f109c30
meta-ros2: Disable prefix-path generation for ros_ament_cmake packages
robwoolley Jul 7, 2024
f82920e
meta-ros2: Add setuptools3 workaround to ros_ament_python.bbclass
robwoolley Jul 7, 2024
109b1b2
meta-ros2: libfyaml: Add new recipe
robwoolley Jul 7, 2024
38ba93c
meta-ros2: google-benchmark: Update to 1.8.3
robwoolley Jul 7, 2024
07444ec
meta-ros-common: yaml-cpp: Update to 0.8.0
robwoolley Jul 7, 2024
1958a05
{rolling} yaml-cpp-vendor: Use system yaml-cpp
robwoolley Jul 7, 2024
74ae77d
meta-ros-common: fcl: Add octomap for moveit
robwoolley Jul 7, 2024
a29b663
meta-ros-common: fcl: Add recipe for 0.7.0
robwoolley Jul 7, 2024
32e193d
meta-ros-common: libfreenect: Add recipe for 0.6.4
robwoolley Jul 7, 2024
4b6d0e5
meta-ros-common: pcl: Add multiple recipe versions
robwoolley Jul 7, 2024
b75f670
meta-ros-common: assimp: Enable internal zlib build
robwoolley Jul 7, 2024
147c7f5
meta-ros-common: gdal: Extend recipe for native support
robwoolley Jul 7, 2024
01d8d2c
meta-ros-common: suitesparse: Add newer versions of recipes
robwoolley Jul 7, 2024
cf96bc6
meta-ros-common: ceres-solver: Remove suitesparse-metis
robwoolley Jul 7, 2024
b0a558d
meta-ros-common: postgresql: Extend recipe for native support
robwoolley Jul 7, 2024
d080d5a
meta-ros-common: ffmpeg: Extend recipe for native support
robwoolley Jul 7, 2024
433803e
meta-ros-common: freeglut: Extend recipe for native support
robwoolley Jul 7, 2024
67f1e1f
meta-ros-common: backward-cpp: Add new recipe
robwoolley Jul 7, 2024
2948a37
meta-ros-common: coinor-buildtools: Add new recipe
robwoolley Jul 7, 2024
0d32e6d
meta-ros-common: libdeflate: Add new recipe
robwoolley Jul 7, 2024
6fe542c
meta-ros-common: python3-pyproj: Extend recipe for native support
robwoolley Jul 7, 2024
baf580a
meta-ros-common: gts: Add new recipe
robwoolley Jul 7, 2024
44b5885
meta-ros2: libdeflate: Remove duplicate recipe
robwoolley Jul 7, 2024
daf2e53
meta-ros-common: libdeflate: Extend recipe for native support
robwoolley Jul 7, 2024
26867cf
meta-ros-common: libraw: Extend recipe for native support
robwoolley Jul 7, 2024
9bcca23
meta-ros-common: libtheora: Extend recipe for native support
robwoolley Jul 7, 2024
34feb4f
meta-ros-common: libxv: Extend recipe for native support
robwoolley Jul 7, 2024
3e7bf57
meta-ros-common: libglu: Extend recipe for native support
robwoolley Jul 7, 2024
a4a7f0d
meta-ros-common: openexr: Add new recipe
robwoolley Jul 7, 2024
d02627b
meta-ros-common: imath: Add new recipe
robwoolley Jul 7, 2024
1dd92e7
meta-ros-common: ipopt: Add new recipe
robwoolley Jul 7, 2024
f48630c
meta-ros-common: pagmo: Add new recipe
robwoolley Jul 7, 2024
72199ef
meta-ros-common: zziplib: Add new recipe
robwoolley Jul 7, 2024
13989d7
meta-ros-common: freeimage: Add new recipe
robwoolley Jul 7, 2024
7638e4d
meta-ros-common: jxrlib: Add new recipe
robwoolley Jul 7, 2024
c76e2f6
meta-ros-common: Add octomap recipe
robwoolley Jul 7, 2024
e95312a
meta-ros-common: ogre-next: Add new recipe
robwoolley Jul 7, 2024
0f02b61
meta-ros-common: dartsim: Add new recipe
robwoolley Jul 7, 2024
2ca0823
meta-ros-common: Add sdformat recipes
robwoolley Jul 7, 2024
3da7cf4
meta-ros-common: ignition: Add ignition recipes
robwoolley Jul 7, 2024
0432542
meta-ros-common: gazebo: Add new recipes
robwoolley Jul 7, 2024
381d1b4
{rolling} ros-distro-recipe-blacklist.inc: Add BBMASK for octomap
robwoolley Jul 7, 2024
db1f754
{rolling} octomap: Remove the bbappend for the generated recipe
robwoolley Jul 7, 2024
45831de
{rolling} ecl-*: Add exception for solibs
robwoolley Jul 7, 2024
cf3ba48
{rolling} ecl-time: Disable compiler warnings as errors
robwoolley Jul 7, 2024
8a86239
{rolling} fcl: Remove old bbappend
robwoolley Jul 7, 2024
9d538f7
{rolling} hpp-fcl: Remove unneeded patches
robwoolley Jul 7, 2024
3504b2b
{rolling} lely-core: Disable compiler warnings as errors
robwoolley Jul 7, 2024
78a15c6
{rolling} libphidget22-upstream: Fix description
robwoolley Jul 7, 2024
f288872
{rolling} shared-queues-vendor: Refresh integration patch
robwoolley Jul 7, 2024
d1e9f8d
{rolling} action-tutorials-interfaces: Update build deps
robwoolley Jul 7, 2024
7f4322a
{rolling} ecal: Inherit ros_insane_dev
robwoolley Jul 7, 2024
8921901
{rolling} example-interfaces: Update build deps
robwoolley Jul 7, 2024
338634b
{rolling} fuse-constraints: Add exception for compiler warning
robwoolley Jul 7, 2024
4b7cbc2
{rolling} geometric-shapes: Allow new octomap version
robwoolley Jul 7, 2024
2d98a4d
{rolling} google-benchmark-vendor: Refresh integration patch
robwoolley Jul 7, 2024
79fc236
{rolling} gtsam: Inherit ros_insane_dev
robwoolley Jul 7, 2024
aab4042
{rolling} gz-*-vendor: Fix Gazebo vendor packages
robwoolley Jul 7, 2024
7ca3646
{rolling} gz-dartsim-vendor: Use dartsim
robwoolley Jul 7, 2024
f5bdbe8
{rolling} gz-ogre-next-vendor: Use system ogre-next
robwoolley Jul 7, 2024
a112592
{rolling} kobuki-core: Inherit ros_insane_dev_so
robwoolley Jul 7, 2024
8d48522
{rolling} libpointmatcher: Remove unneeded patch
robwoolley Jul 7, 2024
194aecd
{rolling} microstrain-inertial-driver: Inherit ros_insane_dev_so
robwoolley Jul 7, 2024
d5ac52e
{rolling} moveit: Resolve build failures
robwoolley Jul 7, 2024
162760c
{rolling} nlohmann-json-schema-validator-vendor: Inherit ros_insane_d…
robwoolley Jul 7, 2024
9b0d5ff
{rolling} pinocchio: Inherit ros_insane_dev_so
robwoolley Jul 7, 2024
2b416be
{rolling} python-qt-binding: Add integration for newer SIP
robwoolley Jul 7, 2024
af38e01
{rolling} qt-gui-cpp: Update to do a cross-build
robwoolley Jul 7, 2024
20bc7c9
{rolling} rcutils: Inherit ros_insane_dev_so
robwoolley Jul 7, 2024
6be7b9a
{rolling} rmf-building-map-msgs: Use target dependencies
robwoolley Jul 7, 2024
dd53d06
{rolling} rmf-fleet-adapter: Refresh integration patches
robwoolley Jul 7, 2024
de654e0
{rolling} rmf-fleet-adapter-python: Refresh integration patch
robwoolley Jul 7, 2024
be303c8
{rolling} canopen-interfaces: Add service-msgs at build-time
robwoolley Jul 7, 2024
27246d2
{rolling} lely-core-libraries: Update for ros_opt_prefix
robwoolley Jul 7, 2024
09c8999
{rolling} lely-core-libraries: Update SRCREV for lely-core
robwoolley Jul 7, 2024
e8f8f37
{rolling} controller-manager: Disable compiler options
robwoolley Jul 7, 2024
86f67b5
{rolling} force-torque-sensor-broadcaster: Disable compiler options
robwoolley Jul 7, 2024
4469740
{rolling} forward-command-controller: Disable compiler options
robwoolley Jul 7, 2024
f8cc31e
{rolling} joint-state-broadcaster: Disable compiler options
robwoolley Jul 7, 2024
b00fbb6
{rolling} joint-trajectory-controller: Disable compiler options
robwoolley Jul 7, 2024
346c6ae
{rolling} steering-controllers-library: Disable compiler options
robwoolley Jul 7, 2024
ec17535
{rolling} kortex-api: Set COMPATIBLE_MACHINE
robwoolley Jul 7, 2024
7510729
{rolling} rqt-gui: Package files in datadir
robwoolley Jul 7, 2024
7d40c35
{rolling} rviz-ogre-vendor: Refresh integration patch
robwoolley Jul 7, 2024
e38eacd
{rolling} vrpn-mocap: Update FILES for ros_opt_prefix
robwoolley Jul 7, 2024
f31eb92
{rolling} ament-cmake-python: Use DESTDIR for install
robwoolley Jul 7, 2024
b1e3f1b
{rolling} aruco-ros: Add rclpy build dependency
robwoolley Jul 7, 2024
46c6225
{rolling} ffmpeg-image-transport-msgs: Add build dependencies
robwoolley Jul 7, 2024
21d7b58
{rolling} imace-proc: New API for Aruco in OpenCV
robwoolley Jul 7, 2024
9b50272
{rolling} swri-transform-util: Replace deprecated boost APIs
robwoolley Jul 7, 2024
4499992
{rolling} mola-*: Add SOLIBDEV to -dev packages
robwoolley Jul 8, 2024
2609b93
{rolling} mola-traj-tools: Modify shell script shebang
robwoolley Jul 8, 2024
b5fb256
{rolling} mp2p-icp: Add SOLIBDEV to -dev package
robwoolley Jul 8, 2024
0e5041d
{rolling} mrpt-sensorlib: Add SOLIBDEV to -dev package
robwoolley Jul 8, 2024
637dc11
{rolling} mrpt2: Resolve build failures
robwoolley Jul 8, 2024
9d1fe4e
{rolling} ros-gz: Add protobuf and qt5 build dependencies
robwoolley Jul 8, 2024
526765a
{rolling} ros2-controllers: Disable compiler options
robwoolley Jul 8, 2024
ed59c24
{rolling} sdformat-urdf: Add missing build dependency
robwoolley Jul 8, 2024
1ba42e7
{rolling} sdformat-vendor: Use system sdformat
robwoolley Jul 8, 2024
aa320a3
{rolling} libcamera: Fix up build dependencies
robwoolley Jul 8, 2024
9a8a9ae
{rolling} Update pcl version in ros-distro-preferred-versions.inc
robwoolley Jul 8, 2024
69a0c5e
{rolling} Update ros-distro-recipe-blacklist.inc
robwoolley Jul 8, 2024
2cd1f26
{rolling} ros-distro.inc: Add missing ROS_UNRESOLVED_DEP entries
robwoolley Jul 8, 2024
08f53bb
{rolling} Update ros-distro.inc
robwoolley Jul 8, 2024
915405c
ROS_OE_RELEASE_SERIES: switch from scarthgap to styhead and walnascar
robwoolley Nov 6, 2024
7840889
{humble} sick-scan-xd: fix license string
twoerner Nov 6, 2024
6c27cd9
{humble} off-highway-can: Fix syntax of LICENSE variable
robwoolley Nov 6, 2024
5201ab3
{humble} ros-workspace: Remove host path from local_setup.sh
robwoolley Nov 6, 2024
b8ae60d
{humble} fastrtps: Link tinyxml2 library by name
robwoolley Nov 6, 2024
1648cee
{humble} libyaml-vendor: Export dependencies
robwoolley Nov 7, 2024
77c58bd
{iron} ros-workspace: Remove host path from local_setup.sh
robwoolley Nov 7, 2024
da11ec9
{iron} fastrtps: Link tinyxml2 library by name
robwoolley Nov 7, 2024
868a22c
{jazzy} ros-workspace: Remove host path from local_setup.sh
robwoolley Nov 7, 2024
13b798e
{jazzy} fastrtps: Link tinyxml2 library by name
robwoolley Nov 7, 2024
916e0e7
{rolling} ros-workspace: Remove host path from local_setup.sh
robwoolley Nov 7, 2024
d37b3de
{rolling} fastrtps: Link tinyxml2 library by name
robwoolley Nov 7, 2024
eec54d0
{rolling} ament-cmake-python: Add Upstream-Status to patch
robwoolley Nov 7, 2024
59e2b53
{rolling} ament-cmake-python: Remove DESTDIR from prefix
robwoolley Nov 7, 2024
32057f7
{rolling} qt-gui-cpp: Conditionally inherit classes
robwoolley Nov 7, 2024
1e6ce43
{rolling} fix recipe append for shared-queues-vendor
DasRoteSkelett Nov 7, 2024
200862c
meta-ros1: ros_catkin.bbclass: Remove host paths
robwoolley Nov 8, 2024
a3eea67
{noetic} sick-scan-xd: fix license string
twoerner Nov 8, 2024
6664b41
{noetic} ur-description: Set LICENSE
robwoolley Nov 8, 2024
feccf7e
{noetic} genmsg: Replace embedded source file path with destination path
robwoolley Nov 9, 2024
d90f497
meta-ros1: ros_catkin.bbclass: Add DEBUG_PREFIX_MAP
robwoolley Nov 9, 2024
ec77756
README.md: Update table of supported combinations
robwoolley Nov 9, 2024
7804326
{common} colcon: Update recipes to latest versions
robwoolley Nov 18, 2024
c44ebfe
{common} Add native sdk class extentions
sgstreet Jul 23, 2024
3a0ef90
{common}{ros2} Combine overrides in EXTRA_OECMAKE
sgstreet Aug 12, 2024
2dda2ce
{common} python3-colcon-core: Fix python interpreter
sgstreet Oct 2, 2024
d5d0fdd
{rolling} Add package lists for ROS 2 SDKs
jiaxshi Oct 23, 2024
e0095a6
{jazzy} Add package lists for ROS 2 SDKs
jiaxshi Oct 23, 2024
2cf124b
{humble} Add package lists for ROS 2 SDKs
jiaxshi Oct 23, 2024
daa8cd6
{common} Update sdktest image recipes for ROS and ROS 2
sgstreet Aug 12, 2024
919dd5d
{common} pcl: Remove build path references
sgstreet Nov 5, 2024
999f288
{common} orocos-kdl: Fix Upstream-Status syntax on patch
robwoolley Nov 13, 2024
172a92c
{common} python3-pykdl: Add exception for QA warning
robwoolley Nov 13, 2024
03cca6c
{common} pcl: Use pkgconfig to find dependencies
robwoolley Nov 13, 2024
445bff2
{common} pcl: Remove build paths from PCLconfig.cmake
robwoolley Nov 13, 2024
beb8058
{common} ros_ament_cmake: Add ROS prefix site-packages to PYTHONPATH
sgstreet Nov 18, 2024
3d9ed31
{common} ros_opt_prefix: Create ros_base_prefix
sgstreet Nov 19, 2024
3a6bcb2
{rolling} fastrtps: Find TinyXML2
RiZom-91 Aug 12, 2024
ab4dd5f
{jazzy} fastrtps: Find TinyXML2
RiZom-91 Oct 22, 2024
61be95a
{humble} fastrtps: Find TinyXML2
RiZom-91 Oct 22, 2024
bf75a2c
{humble} Use find package for yaml to prevent sdk build failures
sgstreet Nov 5, 2024
b132e2e
{rolling} ament-package: Add envvar to skip setting PATH
robwoolley Nov 19, 2024
cffe352
meta-ros-common: python3-pydot: Update branch to main
mhatle Oct 7, 2024
2c740a9
{rolling} Set SPDX-compliant LICENSE values
robwoolley Nov 19, 2024
9d87094
{rolling} cv-bridge: Fix buildpaths QA issue
robwoolley Nov 19, 2024
55c5f21
{jazzy} libg2o: Allow to build libg2o without X11 and OpenGL
windelbouwman Nov 21, 2024
a193e30
{jazzy} libg2o: Add SPDX license identifier
robwoolley Nov 21, 2024
2527494
{rolling} libg2o: Allow to build libg2o without X11 and OpenGL
windelbouwman Nov 21, 2024
6363f3d
{rolling} libg2o: Add SPDX license identifier
robwoolley Nov 21, 2024
deff93c
{rolling} libg2o: Remove references to host build paths
robwoolley Nov 21, 2024
0d47125
{common} lapack: Skip QA issue with buildpaths
robwoolley Nov 21, 2024
6d04920
{common} suitesparse-cholmod: Remove buildpath references
robwoolley Nov 21, 2024
b1472eb
Allow rtabmap to be build without graphic support.
windelbouwman May 13, 2022
cf36592
{rolling} libnabo: Add SPDX license identifier
robwoolley Nov 21, 2024
d47cba2
{rolling} libnabo: Remove build path from installed files
robwoolley Nov 21, 2024
ac524b6
{rolling} libnabo: Enable native builds
robwoolley Nov 21, 2024
50f8b90
{rolling} libpointmatcher: Add SPDX license identifier
robwoolley Nov 21, 2024
2eb29f2
{rolling} libpointmatcher: Enable native builds
robwoolley Nov 21, 2024
604c7a5
{common} octomap: Remove useless rpaths
robwoolley Nov 21, 2024
5f28ee9
{rolling} libnabo: Use find_package to find Eigen3
robwoolley Nov 21, 2024
2492445
{rolling} libnabo: Add CMAKE_PREFIX_PATH to exported CMake file
robwoolley Nov 21, 2024
da623d0
{rolling} libpointmatcher: Replace deprecated Boost functions
robwoolley Nov 21, 2024
e7d1400
{rolling} libpointmatcher: Fix QA issue with buildpaths
robwoolley Nov 21, 2024
fe51480
{rolling} gtsam: Set SPDX license identifier
robwoolley Nov 21, 2024
626266c
{rolling} gtsam: Remove build path from gtsam binaries
robwoolley Nov 21, 2024
91e2b4d
{rolling} gtsam: Use the system libeigen
robwoolley Nov 21, 2024
df293f6
{rolling} gtsam: Remove buildpath references
robwoolley Nov 21, 2024
178154f
{rolling} gtsam: Place symlink .so files in -dev package
robwoolley Nov 21, 2024
f36f626
{rolling} gtsam: Extend recipe for native builds
robwoolley Nov 21, 2024
2394795
{rolling} rtabmap: Allow rtabmap to be build without graphic support.
windelbouwman Nov 21, 2024
7324827
{ros2} Add required ROS2 SDK environment variables
sgstreet Nov 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ Releases and ROS Distros. Releases and distros not shown in the table above
can be presumed unsupported.


| Yocto Release | | ROS1 Distros | ROS 2 Distros | |
| --- | --- | --- | --- | --- |
| | *(Rolling)* | **Noetic** | **Humble (LTS)** | **Iron** |
| | | May 2025 | May 2027 | Nov 2024 |
| **Styhead (Dev)** | (Future) | **May 2025** | (Future) | **Nov 2024** |
| **Scarthgap (LTS)** | Apr 2028 | **May 2025** | **May 2027** | **Nov 2024** |
| Nanbield | ~~Apr 2024~~ | ~~Apr 2024~~ | ~~Apr 2024~~ | ~~Apr 2024~~ |
| Mickledore | ~~Nov 2023~~ | ~~Nov 2023~~ | Nov 2023 <sup>1</sup> | ~~Nov 2023~~ |
| Langdale | ~~May 2023~~ | ~~May 2023~~ | ~~May 2023~~ | ~~May 2023~~ |
| **Kirkstone (LTS)** | Apr 2026 | **Apr 2024** | **Apr 2026** | **Nov 2024** |
| Yocto Release | | ROS1 Distros | ROS 2 Distros | | |
| --- | --- | --- | --- | --- | --- |
| | *(Rolling)* | **Noetic** | **Humble (LTS)** | **Iron** | *Jazzy* |
| | | May 2025 | May 2027 | Nov 2024 | May 2029 |
| **Walnascar (Dev)** | (Future) | **May 2025** | **May 2027** | **Nov 2024** | (Future) |
| **Styhead** | May 2025 | **May 2025** | **May 2025** | **Nov 2024** | **May 2025** |
| **Scarthgap (LTS)** | Apr 2028 | **May 2025** | **May 2027** | **Nov 2024** | **Apr 2028** |
| Nanbield | ~~Apr 2024~~ | ~~Apr 2024~~ | ~~Apr 2024~~ | ~~Apr 2024~~ | ~~Apr 2024~~ |
| Mickledore | ~~Nov 2023~~ | ~~Nov 2023~~ | Nov 2023 <sup>1</sup> | ~~Nov 2023~~ | ~~Nov 2023~~ |
| Langdale | ~~May 2023~~ | ~~May 2023~~ | ~~May 2023~~ | ~~May 2023~~ | ~~May 2023~~ |
| **Kirkstone (LTS)** | Apr 2026 | **Apr 2024** | **Apr 2026** | **Nov 2024** | **Apr 2026** |



Expand Down
7 changes: 6 additions & 1 deletion meta-ros-common/classes/ros_cmake.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

inherit cmake

EXTRA_OECMAKE:prepend = "\
EXTRA_OECMAKE:prepend:class-target = "\
-DCMAKE_PREFIX_PATH='${STAGING_DIR_HOST}${ros_prefix};${STAGING_DIR_HOST}${prefix}' \
-DCMAKE_INSTALL_PREFIX:PATH='${ros_prefix}' \
-DCMAKE_MODULE_PATH='${STAGING_DIR_HOST}${ros_datadir}/cmake/Modules/' \
Expand All @@ -13,3 +13,8 @@ EXTRA_OECMAKE:prepend:class-native = "\
-DCMAKE_PREFIX_PATH='${STAGING_DIR_NATIVE}${ros_prefix};${STAGING_DIR_NATIVE}${prefix}' \
-DCMAKE_INSTALL_PREFIX:PATH='${ros_prefix}' \
"

EXTRA_OECMAKE:prepend:class-nativesdk = "\
-DCMAKE_PREFIX_PATH='${STAGING_DIR_NATIVE}${ros_prefix};${STAGING_DIR_NATIVE}${prefix}' \
-DCMAKE_INSTALL_PREFIX:PATH='${ros_prefix}' \
"
7 changes: 4 additions & 3 deletions meta-ros-common/classes/ros_opt_prefix.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# Copyright (c) Qualcomm Innovation Center, Inc. All rights reserved
#

ros_prefix ?= "${base_prefix}/opt/ros/${ROS_DISTRO}"
ros_base_prefix ?= "/opt/ros/${ROS_DISTRO}"
ros_prefix ?= "${base_prefix}${ros_base_prefix}"

ros_bindir = "${ros_prefix}/bin"
ros_sbindir = "${ros_prefix}/sbin"
Expand All @@ -30,8 +31,8 @@ inherit ${@'python3-dir' if d.getVar('ROS_PYTHON_VERSION') == '3' else 'python-d

PKG_CONFIG_PATH .= ":${PKG_CONFIG_DIR}:${STAGING_DIR_HOST}${ros_libdir}/pkgconfig:${STAGING_DATADIR}/pkgconfig"
PYTHON_SITEPACKAGES_DIR = "${ros_libdir}/${PYTHON_DIR}/site-packages"
export PYTHONPATH = "${STAGING_DIR_NATIVE}${PYTHON_SITEPACKAGES_DIR}"
PYTHONPATH:class-native = "${PYTHON_SITEPACKAGES_DIR}"
export PYTHONPATH:prepend = "${STAGING_DIR_NATIVE}${PYTHON_SITEPACKAGES_DIR}:"
PYTHONPATH:class-native:prepend = "${PYTHON_SITEPACKAGES_DIR}:"

FILES_SOLIBSDEV += " ${ros_libdir}/lib*${SOLIBSDEV}"

Expand Down
2 changes: 1 addition & 1 deletion meta-ros-common/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ LAYERDEPENDS_ros-common-layer = " \
openembedded-layer \
"

LAYERSERIES_COMPAT_ros-common-layer = "scarthgap"
LAYERSERIES_COMPAT_ros-common-layer = "walnascar styhead"

require conf/ros-distro/ros-distro.conf
3 changes: 3 additions & 0 deletions meta-ros-common/recipes-dbs/postgresql/postgresql_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright (c) 2023 Wind River Systems, Inc.

BBCLASSEXTEND = "native nativesdk"
16 changes: 16 additions & 0 deletions meta-ros-common/recipes-devtools/backward-cpp/backward-cpp_1.6.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=74ea9734864a5514a5d672f385e3b382"

SRC_URI = "git://github.com/bombela/backward-cpp.git;protocol=https;branch=master"

SRCREV = "3bb9240cb15459768adb3e7d963a20e1523a6294"

S = "${WORKDIR}/git"

DEPENDS = "libunwind elfutils"

inherit cmake

FILES:${PN}-dev += "${libdir}/backward/BackwardConfig.cmake"

BBCLASSEXTEND = "native nativesdk"
22 changes: 22 additions & 0 deletions meta-ros-common/recipes-devtools/coinor/coinor-buildtools_git.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
LICENSE = "EPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fa146738cbe7d5c7435f87912e8b77"

SRC_URI = "git://github.com/coin-or-tools/BuildTools.git;protocol=https;branch=master"

SRCREV = "20208f47f7bbc0056a92adefdfd43fded969f674"

PV = "0.8.10+git"
S = "${WORKDIR}/git"

do_install () {
install -d -m 0755 ${D}/${datadir}/coinor
install -D -m 0755 ${S}/coin.m4 ${D}${datadir}/coinor
install -D -m 0755 ${S}/coin-functions ${D}${datadir}/coinor
install -D -m 0755 ${S}/coin_chk_lapack.m4 ${D}${datadir}/coinor
install -D -m 0755 ${S}/coin_chk_libhdr.m4 ${D}${datadir}/coinor
install -D -m 0755 ${S}/coin_chk_pkg.m4 ${D}${datadir}/coinor
install -D -m 0755 ${S}/coin_fortran.m4 ${D}${datadir}/coinor
install -D -m 0755 ${S}/coin_math.m4 ${D}${datadir}/coinor
}

BBCLASSEXTEND = "native nativesdk"
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=21;endline=21;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "86950ca62293b655ef8d655d2994d110321fff2fc6739c46a64f005a0cee1bdd"
SRC_URI[sha256sum] = "29a223a66828e18aad9b8db5087f7114e388601830091830ca17b095ada2cbac"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "5a227fe812766be5fc3895c821bf9190f571e8c25eb73962967310d6b524349f"
SRC_URI[sha256sum] = "5e910890148d9d3c7f82f5c0e97904478e0e0bf156b786729099ead73d6ec4f0"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "73af96598efc24748234d68c0f3a7419cb1e47a4c3c90f6b0d70bcffef034826"
SRC_URI[sha256sum] = "84408d13f8a46044851a7a4e686749940539d2b3d02e6752746cbbc9a89049ff"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ Upstream-Status: Pending
setup.cfg | 4 ----
1 file changed, 4 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index 64b4562..09afd3c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -30,10 +30,6 @@ install_requires =
coloredlogs; sys_platform == 'win32'
distlib
Index: colcon-core-0.18.3/setup.cfg
===================================================================
--- colcon-core-0.18.3.orig/setup.cfg
+++ colcon-core-0.18.3/setup.cfg
@@ -32,10 +32,6 @@ install_requires =
EmPy
importlib-metadata; python_version < "3.8"
packaging
- pytest
- pytest-cov
- pytest-repeat
- pytest-rerunfailures
setuptools>=30.3.0
tomli>=1.0.0; python_version < "3.11"
packages = find:
tests_require =

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
python3-colcon-core: Fix python interpreter

This ensures that the colcon-core Python module sets the correct
Python executable when building scripts with setuptools.

Upstream-Status: Pending

Signed-off-by: Stephen Street <[email protected]>

Index: colcon-core-0.18.3/colcon_core/task/python/build.py
===================================================================
--- colcon-core-0.18.3.orig/colcon_core/task/python/build.py
+++ colcon-core-0.18.3/colcon_core/task/python/build.py
@@ -113,7 +113,7 @@ class PythonBuildTask(TaskExtensionPoint
os.path.realpath(args.path))]
cmd += [
'build', '--build-base', os.path.join(
- args.build_base, 'build'),
+ args.build_base, 'build'), '--executable', '/usr/bin/env python3',
'install',
'--record', os.path.join(args.build_base, 'install.log')]
# Extract and explicitly pass install-scripts to setuptools.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI += "file://0001-Remove-optional-pytest-dependencies.patch \
file://0002-Fix-regression-when-enitre-workspace-is-symlinked.patch \
"
SRC_URI[sha256sum] = "fc14534b2ce745fcc332afc0bb0ddf3e45d5d69c15da15b9471cfb7b0b9edbe9"
SRC_URI = "file://0001-Remove-optional-pytest-dependencies.patch \
file://0002-Force-shebang-to-usr-bin-env-python3.patch"
SRC_URI[sha256sum] = "8b3dcf0b140b2851a9169c60b3ed2ca78a6e48fec8ececdeefa287a6715f2e17"

inherit pypi setuptools3

Expand All @@ -16,6 +15,7 @@ RDEPENDS:${PN} += "\
${PYTHON_PN}-coloredlogs \
${PYTHON_PN}-distlib \
${PYTHON_PN}-empy \
${PYTHON_PN}-packaging \
"

# The pytest dependencies are optional:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "ac40fc4ec85cc0633d6c56aa6ebb43203c373cd919d554b1f07fb8f27fdaa2d2"
SRC_URI[sha256sum] = "053e8a18fbae04cf182a2968d7f7ed474c5125bf3b306b8049250574f4096fa1"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "6ed3f29052c44e021b64106d5ae338e2b8936ba58c9f1c0496478327973d3f7b"
SRC_URI[sha256sum] = "34ae3877f60ce04f50acbf11ceadb660e6eaebde837e6d8b035ab9fb8ca36e05"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "6aae1ffe73ae956bcb36e330822cd230a2a88c9181b3170aafd1a446638e69b3"
SRC_URI[sha256sum] = "c45b898073a8e98c4518333b7587f9ea49ac1bc129a7bc4e1390059057031fb8"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "a211e9f1f70edb1567c0747532ad222e47799cef25cb863e4a43af4660798b30"
SRC_URI[sha256sum] = "44d2d349ebdb61688b41e00d565ea1a199e8fc5c2c77af279cfaac74dc01c04d"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "db0b1200bfec91fcf396d9d7671eb410f0eb5a18a0819f778f335ebac82e0b9e"
SRC_URI[sha256sum] = "20f5184ae1b05db0a76f244bc85622f6b25e48ef7398f55784ccfe455d40bcfb"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "6c04ec240ce0a6b6bae69b13d8859ea1eac03469424fa220be43a99e7d1d3123"
SRC_URI[sha256sum] = "e7137fcaf4c61db792955fd641bfad7dbad4b41928c6b81ff87a78339e116644"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "eec293085c4301797706d9e61634fa0cb2136be9b820aa556b2b8baa0bde412d"
SRC_URI[sha256sum] = "4d8bab2e05ba334e29eee3715fbde490281342ed8e000e252130e5c51915383a"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "80a11b3a203960aff4187e9b562930ffe4bb54c061178ae1daedbf06b6da1b96"
SRC_URI[sha256sum] = "fca5f619214d20306daaf012f91399d4d3b605364b121e5df80399432c55c603"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://setup.cfg;beginline=22;endline=22;md5=3d0bd1ac53c1dd582844ed15eee7f8e2"

SRC_URI[sha256sum] = "9dccfa4bce1a18a06e1edcd589aa287e1807afc853af26c25e716830a8b6eaa3"
SRC_URI[sha256sum] = "79a7e89f6fa636f7e4fd44a88b7860fb1da99d51f0ba7bcf0b9b624a1a578365"

inherit pypi setuptools3

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Use includedir to avoid host contamination

The dart pkgconfig contains CMAKE_CXX_FLAGS which contains paths from the
build host. Set Cflags to includedir for a better default value.

Upstream-Status: Pending

Signed-off-by: Rob Woolley <[email protected]>

diff --git a/cmake/dart.pc.in b/cmake/dart.pc.in
index 402c496c4298..31e0a80c5c4d 100644
--- a/cmake/dart.pc.in
+++ b/cmake/dart.pc.in
@@ -9,4 +9,4 @@ Description: @DART_PKG_DESC@
Version: @DART_VERSION@
Requires: @DART_PKG_EXTERNAL_DEPS@
Libs: -L${libdir} -ldart
-Cflags: @CMAKE_CXX_FLAGS@
+Cflags: -I${includedir}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Replace outdated distuils.log with logging

Upstream-Status: Pending

Signed-off-by: Rob Woolley <[email protected]>

diff --git a/python/dartpy/CMakeLists.txt b/python/dartpy/CMakeLists.txt
index b316e8671479..6e9e92089cdb 100644
--- a/python/dartpy/CMakeLists.txt
+++ b/python/dartpy/CMakeLists.txt
@@ -7,8 +7,7 @@
# This file is provided under the "BSD-style" License

execute_process(COMMAND ${Python3_EXECUTABLE} -c
- "from distutils.sysconfig import get_python_lib;\
- print(get_python_lib(plat_specific=True))"
+ "import sysconfig; print(sysconfig.get_path('platlib'))"
OUTPUT_VARIABLE PYTHON_SITE_PACKAGES
OUTPUT_STRIP_TRAILING_WHITESPACE
)
diff --git a/setup.py b/setup.py
index e24332b0bd9c..ed5a6388514d 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@
# References:
# - https://pybind11.readthedocs.io/en/stable/compiling.html

-import distutils.log
+import logging
import os
import re
import subprocess
@@ -32,7 +32,7 @@ with open(os.path.join(dart_root, "README.md"), encoding="utf-8") as f:
long_description = f.read()
description = "Python API of Dynamic Animation and Robotics Toolkit."

-distutils.log.set_verbosity(distutils.log.DEBUG) # Set DEBUG level
+logging.basicConfig(level=logging.DEBUG) # Set DEBUG level


# A CMakeExtension needs a sourcedir instead of a file list.
Loading