Commit Graph

1803 Commits

Author SHA1 Message Date
Herb Kuta 295ee6081f DRAFT {crystal} libyaml-vendor: PROVIDE/RPROVIDE libyaml 2019-06-22 18:51:18 -07:00
Herb Kuta 88500f119a DRAFT libyaml-vendor: FILES, SYSROOT 2019-06-22 18:51:18 -07:00
JeongBong Seo 180cb56971 WIP ros2cli-0.6.3.inc: Append to RDEPENDS (add more testing for MS2)
On the target, it fails to execute ros2 commands because of missing
python3 packages.

After installing these packages, I tested some ros2 commands:
$ ros2 topic list/echo/pub/hz/info
$ ros2 service list
$ ros2 node list/info
$ ros2 launch *** (topic/service tested after installing demo-nodes-cpp)
$ ros2 pkg list (after export AMENT_PREFIX_PATH="/usr")
2019-06-22 18:51:18 -07:00
Andre Rosa 6e2e23c634 DRAFT ros2cli-0.6.3.inc: Add required runtime dependencies
* ros2 command line utility works well on emulator:

root@qemux86:~# ros2 topic list
/parameter_events
/rosout

root@qemux86:~# ros2 topic pub /chatter std_msgs/String "data: Hello world"
publisher: beginning loop
publishing #1: std_msgs.msg.String(data='Hello world')

publishing #2: std_msgs.msg.String(data='Hello world')
^C

root@qemux86:~# ros2 topic echo /chatter
data: Hello world

data: Hello world
^C

* Version-specific because it might be fixed in a new version.
2019-06-22 18:51:18 -07:00
Andre Rosa edb9c1ea9c DRAFT launch-0.7.4.inc: Append to ROS_EXEC_DEPENDS
Version-specific because it might be fixed in a new version.
2019-06-22 18:51:18 -07:00
Herb Kuta 9153575dad DRAFT poco-vendor.inc: Correct LICENSE
superflore maps "Boost Software License 1.0" to "Boost-1.0", which is
what Gentoo expects, but OE expects the SPDX standard name: "BSL-1.0".
2019-06-22 18:51:18 -07:00
Herb Kuta 32505bccbc DRAFT poco-vendor.inc: ALLOW_EMPTY 2019-06-22 18:51:18 -07:00
Herb Kuta 9772aeaacf DRAFT {crystal} rclcpp-0.4.3.inc: Append to ROS_BUILDTOOL_DEPENDS 2019-06-22 18:51:18 -07:00
Herb Kuta 025e2e96a9 TEMP console-bridge: Provide v0.4.2 for crystal, bionic v0.4.0 for melodic, bouncy
crystal console-bridge-vendor builds v0.4.1 if version is earlier, but
its console-bridge.pc has Version: 0.4.0 => fixed in v0.4.2 .

Eventually fix console-bridge-vendor.pc not to have a bad path and
revert this commit.
2019-06-22 18:51:18 -07:00
Herb Kuta 99abf9296f DRAFT console-bridge_0.4.0.bb: Now creates versioned .so-s => drop inherit faulty-solibs 2019-06-22 18:51:18 -07:00
Herb Kuta 488ba92569 DRAFT {crystal} console-bridge_0.4.0.bb: cmake subdir under libdir not datadir 2019-06-22 18:51:18 -07:00
Herb Kuta a77dec034f DRAFT {crystal} std-srvs-0.6.1.inc: Append target rosidl-typesupport-* to ROS_BUILD_DEPENDS
Without the target rosidl-typesupport-{c,cpp}, ament finds the native
packages and then fails to link (error: incompatible target) => append them
to ROS_BUILD_DEPENDS.

Version-specific because might be fixed in new version.
2019-06-22 18:51:18 -07:00
Herb Kuta d2e9c8d022 DRAFT {crystal} builtin-interfaces-0.6.3.inc: Add rosidl-default-runtime to ROS_EXPORT_DEPENDS
usr/share/builtin_interfaces/cmake/ament_cmake_export_dependencies-extras.cmake contains:

    set(_exported_dependencies "rosidl_default_runtime")
