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

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Sat Dec 26 22:02:29 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-control-toolbox.

commit 8c2f2b27ce06b625fd1f83d32469d219c29c2f07
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Sat Dec 26 23:01:41 2015 +0100

    Initial debianization
---
 debian/changelog                                   |  5 +++
 debian/cl-control-toolbox.install                  |  1 +
 debian/compat                                      |  1 +
 debian/control                                     | 47 ++++++++++++++++++++++
 debian/copyright                                   | 38 +++++++++++++++++
 debian/libcontrol-toolbox-dev.install              |  4 ++
 debian/libcontrol-toolbox0d.install                |  1 +
 .../0001-Add-Debian-specific-SOVERSION.patch       | 20 +++++++++
 debian/patches/series                              |  1 +
 debian/python-control-toolbox.pyinstall            |  3 ++
 debian/rules                                       | 12 ++++++
 debian/source/format                               |  1 +
 debian/watch                                       |  7 ++++
 13 files changed, 141 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7ce32d5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ros-control-toolbox (1.13.2-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 22:36:40 +0100
diff --git a/debian/cl-control-toolbox.install b/debian/cl-control-toolbox.install
new file mode 100644
index 0000000..dda27fc
--- /dev/null
+++ b/debian/cl-control-toolbox.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..e8c3bcb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,47 @@
+Source: ros-control-toolbox
+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, librealtime-tools-dev
+Standards-Version: 3.9.6
+Section: libs
+Homepage: http://wiki.ros.org/control_toolbox?distro=jade
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/ros-control-toolbox.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ros/ros-control-toolbox.git
+
+Package: libcontrol-toolbox-dev
+Section: libdevel
+Architecture: any
+Depends: libcontrol-toolbox0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for control_toolbox (Robot OS)
+ This package is part of Robot OS (ROS). The control toolbox contains modules
+ that are useful across all controllers.
+
+Package: libcontrol-toolbox0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: library for control_toolbox (Robot OS)
+ This package is part of Robot OS (ROS). The control toolbox contains modules
+ that are useful across all controllers.
+
+Package: python-control-toolbox
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python code for control_toolbox (Robot OS)
+ This package is part of Robot OS (ROS). The control toolbox contains modules
+ that are useful across all controllers.
+ .
+ This package contains the generated Python package.
+
+Package: cl-control-toolbox
+Section: lisp
+Architecture: all
+Depends: ${misc:Depends}
+Description: LISP code for control_toolbox (Robot OS)
+ This package is part of Robot OS (ROS). The control toolbox contains modules
+ that are useful across all controllers.
+ .
+ This package contains the generated LISP library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..cf8c42e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ros-control-toolbox
+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/libcontrol-toolbox-dev.install b/debian/libcontrol-toolbox-dev.install
new file mode 100644
index 0000000..c7da15a
--- /dev/null
+++ b/debian/libcontrol-toolbox-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
+usr/share/control_toolbox
diff --git a/debian/libcontrol-toolbox0d.install b/debian/libcontrol-toolbox0d.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/libcontrol-toolbox0d.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/patches/0001-Add-Debian-specific-SOVERSION.patch b/debian/patches/0001-Add-Debian-specific-SOVERSION.patch
new file mode 100644
index 0000000..a1f9c29
--- /dev/null
+++ b/debian/patches/0001-Add-Debian-specific-SOVERSION.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Sat, 26 Dec 2015 22:59:27 +0100
+Subject: Add Debian specific SOVERSION
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index adcd053..78fa68c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -58,6 +58,7 @@ add_library(${PROJECT_NAME}
+   src/limited_proxy.cpp
+   )
+ add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencfg) # wait for dynamic reconfigure
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${control_toolbox_VERSION} SOVERSION "0d")
+ 
+ target_link_libraries(${PROJECT_NAME} ${TinyXML_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6eac731
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-Debian-specific-SOVERSION.patch
diff --git a/debian/python-control-toolbox.pyinstall b/debian/python-control-toolbox.pyinstall
new file mode 100644
index 0000000..cd5b3d4
--- /dev/null
+++ b/debian/python-control-toolbox.pyinstall
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/python2*/*/control_toolbox/*.py control_toolbox
+debian/tmp/usr/lib/python2*/*/control_toolbox/cfg/*.py control_toolbox.cfg
+debian/tmp/usr/lib/python2*/*/control_toolbox/srv/*.py control_toolbox.srv
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b337f1e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+%:
+	dh $@ --parallel --buildsystem=cmake --with python2
+
+# test suite is broken atm.
+override_dh_auto_test:
+
+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..d4a79bb
--- /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=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/control_toolbox-$1\.tar\.gz/ \
+  https://github.com/ros-controls/control_toolbox/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-control-toolbox.git



More information about the debian-science-commits mailing list