[rtt-ros-integration] 01/01: Initial prototype to test of package
Leopold Palomo-Avellaneda
leo at alaxarxa.net
Thu May 7 14:13:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
lepalom-guest pushed a commit to branch master
in repository rtt-ros-integration.
commit baa764209b23acaf4780bc749f770638b18aa309
Author: Leopold Palomo-Avellaneda <leopold.palomo at upc.edu>
Date: Thu May 7 16:10:56 2015 +0200
Initial prototype to test of package
---
debian/changelog | 5 ++
debian/compat | 1 +
debian/control | 49 +++++++++++
debian/copyright | 38 +++++++++
debian/librtt-ros-integration2.8-dev.install | 4 +
debian/librtt-ros-integration2.8.install | 4 +
...001-Added-CMakeLists-to-build-the-package.patch | 33 ++++++++
.../0002-Needed-CMakeLists-for-the-dir.patch | 30 +++++++
debian/patches/series | 2 +
debian/rules | 96 ++++++++++++++++++++++
debian/source/format | 1 +
debian/watch | 7 ++
12 files changed, 270 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a82ec68
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rtt-ros-integration (2.8.1-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+
+ -- Leopold Palomo-Avellaneda <leo at alaxarxa.net> Mon, 27 Apr 2015 12:59:19 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0eeb8d9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: rtt-ros-integration
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Build-Depends: debhelper (>= 9), catkin, libroscpp-core-dev,
+ libroslib-dev, libxml2-dev, quilt,
+ liborocos-rtt-xenomai2.8-dev, liborocos-rtt-gnulinux2.8-dev,
+ message-runtime, message-generation,
+ librosconsole-dev, libroscpp-dev, cmake-modules,
+ libros-rosgraph-msgs-dev, libstd-msgs-dev, libxmlrpcpp-dev,
+ libactionlib-dev, libactionlib-msgs-dev, python-genmsg,
+ libtf-conversions-dev, libeigen3-dev, libgeometry-msgs-dev,
+ libdynamic-reconfigure-dev, libtf-dev, libmessage-filters-dev,
+ libsensor-msgs-dev, libtf2-ros-dev, python-rosgraph, libtf2-dev,
+ libtf2-msgs-dev, python-tf2, python-rospy, librospack-dev,
+ liborocos-ocl-gnulinux2.8-dev, liborocos-ocl-xenomai2.8-dev,
+ libroscpp-msgs-dev, libvisualization-msgs-dev,
+ libtrajectory-msgs-dev, libstereo-msgs-dev, libnav-msgs-dev,
+ libdiagnostic-msgs-dev, libshape-msgs-dev,
+ libros-std-srvs-dev, libconsole-bridge-dev, libpython-dev,
+ libboost-program-options1.55-dev, libtinyxml-dev,
+ libxerces-c-dev, libtf2-kdl-dev, liborocos-kdl-dev,
+ libboost-signals-dev, libboost-regex-dev,
+ python-roslib
+Standards-Version: 3.9.6
+Section: science
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/orocos/rtt-ros-integration.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/orocos/rtt-ros-integration.git
+Homepage: http://wiki.ros.org/rtt_ros_integration
+
+Package: librtt-ros-integration2.8-dev
+Section: libdevel
+Architecture: any
+Depends: librtt-ros-integration2.8 (= ${binary:Version}), ${misc:Depends}
+Description: rtt-ros-integration development files
+ This stack contains all software necessary to build systems using both
+ Orocos and ROS infrastructures.
+ .
+ Developtment package.
+
+Package: librtt-ros-integration2.8
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: rtt-ros-integration development
+ This stack contains all software necessary to build systems using both
+ Orocos and ROS infrastructures.
+ .
+ Library package.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7f888f6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rtt-ros-integration
+Source: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+ <years> <likewise for another author>
+License: <special license>
+ <Put the license of the package here indented by 1 space>
+ <This follows the format of Description: lines in control file>
+ .
+ <Including paragraphs>
+
+# If you want to use GPL v2 or later for the /debian/* files use
+# the following clauses, or change it to suit. Delete these two lines
+Files: debian/*
+Copyright: 2015 Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/librtt-ros-integration2.8-dev.install b/debian/librtt-ros-integration2.8-dev.install
new file mode 100644
index 0000000..77959b1
--- /dev/null
+++ b/debian/librtt-ros-integration2.8-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/share/*
+usr/lib/pkgconfig/*
+usr/lib/rtt_roscomm/create_rtt_msgs usr/bin
diff --git a/debian/librtt-ros-integration2.8.install b/debian/librtt-ros-integration2.8.install
new file mode 100644
index 0000000..a5fc787
--- /dev/null
+++ b/debian/librtt-ros-integration2.8.install
@@ -0,0 +1,4 @@
+#usr/lib/lib*.so.*
+usr/lib/lib*.so
+usr/lib/orocos/*
+
diff --git a/debian/patches/0001-Added-CMakeLists-to-build-the-package.patch b/debian/patches/0001-Added-CMakeLists-to-build-the-package.patch
new file mode 100644
index 0000000..e5e556e
--- /dev/null
+++ b/debian/patches/0001-Added-CMakeLists-to-build-the-package.patch
@@ -0,0 +1,33 @@
+From: Leopold Palomo-Avellaneda <leopold.palomo at upc.edu>
+Date: Mon, 27 Apr 2015 13:02:54 +0200
+Subject: Added CMakeLists to build the package
+
+---
+ CMakeLists.txt | 19 +++++++++++++++++++
+ 1 file changed, 19 insertions(+)
+ create mode 100644 CMakeLists.txt
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+new file mode 100644
+index 0000000..2334abe
+--- /dev/null
++++ b/CMakeLists.txt
+@@ -0,0 +1,18 @@
++cmake_minimum_required(VERSION 2.8.3)
++
++PROJECT(rtt-ros-integration)
++
++add_subdirectory(rtt_ros)
++add_subdirectory(rtt_roscomm)
++add_subdirectory(rtt_actionlib)
++add_subdirectory(typekits)
++add_subdirectory(rtt_ros_msgs)
++add_subdirectory(rtt_ros_integration)
++add_subdirectory(rtt_rosnode)
++add_subdirectory(rtt_rosparam)
++add_subdirectory(rtt_dynamic_reconfigure)
++add_subdirectory(rtt_rosclock)
++add_subdirectory(rtt_rosdeployment)
++add_subdirectory(rtt_rospack)
++add_subdirectory(rtt_tf)
++#add_subdirectory(tests)
diff --git a/debian/patches/0002-Needed-CMakeLists-for-the-dir.patch b/debian/patches/0002-Needed-CMakeLists-for-the-dir.patch
new file mode 100644
index 0000000..163f183
--- /dev/null
+++ b/debian/patches/0002-Needed-CMakeLists-for-the-dir.patch
@@ -0,0 +1,30 @@
+From: Leopold Palomo-Avellaneda <leopold.palomo at upc.edu>
+Date: Tue, 5 May 2015 14:55:10 +0200
+Subject: Needed CMakeLists for the dir
+
+---
+ typekits/CMakeLists.txt | 15 +++++++++++++++
+ 1 file changed, 15 insertions(+)
+ create mode 100644 typekits/CMakeLists.txt
+
+diff --git a/typekits/CMakeLists.txt b/typekits/CMakeLists.txt
+new file mode 100644
+index 0000000..ad15115
+--- /dev/null
++++ b/typekits/CMakeLists.txt
+@@ -0,0 +1,15 @@
++add_subdirectory( rtt_common_msgs )
++add_subdirectory( rtt_std_msgs )
++add_subdirectory( rtt_std_srvs )
++add_subdirectory( rtt_geometry_msgs )
++add_subdirectory( rtt_sensor_msgs )
++add_subdirectory( rtt_shape_msgs )
++add_subdirectory( rtt_ros_comm )
++add_subdirectory( rtt_actionlib_msgs )
++add_subdirectory( rtt_diagnostic_msgs )
++add_subdirectory( rtt_kdl_conversions )
++add_subdirectory( rtt_nav_msgs )
++add_subdirectory( rtt_rosgraph_msgs )
++add_subdirectory( rtt_stereo_msgs )
++add_subdirectory( rtt_trajectory_msgs )
++add_subdirectory( rtt_visualization_msgs )
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..27f734a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Added-CMakeLists-to-build-the-package.patch
+0002-Needed-CMakeLists-for-the-dir.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..39493f7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,96 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#DH_VERBOSE = 1
+
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+export DEB_BUILD_OPTIONS += nocheck
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+# package maintainers to append LDFLAGS
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
+
+
+# Multiarch.
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+# Xenomai archs: amd64 arm armeb armel i386 powerpc powerpcspe
+ifneq (,$(filter amd64 arm armeb armel i386 powerpc powerpcspe,$(DEB_HOST_ARCH)))
+ BUILD_TARGET = gnuxen
+else
+ BUILD_TARGET = gnulinux
+endif
+
+
+#### Configure ####
+override_dh_auto_configure:
+ mkdir -p dbuild.gnulinux
+ dh_auto_configure --builddirectory=dbuild.gnulinux --
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DENABLE_TESTS=OFF \
+ -DOROCOS_TARGET=gnulinux
+ifeq ($(BUILD_TARGET),gnuxen)
+ mkdir -p dbuild.xenomai
+ dh_auto_configure --builddirectory=dbuild.xenomai --
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DENABLE_TESTS=OFF \
+ -DOROCOS_TARGET=xenomai
+endif
+
+#### Build ####
+
+override_dh_auto_build:
+ cd dbuild.gnulinux; $(MAKE);
+ dh_auto_build --builddirectory=dbuild.gnulinux
+ifeq ($(BUILD_TARGET),gnuxen)
+ cd dbuild.xenomai; $(MAKE);
+ dh_auto_build --builddirectory=dbuild.xenomai
+endif
+
+override_dh_auto_clean:
+ rm -rf dbuild.xenomai
+ rm -rf dbuild.gnulinux
+ dh_auto_clean
+
+override_dh_auto_test:
+ dh_auto_test -O--buildsystem=cmake -O--parallel -O--builddirectory=dbuild.gnulinux
+ifeq ($(BUILD_TARGET),gnuxen)
+ dh_auto_test -O--buildsystem=cmake -O--parallel -O--builddirectory=dbuild.xenomai
+endif
+
+override_dh_auto_install:
+ dh_auto_install -O--buildsystem=cmake -O--parallel -O--builddirectory=dbuild.gnulinux -O--list-missing
+ifeq ($(BUILD_TARGET),gnuxen)
+ dh_auto_install -O--buildsystem=cmake -O--parallel -O--builddirectory=dbuild.xenomai -O--list-missing
+endif
+
+# for the -dbg packages
+#override_dh_strip:
+# dh_strip -O--builddirectory=dbuild.gnulinux -a
+# --dbg-package=liborocos-rtt-gnulinux2.8-dbg
+#ifeq ($(BUILD_TARGET),gnuxen)
+# dh_strip -O--builddirectory=dbuild.xenomai -a
+# --dbg-package=liborocos-rtt-xenomai2.8-dbg
+#endif
+
+get-orig-source:
+ uscan --verbose --force-download --repack --compress xz
+
+%:
+ dh $@ --buildsystem=cmake --parallel --with quilt
+
+
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7bdcaf0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+# Watch control file for uscan
+# Compulsory line, this is a version 3 file
+version=3
+
+# For GitHub projects you can use the tags page:
+#opts=dversionmangle=s/\+dfsg// \
+https://github.com/orocos/rtt_ros_integration/releases .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/orocos/rtt-ros-integration.git
More information about the debian-science-commits
mailing list