[ros-driver-common] 01/01: Initial debianization

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Sat Dec 26 17:47:00 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-driver-common.

commit ede0c28cb95bd9eb8a5cb85cb8d7519550f77e1b
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Sat Dec 26 17:06:11 2015 +0100

    Initial debianization
---
 debian/changelog                             |  5 +++
 debian/cl-driver-base.install                |  1 +
 debian/compat                                |  1 +
 debian/control                               | 46 ++++++++++++++++++++++++++++
 debian/copyright                             | 38 +++++++++++++++++++++++
 debian/libros-driver-base-dev.install        |  3 ++
 debian/libtimestamp-tools-dev.install        |  3 ++
 debian/patches/0001-Add-CMakeLists.txt.patch | 19 ++++++++++++
 debian/patches/series                        |  1 +
 debian/python-driver-base.pyinstall          |  2 ++
 debian/rules                                 |  9 ++++++
 debian/source/format                         |  1 +
 debian/watch                                 | 10 ++++++
 13 files changed, 139 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d58589f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ros-driver-common (1.6.8-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 15:52:29 +0100
diff --git a/debian/cl-driver-base.install b/debian/cl-driver-base.install
new file mode 100644
index 0000000..dda27fc
--- /dev/null
+++ b/debian/cl-driver-base.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..f93414a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: ros-driver-common
+Section: libdevel
+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
+Standards-Version: 3.9.6
+Homepage: http://wiki.ros.org/driver_common
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/ros-driver-common.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ros/ros-driver-common.git
+
+Package: libros-driver-base-dev
+Section: libdevel
+Architecture: all
+Depends: ${misc:Depends}
+Description: Messages relating to the Robot OS driver framework
+ This package is part of Robot OS (ROS). It contains driver-base related
+ messages for a framework for writing drivers that helps with runtime
+ reconfiguration, diagnostics and self-test.
+
+Package: python-driver-base
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-genpy, python-std-msgs
+Description: Messages relating to the Robot OS driver framework, Python bindings
+ This package is part of Robot OS (ROS). It contains the Python interface to
+ messages for a framework for writing drivers that helps with runtime
+ reconfiguration, diagnostics and self-test.
+
+Package: cl-driver-base
+Section: lisp
+Architecture: all
+Depends: ${misc:Depends}
+Description: Messages relating to the Robot OS driver framework, LISP bindings
+ This package is part of Robot OS (ROS). It contains the LISP interface to
+ messages relating for a framework for writing drivers that helps with runtime
+ reconfiguration, diagnostics and self-test.
+
+Package: libtimestamp-tools-dev
+Section: libdevel
+Architecture: all
+Depends: ${misc:Depends}
+Description: Headers with timestamp tools for the Robot OS
+ This package is part of Robot OS (ROS).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..15aacfd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ros-driver-common
+Source: https://github.com/ros-drivers/driver_common
+
+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/libros-driver-base-dev.install b/debian/libros-driver-base-dev.install
new file mode 100644
index 0000000..7e22fee
--- /dev/null
+++ b/debian/libros-driver-base-dev.install
@@ -0,0 +1,3 @@
+usr/include/driver_base
+usr/share/driver_base
+usr/lib/*/pkgconfig/driver_base.pc usr/lib/pkgconfig
diff --git a/debian/libtimestamp-tools-dev.install b/debian/libtimestamp-tools-dev.install
new file mode 100644
index 0000000..10cb466
--- /dev/null
+++ b/debian/libtimestamp-tools-dev.install
@@ -0,0 +1,3 @@
+usr/include/timestamp_tools
+usr/share/timestamp_tools
+usr/lib/*/pkgconfig/timestamp_tools.pc usr/lib/pkgconfig
diff --git a/debian/patches/0001-Add-CMakeLists.txt.patch b/debian/patches/0001-Add-CMakeLists.txt.patch
new file mode 100644
index 0000000..78f1810
--- /dev/null
+++ b/debian/patches/0001-Add-CMakeLists.txt.patch
@@ -0,0 +1,19 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Sat, 26 Dec 2015 15:55:09 +0100
+Subject: Add CMakeLists.txt
+
+---
+ CMakeLists.txt | 4 ++++
+ 1 file changed, 4 insertions(+)
+ create mode 100644 CMakeLists.txt
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+new file mode 100644
+index 0000000..2bbc781
+--- /dev/null
++++ b/CMakeLists.txt
+@@ -0,0 +1,4 @@
++cmake_minimum_required(VERSION 2.8.3)
++project(gazebo-ros-pkgs)
++add_subdirectory(driver_base) 
++add_subdirectory(timestamp_tools) 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6e9def9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-CMakeLists.txt.patch
diff --git a/debian/python-driver-base.pyinstall b/debian/python-driver-base.pyinstall
new file mode 100644
index 0000000..67b10e5
--- /dev/null
+++ b/debian/python-driver-base.pyinstall
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/python2*/*/driver_base/*.py driver_base
+debian/tmp/usr/lib/python2*/*/driver_base/msg/*.py driver_base.msg
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..3964ca2
--- /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/driver_common-$1\.tar\.gz/ \
+  https://github.com/ros-drivers/driver_common/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-driver-common.git



More information about the debian-science-commits mailing list