This commit is just a copy of the patch that Dmitry Rozhkov
submitted to openembedded-core, but it was rejected there [1].
If only python3 is installed on an image nothing provides
/usr/bin/python even though many scripts compatible with
both python2 and python3 just state `#!/usr/bin/env python`
in their shebang line.
Make python and python3 recipes provide alternatives for
/usr/bin/python and /usr/bin/python-config. By default
python2 has higher priority over python3.
In meta-ros, we need this behaviour for ROS_USE_PYTHON3 = "yes"
because ROS packages are always written to be python2 and python3
compatible.
[1] https://patchwork.openembedded.org/patch/139143/
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
In commit openembedded/openembedded-core@54ac820b8a, the packaging of
python3 base libraries changed. Amongst others, the packages,
python3-argparse, python3-subprocess and python3-textutils, are merged
into the python3 package.
Hence, this commit adjusts the runtime dependencies in the meta-ros
recipes accordingly.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Commit openembedded/openembedded-core@0391fca ("classes/utils: remove
compatibility functions") forces us to update to the proper oe.utils
functions.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
This commit is the result of:
- cherry-picking the two commits from the branch kinetic-experimental-v3-alpha1
commit aed2202182df ("ros-canopen: adding can-msgs, socketcan-interface and socketcan-bridge")
commit b62356a3a545 ("socketcan-interface: apply patch to compile with boost 1.65")
- downgrading the recipe version to the indigo release version 0.6.8,
- and squashing these changes into one commit.
The original ros-canopen recipes on kinetic-experimental were
provided by Matthias Schoepfer <matthias.schoepfer@identpro.de>.
[1] aed2202182
[2] b62356a3a5
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
This commit also drops patches included in version 1.12.14 and
adjusts to new enforced dependencies in the move_base package.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
This commit includes:
- use `DEPENDS =` instead of `DEPENDS +=`.
- put single-line configurations into a single line
- move DEPENDS to right location in recipe files
- remove superfluous ROS_SPN declarations
The clean up was motivated by the commits for
object-recognition-msgs and hector-mapping in #519.
Issues were identified with `grep "DEPENDS +=" . -R` and by looking
at the output of oe-stylize.py with this bash script:
```
for RECIPE in $(find . -name *.bb)
do
echo "Processing: $RECIPE"
~/work/repositories/openembedded.org/meta-openembedded/contrib/oe-stylize.py $RECIPE > $RECIPE-oestylize
diff $RECIPE $RECIPE-oestylize
done
```
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Due to the recipe update, the commit also adjusts the line number
of the license file check and adds new dependencies.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
This commit also adjusts the dependencies, and drops the patch file
that is included in this version.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>