From ae6dea798f4efdd6394ddd8a550852241ee7309a Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 18 May 2020 16:08:36 +0200 Subject: [PATCH 1/2] cmake: add CMake option BUILD_OROGEN (defaults to OFF) orogen dependency utilrb depends on metaruby (https://github.com/rock-core/tools-metaruby), a package that is not available from default package repostories of common Linux distributions. It needs to be installed as a Ruby gem or from source. Until a unified way of bootstrapping the toolchain with or without Ruby and optional packages I therefore suggest to disable orogen for CMake-based builds by default. --- CMakeLists.txt | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f441413..4a46f69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,11 @@ else() set(CORBA_IMPLEMENTATION ${CORBA_IMPLEMENTATION} CACHE STRING "The implementation of CORBA to use (allowed values: TAO or OMNIORB )" ) endif() +# +# Enable/disable orogen and dependencies +# +option(BUILD_OROGEN "Build orogen and its dependencies" OFF) + ############# # Git magic # ############# @@ -171,16 +176,18 @@ build_external_project(ocl DEPENDS log4cpp rtt ) -build_external_project(utilrb) -build_external_project(typelib - DEPENDS utilrb -) -build_external_project(rtt_typelib - DEPENDS rtt typelib -) -build_external_project(orogen - DEPENDS rtt rtt_typelib utilrb -) +if(BUILD_OROGEN) + build_external_project(utilrb) + build_external_project(typelib + DEPENDS utilrb + ) + build_external_project(rtt_typelib + DEPENDS rtt typelib + ) + build_external_project(orogen + DEPENDS rtt rtt_typelib utilrb + ) +endif() ####################################### # Build orocos_toolchain meta package # From b8b7b2f7965886c6ba6dad9ac4e11bc06b6c7c6d Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 18 May 2020 16:30:05 +0200 Subject: [PATCH 2/2] orocos_toolchain: update metapackage package.xml to version 3 and update maintainer email --- orocos_toolchain/package.xml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/orocos_toolchain/package.xml b/orocos_toolchain/package.xml index 6622af6..65a0eca 100644 --- a/orocos_toolchain/package.xml +++ b/orocos_toolchain/package.xml @@ -1,26 +1,23 @@ - + + + orocos_toolchain 2.9.0 - This package provides the entire orocos_toolchain + This metapackage provides Orocos RTT and OCL and dependencies. - Orocos Developers - GPL v2 + linking exception, LGPL v2, CeCILL-B, GPL v2 or later, + GPL v2 + linking exception + LGPL-2.1 + Orocos Developers - catkin - catkin + catkin - rtt - ocl - log4cpp - rtt_typelib - typelib - utilrb - orogen + log4cpp + ocl + rtt -