2019-06-22 18:51:18 -07:00
Herb Kuta 5abc845535 DRAFT {crystal} unique-identifier-msgs-2.0.0_common.inc: Append target rosidl-typesupport-* to ROS_BUILD_DEPENDS
Without the target rosidl-typesupport-{c,cpp}, ament finds the native
packages and then fails to link (error: incompatible target) => append them
to ROS_BUILD_DEPENDS.

Version-specific because might be fixed in new version.
2019-06-22 18:51:18 -07:00
Herb Kuta e468612f24 DRAFT {crystal} rosidl-typesupport-fastrtps-c-0.6.1.inc: Append target rosidl-typesupport-fastrtps-cpp to ROS_BUILD_DEPENDS
Without the target rosidl-typesupprt-fastrtps-cpp, ament finds the native
packages and then fails to link (error: incompatible target) => append them
to ROS_BUILD_DEPENDS.

Version-specific because might be fixed in new version.
2019-06-22 18:51:18 -07:00
Herb Kuta 4053d682b9 DRAFT {crystal} rcl-interfaces-0.6.3_common.inc: Append target rosidl-typesupport-* to ROS_BUILD_DEPENDS
Without the target rosidl-typesupport-{c,cpp}, ament finds the native
packages and then fails to link (error: incompatible target) => append them
to ROS_BUILD_DEPENDS.

Version-specific because might be fixed in new version.
2019-06-22 18:51:18 -07:00
Herb Kuta afd963eaaa DRAFT {crystal} rmw-fastrtps-shared-cpp-0.6.2.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-06-22 18:51:18 -07:00
Herb Kuta 16ec91d570 DRAFT {crystal} rosidl-typesupport-fastrtps-cpp-0.6.1.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-06-22 18:51:18 -07:00
Herb Kuta 2624e9bfa1 DRAFT {crystal} rosidl-typesupport-fastrtps-c-0.6.1.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-06-22 18:51:18 -07:00
Herb Kuta 5f31c278cd DRAFT {crystal} unique-identifier-msgs-2.0.0.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-06-22 18:51:18 -07:00
Herb Kuta 87352c4e89 DRAFT {crystal} lifecycle-msgs-0.6.3.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-06-22 18:51:18 -07:00
Herb Kuta e3fb16421e DRAFT {crystal} builtin-interfaces-0.6.3.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-06-22 18:51:18 -07:00
Herb Kuta 9247f15569 DRAFT {crystal} ament-cmake-0.6.1.inc: Append to ROS_BUILDTOOL_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-06-22 18:51:18 -07:00
Herb Kuta 6d515bce1b DRAFT {crystal} std-srvs-0.6.1.inc: Append to ROS_BUILD_DEPENDS
Version-dependent because it might be fixed in a newer version.
2019-06-22 18:51:18 -07:00
Herb Kuta 6bb1f0f13d DRAFT {crystal} rosidl-adapter-0.6.3.inc: Fix dependencies
Version-specific because it might be fixed in a new version.
2019-06-22 18:51:18 -07:00
Herb Kuta 7791ff31db DRAFT {crystal} rosidl-0.6.3_common.inc: Force incorrectly classified ROS_EXEC_DEPENDS to be build dependencies
Version-dependent because it might be fixed in a newer version.
2019-06-22 18:51:18 -07:00
Herb Kuta c0a11874df DRAFT {crystal} Blacklist and remove dependencies on OpenSplice packages 2019-06-22 18:51:18 -07:00
Herb Kuta 30ddbac63a DRAFT {crystal} Blacklist and remove dependencies on Connext packages 2019-06-22 18:51:18 -07:00
Herb Kuta da72340f0d DRAFT crystal/ros-distro.inc: Append to ROS_SUPERFLORE_GENERATED_BUILDTOOLS
Since superflore doesn't know when its generating a recipe that it will
be for a buildtool, it can't know that what's in ROS_EXEC_DEPEND are also
buildtools.
2019-06-22 18:51:18 -07:00
Herb Kuta e3a9003170 -- TEMP UNTAG 2019-06-22 18:51:18 -07:00
Herb Kuta 55fd8455e3 -- TEMP TAG BEGIN crystal-specific (additions to includes-ros[12]) 2019-06-22 18:51:18 -07:00
Herb Kuta 223fac13d8 DRAFT ament-cmake_common.inc: Correct ROS_BUILT_TYPE
ROS_DISTRO-cache.yaml has <build_type> as ament_cmake
2019-06-22 18:51:18 -07:00
Herb Kuta 4929e6a383 DRAFT python-catkin-pkg.inc: Add dependency on pyparsing 2019-06-22 18:51:18 -07:00
Herb Kuta bc8df93423 DRAFT asio_%.bbappend: BBCLASSEXTEND = "native" 2019-06-22 18:51:18 -07:00
Herb Kuta 51d2c7a641 DRAFT packagegroup-ros-world.bb: Get RDEPENDS from ROS_SUPERFLORE_GENERATED_WORLD_PACKAGES, etc. 2019-06-22 18:51:18 -07:00
Herb Kuta 144a46608d DRAFT ament.bbclass: Don't remove local_setup.*, environment from what's installed 2019-06-22 18:51:18 -07:00
JeongBong Seo a4a7291606 DRAFT ament.bbclass: Use ros2_distro.bbclass settings for FILES, FILES-dev 2019-06-22 18:51:18 -07:00
Andre Rosa a25bb417e5 DRAFT ament.bbclass: Fix PYTHON_SOABI
* Make it conditional on the configured MACHINE. Otherwise needs to be
    reworked to avoid getting the SOABI from python3-native.

  * See:
    4b6bb78633
    https://github.com/ros2/rosidl_python/blob/master/python_cmake_module/cmake/Modules/FindPythonExtra.cmake
    https://discourse.ros.org/t/import-error-no-module-named-rclpy-rclpy-cross-compiling/2463/

  * With the patch ros2 cli works well for all listed MACHINE(s):

    root@qemuarm64:~# ros2 topic list
    /parameter_events
    /rosout

     root@qemuarm64:~# ros2 topic pub /chatter std_msgs/String "data: Hello world"
     publisher: beginning loop
     publishing #1: std_msgs.msg.String(data='Hello world')

     publishing #2: std_msgs.msg.String(data='Hello world')

     ...

     root@qemuarm64:~# ros2 topic echo /chatter
     data: Hello world

     data: Hello world

     ...
