[ros-ros-control] 01/01: Initial debianization

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Mon Dec 28 11:59:20 UTC 2015


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

jspricke-guest pushed a commit to branch master
in repository ros-ros-control.

commit 15dc7b4d8df8fce7a16a9acf648ce9b5cc99c9fd
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Mon Dec 28 12:52:48 2015 +0100

    Initial debianization
---
 debian/changelog                                   |   5 +
 debian/cl-controller-manager-msgs.install          |   1 +
 debian/compat                                      |   1 +
 debian/control                                     | 123 +++++++++++++++++++++
 debian/copyright                                   |  38 +++++++
 debian/libcontroller-interface-dev.install         |   3 +
 debian/libcontroller-manager-dev.install           |   4 +
 debian/libcontroller-manager-msgs-dev.install      |   3 +
 debian/libcontroller-manager-tests-dev.install     |   4 +
 debian/libcontroller-manager-tests.install         |   3 +
 debian/libcontroller-manager0d.install             |   1 +
 debian/libhardware-interface-dev.install           |   3 +
 debian/libjoint-limits-interface-dev.install       |   3 +
 debian/libtransmission-interface-dev.install       |   6 +
 debian/libtransmission-interface0d.install         |   4 +
 debian/patches/0001-Add-CMakeLists.txt.patch       |  25 +++++
 .../0002-Add-Debian-specific-SOVERSION.patch       |  41 +++++++
 debian/patches/series                              |   2 +
 debian/python-controller-manager-msgs.pyinstall    |   3 +
 debian/python-controller-manager-tests.pyinstall   |   1 +
 debian/python-controller-manager.install           |   1 +
 debian/python-controller-manager.pyinstall         |   1 +
 debian/python-rqt-controller-manager.install       |   3 +
 debian/python-rqt-controller-manager.pyinstall     |   1 +
 debian/rules                                       |   9 ++
 debian/source/format                               |   1 +
 debian/watch                                       |  10 ++
 27 files changed, 300 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ffe29ff
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ros-ros-control (0.10.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Jochen Sprickerhof <debian at jochen.sprickerhof.de>  Sat, 26 Dec 2015 23:06:10 +0100
diff --git a/debian/cl-controller-manager-msgs.install b/debian/cl-controller-manager-msgs.install
new file mode 100644
index 0000000..dda27fc
--- /dev/null
+++ b/debian/cl-controller-manager-msgs.install
@@ -0,0 +1 @@
+usr/share/common-lisp
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..5d091c2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,123 @@
+Source: ros-ros-control
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Thomas Moulard <thomas.moulard at gmail.com>,
+           Jochen Sprickerhof <debian at jochen.sprickerhof.de>,
+           Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Build-Depends: debhelper (>= 9), catkin (>> 0.6.16-2), ros-message-generation, libstd-msgs-dev, python-all (>= 2.6.6-3), python-setuptools (>= 0.6b3), dh-python, libcontrol-toolbox-dev
+Standards-Version: 3.9.6
+Section: libs
+Homepage: http://wiki.ros.org/ros_control
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/ros-ros-control.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ros/ros-ros-control.git
+
+Package: libcontroller-interface-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: development files for controller_interface (Robot OS)
+ This package is part of Robot OS (ROS). The controller manager.
+
+Package: libcontroller-manager-dev
+Section: libdevel
+Architecture: any
+Depends: libcontroller-manager0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for controller_manager (Robot OS)
+ This package is part of Robot OS (ROS). The controller manager.
+
+Package: libcontroller-manager0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: runtime files for controller_manager (Robot OS)
+ This package is part of Robot OS (ROS). The controller manager.
+
+Package: python-controller-manager
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python files for controller_manager (Robot OS)
+ This package is part of Robot OS (ROS). The controller manager.
+
+Package: libcontroller-manager-tests-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: development files for controller_manager_tests (Robot OS)
+ This package is part of Robot OS (ROS). The controller manager_tests.
+
+Package: libcontroller-manager-tests
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: plugin files for controller_manager_tests (Robot OS)
+ This package is part of Robot OS (ROS). The controller manager_tests.
+
+Package: python-controller-manager-tests
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python files for controller_manager_tests (Robot OS)
+ This package is part of Robot OS (ROS). The controller manager_tests.
+
+Package: libcontroller-manager-msgs-dev
+Section: libdevel
+Architecture: all
+Depends: ${misc:Depends}, ros-message-runtime
+Description: C/C++ headers for controller_manager Robot OS Messages
+ This package is part of Robot OS (ROS). Messages and services for the
+ controller manager.
+
+Package: python-controller-manager-msgs
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python code for controller_manager Robot OS Messages
+ This package is part of Robot OS (ROS). Messages and services for the
+ controller manager.
+ .
+ This package contains the generated Python package.
+
+Package: cl-controller-manager-msgs
+Section: lisp
+Architecture: all
+Depends: ${misc:Depends}
+Description: LISP code for controller_manager Robot OS Messages
+ This package is part of Robot OS (ROS). Messages and services for the
+ controller manager.
+ .
+ This package contains the generated LISP library.
+
+Package: libhardware-interface-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: development files for hardware_interface (Robot OS)
+ This package is part of Robot OS (ROS). Hardware Interface base class.
+
+Package: libjoint-limits-interface-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: development files for joint_limits_interface (Robot OS)
+ This package is part of Robot OS (ROS). Interface for enforcing joint limits.
+
+Package: python-rqt-controller-manager
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python code for joint_limits_interface (Robot OS)
+ This package is part of Robot OS (ROS). Interface for enforcing joint limits.
+ .
+ This package contains the generated Python package.
+
+Package: libtransmission-interface-dev
+Section: libdevel
+Architecture: any
+Depends: libtransmission-interface0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for transmission_interface (Robot OS)
+ This package is part of Robot OS (ROS). Transmission Interface.
+
+Package: libtransmission-interface0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: runtime files for transmission_interface (Robot OS)
+ This package is part of Robot OS (ROS). Transmission Interface.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8bb9311
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ros-ros-control
+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 Jochen Sprickerhof <debian at jochen.sprickerhof.de>
+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 <https://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 picking licenses with terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/libcontroller-interface-dev.install b/debian/libcontroller-interface-dev.install
new file mode 100644
index 0000000..985405d
--- /dev/null
+++ b/debian/libcontroller-interface-dev.install
@@ -0,0 +1,3 @@
+usr/include/controller_interface
+usr/lib/*/pkgconfig/controller_interface.pc usr/lib/pkgconfig
+usr/share/controller_interface
diff --git a/debian/libcontroller-manager-dev.install b/debian/libcontroller-manager-dev.install
new file mode 100644
index 0000000..280a362
--- /dev/null
+++ b/debian/libcontroller-manager-dev.install
@@ -0,0 +1,4 @@
+usr/include/controller_manager
+usr/lib/*/libcontroller_manager.so
+usr/lib/*/pkgconfig/controller_manager.pc usr/lib/pkgconfig
+usr/share/controller_manager
diff --git a/debian/libcontroller-manager-msgs-dev.install b/debian/libcontroller-manager-msgs-dev.install
new file mode 100644
index 0000000..3ef4518
--- /dev/null
+++ b/debian/libcontroller-manager-msgs-dev.install
@@ -0,0 +1,3 @@
+usr/include/controller_manager_msgs
+usr/lib/*/pkgconfig/controller_manager_msgs.pc usr/lib/pkgconfig
+usr/share/controller_manager_msgs
diff --git a/debian/libcontroller-manager-tests-dev.install b/debian/libcontroller-manager-tests-dev.install
new file mode 100644
index 0000000..084e3bf
--- /dev/null
+++ b/debian/libcontroller-manager-tests-dev.install
@@ -0,0 +1,4 @@
+usr/include/controller_manager_tests
+usr/lib/*/pkgconfig/controller_manager_tests.pc
+usr/share/controller_manager_tests/cmake
+usr/share/controller_manager_tests/package.xml
diff --git a/debian/libcontroller-manager-tests.install b/debian/libcontroller-manager-tests.install
new file mode 100644
index 0000000..36147c2
--- /dev/null
+++ b/debian/libcontroller-manager-tests.install
@@ -0,0 +1,3 @@
+usr/lib/*/controller_manager_tests
+usr/lib/*/libcontroller_manager_tests.so
+usr/share/controller_manager_tests/test_controllers_plugin.xml
diff --git a/debian/libcontroller-manager0d.install b/debian/libcontroller-manager0d.install
new file mode 100644
index 0000000..a91f61c
--- /dev/null
+++ b/debian/libcontroller-manager0d.install
@@ -0,0 +1 @@
+usr/lib/*/libcontroller_manager.so.*
diff --git a/debian/libhardware-interface-dev.install b/debian/libhardware-interface-dev.install
new file mode 100644
index 0000000..4ea709a
--- /dev/null
+++ b/debian/libhardware-interface-dev.install
@@ -0,0 +1,3 @@
+usr/include/hardware_interface
+usr/lib/*/pkgconfig/hardware_interface.pc usr/lib/pkgconfig
+usr/share/hardware_interface
diff --git a/debian/libjoint-limits-interface-dev.install b/debian/libjoint-limits-interface-dev.install
new file mode 100644
index 0000000..77f5bc2
--- /dev/null
+++ b/debian/libjoint-limits-interface-dev.install
@@ -0,0 +1,3 @@
+usr/include/joint_limits_interface
+usr/lib/*/pkgconfig/joint_limits_interface.pc
+usr/share/joint_limits_interface
diff --git a/debian/libtransmission-interface-dev.install b/debian/libtransmission-interface-dev.install
new file mode 100644
index 0000000..8ba3c30
--- /dev/null
+++ b/debian/libtransmission-interface-dev.install
@@ -0,0 +1,6 @@
+usr/include/transmission_interface
+usr/lib/*/libtransmission_interface_loader.so
+usr/lib/*/libtransmission_interface_parser.so
+usr/lib/*/pkgconfig/transmission_interface.pc
+usr/share/transmission_interface/cmake
+usr/share/transmission_interface/package.xml
diff --git a/debian/libtransmission-interface0d.install b/debian/libtransmission-interface0d.install
new file mode 100644
index 0000000..6218c8e
--- /dev/null
+++ b/debian/libtransmission-interface0d.install
@@ -0,0 +1,4 @@
+usr/lib/*/libtransmission_interface_loader.so.*
+usr/lib/*/libtransmission_interface_parser.so.*
+usr/lib/*/libtransmission_interface_loader_plugins.so
+usr/share/transmission_interface/ros_control_plugins.xml
diff --git a/debian/patches/0001-Add-CMakeLists.txt.patch b/debian/patches/0001-Add-CMakeLists.txt.patch
new file mode 100644
index 0000000..e9bab07
--- /dev/null
+++ b/debian/patches/0001-Add-CMakeLists.txt.patch
@@ -0,0 +1,25 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Sat, 26 Dec 2015 23:29:04 +0100
+Subject: Add CMakeLists.txt
+
+---
+ CMakeLists.txt | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+ create mode 100644 CMakeLists.txt
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+new file mode 100644
+index 0000000..c376777
+--- /dev/null
++++ b/CMakeLists.txt
+@@ -0,0 +1,10 @@
++cmake_minimum_required(VERSION 2.8.3)
++project(ros_control)
++add_subdirectory(hardware_interface)
++add_subdirectory(controller_interface)
++add_subdirectory(controller_manager_msgs)
++add_subdirectory(controller_manager)
++add_subdirectory(controller_manager_tests)
++add_subdirectory(joint_limits_interface)
++add_subdirectory(rqt_controller_manager)
++add_subdirectory(transmission_interface)
diff --git a/debian/patches/0002-Add-Debian-specific-SOVERSION.patch b/debian/patches/0002-Add-Debian-specific-SOVERSION.patch
new file mode 100644
index 0000000..e5708c7
--- /dev/null
+++ b/debian/patches/0002-Add-Debian-specific-SOVERSION.patch
@@ -0,0 +1,41 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Sat, 26 Dec 2015 23:33:00 +0100
+Subject: Add Debian specific SOVERSION
+
+---
+ controller_manager/CMakeLists.txt     | 1 +
+ transmission_interface/CMakeLists.txt | 2 ++
+ 2 files changed, 3 insertions(+)
+
+diff --git a/controller_manager/CMakeLists.txt b/controller_manager/CMakeLists.txt
+index d44f110..c644344 100644
+--- a/controller_manager/CMakeLists.txt
++++ b/controller_manager/CMakeLists.txt
+@@ -21,6 +21,7 @@ add_library(${PROJECT_NAME}
+   include/controller_manager/controller_loader.h
+ )
+ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${controller_manager_VERSION} SOVERSION "0d")
+ 
+ if(catkin_EXPORTED_TARGETS)
+   add_dependencies(${PROJECT_NAME} ${catkin_EXPORTED_TARGETS})
+diff --git a/transmission_interface/CMakeLists.txt b/transmission_interface/CMakeLists.txt
+index 5e9faf5..7e5bc61 100644
+--- a/transmission_interface/CMakeLists.txt
++++ b/transmission_interface/CMakeLists.txt
+@@ -40,6 +40,7 @@ add_library(${PROJECT_NAME}_parser
+   src/transmission_parser.cpp include/transmission_interface/transmission_parser.h
+ )
+ target_link_libraries(${PROJECT_NAME}_parser ${catkin_LIBRARIES} ${TinyXML_LIBRARIES})
++set_target_properties(${PROJECT_NAME}_parser PROPERTIES VERSION ${transmission_interface_VERSION} SOVERSION "0d")
+ 
+ 
+ # Transmission loader library
+@@ -51,6 +52,7 @@ target_link_libraries(${PROJECT_NAME}_loader
+   ${PROJECT_NAME}_parser
+   ${catkin_LIBRARIES}
+   ${TinyXML_LIBRARIES})
++set_target_properties(${PROJECT_NAME}_loader PROPERTIES VERSION ${transmission_interface_VERSION} SOVERSION "0d")
+ 
+ 
+ add_library(${PROJECT_NAME}_loader_plugins
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c0916ef
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Add-CMakeLists.txt.patch
+0002-Add-Debian-specific-SOVERSION.patch
diff --git a/debian/python-controller-manager-msgs.pyinstall b/debian/python-controller-manager-msgs.pyinstall
new file mode 100644
index 0000000..9643d3b
--- /dev/null
+++ b/debian/python-controller-manager-msgs.pyinstall
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/python2*/*/controller_manager_msgs/*.py controller_manager_msgs
+debian/tmp/usr/lib/python2*/*/controller_manager_msgs/msg/*.py controller_manager_msgs.msg
+debian/tmp/usr/lib/python2*/*/controller_manager_msgs/srv/*.py controller_manager_msgs.srv
diff --git a/debian/python-controller-manager-tests.pyinstall b/debian/python-controller-manager-tests.pyinstall
new file mode 100644
index 0000000..a19aab9
--- /dev/null
+++ b/debian/python-controller-manager-tests.pyinstall
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2*/*/controller_manager_tests/*.py controller_manager_tests
diff --git a/debian/python-controller-manager.install b/debian/python-controller-manager.install
new file mode 100644
index 0000000..6cb0e89
--- /dev/null
+++ b/debian/python-controller-manager.install
@@ -0,0 +1 @@
+usr/lib/*/controller_manager usr/lib
diff --git a/debian/python-controller-manager.pyinstall b/debian/python-controller-manager.pyinstall
new file mode 100644
index 0000000..446d98e
--- /dev/null
+++ b/debian/python-controller-manager.pyinstall
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2*/*/controller_manager/*.py controller_manager
diff --git a/debian/python-rqt-controller-manager.install b/debian/python-rqt-controller-manager.install
new file mode 100644
index 0000000..62bbe18
--- /dev/null
+++ b/debian/python-rqt-controller-manager.install
@@ -0,0 +1,3 @@
+usr/lib/*/rqt_controller_manager usr/lib
+usr/lib/*/pkgconfig/rqt_controller_manager.pc usr/lib/pkgconfig
+usr/share/rqt_controller_manager
diff --git a/debian/python-rqt-controller-manager.pyinstall b/debian/python-rqt-controller-manager.pyinstall
new file mode 100644
index 0000000..5c8b946
--- /dev/null
+++ b/debian/python-rqt-controller-manager.pyinstall
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2*/*/rqt_controller_manager/*.py rqt_controller_manager
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e4d7575
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+%:
+	dh $@ --parallel --buildsystem=cmake --with python2
+
+get-orig-source:
+	uscan --verbose --force-download --repack --compress xz
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..811977e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,10 @@
+# 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=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/ros_control-$1\.tar\.gz/ \
+  https://github.com/ros-controls/ros_control/releases .*/v?(\d\S*)\.tar\.gz
+
+
+

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



More information about the debian-science-commits mailing list