[ros-comm] 08/17: Add packaging for topic_tools

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Fri Dec 12 00:14:24 UTC 2014


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

jspricke-guest pushed a commit to branch master
in repository ros-comm.

commit c6adb3e2c72c868c744136eed9aa5fc8b108777e
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Thu Dec 11 17:29:07 2014 +0100

    Add packaging for topic_tools
---
 debian/control                                     | 28 ++++++++++++++++++----
 debian/libtopic-tools-0d.install                   |  1 +
 debian/libtopic-tools-dev.install                  |  4 ++++
 .../patches/0007-Add-SONAME-for-topic_tools.patch  | 20 ++++++++++++++++
 debian/patches/series                              |  1 +
 5 files changed, 49 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index ad21f8c..d71ff2b 100644
--- a/debian/control
+++ b/debian/control
@@ -225,12 +225,30 @@ Multi-Arch: foreign
 Description: FIXME
  FIXME FIXME FIXME
 
-Package: topic-tools
+Package: libtopic-tools-dev
+Section: libdevel
 Architecture: any
-Depends: ${misc:Depends}
-Multi-Arch: foreign
-Description: FIXME
- FIXME FIXME FIXME
+Depends: libtopic-tools-0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for libtopic_tools
+ Tools for directing, throttling, selecting, and otherwise messing with ROS
+ topics at a meta level. None of the programs in this package actually know
+ about the topics whose streams they are altering; instead, these tools deal
+ with messages as generic binary blobs. This means they can be applied to any
+ ROS topic.
+ .
+ This package contains the development files for the library.
+
+Package: libtopic-tools-0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: library for libtopic_tools
+ Tools for directing, throttling, selecting, and otherwise messing with ROS
+ topics at a meta level. None of the programs in this package actually know
+ about the topics whose streams they are altering; instead, these tools deal
+ with messages as generic binary blobs. This means they can be applied to any
+ ROS topic.
+ .
+ This package contains the library.
 
 #############
 # Utilities #
diff --git a/debian/libtopic-tools-0d.install b/debian/libtopic-tools-0d.install
new file mode 100644
index 0000000..9fca008
--- /dev/null
+++ b/debian/libtopic-tools-0d.install
@@ -0,0 +1 @@
+usr/lib/libtopic_tools.so.*
diff --git a/debian/libtopic-tools-dev.install b/debian/libtopic-tools-dev.install
new file mode 100644
index 0000000..b1f203a
--- /dev/null
+++ b/debian/libtopic-tools-dev.install
@@ -0,0 +1,4 @@
+usr/include/topic_tools
+usr/lib/libtopic_tools.so
+usr/lib/pkgconfig/topic_tools.pc
+usr/share/topic_tools
diff --git a/debian/patches/0007-Add-SONAME-for-topic_tools.patch b/debian/patches/0007-Add-SONAME-for-topic_tools.patch
new file mode 100644
index 0000000..97282c7
--- /dev/null
+++ b/debian/patches/0007-Add-SONAME-for-topic_tools.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Thu, 11 Dec 2014 17:28:40 +0100
+Subject: Add SONAME for topic_tools
+
+---
+ tools/topic_tools/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tools/topic_tools/CMakeLists.txt b/tools/topic_tools/CMakeLists.txt
+index 620e230..bb390f9 100644
+--- a/tools/topic_tools/CMakeLists.txt
++++ b/tools/topic_tools/CMakeLists.txt
+@@ -27,6 +27,7 @@ catkin_package(
+ catkin_add_env_hooks(20.transform SHELLS bash DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/env-hooks)
+ 
+ add_library(topic_tools src/shape_shifter.cpp src/parse.cpp)
++set_target_properties(topic_tools PROPERTIES VERSION ${topic_tools_VERSION} SOVERSION "0d")
+ target_link_libraries(topic_tools ${catkin_LIBRARIES})
+ 
+ add_executable(switch_mux src/switch_mux.cpp)
diff --git a/debian/patches/series b/debian/patches/series
index 595e4fe..82f6e7c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-Add-SONAME-to-rosconsole.patch
 0005-Add-SONAME-for-xmlrpcpp.patch
 0006-Add-SONAME-for-roscpp.patch
+0007-Add-SONAME-for-topic_tools.patch

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



More information about the debian-science-commits mailing list