-
install
- download debian files
- install to computer
sudo dpkg -i *.deb
-
-
Save furushchev/6c0e1fb3f6ecdb8b744c to your computer and use it in GitHub Desktop.
This script generates debian package that includes enormous speed up version roslaunch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
set -e | |
DIR="/tmp/patch" | |
if [ -d $DIR ]; then rm -rf $DIR; fi | |
mkdir -p $DIR && cd $DIR | |
# generate patched debian package of roslaunch | |
git clone https://github.com/ros-gbp/ros_comm-release roslaunch | |
wget --no-check-certificate https://github.com/ros/ros_comm/pull/676.diff -O 676.diff | |
wget --no-check-certificate https://github.com/ros/ros_comm/pull/682.diff -O 682.diff | |
cd roslaunch | |
git checkout origin/debian/hydro/precise/roslaunch | |
patch -p3 < ../676.diff | |
patch -p3 < ../682.diff | |
sed -i '[email protected]@1.10.99@' package.xml debian/changelog | |
dpkg-buildpackage -rfakeroot -uc -b | |
# generate patched debian package of roslib | |
git clone https://github.com/ros-gbp/ros-release roslib | |
wget --no-check-certificate https://github.com/ros/ros/pull/91.diff -O 91.diff | |
wget --no-check-certificate https://github.com/ros/ros/pull/95.diff -O 95.diff | |
cd roslib | |
git checkout origin/debian/hydro/precise/roslib | |
patch -p3 < ../91.diff | |
patch -p3 < ../95.diff | |
sed -i '[email protected]@1.10.99@' package.xml debian/changelog | |
dpkg-buildpackage -rfakeroot -uc -b | |
# install | |
cd .. | |
sudo dpkg -i *.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment