[orocos-rtt] 01/01: Added first rude version of the package

Leopold Palomo-Avellaneda leo at alaxarxa.net
Wed Feb 25 15:42:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

lepalom-guest pushed a commit to branch master
in repository orocos-rtt.

commit 91ef681564d7ec612bb7c4c7bf7abbe912e11a82
Author: Leopold Palomo-Avellaneda <leopold.palomo at upc.edu>
Date:   Wed Feb 25 16:42:32 2015 +0100

    Added first rude version of the package
---
 debian/.gitignore                                  |   3 +
 debian/README.Debian                               |   8 ++
 debian/changelog                                   |   5 +
 debian/changelog.orocos-team                       | 120 ++++++++++++++++
 debian/clean-control.sh                            |  11 ++
 debian/compat                                      |   2 +
 debian/copyright                                   |  34 +++++
 debian/docs                                        |   3 +
 debian/liborocos-rtt-common-dev.install            | 100 +++++++++++++
 debian/liborocos-rtt-common2.8-dev.install         | 100 +++++++++++++
 debian/liborocos-rtt-corba-common-dev.install      |   1 +
 debian/liborocos-rtt-corba-common2.8-dev.install   |   1 +
 debian/liborocos-rtt-corba-gnulinux2.8-dev.install |   3 +
 debian/liborocos-rtt-corba-gnulinux2.8.install     |   2 +
 debian/liborocos-rtt-corba-xenomai2.8-dev.install  |   3 +
 debian/liborocos-rtt-corba-xenomai2.8.install      |   2 +
 debian/liborocos-rtt-gnulinux2.8-dev.install       |  13 ++
 debian/liborocos-rtt-gnulinux2.8.install           |   6 +
 debian/liborocos-rtt-xenomai2.8-dev.install        |  13 ++
 debian/liborocos-rtt-xenomai2.8.install            |   6 +
 debian/rules                                       |  74 ++++++++++
 debian/source/format                               |   1 +
 debian/template/control-gnulinux                   | 159 +++++++++++++++++++++
 debian/template/control-gnulinux.in                |   0
 debian/template/control-template.in                |  92 ++++++++++++
 debian/template/control-xenomai                    | 159 +++++++++++++++++++++
 debian/template/control-xenomai.in                 |   0
 debian/template/control.common                     |  67 +++++++++
 debian/template/create-control.sh                  |  67 +++++++++
 .../liborocos-rtt-corba-template-dev.install       |   3 +
 .../template/liborocos-rtt-corba-template.install  |   2 +
 debian/template/liborocos-rtt-template-dev.install |  13 ++
 debian/template/liborocos-rtt-template.install     |   6 +
 debian/template/rules-gnulinux                     | 114 +++++++++++++++
 debian/template/rules.gnulinux                     |  15 ++
 debian/template/rules.old                          |  88 ++++++++++++
 debian/template/rules.xenomai                      |  15 ++
 37 files changed, 1311 insertions(+)

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..9c65981
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,3 @@
+control
+rules.targets
+control.targets
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..f893444
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+orocos-rtt for Debian
+---------------------
+
+The initial package was created from orocos-rtt 1.1.0, without CORBA
+support and using the internal TinyXML marshaller. All other CMAKE
+options are left to the default.
+
+ -- Peter Soetens <peter.soetens at fmtc.be>, Fri, 20 Apr 2007 08:12:38 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..06a1446
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+orocos-rtt (2.8.0~rc1+dfsg-1) UNRELEASED; urgency=low
+
+  * Initial release. Closes: ######
+
+ -- Leopold Palomo-Avellaneda <leo at alaxarxa.net>  Tue, 24 Feb 2015 10:55:18 +0100
diff --git a/debian/changelog.orocos-team b/debian/changelog.orocos-team
new file mode 100644
index 0000000..ab60eb7
--- /dev/null
+++ b/debian/changelog.orocos-team
@@ -0,0 +1,120 @@
+orocos-rtt (2.6.0-0) precise; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Thu, 29 Nov 2012 23:27:00 +0100
+
+orocos-rtt (2.5.0-1) natty; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Thu, 29 Sep 2011 21:59:21 +0200
+
+orocos-rtt (2.4.0-1) unstable; urgency=low
+
+  * New upstream releaes
+
+ -- Peter Soetens <peter at thesourceworks.com>  Sat, 30 Apr 2011 01:12:22 +0200
+
+orocos-rtt (2.3.2-1) maverick; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Tue, 03 May 2011 18:08:41 +0200
+
+orocos-rtt (2.3.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Wed, 30 Mar 2011 15:50:28 +0200
+
+orocos-rtt (2.3.0-1) unstable; urgency=low
+
+  * New upstrem release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Fri, 25 Feb 2011 14:43:30 +0100
+
+orocos-rtt (2.2.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Fri, 28 Jan 2011 10:19:42 +0100
+
+orocos-rtt (2.2.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Mon, 06 Dec 2010 17:35:43 +0100
+
+orocos-rtt (2.1.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Tue, 16 Nov 2010 12:51:56 +0100
+
+orocos-rtt (2.1.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Tue, 12 Oct 2010 11:00:45 +0200
+
+orocos-rtt (2.0.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Thu, 30 Sep 2010 17:16:00 +0200
+
+orocos-rtt (2.0.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Mon, 13 Sep 2010 17:22:42 +0200
+
+orocos-rtt (2.0.0-1) karmic; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Mon, 06 Sep 2010 13:40:46 +0200
+
+orocos-rtt (1.99.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter at thesourceworks.com>  Fri, 02 Apr 2010 11:33:04 +0200
+
+orocos-rtt (1.91.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <kaltan at vader>  Fri, 11 Sep 2009 09:56:13 +0200
+
+orocos-rtt (1.8.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter.soetens at fmtc.be>  Fri, 13 Feb 2009 22:05:52 +0100
+
+orocos-rtt (1.6.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter.soetens at fmtc.be>  Sun, 04 May 2008 23:07:56 +0200
+
+orocos-rtt (1.4.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Leopold Palomo Avellaneda <lepalom at wol.es>  Mon, 15 Oct 2007 12:07:13 +0200
+
+orocos-rtt (1.2.1-1) feisty; urgency=low
+
+  * New upstream release
+
+ -- Peter Soetens <peter.soetens at fmtc.be>  Thu, 26 Jul 2007 14:04:37 +0200
+
+orocos-rtt (1.1.0-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Peter Soetens <peter.soetens at fmtc.be>  Fri, 20 Apr 2007 08:12:38 +0200
+
diff --git a/debian/clean-control.sh b/debian/clean-control.sh
new file mode 100755
index 0000000..5c9a050
--- /dev/null
+++ b/debian/clean-control.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+major=$(head -1 changelog | sed "s/.*(\([0-9]\+\.[0-9]\+\).*/\1/g")
+
+echo "Detected RTT Major version: $major"
+
+rm -f control
+rm -f orocos*$major*install liborocos*$major*install
+rm -f rules.targets
+
+echo "Done!"
\ No newline at end of file
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..48c962f
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1,2 @@
+9
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7dbed19
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+This package was debianized by Peter Soetens <peter.soetens at fmtc.be> on
+Fri, 20 Apr 2007 08:12:38 +0200.
+
+It was downloaded from http://www.orocos.org/devel/rtt/v1.1.0
+
+Upstream Author: Peter Soetens
+
+Copyright: 2001-2004, (c) Peter Soetens, 2005-2007 (c) FMTC
+
+License:
+
+   This library 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;                
+   version 2 of the License. (see: /usr/share/common-licenses/GPL-2)
+
+   For each source file in this package, the following exception is
+   attached:
+
+   As a special exception, you may use <source file> as part of a free      
+   software library without restriction.  Specifically, if other files  
+   instantiate templates or use macros or inline functions from <source file>,
+   or you compile <source file> and link it with other files to       
+   produce an executable, <source file> does not by itself cause the        
+   resulting executable to be covered by the GNU General Public         
+   License.  This exception does not however invalidate any other       
+   reasons why the executable file might be covered by the GNU General  
+   Public License.                                                      
+                                                                        
+
+The Debian packaging is (C) 2007, Peter Soetens <peter.soetens at fmtc.be> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..5b6f9c6
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+CMakeLists.txt
+NEWS
+README
diff --git a/debian/liborocos-rtt-common-dev.install b/debian/liborocos-rtt-common-dev.install
new file mode 100644
index 0000000..5e036ff
--- /dev/null
+++ b/debian/liborocos-rtt-common-dev.install
@@ -0,0 +1,100 @@
+usr/include/rtt/os/rtt-os-fwd.hpp
+usr/include/rtt/os/Atomic.hpp
+usr/include/rtt/os/CAS.hpp
+usr/include/rtt/os/MainThread.hpp
+usr/include/rtt/os/Mutex.hpp
+usr/include/rtt/os/MutexLock.hpp
+usr/include/rtt/os/OS.hpp
+usr/include/rtt/os/Semaphore.hpp
+usr/include/rtt/os/StartStopManager.hpp
+usr/include/rtt/os/ThreadInterface.hpp
+usr/include/rtt/os/Time.hpp
+usr/include/rtt/os/Timer.hpp
+usr/include/rtt/os/TimeService.hpp
+usr/include/rtt/os/fosi.h
+usr/include/rtt/os/fosi_interface.h
+usr/include/rtt/os/fosi_internal_interface.hpp
+usr/include/rtt/os/main.h
+usr/include/rtt/os/oro_arch.h
+usr/include/rtt/os/oro_i386
+usr/include/rtt/os/oro_i386/oro_arch.h
+usr/include/rtt/os/oro_limits.h
+usr/include/rtt/os/oro_powerpc
+usr/include/rtt/os/oro_powerpc/oro_arch.h
+usr/include/rtt/os/oro_x86_64
+usr/include/rtt/os/oro_x86_64/oro_arch.h
+usr/include/rtt/os/oro_noasm
+usr/include/rtt/os/oro_noasm/oro_arch.h
+usr/include/rtt/os/oro_gcc
+usr/include/rtt/os/oro_gcc/oro_arch.h
+usr/include/rtt/os/rtconversions.hpp
+usr/include/rtt/os/rtstreambufs.hpp
+usr/include/rtt/os/rtstreams.hpp
+usr/include/rtt/os/startstop.h
+usr/include/rtt/os/threads.hpp
+usr/include/rtt/os/rt_list.hpp
+usr/include/rtt/os/rint.h
+usr/include/rtt/os/oro_allocator.hpp
+usr/include/rtt/os/Thread.hpp
+usr/include/rtt/os/oro_malloc.h
+usr/include/rtt/os/Condition.hpp
+usr/include/rtt/os/tlsf/tlsf.h
+usr/include/rtt/os/targets/rtt-target.h
+usr/include/rtt/base
+usr/include/rtt/transports/mqueue/TransportPlugin.hpp
+usr/include/rtt/transports/mqueue/MQTemplateProtocol.hpp
+usr/include/rtt/transports/mqueue/MQSerializationProtocol.hpp
+usr/include/rtt/transports/mqueue/rtt-mqueue-config.h
+usr/include/rtt/transports/mqueue/rtt-mqueue-fwd.hpp
+usr/include/rtt/transports/mqueue/MQChannelElement.hpp
+usr/include/rtt/transports/mqueue/MQSendRecv.hpp
+usr/include/rtt/transports/mqueue/MQLib.hpp
+usr/include/rtt/transports/mqueue/binary_data_archive.hpp
+usr/include/rtt/transports/mqueue/Dispatcher.hpp
+usr/include/rtt/deployment/ComponentLoader.hpp
+usr/include/rtt/marsh
+usr/include/rtt/types
+usr/include/rtt/typekit
+usr/include/rtt/extras
+usr/include/rtt/plugin
+usr/include/rtt/scripting
+usr/include/rtt/internal
+usr/include/rtt/deployment
+usr/include/rtt/Activity.hpp
+usr/include/rtt/ArgumentDescription.hpp
+usr/include/rtt/Attribute.hpp
+usr/include/rtt/Component.hpp
+usr/include/rtt/ConfigurationInterface.hpp
+usr/include/rtt/ConnPolicy.hpp
+usr/include/rtt/DataFlowInterface.hpp
+usr/include/rtt/ExecutionEngine.hpp
+usr/include/rtt/FactoryExceptions.hpp
+usr/include/rtt/FlowStatus.hpp
+usr/include/rtt/Handle.hpp
+usr/include/rtt/InputPort.hpp
+usr/include/rtt/Logger.hpp
+usr/include/rtt/Logger.inl
+usr/include/rtt/OperationCaller.hpp
+usr/include/rtt/Operation.hpp
+usr/include/rtt/OperationInterface.hpp
+usr/include/rtt/OperationInterfacePart.hpp
+usr/include/rtt/OutputPort.hpp
+usr/include/rtt/Port.hpp
+usr/include/rtt/PropertyBag.hpp
+usr/include/rtt/Property.hpp
+usr/include/rtt/rt_string.hpp
+usr/include/rtt/rtt-detail-fwd.hpp
+usr/include/rtt/rtt-fwd.hpp
+usr/include/rtt/RTT.hpp
+usr/include/rtt/SendHandle.hpp
+usr/include/rtt/SendStatus.hpp
+usr/include/rtt/Service.hpp
+usr/include/rtt/ServiceRequester.hpp
+usr/include/rtt/TaskContext.hpp
+usr/include/rtt/Time.hpp
+usr/include/rtt/rtt-config.h
+usr/lib/cmake/orocos-rtt/orocos-rtt-config-version.cmake
+usr/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake
+usr/lib/cmake/orocos-rtt/UseOROCOS-RTT-helpers.cmake
+usr/lib/cmake/orocos-rtt/orocos-rtt-config.cmake
+usr/lib/cmake/orocos-rtt/cmake_uninstall.cmake.in
diff --git a/debian/liborocos-rtt-common2.8-dev.install b/debian/liborocos-rtt-common2.8-dev.install
new file mode 100644
index 0000000..5e036ff
--- /dev/null
+++ b/debian/liborocos-rtt-common2.8-dev.install
@@ -0,0 +1,100 @@
+usr/include/rtt/os/rtt-os-fwd.hpp
+usr/include/rtt/os/Atomic.hpp
+usr/include/rtt/os/CAS.hpp
+usr/include/rtt/os/MainThread.hpp
+usr/include/rtt/os/Mutex.hpp
+usr/include/rtt/os/MutexLock.hpp
+usr/include/rtt/os/OS.hpp
+usr/include/rtt/os/Semaphore.hpp
+usr/include/rtt/os/StartStopManager.hpp
+usr/include/rtt/os/ThreadInterface.hpp
+usr/include/rtt/os/Time.hpp
+usr/include/rtt/os/Timer.hpp
+usr/include/rtt/os/TimeService.hpp
+usr/include/rtt/os/fosi.h
+usr/include/rtt/os/fosi_interface.h
+usr/include/rtt/os/fosi_internal_interface.hpp
+usr/include/rtt/os/main.h
+usr/include/rtt/os/oro_arch.h
+usr/include/rtt/os/oro_i386
+usr/include/rtt/os/oro_i386/oro_arch.h
+usr/include/rtt/os/oro_limits.h
+usr/include/rtt/os/oro_powerpc
+usr/include/rtt/os/oro_powerpc/oro_arch.h
+usr/include/rtt/os/oro_x86_64
+usr/include/rtt/os/oro_x86_64/oro_arch.h
+usr/include/rtt/os/oro_noasm
+usr/include/rtt/os/oro_noasm/oro_arch.h
+usr/include/rtt/os/oro_gcc
+usr/include/rtt/os/oro_gcc/oro_arch.h
+usr/include/rtt/os/rtconversions.hpp
+usr/include/rtt/os/rtstreambufs.hpp
+usr/include/rtt/os/rtstreams.hpp
+usr/include/rtt/os/startstop.h
+usr/include/rtt/os/threads.hpp
+usr/include/rtt/os/rt_list.hpp
+usr/include/rtt/os/rint.h
+usr/include/rtt/os/oro_allocator.hpp
+usr/include/rtt/os/Thread.hpp
+usr/include/rtt/os/oro_malloc.h
+usr/include/rtt/os/Condition.hpp
+usr/include/rtt/os/tlsf/tlsf.h
+usr/include/rtt/os/targets/rtt-target.h
+usr/include/rtt/base
+usr/include/rtt/transports/mqueue/TransportPlugin.hpp
+usr/include/rtt/transports/mqueue/MQTemplateProtocol.hpp
+usr/include/rtt/transports/mqueue/MQSerializationProtocol.hpp
+usr/include/rtt/transports/mqueue/rtt-mqueue-config.h
+usr/include/rtt/transports/mqueue/rtt-mqueue-fwd.hpp
+usr/include/rtt/transports/mqueue/MQChannelElement.hpp
+usr/include/rtt/transports/mqueue/MQSendRecv.hpp
+usr/include/rtt/transports/mqueue/MQLib.hpp
+usr/include/rtt/transports/mqueue/binary_data_archive.hpp
+usr/include/rtt/transports/mqueue/Dispatcher.hpp
+usr/include/rtt/deployment/ComponentLoader.hpp
+usr/include/rtt/marsh
+usr/include/rtt/types
+usr/include/rtt/typekit
+usr/include/rtt/extras
+usr/include/rtt/plugin
+usr/include/rtt/scripting
+usr/include/rtt/internal
+usr/include/rtt/deployment
+usr/include/rtt/Activity.hpp
+usr/include/rtt/ArgumentDescription.hpp
+usr/include/rtt/Attribute.hpp
+usr/include/rtt/Component.hpp
+usr/include/rtt/ConfigurationInterface.hpp
+usr/include/rtt/ConnPolicy.hpp
+usr/include/rtt/DataFlowInterface.hpp
+usr/include/rtt/ExecutionEngine.hpp
+usr/include/rtt/FactoryExceptions.hpp
+usr/include/rtt/FlowStatus.hpp
+usr/include/rtt/Handle.hpp
+usr/include/rtt/InputPort.hpp
+usr/include/rtt/Logger.hpp
+usr/include/rtt/Logger.inl
+usr/include/rtt/OperationCaller.hpp
+usr/include/rtt/Operation.hpp
+usr/include/rtt/OperationInterface.hpp
+usr/include/rtt/OperationInterfacePart.hpp
+usr/include/rtt/OutputPort.hpp
+usr/include/rtt/Port.hpp
+usr/include/rtt/PropertyBag.hpp
+usr/include/rtt/Property.hpp
+usr/include/rtt/rt_string.hpp
+usr/include/rtt/rtt-detail-fwd.hpp
+usr/include/rtt/rtt-fwd.hpp
+usr/include/rtt/RTT.hpp
+usr/include/rtt/SendHandle.hpp
+usr/include/rtt/SendStatus.hpp
+usr/include/rtt/Service.hpp
+usr/include/rtt/ServiceRequester.hpp
+usr/include/rtt/TaskContext.hpp
+usr/include/rtt/Time.hpp
+usr/include/rtt/rtt-config.h
+usr/lib/cmake/orocos-rtt/orocos-rtt-config-version.cmake
+usr/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake
+usr/lib/cmake/orocos-rtt/UseOROCOS-RTT-helpers.cmake
+usr/lib/cmake/orocos-rtt/orocos-rtt-config.cmake
+usr/lib/cmake/orocos-rtt/cmake_uninstall.cmake.in
diff --git a/debian/liborocos-rtt-corba-common-dev.install b/debian/liborocos-rtt-corba-common-dev.install
new file mode 100644
index 0000000..a11651b
--- /dev/null
+++ b/debian/liborocos-rtt-corba-common-dev.install
@@ -0,0 +1 @@
+usr/include/rtt/transports/corba
diff --git a/debian/liborocos-rtt-corba-common2.8-dev.install b/debian/liborocos-rtt-corba-common2.8-dev.install
new file mode 100644
index 0000000..a11651b
--- /dev/null
+++ b/debian/liborocos-rtt-corba-common2.8-dev.install
@@ -0,0 +1 @@
+usr/include/rtt/transports/corba
diff --git a/debian/liborocos-rtt-corba-gnulinux2.8-dev.install b/debian/liborocos-rtt-corba-gnulinux2.8-dev.install
new file mode 100644
index 0000000..430dfc2
--- /dev/null
+++ b/debian/liborocos-rtt-corba-gnulinux2.8-dev.install
@@ -0,0 +1,3 @@
+usr/lib/liborocos-rtt-corba-gnulinux.so
+usr/lib/orocos/gnulinux/types/librtt-transport-corba-gnulinux.so
+usr/lib/pkgconfig/orocos-rtt-corba-gnulinux.pc
diff --git a/debian/liborocos-rtt-corba-gnulinux2.8.install b/debian/liborocos-rtt-corba-gnulinux2.8.install
new file mode 100644
index 0000000..db77720
--- /dev/null
+++ b/debian/liborocos-rtt-corba-gnulinux2.8.install
@@ -0,0 +1,2 @@
+usr/lib/liborocos-rtt-corba-gnulinux*.so.*
+usr/lib/orocos/gnulinux/types/librtt-transport-corba-gnulinux*.so.*
diff --git a/debian/liborocos-rtt-corba-xenomai2.8-dev.install b/debian/liborocos-rtt-corba-xenomai2.8-dev.install
new file mode 100644
index 0000000..da51a97
--- /dev/null
+++ b/debian/liborocos-rtt-corba-xenomai2.8-dev.install
@@ -0,0 +1,3 @@
+usr/lib/liborocos-rtt-corba-xenomai.so
+usr/lib/orocos/xenomai/types/librtt-transport-corba-xenomai.so
+usr/lib/pkgconfig/orocos-rtt-corba-xenomai.pc
diff --git a/debian/liborocos-rtt-corba-xenomai2.8.install b/debian/liborocos-rtt-corba-xenomai2.8.install
new file mode 100644
index 0000000..30f8738
--- /dev/null
+++ b/debian/liborocos-rtt-corba-xenomai2.8.install
@@ -0,0 +1,2 @@
+usr/lib/liborocos-rtt-corba-xenomai*.so.*
+usr/lib/orocos/xenomai/types/librtt-transport-corba-xenomai*.so.*
diff --git a/debian/liborocos-rtt-gnulinux2.8-dev.install b/debian/liborocos-rtt-gnulinux2.8-dev.install
new file mode 100644
index 0000000..736331a
--- /dev/null
+++ b/debian/liborocos-rtt-gnulinux2.8-dev.install
@@ -0,0 +1,13 @@
+usr/lib/liborocos-rtt-gnulinux.so
+usr/lib/liborocos-rtt-mqueue-gnulinux.so
+usr/lib/orocos/gnulinux/types/librtt-typekit-gnulinux.so
+usr/lib/orocos/gnulinux/types/librtt-transport-mqueue-gnulinux.so
+usr/lib/orocos/gnulinux/plugins/librtt-scripting-gnulinux.so
+usr/lib/orocos/gnulinux/plugins/librtt-marshalling-gnulinux.so
+usr/lib/pkgconfig/orocos-rtt-gnulinux.pc
+usr/lib/pkgconfig/orocos-rtt-mqueue-gnulinux.pc
+usr/include/rtt/os/targets/gnulinux-config.h
+usr/include/rtt/os/gnulinux
+usr/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries-relwithdebinfo.cmake
+usr/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries.cmake
+usr/lib/cmake/orocos-rtt/orocos-rtt-config-gnulinux.cmake
diff --git a/debian/liborocos-rtt-gnulinux2.8.install b/debian/liborocos-rtt-gnulinux2.8.install
new file mode 100644
index 0000000..b304db2
--- /dev/null
+++ b/debian/liborocos-rtt-gnulinux2.8.install
@@ -0,0 +1,6 @@
+usr/lib/liborocos-rtt-gnulinux*.so.*
+usr/lib/liborocos-rtt-mqueue-gnulinux*.so.*
+usr/lib/orocos/gnulinux/types/librtt-typekit-gnulinux*.so.*
+usr/lib/orocos/gnulinux/types/librtt-transport-mqueue-gnulinux*.so.*
+usr/lib/orocos/gnulinux/plugins/librtt-scripting-gnulinux*.so.*
+usr/lib/orocos/gnulinux/plugins/librtt-marshalling-gnulinux*.so.*
diff --git a/debian/liborocos-rtt-xenomai2.8-dev.install b/debian/liborocos-rtt-xenomai2.8-dev.install
new file mode 100644
index 0000000..97e009e
--- /dev/null
+++ b/debian/liborocos-rtt-xenomai2.8-dev.install
@@ -0,0 +1,13 @@
+usr/lib/liborocos-rtt-xenomai.so
+usr/lib/liborocos-rtt-mqueue-xenomai.so
+usr/lib/orocos/xenomai/types/librtt-typekit-xenomai.so
+usr/lib/orocos/xenomai/types/librtt-transport-mqueue-xenomai.so
+usr/lib/orocos/xenomai/plugins/librtt-scripting-xenomai.so
+usr/lib/orocos/xenomai/plugins/librtt-marshalling-xenomai.so
+usr/lib/pkgconfig/orocos-rtt-xenomai.pc
+usr/lib/pkgconfig/orocos-rtt-mqueue-xenomai.pc
+usr/include/rtt/os/targets/xenomai-config.h
+usr/include/rtt/os/xenomai
+usr/lib/cmake/orocos-rtt/orocos-rtt-xenomai-libraries-relwithdebinfo.cmake
+usr/lib/cmake/orocos-rtt/orocos-rtt-xenomai-libraries.cmake
+usr/lib/cmake/orocos-rtt/orocos-rtt-config-xenomai.cmake
diff --git a/debian/liborocos-rtt-xenomai2.8.install b/debian/liborocos-rtt-xenomai2.8.install
new file mode 100644
index 0000000..1289da1
--- /dev/null
+++ b/debian/liborocos-rtt-xenomai2.8.install
@@ -0,0 +1,6 @@
+usr/lib/liborocos-rtt-xenomai*.so.*
+usr/lib/liborocos-rtt-mqueue-xenomai*.so.*
+usr/lib/orocos/xenomai/types/librtt-typekit-xenomai*.so.*
+usr/lib/orocos/xenomai/types/librtt-transport-mqueue-xenomai*.so.*
+usr/lib/orocos/xenomai/plugins/librtt-scripting-xenomai*.so.*
+usr/lib/orocos/xenomai/plugins/librtt-marshalling-xenomai*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..401e3e6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,74 @@
+#!/usr/bin/make -f
+
+# Hardening.
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed -Wl,-z,defs
+
+CFLAGS+=$(CPPFLAGS)
+CXXFLAGS+=$(CPPFLAGS)
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE:=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE:=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH:=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+# 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_CORBA=ON \
+	-DCORBA_IMPLEMENTATION:STRING=OMNIORB \
+	-DOROCOS_TARGET=gnulinux
+ifeq ($(BUILD_TARGET),gnuxen)
+	mkdir -p dbuild.xenomai
+	dh_auto_configure --builddirectory=dbuild.xenomai -- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+	-DENABLE_CORBA=ON \
+	-DCORBA_IMPLEMENTATION:STRING=OMNIORB \
+	-DOROCOS_TARGET=xenomai
+endif	
+
+#### Build ####
+	
+override_dh_auto_build:
+	cd dbuild.gnulinux; $(MAKE) idl;
+	dh_auto_build --builddirectory=dbuild.gnulinux	
+#	cd dbuild.gnulinux; $(MAKE) idl; $(MAKE) $(MAKE_FLAGS); #$(MAKE) docapi dochtml VERBOSE=1
+ifeq ($(BUILD_TARGET),gnuxen)
+	cd dbuild.xenomai; $(MAKE) idl;
+	dh_auto_build --builddirectory=dbuild.xenomai
+#	cd dbuild.xenomai; $(MAKE) idl; $(MAKE) $(MAKE_FLAGS); #$(MAKE) docapi dochtml VERBOSE=1
+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
+ifeq ($(BUILD_TARGET),gnuxen)
+	dh_auto_install -O--buildsystem=cmake -O--parallel -O--builddirectory=dbuild.xenomai
+endif  
+
+%:	
+	dh $@ --buildsystem=cmake --parallel 
+
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/template/control-gnulinux b/debian/template/control-gnulinux
new file mode 100644
index 0000000..e5d8f74
--- /dev/null
+++ b/debian/template/control-gnulinux
@@ -0,0 +1,159 @@
+Source: orocos-rtt
+Priority: optional
+Maintainer: Peter Soetens <peter.soetens at fmtc.be>
+Build-Depends: debhelper (>= 5), cmake (>=2.6.0), libboost-dev | libboost1.35-dev | libboost1.36-dev | libboost1.37-dev | libboost1.38-dev | libboost1.39-dev | libboost1.40-dev, libboost-graph-dev |  libboost-graph1.35-dev | libboost-graph1.36-dev | libboost-graph1.37-dev | libboost-graph1.38-dev | libboost-graph1.39-dev | libboost-graph1.40-dev, libboost-thread-dev | libboost-thread1.35-dev | libboost-thread1.36-dev | libboost-thread1.37-dev | libboost-thread1.38-dev | libboost-thread1. [...]
+Standards-Version: 3.7.2
+Section: libs
+
+Package: orocos-rtt-dbg2.8
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: liborocos-rtt-common2.8-dev (= ${binary:Version})
+Conflicts: orocos-rtt-dbg
+Replaces:  orocos-rtt-dbg
+Provides:  orocos-rtt-dbg
+Description: Orocos Real-Time Toolkit (debug symbols)
+ .
+ This package contains the debugging symbols.
+
+Package: liborocos-rtt-common2.8-dev
+Section: libs
+Architecture: any
+Depends: libboost-dev | libboost1.35-dev | libboost1.36-dev | libboost1.37-dev | libboost1.38-dev | libboost1.39-dev | libboost1.40-dev, libboost-graph-dev |  libboost-graph1.35-dev | libboost-graph1.36-dev | libboost-graph1.37-dev | libboost-graph1.38-dev | libboost-graph1.39-dev | libboost-graph1.40-dev, libboost-thread-dev | libboost-thread1.35-dev | libboost-thread1.36-dev | libboost-thread1.37-dev | libboost-thread1.38-dev | libboost-thread1.39-dev | libboost-thread1.40-dev, libboos [...]
+Conflicts: liborocos-rtt-dev, liborocos-rtt-common-dev
+Replaces:  liborocos-rtt-common-dev
+Provides:  liborocos-rtt-common-dev
+Description: Orocos Real-Time Toolkit common development files
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
+Package: liborocos-rtt-corba-common2.8-dev
+Section: libs
+Architecture: any
+Depends: liborocos-rtt-common2.8-dev, libtao-dev, libtao-orbsvcs-dev 
+Conflicts: liborocos-rtt-dev, liborocos-rtt-corba-common-dev
+Replaces: liborocos-rtt-corba-common-dev
+Provides: liborocos-rtt-corba-common-dev
+Description: Orocos Real-Time Toolkit common CORBA development files
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
+Package: liborocos-rtt-corba-gnulinux2.8-dev
+Section: libdevel
+Architecture: any
+Depends: liborocos-rtt-corba-gnulinux2.8 (= ${Source-Version}), liborocos-rtt-corba-common2.8-dev, liborocos-rtt-gnulinux2.8-dev
+Conflicts: liborocos-rtt-dev, liborocos-rtt-corba-gnulinux-dev
+Replaces:  liborocos-rtt-corba-gnulinux-dev
+Provides: liborocos-rtt-corba-gnulinux-dev
+Description: Orocos Real-Time Toolkit for CORBA development files (gnulinux)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the headers for developing Orocos applications.
+
+Package: liborocos-rtt-corba-gnulinux2.8
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, liborocos-rtt-gnulinux2.8
+Conflicts: liborocos-rtt1
+Description: Orocos Real-Time Toolkit for CORBA library (gnulinux)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
+Package: liborocos-rtt-gnulinux2.8-dev
+Section: libdevel
+Architecture: any
+Depends: liborocos-rtt-gnulinux2.8 (= ${Source-Version}), liborocos-rtt-common2.8-dev 
+Conflicts: liborocos-rtt-dev, liborocos-rtt-gnulinux-dev
+Replaces:  liborocos-rtt-gnulinux-dev
+Provides:  liborocos-rtt-gnulinux-dev
+Description: Orocos Real-Time Toolkit for CORBA development files (gnulinux)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the headers for developing Orocos applications.
+
+Package: liborocos-rtt-gnulinux2.8
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: liborocos-rtt1
+Description: Orocos Real-Time Toolkit for CORBA library (gnulinux)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
diff --git a/debian/template/control-gnulinux.in b/debian/template/control-gnulinux.in
new file mode 100644
index 0000000..e69de29
diff --git a/debian/template/control-template.in b/debian/template/control-template.in
new file mode 100644
index 0000000..18c9cd4
--- /dev/null
+++ b/debian/template/control-template.in
@@ -0,0 +1,92 @@
+Package: liborocos-rtt-corba- at TARGET@@LIBVER at -dev
+Section: libdevel
+Architecture: any
+Depends: liborocos-rtt-corba- at TARGET@@LIBVER@ (= ${Source-Version}), liborocos-rtt-corba-common at LIBVER@-dev, liborocos-rtt- at TARGET@@LIBVER at -dev
+Conflicts: liborocos-rtt-dev, liborocos-rtt-corba- at TARGET@-dev
+Replaces:  liborocos-rtt-corba- at TARGET@-dev
+Provides: liborocos-rtt-corba- at TARGET@-dev
+Description: Orocos Real-Time Toolkit for CORBA development files (@TARGET@)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the headers for developing Orocos applications.
+
+Package: liborocos-rtt-corba- at TARGET@@LIBVER@
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, liborocos-rtt- at TARGET@@LIBVER@
+Conflicts: liborocos-rtt1
+Description: Orocos Real-Time Toolkit for CORBA library (@TARGET@)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
+Package: liborocos-rtt- at TARGET@@LIBVER at -dev
+Section: libdevel
+Architecture: any
+Depends: liborocos-rtt- at TARGET@@LIBVER@ (= ${Source-Version}), liborocos-rtt-common at LIBVER@-dev @TARGET-DEV@
+Conflicts: liborocos-rtt-dev, liborocos-rtt- at TARGET@-dev
+Replaces:  liborocos-rtt- at TARGET@-dev
+Provides:  liborocos-rtt- at TARGET@-dev
+Description: Orocos Real-Time Toolkit for CORBA development files (@TARGET@)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the headers for developing Orocos applications.
+
+Package: liborocos-rtt- at TARGET@@LIBVER@
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: liborocos-rtt1
+Description: Orocos Real-Time Toolkit for CORBA library (@TARGET@)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
diff --git a/debian/template/control-xenomai b/debian/template/control-xenomai
new file mode 100644
index 0000000..84b345c
--- /dev/null
+++ b/debian/template/control-xenomai
@@ -0,0 +1,159 @@
+Source: orocos-rtt
+Priority: optional
+Maintainer: Peter Soetens <peter.soetens at fmtc.be>
+Build-Depends: debhelper (>= 5), cmake (>=2.6.0), libboost-dev | libboost1.35-dev | libboost1.36-dev | libboost1.37-dev | libboost1.38-dev | libboost1.39-dev | libboost1.40-dev, libboost-graph-dev |  libboost-graph1.35-dev | libboost-graph1.36-dev | libboost-graph1.37-dev | libboost-graph1.38-dev | libboost-graph1.39-dev | libboost-graph1.40-dev, libboost-thread-dev | libboost-thread1.35-dev | libboost-thread1.36-dev | libboost-thread1.37-dev | libboost-thread1.38-dev | libboost-thread1. [...]
+Standards-Version: 3.7.2
+Section: libs
+
+Package: orocos-rtt-dbg2.8
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: liborocos-rtt-common2.8-dev (= ${binary:Version})
+Conflicts: orocos-rtt-dbg
+Replaces:  orocos-rtt-dbg
+Provides:  orocos-rtt-dbg
+Description: Orocos Real-Time Toolkit (debug symbols)
+ .
+ This package contains the debugging symbols.
+
+Package: liborocos-rtt-common2.8-dev
+Section: libs
+Architecture: any
+Depends: libboost-dev | libboost1.35-dev | libboost1.36-dev | libboost1.37-dev | libboost1.38-dev | libboost1.39-dev | libboost1.40-dev, libboost-graph-dev |  libboost-graph1.35-dev | libboost-graph1.36-dev | libboost-graph1.37-dev | libboost-graph1.38-dev | libboost-graph1.39-dev | libboost-graph1.40-dev, libboost-thread-dev | libboost-thread1.35-dev | libboost-thread1.36-dev | libboost-thread1.37-dev | libboost-thread1.38-dev | libboost-thread1.39-dev | libboost-thread1.40-dev, libboos [...]
+Conflicts: liborocos-rtt-dev, liborocos-rtt-common-dev
+Replaces:  liborocos-rtt-common-dev
+Provides:  liborocos-rtt-common-dev
+Description: Orocos Real-Time Toolkit common development files
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
+Package: liborocos-rtt-corba-common2.8-dev
+Section: libs
+Architecture: any
+Depends: liborocos-rtt-common2.8-dev, libtao-dev, libtao-orbsvcs-dev 
+Conflicts: liborocos-rtt-dev, liborocos-rtt-corba-common-dev
+Replaces: liborocos-rtt-corba-common-dev
+Provides: liborocos-rtt-corba-common-dev
+Description: Orocos Real-Time Toolkit common CORBA development files
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
+Package: liborocos-rtt-corba-xenomai2.8-dev
+Section: libdevel
+Architecture: any
+Depends: liborocos-rtt-corba-xenomai2.8 (= ${Source-Version}), liborocos-rtt-corba-common2.8-dev, liborocos-rtt-xenomai2.8-dev
+Conflicts: liborocos-rtt-dev, liborocos-rtt-corba-xenomai-dev
+Replaces:  liborocos-rtt-corba-xenomai-dev
+Provides: liborocos-rtt-corba-xenomai-dev
+Description: Orocos Real-Time Toolkit for CORBA development files (xenomai)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the headers for developing Orocos applications.
+
+Package: liborocos-rtt-corba-xenomai2.8
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, liborocos-rtt-xenomai2.8
+Conflicts: liborocos-rtt1
+Description: Orocos Real-Time Toolkit for CORBA library (xenomai)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
+Package: liborocos-rtt-xenomai2.8-dev
+Section: libdevel
+Architecture: any
+Depends: liborocos-rtt-xenomai2.8 (= ${Source-Version}), liborocos-rtt-common2.8-dev , xenomai-dev | libxenomai-dev
+Conflicts: liborocos-rtt-dev, liborocos-rtt-xenomai-dev
+Replaces:  liborocos-rtt-xenomai-dev
+Provides:  liborocos-rtt-xenomai-dev
+Description: Orocos Real-Time Toolkit for CORBA development files (xenomai)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the headers for developing Orocos applications.
+
+Package: liborocos-rtt-xenomai2.8
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: liborocos-rtt1
+Description: Orocos Real-Time Toolkit for CORBA library (xenomai)
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
diff --git a/debian/template/control-xenomai.in b/debian/template/control-xenomai.in
new file mode 100644
index 0000000..e69de29
diff --git a/debian/template/control.common b/debian/template/control.common
new file mode 100644
index 0000000..e63282c
--- /dev/null
+++ b/debian/template/control.common
@@ -0,0 +1,67 @@
+Source: orocos-rtt
+Priority: optional
+Maintainer: Peter Soetens <peter.soetens at fmtc.be>
+Build-Depends: debhelper (>= 5), cmake (>=2.6.0), libboost-dev | libboost1.35-dev | libboost1.36-dev | libboost1.37-dev | libboost1.38-dev | libboost1.39-dev | libboost1.40-dev, libboost-graph-dev |  libboost-graph1.35-dev | libboost-graph1.36-dev | libboost-graph1.37-dev | libboost-graph1.38-dev | libboost-graph1.39-dev | libboost-graph1.40-dev, libboost-thread-dev | libboost-thread1.35-dev | libboost-thread1.36-dev | libboost-thread1.37-dev | libboost-thread1.38-dev | libboost-thread1. [...]
+Standards-Version: 3.7.2
+Section: libs
+
+Package: orocos-rtt-dbg at LIBVER@
+Section: libdevel
+Priority: extra
+Architecture: any
+Depends: liborocos-rtt-common at LIBVER@-dev (= ${binary:Version})
+Conflicts: orocos-rtt-dbg
+Replaces:  orocos-rtt-dbg
+Provides:  orocos-rtt-dbg
+Description: Orocos Real-Time Toolkit (debug symbols)
+ .
+ This package contains the debugging symbols.
+
+Package: liborocos-rtt-common at LIBVER@-dev
+Section: libs
+Architecture: any
+Depends: libboost-dev | libboost1.35-dev | libboost1.36-dev | libboost1.37-dev | libboost1.38-dev | libboost1.39-dev | libboost1.40-dev, libboost-graph-dev |  libboost-graph1.35-dev | libboost-graph1.36-dev | libboost-graph1.37-dev | libboost-graph1.38-dev | libboost-graph1.39-dev | libboost-graph1.40-dev, libboost-thread-dev | libboost-thread1.35-dev | libboost-thread1.36-dev | libboost-thread1.37-dev | libboost-thread1.38-dev | libboost-thread1.39-dev | libboost-thread1.40-dev, libboos [...]
+Conflicts: liborocos-rtt-dev, liborocos-rtt-common-dev
+Replaces:  liborocos-rtt-common-dev
+Provides:  liborocos-rtt-common-dev
+Description: Orocos Real-Time Toolkit common development files
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
+Package: liborocos-rtt-corba-common at LIBVER@-dev
+Section: libs
+Architecture: any
+Depends: liborocos-rtt-common at LIBVER@-dev, libtao-dev, libtao-orbsvcs-dev 
+Conflicts: liborocos-rtt-dev, liborocos-rtt-corba-common-dev
+Replaces: liborocos-rtt-corba-common-dev
+Provides: liborocos-rtt-corba-common-dev
+Description: Orocos Real-Time Toolkit common CORBA development files
+ Orocos (http://www.orocos.org) is the acronym of the
+ Open Robot Control Software project. The project's aim is to develop
+ a general-purpose, free software, and modular framework
+ for robotand machine control.
+ The Orocos project supports 4 C++ libraries: the Real-Time Toolkit, the
+ Kinematics and Dynamics Library, the Bayesian Filtering Library and
+ the Orocos Component Library.
+ .
+ The Orocos Real-Time Toolkit (RTT) is not an application
+ in itself, but it provides the infrastructure and the
+ functionalities to build robotics applications in C++. The
+ emphasis is on real-time, online interactive and
+ component based applications.
+ .
+ This package provides the RTT library.
+
diff --git a/debian/template/create-control.sh b/debian/template/create-control.sh
new file mode 100755
index 0000000..43b11eb
--- /dev/null
+++ b/debian/template/create-control.sh
@@ -0,0 +1,67 @@
+#!/bin/bash
+
+echo "This scripts creates the debian/control and debian/*.install files from several template files."
+
+major=$(head -1 changelog | sed "s/.*(\([0-9]\+\.[0-9]\+\).*/\1/g")
+
+echo "Detected RTT Major version: $major"
+
+if test x$1 = x; then
+    targets="gnulinux"
+else
+    targets="$@"
+fi
+
+echo "Building scripts for targets: $targets"
+
+# Prepare control file:
+rm -f control control.targets
+
+echo "Creating control ..."
+for t in $targets; do 
+    # append control-template.in to control file
+    if test $t = xenomai; then tdev=", xenomai-dev | libxenomai-dev"; bdeps="$tdev"; fi
+    if test $t = lxrt; then tdev=", librtai-dev"; bdeps="$tdev"; fi
+    cat control-template.in | sed -e"s/@TARGET@/$t/g;s/@TARGET-DEV@/$tdev/g;s/@LIBVER@/$major/g" >> control.targets
+    cat control-$t.in >> control.targets
+done
+# generate final control file = common + targets
+cat control.common | sed -e"s/@LIBVER@/$major/g;s/@BUILD_DEPS@/$bdeps/g" > control
+cat control.targets >> control
+
+# Prepare *.install files:
+for i in $(ls *template*install); do
+    for t in $targets; do
+	# Replace contents and write to *-target.install files:
+	fname=$(echo "$i" | sed -e"s/template/$t$major/g")
+	echo "Creating $fname ..."
+	cat $i | sed -e"s/@TARGET@/$t/g" > $fname
+    done
+done
+
+# Prepare *common-dev.install files:
+for i in $(ls *common-dev*install); do
+    # Replace contents and write to *-target.install files:
+    fname=$(echo "$i" | sed -e"s/common/common$major/g")
+    echo "Creating $fname..."
+    cat $i > $fname
+done
+
+echo "Creating rules files..."
+# Prepare rules files:
+rm -f rules.targets
+for t in $targets; do
+    CONFIGURE_TARGETS="$CONFIGURE_TARGETS configure-$t"
+    BUILD_TARGETS="$BUILD_TARGETS build-$t"
+    INSTALL_TARGETS="$INSTALL_TARGETS install-$t"
+    INCLUDES=$(echo -e "$INCLUDES\ninclude debian/rules.$t")
+done
+cat >> rules.targets <<EOF
+CONFIGURE_TARGETS=$CONFIGURE_TARGETS
+BUILD_TARGETS=$BUILD_TARGETS
+INSTALL_TARGETS=$INSTALL_TARGETS
+
+$INCLUDES
+EOF
+
+echo "Done!"
\ No newline at end of file
diff --git a/debian/template/liborocos-rtt-corba-template-dev.install b/debian/template/liborocos-rtt-corba-template-dev.install
new file mode 100644
index 0000000..a8f1097
--- /dev/null
+++ b/debian/template/liborocos-rtt-corba-template-dev.install
@@ -0,0 +1,3 @@
+usr/lib/liborocos-rtt-corba- at TARGET@.so
+usr/lib/orocos/@TARGET@/types/librtt-transport-corba- at TARGET@.so
+usr/lib/pkgconfig/orocos-rtt-corba- at TARGET@.pc
diff --git a/debian/template/liborocos-rtt-corba-template.install b/debian/template/liborocos-rtt-corba-template.install
new file mode 100644
index 0000000..416ee3a
--- /dev/null
+++ b/debian/template/liborocos-rtt-corba-template.install
@@ -0,0 +1,2 @@
+usr/lib/liborocos-rtt-corba- at TARGET@*.so.*
+usr/lib/orocos/@TARGET@/types/librtt-transport-corba- at TARGET@*.so.*
diff --git a/debian/template/liborocos-rtt-template-dev.install b/debian/template/liborocos-rtt-template-dev.install
new file mode 100644
index 0000000..7a2d19e
--- /dev/null
+++ b/debian/template/liborocos-rtt-template-dev.install
@@ -0,0 +1,13 @@
+usr/lib/liborocos-rtt- at TARGET@.so
+usr/lib/liborocos-rtt-mqueue- at TARGET@.so
+usr/lib/orocos/@TARGET@/types/librtt-typekit- at TARGET@.so
+usr/lib/orocos/@TARGET@/types/librtt-transport-mqueue- at TARGET@.so
+usr/lib/orocos/@TARGET@/plugins/librtt-scripting- at TARGET@.so
+usr/lib/orocos/@TARGET@/plugins/librtt-marshalling- at TARGET@.so
+usr/lib/pkgconfig/orocos-rtt- at TARGET@.pc
+usr/lib/pkgconfig/orocos-rtt-mqueue- at TARGET@.pc
+usr/include/rtt/os/targets/@TARGET at -config.h
+usr/include/rtt/os/@TARGET@
+usr/lib/cmake/orocos-rtt/orocos-rtt- at TARGET@-libraries-relwithdebinfo.cmake
+usr/lib/cmake/orocos-rtt/orocos-rtt- at TARGET@-libraries.cmake
+usr/lib/cmake/orocos-rtt/orocos-rtt-config- at TARGET@.cmake
diff --git a/debian/template/liborocos-rtt-template.install b/debian/template/liborocos-rtt-template.install
new file mode 100644
index 0000000..492fe8e
--- /dev/null
+++ b/debian/template/liborocos-rtt-template.install
@@ -0,0 +1,6 @@
+usr/lib/liborocos-rtt- at TARGET@*.so.*
+usr/lib/liborocos-rtt-mqueue- at TARGET@*.so.*
+usr/lib/orocos/@TARGET@/types/librtt-typekit- at TARGET@*.so.*
+usr/lib/orocos/@TARGET@/types/librtt-transport-mqueue- at TARGET@*.so.*
+usr/lib/orocos/@TARGET@/plugins/librtt-scripting- at TARGET@*.so.*
+usr/lib/orocos/@TARGET@/plugins/librtt-marshalling- at TARGET@*.so.*
diff --git a/debian/template/rules-gnulinux b/debian/template/rules-gnulinux
new file mode 100755
index 0000000..ebe08c2
--- /dev/null
+++ b/debian/template/rules-gnulinux
@@ -0,0 +1,114 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+# allow parallel build using recommended approach from 
+# http://www.de.debian.org/doc/debian-policy/ch-source.html@s-debianrules-options
+#
+# For Bash type:
+#
+# export DEB_BUILD_OPTIONS="parallel=2"
+# svn-buildpackage ...
+#
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	NUMJOBS=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	MAKE_FLAGS += -j$(NUMJOBS)
+endif
+
+# shared library versions, option 1
+#version=1.1.0
+#major=1.4
+version=`grep orocos-rtt debian/changelog | head -1 | awk '{print substr($$2,2,length($$2)-2)}'`
+major=`grep orocos-rtt debian/changelog | head -1 | awk '{print substr($$2,2,length($$2)-2)}' | sed "s/.*\(\w\+\)\.\(\w\+\)\.\(\w\+\)-.*/\1.\2/g"`
+# option 2, assuming the library is created as build/src/libfoo.so.2.0.5 or so
+#version=`find . -name liborocos-rtt-gnulinux*.so.* | awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}' | head -1`
+#major=`find . -name liborocos-rtt-gnulinux*.so.* | awk '{if (match($$0,/\.so\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART+4)}' | head -1`
+
+include debian/rules.targets
+
+configure: configure-stamp $(CONFIGURE_TARGETS)
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp $(BUILD_TARGETS)
+build-stamp: configure
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp*
+	rm -f configure-stamp*
+
+# Add here commands to clean up after the build process.
+	-rm -rf dbuild.*
+
+	dh_clean 
+
+install: build $(INSTALL_TARGETS)
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_install --sourcedir=debian/tmp --list-missing
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip --dbg-package=orocos-rtt-dbg$(major)
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/debian/template/rules.gnulinux b/debian/template/rules.gnulinux
new file mode 100644
index 0000000..2e9673d
--- /dev/null
+++ b/debian/template/rules.gnulinux
@@ -0,0 +1,15 @@
+
+configure-gnulinux: configure-stamp-gnulinux
+configure-stamp-gnulinux:
+	mkdir -p dbuild.gnulinux
+	cd  dbuild.gnulinux; \
+	unset ACE_ROOT TAO_ROOT; CXXFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_CORBA=ON -DOROCOS_TARGET=gnulinux
+	touch configure-stamp-gnulinux
+
+build-gnulinux: build-stamp-gnulinux
+build-stamp-gnulinux: configure-stamp-gnulinux
+	cd dbuild.gnulinux; $(MAKE) idl ;$(MAKE) $(MAKE_FLAGS); # $(MAKE) docapi dochtml VERBOSE=1
+	touch build-stamp-gnulinux
+
+install-gnulinux: build-gnulinux
+	cd dbuild.gnulinux; $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
diff --git a/debian/template/rules.old b/debian/template/rules.old
new file mode 100755
index 0000000..03e6ed1
--- /dev/null
+++ b/debian/template/rules.old
@@ -0,0 +1,88 @@
+#!/usr/bin/make -f
+
+# Hardening.
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed -Wl,-z,defs
+
+CFLAGS+=$(CPPFLAGS)
+CXXFLAGS+=$(CPPFLAGS)
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE:=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE:=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH:=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+# Xenomai archs: amd64 arm armeb armel i386 powerpc powerpcspe
+ifneq (,$(filter amd64 arm armeb armel i386 powerpc powerpcspe,$(DEB_HOST_ARCH)))
+	BUILD_TARGET = gnuxen
+endif
+
+
+#### Configure ####
+override_dh_auto_configure: override_dh_auto_configure_gnulinux override_dh_auto_configure_xenomai
+
+override_dh_auto_configure_gnulinux:
+	mkdir -p dbuild.gnulinux
+	
+	dh_auto_configure --builddirectory=dbuild.gnulinux -- -DENABLE_CORBA=ON -DCORBA_IMPLEMENTATION:STRING=OMNIORB -DOROCOS_TARGET=gnulinux ../
+
+override_dh_auto_configure_xenomai:
+        ifeq ($(BUILD_TARGET), gnuxen)
+	   mkdir -p dbuild.xenomai
+	   dh_auto_configure --builddirectory=dbuild.xenomai -- -DENABLE_CORBA=ON -DCORBA_IMPLEMENTATION:STRING=OMNIORB -DOROCOS_TARGET=xenomai ../
+        endif
+
+#### Build ####
+	
+override_dh_auto_build: override_dh_auto_build_gnulinux override_dh_auto_build_xenomai
+
+override_dh_auto_build_gnulinux:
+	cd dbuild.gnulinux; $(MAKE) idl;
+	dh_auto_build --builddirectory=dbuild.gnulinux
+#	cd dbuild.gnulinux; $(MAKE) idl; $(MAKE) $(MAKE_FLAGS); #$(MAKE) docapi dochtml VERBOSE=1
+	
+override_dh_auto_build_xenomai:
+        ifeq ($(BUILD_TARGET), gnuxen)
+	   cd dbuild.xenomai; $(MAKE) idl;
+	   dh_auto_build --builddirectory=dbuild.xenomai
+	   #cd dbuild.xenomai; $(MAKE) idl; $(MAKE) $(MAKE_FLAGS); #$(MAKE) docapi dochtml VERBOSE=1
+        endif
+
+override_dh_auto_install: override_dh_auto_install_gnulinux override_dh_auto_install_xenomai
+
+override_dh_auto_install_gnulinux:
+	dh_auto_install --builddirectory=dbuild.gnulinux --destdir=debian/tmp
+
+override_dh_auto_install_xenomai:
+        ifeq ($(BUILD_TARGET), gnuxen)
+	   dh_auto_install --builddirectory=dbuild.xenomai --destdir=debian/tmp
+        endif
+
+override_dh_auto_clean:
+	rm -rf dbuild.xenomai
+	rm -rf dbuild.gnulinux
+	dh_auto_clean
+
+#### Install ####
+override_dh_install: override_dh_install_gnulinux override_dh_install_xenomai
+
+override_dh_install_gnulinux:
+	dh_install --builddirectory=dbuild.gnulinux
+	dh_install --list-missing
+
+override_dh_install_xenomai:
+        ifeq ($(BUILD_TARGET), gnuxen)
+	   dh_install --builddirectory=dbuild.xenomai
+        endif
+	dh_install --list-missing
+
+override_dh_auto_test:
+
+%:	
+	dh $@ --buildsystem=cmake --parallel
+
diff --git a/debian/template/rules.xenomai b/debian/template/rules.xenomai
new file mode 100644
index 0000000..9802416
--- /dev/null
+++ b/debian/template/rules.xenomai
@@ -0,0 +1,15 @@
+
+configure-xenomai: configure-stamp-xenomai
+configure-stamp-xenomai:
+	mkdir -p dbuild.xenomai
+	cd  dbuild.xenomai; \
+	unset ACE_ROOT TAO_ROOT; CXXFLAGS="$(CFLAGS)" cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_CORBA=ON -DOROCOS_TARGET=xenomai
+	touch configure-stamp-xenomai
+
+build-xenomai: build-stamp-xenomai
+build-stamp-xenomai: configure-stamp-xenomai
+	cd dbuild.xenomai; $(MAKE) idl ;$(MAKE) $(MAKE_FLAGS); # $(MAKE) docapi dochtml VERBOSE=1
+	touch build-stamp-xenomai
+
+install-xenomai: build-xenomai
+	cd dbuild.xenomai; $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/orocos/orocos-rtt.git



More information about the debian-science-commits mailing list