[bond-core] 01/01: Initial debianization

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Mon Jun 1 21:17:33 UTC 2015


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

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

commit 1808b370011f3adec08053c139784a98e0a13d04
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Mon Jun 1 14:58:56 2015 +0200

    Initial debianization
---
 debian/changelog                                   |  5 ++
 debian/cl-bond.install                             |  1 +
 debian/compat                                      |  1 +
 debian/control                                     | 95 ++++++++++++++++++++++
 debian/copyright                                   | 46 +++++++++++
 debian/libbond-dev.install                         |  3 +
 debian/libbondcpp-dev.install                      |  4 +
 debian/libbondcpp0d.install                        |  1 +
 debian/libsmc-dev.install                          |  1 +
 debian/patches/0001-Add-CMakeLists.txt.patch       | 23 ++++++
 .../0002-Add-Debian-specific-SOVERSION.patch       | 20 +++++
 debian/patches/series                              |  2 +
 debian/python-bond.pyinstall                       |  2 +
 debian/python-bondpy.pyinstall                     |  1 +
 debian/python-smclib.pyinstall                     |  1 +
 debian/rules                                       | 32 ++++++++
 debian/source/format                               |  1 +
 17 files changed, 239 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6ee56ad
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+bond-core (1.7.16-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Jochen Sprickerhof <debian at jochen.sprickerhof.de>  Mon, 01 Jun 2015 15:04:15 +0200
diff --git a/debian/cl-bond.install b/debian/cl-bond.install
new file mode 100644
index 0000000..b148a8a
--- /dev/null
+++ b/debian/cl-bond.install
@@ -0,0 +1 @@
+usr/share/common-lisp/ros/bond
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..4c7d4b6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,95 @@
+Source: bond-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, message-generation, libstd-msgs-dev, python-all (>= 2.6.6-3), python-setuptools (>= 0.6b3)
+Standards-Version: 3.9.6
+Section: libs
+Homepage: http://wiki.ros.org/bond_core
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ros/bond-core.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/bond-core.git
+
+Package: libbond-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: Messages related to ROS bond_core
+ A bond allows two processes, A and B, to know when the other has terminated,
+ either cleanly or by crashing. The bond remains connected until it is either
+ broken explicitly or until a heartbeat times out.
+
+Package: python-bond
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-genpy, python-std-msgs
+Description: Messages related to ROS bond_core
+ A bond allows two processes, A and B, to know when the other has terminated,
+ either cleanly or by crashing. The bond remains connected until it is either
+ broken explicitly or until a heartbeat times out.
+ .
+ This package contains the generated Python package.
+
+Package: cl-bond
+Section: lisp
+Architecture: all
+Depends: ${misc:Depends}
+Description: Messages related to ROS bond_core
+ A bond allows two processes, A and B, to know when the other has terminated,
+ either cleanly or by crashing. The bond remains connected until it is either
+ broken explicitly or until a heartbeat times out.
+ .
+ This package contains the generated LISP library.
+
+Package: libsmc-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: State Machine Compiler (SMC)
+ The State Machine Compiler (SMC) from http://smc.sourceforge.net/
+ converts a language-independent description of a state machine
+ into the source code to support that state machine.
+ .
+ This package contains the libraries that a compiled state machine
+ depends on, but it does not contain the compiler itself.
+
+Package: python-smclib
+Section: python
+Architecture: any
+Depends:  ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: State Machine Compiler (SMC) - Python package
+ The State Machine Compiler (SMC) from http://smc.sourceforge.net/
+ converts a language-independent description of a state machine
+ into the source code to support that state machine.
+ .
+ This package contains the libraries that a compiled state machine
+ depends on, but it does not contain the compiler itself.
+ .
+ This package contains the Python package.
+
+Package: libbondcpp-dev
+Section: libdevel
+Architecture: any
+Depends: libbondcpp0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for ROS bondcpp library
+ C++ implementation of bond, a mechanism for checking when another process has
+ terminated.
+ .
+ This package contains the development files for the library.
+
+Package: libbondcpp0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ROS bondcpp library
+ C++ implementation of bond, a mechanism for checking when another process has
+ terminated.
+ .
+ This package contains the library.
+
+Package: python-bondpy
+Section: python
+Architecture: any
+Depends:  ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-bond, python-rospy, python-smclib
+Description: Python implementation of bond, a mechanism for checking when another process has terminated.
+ This package contains the Python package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..47909d2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: bond-core
+Source: https://github.com/ros/bond_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/libbond-dev.install b/debian/libbond-dev.install
new file mode 100644
index 0000000..a115afa
--- /dev/null
+++ b/debian/libbond-dev.install
@@ -0,0 +1,3 @@
+usr/include/bond/*
+usr/lib/pkgconfig/bond.pc
+usr/share/bond/*
diff --git a/debian/libbondcpp-dev.install b/debian/libbondcpp-dev.install
new file mode 100644
index 0000000..5e5b20a
--- /dev/null
+++ b/debian/libbondcpp-dev.install
@@ -0,0 +1,4 @@
+usr/include/bondcpp/*
+usr/lib/lib*.so
+usr/lib/pkgconfig/bondcpp.pc
+usr/share/bondcpp/*
diff --git a/debian/libbondcpp0d.install b/debian/libbondcpp0d.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libbondcpp0d.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/libsmc-dev.install b/debian/libsmc-dev.install
new file mode 100644
index 0000000..318e941
--- /dev/null
+++ b/debian/libsmc-dev.install
@@ -0,0 +1 @@
+usr/include/smclib/*
diff --git a/debian/patches/0001-Add-CMakeLists.txt.patch b/debian/patches/0001-Add-CMakeLists.txt.patch
new file mode 100644
index 0000000..5ecb8ab
--- /dev/null
+++ b/debian/patches/0001-Add-CMakeLists.txt.patch
@@ -0,0 +1,23 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Mon, 1 Jun 2015 14:52:06 +0200
+Subject: Add CMakeLists.txt
+
+---
+ CMakeLists.txt | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+ create mode 100644 CMakeLists.txt
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+new file mode 100644
+index 0000000..721c5d2
+--- /dev/null
++++ b/CMakeLists.txt
+@@ -0,0 +1,8 @@
++cmake_minimum_required(VERSION 2.8.3)
++project(bond_core)
++
++add_subdirectory(bond)
++add_subdirectory(smclib)
++add_subdirectory(bondcpp)
++add_subdirectory(bondpy)
++#add_subdirectory(test_bond)
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..b78e259
--- /dev/null
+++ b/debian/patches/0002-Add-Debian-specific-SOVERSION.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Mon, 1 Jun 2015 14:53:43 +0200
+Subject: Add Debian specific SOVERSION
+
+---
+ bondcpp/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/bondcpp/CMakeLists.txt b/bondcpp/CMakeLists.txt
+index a82ae3d..dd84bd2 100644
+--- a/bondcpp/CMakeLists.txt
++++ b/bondcpp/CMakeLists.txt
+@@ -21,6 +21,7 @@ add_library(${PROJECT_NAME}
+   src/BondSM_sm.cpp
+ )
+ target_link_libraries(${PROJECT_NAME} ${UUID_LIBRARIES} ${catkin_LIBRARIES} ${BOOST_LIBRARIES})
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${bondcpp_VERSION} SOVERSION "0d")
+ 
+ if(catkin_EXPORTED_TARGETS)
+   add_dependencies(${PROJECT_NAME} ${catkin_EXPORTED_TARGETS})
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-bond.pyinstall b/debian/python-bond.pyinstall
new file mode 100644
index 0000000..c6e5b58
--- /dev/null
+++ b/debian/python-bond.pyinstall
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/python2*/*/bond/*.py bond
+debian/tmp/usr/lib/python2*/*/bond/msg/*.py bond.msg
diff --git a/debian/python-bondpy.pyinstall b/debian/python-bondpy.pyinstall
new file mode 100644
index 0000000..90fab45
--- /dev/null
+++ b/debian/python-bondpy.pyinstall
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2*/*/bondpy/*.py bondpy
diff --git a/debian/python-smclib.pyinstall b/debian/python-smclib.pyinstall
new file mode 100644
index 0000000..b389a0d
--- /dev/null
+++ b/debian/python-smclib.pyinstall
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2*/*/smclib/*.py smclib
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)

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



More information about the debian-science-commits mailing list