Skip to content

Commit

Permalink
Added more packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
moesenle committed Nov 25, 2012
1 parent 4e65c58 commit adf1212
Show file tree
Hide file tree
Showing 10 changed files with 649 additions and 213 deletions.
480 changes: 267 additions & 213 deletions groovy/Makefile

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions groovy/rosnode/PKGBUILD
@@ -0,0 +1,45 @@

pkgdesc="rosnode is a command-line tool for displaying debug information
about ROS <a href=\"http://www.ros.org/wiki/Nodes\">Nodes</a>,
including publications, subscriptions and connections. It also
contains an experimental library for retrieving node
information. This library is intended for internal use only."
url='http://www.ros.org/'

pkgname='ros-groovy-rosnode'
pkgver='1.9.32'
arch=('i686' 'x86_64')
pkgrel=1
license=('BSD')
makedepends=('ros-build-tools')

ros_depends=(ros-groovy-catkin
ros-groovy-rostopic
ros-groovy-rostest
ros-groovy-rosgraph)
depends=(${ros_depends[@]}
)

source=()
md5sums=()

build() {
[ -f /opt/ros/groovy/setup.bash ] && source /opt/ros/groovy/setup.bash
if [ -d ${srcdir}/rosnode ]; then
cd ${srcdir}/rosnode
git fetch origin
git reset --hard release/rosnode/${pkgver}
else
git clone -b release/rosnode/${pkgver} git://github.com/ros-gbp/ros_comm-release.git ${srcdir}/rosnode
fi
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build
/usr/share/ros-build-tools/fix-python-scripts.sh ${srcdir}/rosnode
cmake ${srcdir}/rosnode -DCATKIN_BUILD_BINARY_PACKAGE=ON -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DSETUPTOOLS_DEB_LAYOUT=OFF
make
}

package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}/" install
}
49 changes: 49 additions & 0 deletions groovy/rostopic/PKGBUILD
@@ -0,0 +1,49 @@

pkgdesc="rostopic contains the rostopic command-line tool for displaying
debug information about
ROS <a href=\"http://www.ros.org/wiki/Topics\">Topics</a>, including
publishers, subscribers, publishing rate,
and ROS <a href=\"http://www.ros.org/wiki/Messages\">Messages</a>. It also
contains an experimental Python library for getting information about
and interacting with topics dynamically. This library is for
internal-use only as the code API may change, though it does provide
examples of how to implement dynamic subscription and publication
behaviors in ROS."
url='http://www.ros.org/'

pkgname='ros-groovy-rostopic'
pkgver='1.9.32'
arch=('i686' 'x86_64')
pkgrel=1
license=('BSD')
makedepends=('ros-build-tools')

ros_depends=(ros-groovy-rospy
ros-groovy-catkin
ros-groovy-rostest)
depends=(${ros_depends[@]}
)

source=()
md5sums=()

build() {
[ -f /opt/ros/groovy/setup.bash ] && source /opt/ros/groovy/setup.bash
if [ -d ${srcdir}/rostopic ]; then
cd ${srcdir}/rostopic
git fetch origin
git reset --hard release/rostopic/${pkgver}
else
git clone -b release/rostopic/${pkgver} git://github.com/ros-gbp/ros_comm-release.git ${srcdir}/rostopic
fi
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build
/usr/share/ros-build-tools/fix-python-scripts.sh ${srcdir}/rostopic
cmake ${srcdir}/rostopic -DCATKIN_BUILD_BINARY_PACKAGE=ON -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DSETUPTOOLS_DEB_LAYOUT=OFF
make
}

package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}/" install
}
22 changes: 22 additions & 0 deletions groovy/rx/PKGBUILD
@@ -0,0 +1,22 @@

pkgdesc="GUI tools for ROS - rxbag, rxplot, rxgraph, and others"
url='http://www.ros.org/'

pkgname='ros-groovy-rx'
pkgver='1.9.9'
arch=('i686' 'x86_64')
pkgrel=1
license=('BSD, LGPL, Creative Commons, wxWindows, Creative Commons')
makedepends=('ros-build-tools')

ros_depends=(ros-groovy-rxgraph
ros-groovy-xdot
ros-groovy-rxbag
ros-groovy-rxtools
ros-groovy-wxpython-swig-interface)
depends=(${ros_depends[@]}
)

source=()
md5sums=()

47 changes: 47 additions & 0 deletions groovy/rxbag/PKGBUILD
@@ -0,0 +1,47 @@

pkgdesc="rxbag is a GUI tool for visualizing, inspecting and replaying histories of ROS messages.
Some icons from the Silk icon pack are used, which is available from <a href=\"http://www.famfamfam.com/lab/icons/silk/\">famfamfam.com</a>."
url='http://www.ros.org/'

