[class-loader] 01/01: initial debianization

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Tue Jun 2 08:43:03 UTC 2015


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

jspricke-guest pushed a commit to branch master
in repository class-loader.

commit 1bca495593190d9d922bdb777d3ac6ffacee8fe0
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Tue Jun 2 10:40:57 2015 +0200

    initial debianization
---
 debian/changelog                                   |  5 +++
 debian/compat                                      |  1 +
 debian/control                                     | 39 ++++++++++++++++++
 debian/copyright                                   | 46 ++++++++++++++++++++++
 debian/libclass-loader-dev.install                 |  4 ++
 debian/libclass-loader0d.install                   |  1 +
 .../0001-Add-Debian-specific-SOVERSION.patch       | 27 +++++++++++++
 debian/patches/series                              |  1 +
 debian/rules                                       | 33 ++++++++++++++++
 debian/source/format                               |  1 +
 10 files changed, 158 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..68546bd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+class-loader (0.3.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)
+
+ -- Jochen Sprickerhof <debian at jochen.sprickerhof.de>  Tue, 02 Jun 2015 10:27:25 +0200
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..dc745ec
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: class-loader
+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, libboost-thread-dev, libboost-system-dev, libconsole-bridge-dev, libpoco-dev, cmake-modules
+Standards-Version: 3.9.6
+Section: libs
+Homepage: http://wiki.ros.org/class_loader
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ros/class-loader.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/class-loader.git
+
+Package: libclass-loader-dev
+Section: libdevel
+Architecture: any
+Depends: libclass-loader0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for ROS class_loader library
+ The class_loader package is a ROS-independent package for loading plugins
+ during runtime and the foundation of the higher level ROS "pluginlib" library.
+ class_loader utilizes the host operating system's runtime loader to open
+ runtime libraries (e.g. .so/.dll files), introspect the library for exported
+ plugin classes, and allows users to instantiate objects of said exported
+ classes without the explicit declaration (i.e. header file) for those classes.
+ .
+ This package contains the development files for the library.
+
+Package: libclass-loader0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ROS class_loader library
+ The class_loader package is a ROS-independent package for loading plugins
+ during runtime and the foundation of the higher level ROS "pluginlib" library.
+ class_loader utilizes the host operating system's runtime loader to open
+ runtime libraries (e.g. .so/.dll files), introspect the library for exported
+ plugin classes, and allows users to instantiate objects of said exported
+ classes without the explicit declaration (i.e. header file) for those classes.
+ .
+ This package contains the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ec9831f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: class-loader
+Source: http://wiki.ros.org/class_loader
+
+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/libclass-loader-dev.install b/debian/libclass-loader-dev.install
new file mode 100644
index 0000000..5096997
--- /dev/null
+++ b/debian/libclass-loader-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/share/*
diff --git a/debian/libclass-loader0d.install b/debian/libclass-loader0d.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libclass-loader0d.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..d55e5e3
--- /dev/null
+++ b/debian/patches/0001-Add-Debian-specific-SOVERSION.patch
@@ -0,0 +1,27 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Tue, 2 Jun 2015 10:28:32 +0200
+Subject: Add Debian specific SOVERSION
+
+---
+ CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ee9a601..e0aa385 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -34,6 +34,7 @@ set(${PROJECT_NAME}_SRCS
+ )
+ add_library(${PROJECT_NAME} ${${PROJECT_NAME}_SRCS})
+ target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES} ${console_bridge_LIBRARIES} ${Poco_LIBRARIES})
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${class_loader_VERSION} SOVERSION "0d")
+ 
+ install(TARGETS ${PROJECT_NAME}
+   ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
+@@ -60,4 +61,4 @@ if(NOT ${catkin_FOUND})
+                  ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_NAME}.pc @ONLY)
+ 
+   install(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION lib/pkgconfig)
+-endif()
+\ No newline at end of file
++endif()
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/rules b/debian/rules
new file mode 100755
index 0000000..5f5e349
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,33 @@
+#!/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 $@ 
+
+# 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)
+
+
+
+# test suite is broken atm.
+override_dh_auto_test:
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/class-loader.git



More information about the debian-science-commits mailing list