2019-06-22 18:51:18 -07:00
Herb Kuta 3e83ff8d7b DRAFT ament.bbclass: Dependencies are correctly generated 2019-06-22 18:51:18 -07:00
Herb Kuta be4b674298 DRAFT pythonpath-insane.bbclass: Drop: no longer need to use target path for native Python 2019-06-22 18:51:18 -07:00
Herb Kuta ce93adf9b2 DRAFT *.bbclass: Drop extraneous wildcards in FILES_* assignements 2019-06-22 18:51:18 -07:00
Herb Kuta 0c492afb8a DRAFT ament-python.bbclass: Remove hardcoded /usr/share from FILES_${PN} 2019-06-22 18:51:18 -07:00
Herb Kuta 7eb01a4e34 DRAFT ament.bbclass: Add comment about AMENT_PREFIX_PATH 2019-06-22 18:51:18 -07:00
Herb Kuta c078c2b972 DRAFT *.bbclass: Drop assignments of S (generated recipes set it correctly) 2019-06-22 18:51:18 -07:00
Herb Kuta 07ca9f9384 DRAFT Add ros_ament_python.bbclass 2019-06-22 18:51:18 -07:00
Herb Kuta a162ab8068 DRAFT Add ros_cmake.bbclass 2019-06-22 18:51:18 -07:00
Herb Kuta b5fc263838 DRAFT Add ros_ament_cmake.bbclass 2019-06-22 18:51:18 -07:00
Herb Kuta c2166b9272 DRAFT Add ros_catkin.bbclass 2019-06-22 18:51:18 -07:00
Herb Kuta 2bfb14d6ca DRAFT Add ros_recipe_now_generated.bbclass 2019-06-22 18:51:18 -07:00
Herb Kuta abb5bb4338 DRAFT Add ros_superflore_generated.bbclass 2019-06-22 18:51:18 -07:00