pkgname='ros-groovy-rxbag'
pkgver='1.9.9'
arch=('i686' 'x86_64')
pkgrel=1
license=('BSD, Creative Commons')
makedepends=('ros-build-tools')

ros_depends=(ros-groovy-catkin
ros-groovy-rosgraph
ros-groovy-roslib
ros-groovy-wxpython-swig-interface
ros-groovy-rospy
ros-groovy-rosbag)
depends=(${ros_depends[@]}
pygtk
wxpython
wxgtk)

source=()
md5sums=()

build() {
[ -f /opt/ros/groovy/setup.bash ] && source /opt/ros/groovy/setup.bash
if [ -d ${srcdir}/rxbag ]; then
cd ${srcdir}/rxbag
git fetch origin
git reset --hard release/rxbag/${pkgver}
else
git clone -b release/rxbag/${pkgver} git://github.com/ros-gbp/rx-release.git ${srcdir}/rxbag
fi
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build
/usr/share/ros-build-tools/fix-python-scripts.sh ${srcdir}/rxbag
cmake ${srcdir}/rxbag -DCATKIN_BUILD_BINARY_PACKAGE=ON -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DSETUPTOOLS_DEB_LAYOUT=OFF
make
}

package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}/" install
}
44 changes: 44 additions & 0 deletions groovy/rxgraph/PKGBUILD
@@ -0,0 +1,44 @@

pkgdesc="rxgraph is a command-line tool for visualizing a ROS computation graph."
url='http://www.ros.org/'

pkgname='ros-groovy-rxgraph'
pkgver='1.9.9'
arch=('i686' 'x86_64')
pkgrel=1
license=('BSD')
makedepends=('ros-build-tools')

ros_depends=(ros-groovy-catkin
ros-groovy-rosgraph
ros-groovy-xdot
ros-groovy-wxpython-swig-interface
ros-groovy-rosnode
ros-groovy-rostopic)
depends=(${ros_depends[@]}
wxpython
wxgtk)

source=()
md5sums=()

build() {
[ -f /opt/ros/groovy/setup.bash ] && source /opt/ros/groovy/setup.bash
if [ -d ${srcdir}/rxgraph ]; then
cd ${srcdir}/rxgraph
git fetch origin
git reset --hard release/rxgraph/${pkgver}
else
git clone -b release/rxgraph/${pkgver} git://github.com/ros-gbp/rx-release.git ${srcdir}/rxgraph
fi
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build
/usr/share/ros-build-tools/fix-python-scripts.sh ${srcdir}/rxgraph
cmake ${srcdir}/rxgraph -DCATKIN_BUILD_BINARY_PACKAGE=ON -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DSETUPTOOLS_DEB_LAYOUT=OFF
make
}

package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}/" install
}
54 changes: 54 additions & 0 deletions groovy/rxtools/PKGBUILD
@@ -0,0 +1,54 @@

pkgdesc="rxtools is two things.
First it is a library of GUI widgets, written in wxWidgets, that can be embedded in other applications. Second, it is a set of GUI applications that view and manage ROS state.
These GUI applications include <tt>rxconsole</tt> and <tt>rxplot</tt>.
Pieces of rxtools use some icons from the <a href=\"http://www.famfamfam.com/lab/icons/silk/\">Silk icon pack from famfamfam</a>.
These icons have a separate Creative Commons Attribution 2.5 License.
The source code for the software in this package is BSD."
url='http://www.ros.org/'

pkgname='ros-groovy-rxtools'
pkgver='1.9.9'
arch=('i686' 'x86_64')
pkgrel=1
license=('BSD, Creative Commons')
makedepends=('ros-build-tools')

ros_depends=(ros-groovy-roscpp
ros-groovy-catkin
ros-groovy-xdot
ros-groovy-roslib
ros-groovy-wxpython-swig-interface
ros-groovy-rospy
ros-groovy-swig-wx
ros-groovy-rosgraph-msgs)
depends=(${ros_depends[@]}
python2-matplotlib
pygtk
wxpython
wxgtk)

source=()
md5sums=()

build() {
[ -f /opt/ros/groovy/setup.bash ] && source /opt/ros/groovy/setup.bash
if [ -d ${srcdir}/rxtools ]; then
cd ${srcdir}/rxtools
git fetch origin
git reset --hard release/rxtools/${pkgver}
else
git clone -b release/rxtools/${pkgver} git://github.com/ros-gbp/rx-release.git ${srcdir}/rxtools
fi
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build
/usr/share/ros-build-tools/fix-python-scripts.sh ${srcdir}/rxtools
cmake ${srcdir}/rxtools -DCATKIN_BUILD_BINARY_PACKAGE=ON -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DSETUPTOOLS_DEB_LAYOUT=OFF
make
}

