improving formatting after automated style check
After running oe-stylize.py on all recipes in recipes-ros, this commit improves the formatting of some recipes. To achieve this, I executed these commands in recipes-ros: find . -name *.bb | sed 's#\(.*\)#./oe-stylize.py \1 > \1_sanitized#' | sh find . -name *.bb | sed 's#\(.*\)#diff -Naur \1 \1_sanitized#' | sh > diffs Then, I manually inspected the diffs file, and improved the recipes. For the DESCRIPTION line in the addressed recipes, the line width of 100 characters was chosen, as the LIC_FILES_CHKSUM line and SRC_URI line usually are also around about 100 characters long. Hence, choosing a shorter line width, e.g. 80 characters, would have only created more line breaks, but not reduced the need to use a file viewer with which 100 characters line width can be displayed. For the github file and diff viewer and most editors on reasonably-sized screens, 100 character line width is no problem.
This commit is contained in:
parent
f6ba831226
commit
8249cc8dd5
|
@ -3,14 +3,14 @@ SECTION = "devel"
|
|||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=f62de161dc7a8f859a0502707b17209e"
|
||||
|
||||
DEPENDS = "cmake-modules cv-bridge image-transport libtinyxml pcl-ros resource-retriever roscpp tf visualization-msgs"
|
||||
|
||||
SRC_URI = "https://github.com/sniekum/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
|
||||
SRC_URI[md5sum] = "2786829c43437da2aa93eff77a4c862f"
|
||||
SRC_URI[sha256sum] = "f87759a0a4decbf0da3ff9341e1aa6fcfdcaf302f0844d6ace371c7e5dc9e53e"
|
||||
|
||||
SRC_URI += "file://0001-used-cmake_modules-to-find-TinyXML.patch"
|
||||
|
||||
DEPENDS = "cmake-modules cv-bridge image-transport libtinyxml pcl-ros resource-retriever roscpp tf visualization-msgs"
|
||||
|
||||
S = "${WORKDIR}/${ROS_SP}"
|
||||
|
||||
inherit catkin
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
DESCRIPTION = "control_msgs contains base messages and actions \
|
||||
useful for controlling robots. It provides representations for \
|
||||
controller setpoints and joint and cartesian trajectories."
|
||||
DESCRIPTION = "control_msgs contains base messages and actions useful for controlling robots. It \
|
||||
provides representations for controller setpoints and joint and cartesian trajectories."
|
||||
SECTION = "devel"
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://package.xml;beginline=12;endline=12;md5=d566ef916e9dedc494f5f793a6690ba5"
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
DESCRIPTION = "The control toolbox contains modules that are useful \
|
||||
across all controllers."
|
||||
DESCRIPTION = "The control toolbox contains modules that are useful across all controllers."
|
||||
SECTION = "devel"
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://package.xml;beginline=7;endline=7;md5=d566ef916e9dedc494f5f793a6690ba5"
|
||||
|
||||
DEPENDS = "rosconsole tf roscpp angles message-generation \
|
||||
dynamic-reconfigure libtinyxml realtime-tools message-filters"
|
||||
dynamic-reconfigure libtinyxml realtime-tools message-filters"
|
||||
|
||||
SRC_URI = "https://github.com/ros-controls/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
|
||||
SRC_URI[md5sum] = "28f8bc6536401456b207e20b4de2e8b3"
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
DESCRIPTION = "\
|
||||
This unary stack contains the dynamic_reconfigure package which provides a means to change \
|
||||
node parameters at any time without having to restart the node."
|
||||
DESCRIPTION = "This unary stack contains the dynamic_reconfigure package which provides a means to \
|
||||
change node parameters at any time without having to restart the node."
|
||||
SECTION = "devel"
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=9;md5=d566ef916e9dedc494f5f793a6690ba5"
|
||||
|
||||
DEPENDS = "roscpp std-msgs roslib"
|
||||
|
||||
SRC_URI = "https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
|
||||
SRC_URI[md5sum] = "38248b33c5c8bc6d97d8f9e3ae349016"
|
||||
SRC_URI[sha256sum] = "5f2c978861d6273af9fc40ff53b457d15b871ea7276278dcbd3eb9ba70044da3"
|
||||
|
||||
DEPENDS = "roscpp std-msgs roslib"
|
||||
|
||||
S = "${WORKDIR}/${ROS_SP}"
|
||||
|
||||
inherit catkin
|
||||
|
|
|
@ -5,6 +5,6 @@ LICENSE = "BSD"
|
|||
LIC_FILES_CHKSUM = "file://package.xml;beginline=12;endline=12;md5=d566ef916e9dedc494f5f793a6690ba5"
|
||||
|
||||
DEPENDS = "camera-info-manager diagnostic-updater dynamic-reconfigure \
|
||||
image-transport libfreenect nodelet roscpp sensor-msgs pluginlib"
|
||||
image-transport libfreenect nodelet roscpp sensor-msgs pluginlib"
|
||||
|
||||
require freenect-stack.inc
|
||||
|
|
|
@ -14,7 +14,7 @@ S = "${WORKDIR}/${ROS_SP}"
|
|||
inherit catkin
|
||||
|
||||
do_configure_append() {
|
||||
sed -i -e 's: /usr/lib/liboctomap.so: ${STAGING_LIBDIR}/liboctomap.so:g' \
|
||||
-e 's: /usr/lib/liboctomath.so: ${STAGING_LIBDIR}/liboctomath.so:g' \
|
||||
${B}/CMakeFiles/octomap_ros.dir/build.make
|
||||
sed -i -e 's: /usr/lib/liboctomap.so: ${STAGING_LIBDIR}/liboctomap.so:g' \
|
||||
-e 's: /usr/lib/liboctomath.so: ${STAGING_LIBDIR}/liboctomath.so:g' \
|
||||
${B}/CMakeFiles/octomap_ros.dir/build.make
|
||||
}
|
||||
|
|
|
@ -154,7 +154,7 @@ RDEPENDS_${PN} = "\
|
|||
sound-play \
|
||||
communication-tests \
|
||||
cyclic-timer-tests \
|
||||
oneshot-timer-tests \
|
||||
oneshot-timer-tests \
|
||||
urdfdom-headers \
|
||||
urdfdom-py \
|
||||
urdf-tutorial \
|
||||
|
|
|
@ -4,10 +4,10 @@ SECTION = "devel"
|
|||
LICENSE = "BSD & BSL-1.0"
|
||||
LIC_FILES_CHKSUM = "file://package.xml;beginline=9;endline=10;md5=bbbb6ab628b1f3daee74dd9c62bee312"
|
||||
|
||||
DEPENDS = "boost class-loader rosconsole roslib libtinyxml"
|
||||
|
||||
SRC_URI = "https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
|
||||
SRC_URI[md5sum] = "681c98bb532cbd663f56f59590dcdae5"
|
||||
SRC_URI[sha256sum] = "096112e2e5063bfca583bfa4ba3e3f47b51befd5e4b6c3edcc8311986b39a70f"
|
||||
|
||||
DEPENDS = "boost class-loader rosconsole roslib libtinyxml"
|
||||
|
||||
inherit catkin
|
||||
|
|
|
@ -8,10 +8,10 @@ DEPENDS = "angles assimp resource-retriever collada-dom collada-parser roscpp ur
|
|||
require robot-model.inc
|
||||
|
||||
do_configure_append() {
|
||||
for f in collada_urdf.dir collada_to_urdf.dir urdf_to_collada.dir
|
||||
do
|
||||
sed -i -e 's: /usr/lib/liboctomap.so: ${STAGING_LIBDIR}/liboctomap.so:g' \
|
||||
-e 's: /usr/lib/liboctomath.so: ${STAGING_LIBDIR}/liboctomath.so:g' \
|
||||
${B}/CMakeFiles/$f/build.make
|
||||
done
|
||||
for f in collada_urdf.dir collada_to_urdf.dir urdf_to_collada.dir
|
||||
do
|
||||
sed -i -e 's: /usr/lib/liboctomap.so: ${STAGING_LIBDIR}/liboctomap.so:g' \
|
||||
-e 's: /usr/lib/liboctomath.so: ${STAGING_LIBDIR}/liboctomath.so:g' \
|
||||
${B}/CMakeFiles/$f/build.make
|
||||
done
|
||||
}
|
||||
|
|
|
@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=d566ef916e9de
|
|||
DEPENDS = "urdfdom-headers"
|
||||
|
||||
require robot-model.inc
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
DESCRIPTION = "the rosparam command-line tool for getting and setting \
|
||||
ROS Parameters on the Parameter Server using YAML-encoded files."
|
||||
DESCRIPTION = "the rosparam command-line tool for getting and setting ROS Parameters on the \
|
||||
Parameter Server using YAML-encoded files."
|
||||
SECTION = "devel"
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://package.xml;beginline=15;endline=15;md5=d566ef916e9dedc494f5f793a6690ba5"
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
DESCRIPTION = \
|
||||
"XmlRpc++ is a C++ implementation of the XML-RPC protocol. This version is \
|
||||
heavily modified from the package available on SourceForge in order to \
|
||||
support roscpp's threading model. As such, we are maintaining our \
|
||||
own fork."
|
||||
DESCRIPTION = "XmlRpc++ is a C++ implementation of the XML-RPC protocol. This version is heavily \
|
||||
modified from the package available on SourceForge in order to support roscpp's threading model. \
|
||||
As such, we are maintaining our own fork."
|
||||
SECTION = "devel"
|
||||
LICENSE = "LGPL-2.1"
|
||||
LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=184dd1523b9a109aead3fbbe0b4262e0"
|
||||
|
|
|
@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=7;endline=7;md5=d566ef916e9dedc
|
|||
DEPENDS = "roscpp hardware-interface pluginlib"
|
||||
|
||||
require ros-control.inc
|
||||
|
||||
|
|
|
@ -6,4 +6,3 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=7;endline=7;md5=d566ef916e9dedc
|
|||
DEPENDS = "message-generation std-msgs roscpp-serialization"
|
||||
|
||||
require ros-control.inc
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9de
|
|||
|
||||
DEPENDS = "rosconsole console-bridge"
|
||||
|
||||
SRC_URI ="https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
|
||||
SRC_URI = "https://github.com/ros/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
|
||||
SRC_URI[md5sum] = "d847f18aa69b913f52489bb238281ee0"
|
||||
SRC_URI[sha256sum] = "3fc09e575f41d33ee31e1e4392ed09b8fed549634478e5d7176818479e9216dc"
|
||||
|
||||
|
|
Loading…
Reference in New Issue