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 152 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
152 commits
Select commit Hold shift + click to select a range
2c0624c
meta-ros-common: Preserve PYTHONPATH in ros_opt_prefix.bbclass
robwoolley Jul 7, 2024
69eacc5
meta-ros2: Add missing copyright to ros_ament_cmake.bbclass
robwoolley Jul 7, 2024
4aae711
meta-ros2: Disable prefix-path generation for ros_ament_cmake packages
robwoolley Jul 7, 2024
4e4129e
meta-ros2: Add setuptools3 workaround to ros_ament_python.bbclass
robwoolley Jul 7, 2024
e10ec68
meta-ros2: libfyaml: Add new recipe
robwoolley Jul 7, 2024
03352ec
meta-ros2: google-benchmark: Update to 1.8.3
robwoolley Jul 7, 2024
23e5923
meta-ros-common: yaml-cpp: Update to 0.8.0
robwoolley Jul 7, 2024
ad82ae2
{rolling} yaml-cpp-vendor: Use system yaml-cpp
robwoolley Jul 7, 2024
a6eccca
meta-ros-common: fcl: Add octomap for moveit
robwoolley Jul 7, 2024
ed4150e
meta-ros-common: fcl: Add recipe for 0.7.0
robwoolley Jul 7, 2024
ad68a58
meta-ros-common: libfreenect: Add recipe for 0.6.4
robwoolley Jul 7, 2024
3ecd285
meta-ros-common: pcl: Add multiple recipe versions
robwoolley Jul 7, 2024
c2bff0a
meta-ros-common: assimp: Enable internal zlib build
robwoolley Jul 7, 2024
2184c59
meta-ros-common: gdal: Extend recipe for native support
robwoolley Jul 7, 2024
8d9ad46
meta-ros-common: suitesparse: Add newer versions of recipes
robwoolley Jul 7, 2024
8bfafec
meta-ros-common: ceres-solver: Remove suitesparse-metis
robwoolley Jul 7, 2024
2b289fb
meta-ros-common: postgresql: Extend recipe for native support
robwoolley Jul 7, 2024
4f31a7e
meta-ros-common: ffmpeg: Extend recipe for native support
robwoolley Jul 7, 2024
489f582
meta-ros-common: freeglut: Extend recipe for native support
robwoolley Jul 7, 2024
d1f293c
meta-ros-common: backward-cpp: Add new recipe
robwoolley Jul 7, 2024
8266ac9
meta-ros-common: coinor-buildtools: Add new recipe
robwoolley Jul 7, 2024
3988629
meta-ros-common: libdeflate: Add new recipe
robwoolley Jul 7, 2024
6484578
meta-ros-common: python3-pyproj: Extend recipe for native support
robwoolley Jul 7, 2024
f8c33cc
meta-ros-common: gts: Add new recipe
robwoolley Jul 7, 2024
bc08e28
meta-ros2: libdeflate: Remove duplicate recipe
robwoolley Jul 7, 2024
e7ea438
meta-ros-common: libdeflate: Extend recipe for native support
robwoolley Jul 7, 2024
fb4ca47
meta-ros-common: libraw: Extend recipe for native support
robwoolley Jul 7, 2024
bf1cbf5
meta-ros-common: libtheora: Extend recipe for native support
robwoolley Jul 7, 2024
7ee2b4f
meta-ros-common: libxv: Extend recipe for native support
robwoolley Jul 7, 2024
b65e38d
meta-ros-common: libglu: Extend recipe for native support
robwoolley Jul 7, 2024
11aa5b0
meta-ros-common: openexr: Add new recipe
robwoolley Jul 7, 2024
6cf8bf3
meta-ros-common: imath: Add new recipe
robwoolley Jul 7, 2024
163820f
meta-ros-common: ipopt: Add new recipe
robwoolley Jul 7, 2024
1b69e28
meta-ros-common: pagmo: Add new recipe
robwoolley Jul 7, 2024
3609438
meta-ros-common: zziplib: Add new recipe
robwoolley Jul 7, 2024
c9b56b5
meta-ros-common: freeimage: Add new recipe
robwoolley Jul 7, 2024
11275d1
meta-ros-common: jxrlib: Add new recipe
robwoolley Jul 7, 2024
f8d27f6
meta-ros-common: Add octomap recipe
robwoolley Jul 7, 2024
ccd5473
meta-ros-common: ogre-next: Add new recipe
robwoolley Jul 7, 2024
de0f788
meta-ros-common: dartsim: Add new recipe
robwoolley Jul 7, 2024
bcf74f3
meta-ros-common: Add sdformat recipes
robwoolley Jul 7, 2024
dfa6366
meta-ros-common: ignition: Add ignition recipes
robwoolley Jul 7, 2024
20e7f48
meta-ros-common: gazebo: Add new recipes
robwoolley Jul 7, 2024
83a2716
{rolling} ros-distro-recipe-blacklist.inc: Add BBMASK for octomap
robwoolley Jul 7, 2024
5333505
{rolling} octomap: Remove the bbappend for the generated recipe
robwoolley Jul 7, 2024
bcafc3d
{rolling} ecl-*: Add exception for solibs
robwoolley Jul 7, 2024
7080666
{rolling} ecl-time: Disable compiler warnings as errors
robwoolley Jul 7, 2024
a182bb0
{rolling} fcl: Remove old bbappend
robwoolley Jul 7, 2024
25036a1
{rolling} hpp-fcl: Remove unneeded patches
robwoolley Jul 7, 2024
7789799
{rolling} lely-core: Disable compiler warnings as errors
robwoolley Jul 7, 2024
2848013
{rolling} libphidget22-upstream: Fix description
robwoolley Jul 7, 2024
e1bd3d6
{rolling} shared-queues-vendor: Refresh integration patch
robwoolley Jul 7, 2024
6ad4048
{rolling} action-tutorials-interfaces: Update build deps
robwoolley Jul 7, 2024
7ebaed1
{rolling} ecal: Inherit ros_insane_dev
robwoolley Jul 7, 2024
5c45d5d
{rolling} example-interfaces: Update build deps
robwoolley Jul 7, 2024
3d754fe
{rolling} fuse-constraints: Add exception for compiler warning
robwoolley Jul 7, 2024
beeab45
{rolling} geometric-shapes: Allow new octomap version
robwoolley Jul 7, 2024
39dabdf
{rolling} google-benchmark-vendor: Refresh integration patch
robwoolley Jul 7, 2024
76d1771
{rolling} gtsam: Inherit ros_insane_dev
robwoolley Jul 7, 2024
8f1c19e
{rolling} gz-*-vendor: Fix Gazebo vendor packages
robwoolley Jul 7, 2024
b29d7e0
{rolling} gz-dartsim-vendor: Use dartsim
robwoolley Jul 7, 2024
4e28a1c
{rolling} gz-ogre-next-vendor: Use system ogre-next
robwoolley Jul 7, 2024
1c50b98
{rolling} kobuki-core: Inherit ros_insane_dev_so
robwoolley Jul 7, 2024
dff9cbe
{rolling} libpointmatcher: Remove unneeded patch
robwoolley Jul 7, 2024
a0509bc
{rolling} microstrain-inertial-driver: Inherit ros_insane_dev_so
robwoolley Jul 7, 2024
e0100bc
{rolling} moveit: Resolve build failures
robwoolley Jul 7, 2024
6529dfa
{rolling} nlohmann-json-schema-validator-vendor: Inherit ros_insane_d…
robwoolley Jul 7, 2024
0ea1d82
{rolling} pinocchio: Inherit ros_insane_dev_so
robwoolley Jul 7, 2024
22e1243
{rolling} python-qt-binding: Add integration for newer SIP
robwoolley Jul 7, 2024
3c007dc
{rolling} qt-gui-cpp: Update to do a cross-build
robwoolley Jul 7, 2024
f02ebb5
{rolling} rcutils: Inherit ros_insane_dev_so
robwoolley Jul 7, 2024
8712209
{rolling} rmf-building-map-msgs: Use target dependencies
robwoolley Jul 7, 2024
93afa61
{rolling} rmf-fleet-adapter: Refresh integration patches
robwoolley Jul 7, 2024
72d9a7b
{rolling} rmf-fleet-adapter-python: Refresh integration patch
robwoolley Jul 7, 2024
f49652b
{rolling} canopen-interfaces: Add service-msgs at build-time
robwoolley Jul 7, 2024
a1174b1
{rolling} lely-core-libraries: Update for ros_opt_prefix
robwoolley Jul 7, 2024
818d0cc
{rolling} lely-core-libraries: Update SRCREV for lely-core
robwoolley Jul 7, 2024
795a162
{rolling} controller-manager: Disable compiler options
robwoolley Jul 7, 2024
6fb1d5e
{rolling} force-torque-sensor-broadcaster: Disable compiler options
robwoolley Jul 7, 2024
856556b
{rolling} forward-command-controller: Disable compiler options
robwoolley Jul 7, 2024
632d4dc
{rolling} joint-state-broadcaster: Disable compiler options
robwoolley Jul 7, 2024
1fb0255
{rolling} joint-trajectory-controller: Disable compiler options
robwoolley Jul 7, 2024
fe2d554
{rolling} steering-controllers-library: Disable compiler options
robwoolley Jul 7, 2024
ffd66c8
{rolling} kortex-api: Set COMPATIBLE_MACHINE
robwoolley Jul 7, 2024
d398c5b
{rolling} rqt-gui: Package files in datadir
robwoolley Jul 7, 2024
7faf675
{rolling} rviz-ogre-vendor: Refresh integration patch
robwoolley Jul 7, 2024
d6cc89d
{rolling} vrpn-mocap: Update FILES for ros_opt_prefix
robwoolley Jul 7, 2024
21129dd
{rolling} ament-cmake-python: Use DESTDIR for install
robwoolley Jul 7, 2024
b11004b
{rolling} aruco-ros: Add rclpy build dependency
robwoolley Jul 7, 2024
44ed4e7
{rolling} ffmpeg-image-transport-msgs: Add build dependencies
robwoolley Jul 7, 2024
719fe6e
{rolling} imace-proc: New API for Aruco in OpenCV
robwoolley Jul 7, 2024
9a2d36e
{rolling} swri-transform-util: Replace deprecated boost APIs
robwoolley Jul 7, 2024
a0fa3b7
{rolling} mola-*: Add SOLIBDEV to -dev packages
robwoolley Jul 8, 2024
21f5ab3
{rolling} mola-traj-tools: Modify shell script shebang
robwoolley Jul 8, 2024
85f14d3
{rolling} mp2p-icp: Add SOLIBDEV to -dev package
robwoolley Jul 8, 2024
82adc4a
{rolling} mrpt-sensorlib: Add SOLIBDEV to -dev package
robwoolley Jul 8, 2024
d60353f
{rolling} mrpt2: Resolve build failures
robwoolley Jul 8, 2024
2513d5c
{rolling} ros-gz: Add protobuf and qt5 build dependencies
robwoolley Jul 8, 2024
38d1526
{rolling} ros2-controllers: Disable compiler options
robwoolley Jul 8, 2024
0f2e39a
{rolling} sdformat-urdf: Add missing build dependency
robwoolley Jul 8, 2024
e338163
{rolling} sdformat-vendor: Use system sdformat
robwoolley Jul 8, 2024
f47dea2
{rolling} libcamera: Fix up build dependencies
robwoolley Jul 8, 2024
b7bfefc
{rolling} Update pcl version in ros-distro-preferred-versions.inc
robwoolley Jul 8, 2024
27a7ee1
{rolling} Update ros-distro-recipe-blacklist.inc
robwoolley Jul 8, 2024
8779bf5
{rolling} ros-distro.inc: Add missing ROS_UNRESOLVED_DEP entries
robwoolley Jul 8, 2024
2c69e71
{rolling} Update ros-distro.inc
robwoolley Jul 8, 2024
dd90b7c
ROS_OE_RELEASE_SERIES: switch from scarthgap to styhead and walnascar
robwoolley Nov 6, 2024
dc09dd3
{humble} sick-scan-xd: fix license string
twoerner Nov 6, 2024
813bbee
{humble} off-highway-can: Fix syntax of LICENSE variable
robwoolley Nov 6, 2024
16a05d4
{humble} ros-workspace: Remove host path from local_setup.sh
robwoolley Nov 6, 2024
e84a575
{humble} fastrtps: Link tinyxml2 library by name
robwoolley Nov 6, 2024
4061ecd
{humble} libyaml-vendor: Export dependencies
robwoolley Nov 7, 2024
673147a
{iron} ros-workspace: Remove host path from local_setup.sh
robwoolley Nov 7, 2024
54a5d08
{iron} fastrtps: Link tinyxml2 library by name
robwoolley Nov 7, 2024
fe1c425
{jazzy} ros-workspace: Remove host path from local_setup.sh
robwoolley Nov 7, 2024
b7c64d5
{jazzy} fastrtps: Link tinyxml2 library by name
robwoolley Nov 7, 2024
e9387d9
{rolling} ros-workspace: Remove host path from local_setup.sh
robwoolley Nov 7, 2024
63a95eb
{rolling} fastrtps: Link tinyxml2 library by name
robwoolley Nov 7, 2024
a2d5e29
{rolling} ament-cmake-python: Add Upstream-Status to patch
robwoolley Nov 7, 2024
984cccb
{rolling} ament-cmake-python: Remove DESTDIR from prefix
robwoolley Nov 7, 2024
5ed3d56
{rolling} qt-gui-cpp: Conditionally inherit classes
robwoolley Nov 7, 2024
976b060
{rolling} fix recipe append for shared-queues-vendor
DasRoteSkelett Nov 7, 2024
c6327b8
meta-ros1: ros_catkin.bbclass: Remove host paths
robwoolley Nov 8, 2024
879db38
{noetic} sick-scan-xd: fix license string
twoerner Nov 8, 2024
87d37d5
{noetic} ur-description: Set LICENSE
robwoolley Nov 8, 2024
31fe10e
{noetic} genmsg: Replace embedded source file path with destination path
robwoolley Nov 9, 2024
0037586
meta-ros1: ros_catkin.bbclass: Add DEBUG_PREFIX_MAP
robwoolley Nov 9, 2024
cd289df
README.md: Update table of supported combinations
robwoolley Nov 9, 2024
5df4384
{common} colcon: Update recipes to latest versions
robwoolley Nov 18, 2024
a81aa61
{common} Add native sdk class extentions
sgstreet Jul 23, 2024
5ba6428
{common}{ros2} Combine overrides in EXTRA_OECMAKE
sgstreet Aug 12, 2024
00fefd0
{common} python3-colcon-core: Fix python interpreter
sgstreet Oct 2, 2024
23939d4
{rolling} Add package lists for ROS 2 SDKs
jiaxshi Oct 23, 2024
c3383a5
{jazzy} Add package lists for ROS 2 SDKs
jiaxshi Oct 23, 2024
a8969db
{humble} Add package lists for ROS 2 SDKs
jiaxshi Oct 23, 2024
7d50c8a
{common} Update sdktest image recipes for ROS and ROS 2
sgstreet Aug 12, 2024
43070e8
{common} pcl: Remove build path references
sgstreet Nov 5, 2024
68a97f0
{common} orocos-kdl: Fix Upstream-Status syntax on patch
robwoolley Nov 13, 2024
7b65967
{common} python3-pykdl: Add exception for QA warning
robwoolley Nov 13, 2024
a5154ad
{common} pcl: Use pkgconfig to find dependencies
robwoolley Nov 13, 2024
6bd60a2
{common} pcl: Remove build paths from PCLconfig.cmake
robwoolley Nov 13, 2024
e6d236f
{common} ros_ament_cmake: Add ROS prefix site-packages to PYTHONPATH
sgstreet Nov 18, 2024
cb6849c
{common} ros_opt_prefix: Create ros_base_prefix
sgstreet Nov 19, 2024
ad9d3f3
{rolling} fastrtps: Find TinyXML2
RiZom-91 Aug 12, 2024
d9e0a2e
{jazzy} fastrtps: Find TinyXML2
RiZom-91 Oct 22, 2024
adbd95b
{humble} fastrtps: Find TinyXML2
RiZom-91 Oct 22, 2024
71b394f
{humble} Use find package for yaml to prevent sdk build failures
sgstreet Nov 5, 2024
d5801d7
{rolling} ament-package: Add envvar to skip setting PATH
robwoolley Nov 19, 2024
f8b6cf0
meta-ros-common: python3-pydot: Update branch to main
mhatle Oct 7, 2024
232e724
{rolling} Set SPDX-compliant LICENSE values
robwoolley Nov 19, 2024
ed7dfa3
{rolling} cv-bridge: Fix buildpaths QA issue
robwoolley Nov 19, 2024
fd2dd6c
{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 = "${STAGING_DIR_NATIVE}${PYTHON_SITEPACKAGES_DIR}:$PYTHONPATH"
PYTHONPATH:class-native = "${PYTHON_SITEPACKAGES_DIR}:$PYTHONPATH"

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 <stephen@redrocketcomputing.com>

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 <rob.woolley@windriver.com>

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 <rob.woolley@windriver.com>

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