From 6847032787228ef8aff1e47bcc779596e211c958 Mon Sep 17 00:00:00 2001 From: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> Date: Fri, 15 Feb 2013 16:02:00 +0100 Subject: [PATCH] ros-comm: use include file and unify recipes Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net> --- recipes-ros/ros-comm/ros-comm.inc | 5 +++++ recipes-ros/ros-comm/rosconsole_1.9.41.bb | 18 +++------------- recipes-ros/ros-comm/rosgraph-msgs_1.9.41.bb | 17 +++------------ recipes-ros/ros-comm/rosgraph_1.9.41.bb | 21 ++----------------- recipes-ros/ros-comm/rosparam_1.9.41.bb | 21 ++----------------- recipes-ros/ros-comm/rostest_1.9.41.bb | 22 +++----------------- recipes-ros/ros-comm/roswtf_1.9.41.bb | 16 +++----------- recipes-ros/ros-comm/xmlrpcpp_1.9.41.bb | 19 ++++------------- 8 files changed, 25 insertions(+), 114 deletions(-) create mode 100644 recipes-ros/ros-comm/ros-comm.inc diff --git a/recipes-ros/ros-comm/ros-comm.inc b/recipes-ros/ros-comm/ros-comm.inc new file mode 100644 index 0000000..66f280d --- /dev/null +++ b/recipes-ros/ros-comm/ros-comm.inc @@ -0,0 +1,5 @@ +SRC_URI = "https://github.com/ros/ros_comm/archive/${PV}.tar.gz;downloadfilename=ros_comm-${PV}.tar.gz" +SRC_URI[md5sum] = "80b68959b8e6d5162c50a361a55d9b1a" +SRC_URI[sha256sum] = "b0422f914ca27f928e5acacf25353cb44bd7e3be8ba8942253013fe85cc355f8" + +inherit catkin diff --git a/recipes-ros/ros-comm/rosconsole_1.9.41.bb b/recipes-ros/ros-comm/rosconsole_1.9.41.bb index c55ce89..bc251ef 100644 --- a/recipes-ros/ros-comm/rosconsole_1.9.41.bb +++ b/recipes-ros/ros-comm/rosconsole_1.9.41.bb @@ -3,20 +3,8 @@ SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=6;endline=6;md5=d566ef916e9dedc494f5f793a6690ba5" -SRC_URI = "https://github.com/ros-gbp/ros_comm-release/archive/release/rosconsole/1.9.41.tar.gz;downloadfilename=rosconsole_1.9.41.tar.gz" -SRC_URI[md5sum] = "b1aa08c225ae0f81728452e08effe933" -SRC_URI[sha256sum] = "40c86e3121de8651dafed5238b8647347cf40be96066e5fa01a82875aff4a6d3" +DEPENDS = "apr boost cpp-common log4cxx rostime rosunit-native" -S = "${WORKDIR}/ros_comm-release-release-rosconsole-1.9.41" +require ros-comm.inc -DEPENDS = "catkin-native apr boost cpp-common log4cxx rostime rosunit" - -FILES_${PN} += "${libdir}/*" - -inherit cmake pythonnative - -EXTRA_OECMAKE = " \ - -Dcpp_common_DIR=${STAGING_DATADIR}/cpp_common/cmake/ \ - -Drostime_DIR=${STAGING_DATADIR}/rostime/cmake/ \ - -Drosunit_DIR=${STAGING_DATADIR}/rosunit/cmake/ \ - " +S = "${WORKDIR}/ros_comm-${PV}/tools/${BPN}" diff --git a/recipes-ros/ros-comm/rosgraph-msgs_1.9.41.bb b/recipes-ros/ros-comm/rosgraph-msgs_1.9.41.bb index f39fd8d..cba96c4 100644 --- a/recipes-ros/ros-comm/rosgraph-msgs_1.9.41.bb +++ b/recipes-ros/ros-comm/rosgraph-msgs_1.9.41.bb @@ -3,19 +3,8 @@ SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc494f5f793a6690ba5" -SRC_URI = "https://github.com/ros-gbp/ros_comm-release/archive/release/rosgraph_msgs/1.9.41.tar.gz;downloadfilename=rosgraph-msgs_1.9.41.tar.gz" -SRC_URI[md5sum] = "741009a25766157ac436f836b5bf5519" -SRC_URI[sha256sum] = "ec8302229ad51d1174c72d12f5e849c924a8e6d5a13c42fee76f7738d15405f2" +DEPENDS = "message-generation std-msgs" -S = "${WORKDIR}/ros_comm-release-release-rosgraph_msgs-1.9.41" - -DEPENDS = "catkin-native message-generation std-msgs" - -FILES_${PN} += "${libdir}/*" - -inherit cmake pythonnative - -EXTRA_OECMAKE = " \ - -Dmessage_generation_DIR=${STAGING_DATADIR}/message_generation/cmake/ \ - " +require ros-comm.inc +S = "${WORKDIR}/ros_comm-${PV}/messages/${ROS_BPN}" diff --git a/recipes-ros/ros-comm/rosgraph_1.9.41.bb b/recipes-ros/ros-comm/rosgraph_1.9.41.bb index 004e11a..a581207 100644 --- a/recipes-ros/ros-comm/rosgraph_1.9.41.bb +++ b/recipes-ros/ros-comm/rosgraph_1.9.41.bb @@ -4,23 +4,6 @@ SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9dedc494f5f793a6690ba5" -SRC_URI = "https://github.com/ros-gbp/ros_comm-release/archive/release/rosgraph/1.9.41.tar.gz;downloadfilename=rosgraph_1.9.41.tar.gz" -SRC_URI[md5sum] = "c4a6fe2109e36f08e00634a60efa2b46" -SRC_URI[sha256sum] = "69c23ece0af24c68b404622bcbd224e84fa19da88cb08f80b62769849ba26e70" - -S = "${WORKDIR}/ros_comm-release-release-rosgraph-1.9.41" - -DEPENDS = "catkin-native" - -FILES_${PN} += "${libdir}/*" - -inherit cmake pythonnative - -EXTRA_OECMAKE = " \ - " - -export BUILD_SYS -export HOST_SYS -export STAGING_LIBDIR -export STAGING_INCDIR +require ros-comm.inc +S = "${WORKDIR}/ros_comm-${PV}/tools/${BPN}" diff --git a/recipes-ros/ros-comm/rosparam_1.9.41.bb b/recipes-ros/ros-comm/rosparam_1.9.41.bb index d11d892..be50d6e 100644 --- a/recipes-ros/ros-comm/rosparam_1.9.41.bb +++ b/recipes-ros/ros-comm/rosparam_1.9.41.bb @@ -4,23 +4,6 @@ SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=15;endline=15;md5=d566ef916e9dedc494f5f793a6690ba5" -SRC_URI = "https://github.com/ros-gbp/ros_comm-release/archive/release/rosparam/1.9.41.tar.gz;downloadfilename=rosparam_1.9.41.tar.gz" -SRC_URI[md5sum] = "9539b0fbb6e50d44a6038d2f4d57d67b" -SRC_URI[sha256sum] = "49a6e4c5d8607bebf3b995fe2b4f2105898ebbac04e542008e953baa0892b255" - -S = "${WORKDIR}/ros_comm-release-release-rosparam-1.9.41" - -DEPENDS = "catkin-native" - -FILES_${PN} += "${libdir}/*" - -inherit distutils cmake pythonnative - -EXTRA_OECMAKE = " \ - " - -export BUILD_SYS -export HOST_SYS -export STAGING_LIBDIR -export STAGING_INCDIR +require ros-comm.inc +S = "${WORKDIR}/ros_comm-${PV}/tools/${BPN}" diff --git a/recipes-ros/ros-comm/rostest_1.9.41.bb b/recipes-ros/ros-comm/rostest_1.9.41.bb index 7a26b61..baf723a 100644 --- a/recipes-ros/ros-comm/rostest_1.9.41.bb +++ b/recipes-ros/ros-comm/rostest_1.9.41.bb @@ -3,24 +3,8 @@ SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc494f5f793a6690ba5" -SRC_URI = "https://github.com/ros-gbp/ros_comm-release/archive/release/rostest/1.9.41.tar.gz;downloadfilename=rostest_1.9.41.tar.gz" -SRC_URI[md5sum] = "82c09640a27dedc6b1eabed2951a23dd" -SRC_URI[sha256sum] = "f259d89e5ce02359c65dfc5bdb6c62be104600ddcb62ce6f9cffd630ff99a55d" +DEPENDS = "boost rosunit-native" -S = "${WORKDIR}/ros_comm-release-release-rostest-1.9.41" - -DEPENDS = "catkin-native boost rosunit" - -FILES_${PN} += "${libdir}/*" - -inherit cmake pythonnative - -EXTRA_OECMAKE = " \ - -Drosunit_DIR=${STAGING_DATADIR}/rosunit/cmake/ \ - " - -export BUILD_SYS -export HOST_SYS -export STAGING_LIBDIR -export STAGING_INCDIR +require ros-comm.inc +S = "${WORKDIR}/ros_comm-${PV}/tools/${BPN}" diff --git a/recipes-ros/ros-comm/roswtf_1.9.41.bb b/recipes-ros/ros-comm/roswtf_1.9.41.bb index 1a17840..11cd30a 100644 --- a/recipes-ros/ros-comm/roswtf_1.9.41.bb +++ b/recipes-ros/ros-comm/roswtf_1.9.41.bb @@ -3,18 +3,8 @@ SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc494f5f793a6690ba5" -SRC_URI = "https://github.com/ros-gbp/ros_comm-release/archive/release/roswtf/1.9.41.tar.gz;downloadfilename=roswtf_1.9.41.tar.gz" -SRC_URI[md5sum] = "422724ca5fb8bb1424f1cd7f73c9f7aa" -SRC_URI[sha256sum] = "74f8028c7eb43e2507d70461257c48cca3c4ea162eaf66e0163d307846d32ce3" +DEPENDS = "rostest" -S = "${WORKDIR}/ros_comm-release-release-roswtf-1.9.41" +require ros-comm.inc -DEPENDS = "catkin-native rostest" - -FILES_${PN} += "${libdir}/*" - -inherit cmake pythonnative - -EXTRA_OECMAKE = " \ - -Drostest_DIR=${STAGING_DATADIR}/rostest/cmake/ \ - " +S = "${WORKDIR}/ros_comm-${PV}/utilities/${BPN}" diff --git a/recipes-ros/ros-comm/xmlrpcpp_1.9.41.bb b/recipes-ros/ros-comm/xmlrpcpp_1.9.41.bb index 9ffc5a9..1be06ac 100644 --- a/recipes-ros/ros-comm/xmlrpcpp_1.9.41.bb +++ b/recipes-ros/ros-comm/xmlrpcpp_1.9.41.bb @@ -4,22 +4,11 @@ DESCRIPTION = \ support roscpp's threading model. As such, we are maintaining our \ own fork." SECTION = "devel" -LICENSE = "LGPL" +LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=46ee8693f40a89a31023e97ae17ecf19" -SRC_URI = "https://github.com/ros-gbp/ros_comm-release/archive/release/xmlrpcpp/1.9.41.tar.gz;downloadfilename=xmlrpcpp_1.9.41.tar.gz" -SRC_URI[md5sum] = "036a6544a574faca48c52489e6767530" -SRC_URI[sha256sum] = "1e3ced256ecbbd05f0c1821ce99c33127cbdd5284e4b789bced55508f2581c48" +DEPENDS = "cpp-common" -S = "${WORKDIR}/ros_comm-release-release-xmlrpcpp-1.9.41" - -DEPENDS = "catkin-native cpp-common" - -FILES_${PN} += "${libdir}/*" - -inherit distutils cmake pythonnative - -EXTRA_OECMAKE = " \ - -Dcpp_common_DIR=${STAGING_DATADIR}/cpp_common/cmake/ \ - " +require ros-comm.inc +S = "${WORKDIR}/ros_comm-${PV}/utilities/${BPN}" -- GitLab