package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}/" install
}
36 changes: 36 additions & 0 deletions groovy/swig-wx/PKGBUILD
@@ -0,0 +1,36 @@

pkgdesc="ros-groovy-swig-wx"
url='http://www.ros.org/'

pkgname='ros-groovy-swig-wx'
pkgver='1.3.29'
arch=('i686' 'x86_64')
pkgrel=1
license=('BSD')
makedepends=('ros-build-tools')

depends=(bison bison++)

source=()
md5sums=()

_git_branch="debian/ros-groovy-swig-wx_${pkgver}_quantal"

build() {
if [ -d ${srcdir}/swig-wx ]; then
cd ${srcdir}/swig-wx
git fetch origin
git reset --hard ${_git_branch}
else
git clone -b ${_git_branch} git://github.com/wg-debs/swig-wx ${srcdir}/swig-wx
fi
cd ${srcdir}/swig-wx
./autogen.sh
./configure --prefix=/opt/ros/groovy --datadir=/opt/ros/groovy/share
make
}

package() {
cd "${srcdir}/swig-wx"
make DESTDIR="${pkgdir}" install
}
43 changes: 43 additions & 0 deletions groovy/wxpython_swig_interface/PKGBUILD
@@ -0,0 +1,43 @@

pkgdesc="Interface files used with SWIG to allow use of custom C++ widgets with wxPython code.
These interface files were pulled from wxPython 2.8.1, because at the time that was the target version (since we were using Ubuntu Feisty).
We will probably continue to use these interface files until they no longer work for some reason.
The ideal situation would be if these were installed in system installs along with wxPython, but unfortunately they are not."
url='http://www.ros.org/'

pkgname='ros-groovy-wxpython-swig-interface'
pkgver='1.9.9'
arch=('i686' 'x86_64')
pkgrel=1
license=('wxWindows')
makedepends=('ros-build-tools')

ros_depends=(ros-groovy-catkin)
depends=(${ros_depends[@]}
wxpython)

source=()
md5sums=()

build() {
[ -f /opt/ros/groovy/setup.bash ] && source /opt/ros/groovy/setup.bash
if [ -d ${srcdir}/wxpython_swig_interface ]; then
cd ${srcdir}/wxpython_swig_interface
git fetch origin
git reset --hard release/wxpython_swig_interface/${pkgver}
else
git clone -b release/wxpython_swig_interface/${pkgver} git://github.com/ros-gbp/rx-release.git ${srcdir}/wxpython_swig_interface
fi
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build
/usr/share/ros-build-tools/fix-python-scripts.sh ${srcdir}/wxpython_swig_interface
cmake ${srcdir}/wxpython_swig_interface -DCATKIN_BUILD_BINARY_PACKAGE=ON -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DSETUPTOOLS_DEB_LAYOUT=OFF
make
}

package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}/" install
}
42 changes: 42 additions & 0 deletions groovy/xdot/PKGBUILD
@@ -0,0 +1,42 @@

pkgdesc="<a href=\"http://code.google.com/p/jrfonseca/wiki/XDot\">XDot, by Jose Fonseca</a>, is an interactive viewer for graphs written in Graphviz's dot language.
This package adds front-end capabilities to XDot including WX Widget support and a mechanism for receiving callbacks when nodes are clicked.
This extension is provided as BSD."
url='http://www.ros.org/'

pkgname='ros-groovy-xdot'
pkgver='1.9.9'
arch=('i686' 'x86_64')
pkgrel=1
license=('LGPL, BSD')
makedepends=('ros-build-tools')

ros_depends=(ros-groovy-catkin)
depends=(${ros_depends[@]}
wxpython
graphviz)

source=()
md5sums=()

build() {
[ -f /opt/ros/groovy/setup.bash ] && source /opt/ros/groovy/setup.bash
if [ -d ${srcdir}/xdot ]; then
cd ${srcdir}/xdot
git fetch origin
git reset --hard release/xdot/${pkgver}
else
git clone -b release/xdot/${pkgver} git://github.com/ros-gbp/rx-release.git ${srcdir}/xdot
fi
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build
/usr/share/ros-build-tools/fix-python-scripts.sh ${srcdir}/xdot
cmake ${srcdir}/xdot -DCATKIN_BUILD_BINARY_PACKAGE=ON -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so -DSETUPTOOLS_DEB_LAYOUT=OFF
make
}

package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}/" install
}

0 comments on commit adf1212

Please sign in to comment.