How to add an OS tag for a rosdep.yaml entry
Description: This will walk you through adding an entry for rosdep.yaml for a new OSKeywords: rosdep support OS
Tutorial Level: INTERMEDIATE
Next Tutorial: rosdep/Tutorials/Add Support for an OS to rosdep
Contents
Here's an example existing rosdep.yaml file:
log4cxx:
ubuntu:
9.04: liblog4cxx10-dev
8.10: |
if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then
mkdir -p ~/ros/ros-deps
cd ~/ros/ros-deps
wget --tries=10 http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz
tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz
cd apache-log4cxx-0.10.0
./configure --prefix=/opt/ros
make
sudo make install
fi
8.04: |
if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then
mkdir -p ~/ros/ros-deps
cd ~/ros/ros-deps
wget --tries=10 http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz
tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz
cd apache-log4cxx-0.10.0
./configure --prefix=/opt/ros
make
sudo make install
fi
debian:
sid: liblog4cxx10-dev
lenny: |
if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then
mkdir -p ~/ros/ros-deps
cd ~/ros/ros-deps
wget --tries=10 http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz
tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz
cd apache-log4cxx-0.10.0
./configure --prefix=/opt/ros
make
sudo make install
fi
fedora: log4cxx-devel
arch: |
if ! pacman -Q log4cxx; then yaourt -S log4cxx; fi
macports: log4cxx
gentoo: ">=dev-libs/log4cxx-0.10"
New version
If a new version of ubuntu came out(such as 9.10). To add support for 9.10 you would insert
9.10: liblog4cxx10-dev
into the ubuntu section.
Completely new OS
To add Mint Linux support you could add
mint: liblog4cxx10-dev
assuming this is the correct package in mint.






