[notelet-core] 01/01: initial debianization

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Wed Jun 3 07:31:12 UTC 2015


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

jspricke-guest pushed a commit to branch master
in repository notelet-core.

commit aa8bdd6251208594a8d476b79c0a0e8c7c1854eb
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Wed Jun 3 09:30:26 2015 +0200

    initial debianization
---
 debian/changelog                                   |  5 ++
 debian/cl-nodelet.install                          |  1 +
 debian/compat                                      |  1 +
 debian/control                                     | 94 ++++++++++++++++++++++
 debian/copyright                                   | 46 +++++++++++
 debian/libnodelet-dev.install                      |  3 +
 debian/libnodelet-topic-tools-dev.install          |  3 +
 debian/libnodeletlib-dev.install                   |  9 +++
 debian/libnodeletlib0d.install                     |  1 +
 debian/patches/0001-Add-CMakeLists.txt.patch       | 20 +++++
 .../0002-Add-Debian-specific-SOVERSION.patch       | 20 +++++
 debian/patches/series                              |  2 +
 debian/python-nodelet-topic-tools.pyinstall        |  2 +
 debian/python-nodelet.pyinstall                    |  2 +
 debian/rules                                       | 32 ++++++++
 debian/source/format                               |  1 +
 debian/watch                                       | 10 +++
 17 files changed, 252 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..93ac05f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+nodelet-core (1.8.6-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)
+
+ -- Jochen Sprickerhof <debian at jochen.sprickerhof.de>  Tue, 02 Jun 2015 17:40:35 +0200
diff --git a/debian/cl-nodelet.install b/debian/cl-nodelet.install
new file mode 100644
index 0000000..ba9859c
--- /dev/null
+++ b/debian/cl-nodelet.install
@@ -0,0 +1 @@
+usr/share/common-lisp/ros/nodelet
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..917ad0a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,94 @@
+Source: nodelet-core
+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
+Standards-Version: 3.9.6
+Section: libs
+Homepage: http://wiki.ros.org/nodelet_core
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ros/nodelet-core.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/nodelet-core.git
+
+Package: libnodelet-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: ROS nodelet library - service header files
+ The nodelet package is designed to provide a way to run multiple algorithms in
+ the same process with zero copy transport between algorithms.
+ .
+ This package provides both the nodelet base class needed for implementing a
+ nodelet, as well as the NodeletLoader class used for instantiating nodelets.
+ .
+ This package contains the development files for the service.
+
+Package: python-nodelet
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: ROS nodelet library - service files
+ The nodelet package is designed to provide a way to run multiple algorithms in
+ the same process with zero copy transport between algorithms.
+ .
+ This package provides both the nodelet base class needed for implementing a
+ nodelet, as well as the NodeletLoader class used for instantiating nodelets.
+ .
+ This package contains the generated Python package.
+
+Package: cl-nodelet
+Section: lisp
+Architecture: all
+Depends: ${misc:Depends}
+Description: ROS nodelet library - service files
+ The nodelet package is designed to provide a way to run multiple algorithms in
+ the same process with zero copy transport between algorithms.
+ .
+ This package provides both the nodelet base class needed for implementing a
+ nodelet, as well as the NodeletLoader class used for instantiating nodelets.
+ .
+ This package contains the generated LISP library.
+
+Package: libnodeletlib-dev
+Section: libdevel
+Architecture: any
+Depends: libnodeletlib0d (= ${binary:Version}), ${misc:Depends}
+Description: ROS nodelet library
+ The nodelet package is designed to provide a way to run multiple algorithms in
+ the same process with zero copy transport between algorithms.
+ .
+ This package provides both the nodelet base class needed for implementing a
+ nodelet, as well as the NodeletLoader class used for instantiating nodelets.
+ .
+ This package contains the development files for the library.
+
+Package: libnodeletlib0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ROS nodelet library
+ The nodelet package is designed to provide a way to run multiple algorithms in
+ the same process with zero copy transport between algorithms.
+ .
+ This package provides both the nodelet base class needed for implementing a
+ nodelet, as well as the NodeletLoader class used for instantiating nodelets.
+ .
+ This package contains the library.
+
+Package: libnodelet-topic-tools-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: ROS nodelet_topic_tools library - development files
+ This package contains common nodelet tools such as a mux, demux and throttle.
+ .
+ This package contains the development files for the service.
+
+Package: python-nodelet-topic-tools
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: ROS nodelet_topic_tools library - service files
+ This package contains common nodelet tools such as a mux, demux and throttle.
+ .
+ This package contains the generated Python package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9e446e4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: nodelet-core
+Source: https://github.com/ros/nodelet_core
+
+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>
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+  * Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+  * Redistributions in binary form must reproduce the above
+    copyright notice, this list of conditions and the following
+    disclaimer in the documentation and/or other materials provided
+    with the distribution.
+  * Neither the name of Willow Garage, Inc. nor the names of its
+    contributors may be used to endorse or promote products derived
+    from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: 2015, Thomas Moulard <thomas.moulard at gmail.com>,
+                 Jochen Sprickerhof <debian at jochen.sprickerhof.de>,
+           	 Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+License: BSD-3-clause
diff --git a/debian/libnodelet-dev.install b/debian/libnodelet-dev.install
new file mode 100644
index 0000000..db611f5
--- /dev/null
+++ b/debian/libnodelet-dev.install
@@ -0,0 +1,3 @@
+usr/include/nodelet/N*
+usr/share/nodelet/cmake/nodelet-msg*
+usr/share/nodelet/srv/*
diff --git a/debian/libnodelet-topic-tools-dev.install b/debian/libnodelet-topic-tools-dev.install
new file mode 100644
index 0000000..22f50d1
--- /dev/null
+++ b/debian/libnodelet-topic-tools-dev.install
@@ -0,0 +1,3 @@
+usr/include/nodelet_topic_tools/*
+usr/lib/pkgconfig/nodelet_topic_tools.pc
+usr/share/nodelet_topic_tools/*
diff --git a/debian/libnodeletlib-dev.install b/debian/libnodeletlib-dev.install
new file mode 100644
index 0000000..1d53ac3
--- /dev/null
+++ b/debian/libnodeletlib-dev.install
@@ -0,0 +1,9 @@
+usr/include/nodelet/exception.h
+usr/include/nodelet/loader.h
+usr/include/nodelet/nodelet.h
+usr/include/nodelet/detail/*
+usr/lib/lib*.so
+usr/lib/nodelet
+usr/lib/pkgconfig/nodelet.pc
+usr/share/nodelet/cmake/nodeletConfig*
+usr/share/nodelet/package.xml
diff --git a/debian/libnodeletlib0d.install b/debian/libnodeletlib0d.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libnodeletlib0d.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/patches/0001-Add-CMakeLists.txt.patch b/debian/patches/0001-Add-CMakeLists.txt.patch
new file mode 100644
index 0000000..4fdf6c6
--- /dev/null
+++ b/debian/patches/0001-Add-CMakeLists.txt.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Tue, 2 Jun 2015 17:41:02 +0200
+Subject: Add CMakeLists.txt
+
+---
+ CMakeLists.txt | 5 +++++
+ 1 file changed, 5 insertions(+)
+ create mode 100644 CMakeLists.txt
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+new file mode 100644
+index 0000000..9eab8f4
+--- /dev/null
++++ b/CMakeLists.txt
+@@ -0,0 +1,5 @@
++cmake_minimum_required(VERSION 2.8.3)
++project(nodelet_core)
++
++add_subdirectory(nodelet)
++add_subdirectory(nodelet_topic_tools)
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..8a857a2
--- /dev/null
+++ b/debian/patches/0002-Add-Debian-specific-SOVERSION.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Tue, 2 Jun 2015 17:44:31 +0200
+Subject: Add Debian specific SOVERSION
+
+---
+ nodelet/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/nodelet/CMakeLists.txt b/nodelet/CMakeLists.txt
+index 5d9eea4..2773adf 100644
+--- a/nodelet/CMakeLists.txt
++++ b/nodelet/CMakeLists.txt
+@@ -31,6 +31,7 @@ include_directories(include ${catkin_INCLUDE_DIRS} ${BOOST_INCLUDE_DIRS})
+ add_library(nodeletlib src/nodelet_class.cpp src/loader.cpp src/callback_queue.cpp src/callback_queue_manager.cpp)
+ target_link_libraries(nodeletlib ${catkin_LIBRARIES} ${BOOST_LIBRARIES})
+ add_dependencies(nodeletlib ${nodelet_EXPORTED_TARGETS})
++set_target_properties(nodeletlib PROPERTIES VERSION ${nodelet_VERSION} SOVERSION "0d")
+ 
+ add_executable(nodelet src/nodelet.cpp)
+ target_link_libraries(nodelet nodeletlib ${UUID_LIBRARIES} ${catkin_LIBRARIES} ${BOOST_LIBRARIES})
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-nodelet-topic-tools.pyinstall b/debian/python-nodelet-topic-tools.pyinstall
new file mode 100644
index 0000000..25c2ca0
--- /dev/null
+++ b/debian/python-nodelet-topic-tools.pyinstall
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/python2*/*/nodelet_topic_tools/*.py nodelet_topic_tools
+debian/tmp/usr/lib/python2*/*/nodelet_topic_tools/cfg/*.py nodelet_topic_tools.cfg
diff --git a/debian/python-nodelet.pyinstall b/debian/python-nodelet.pyinstall
new file mode 100644
index 0000000..3664c60
--- /dev/null
+++ b/debian/python-nodelet.pyinstall
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/python2*/*/nodelet/*.py nodelet
+debian/tmp/usr/lib/python2*/*/nodelet/srv/*.py nodelet.srv
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e48a70f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,32 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#DH_VERBOSE = 1
+
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+# main packaging script based on dh7 syntax
+%:
+	dh $@ --parallel --with=python2 --buildsystem=cmake
+
+# debmake generated override targets
+# This is example for Cmake (See http://bugs.debian.org/641051 )
+#override_dh_auto_configure:
+#	dh_auto_configure -- \
+#	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+
+
+
+
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..97734bc
--- /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/std_msgs-$1\.tar\.gz/ \
+  https://github.com/ros/nodelet_core/releases .*/v?(\d\S*)\.tar\.gz
+
+
+

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



More information about the debian-science-commits mailing list