[ros-comm] 03/17: Add packaging for librosbag-storage

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Fri Dec 12 00:14:23 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 60f8b853c6ca195a0daebbb529caaad5ae2daf87
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Thu Dec 11 13:41:51 2014 +0100

    Add packaging for librosbag-storage
---
 debian/control                                       | 19 +++++++++++++++++++
 debian/librosbag-storage-dev.install                 | 15 +++++++++++++++
 debian/librosbag-storage0d.install                   |  1 +
 .../patches/0003-Add-SONAME-to-rosbag_storage.patch  | 20 ++++++++++++++++++++
 debian/patches/series                                |  1 +
 5 files changed, 56 insertions(+)

diff --git a/debian/control b/debian/control
index 6e9fd05..061f045 100644
--- a/debian/control
+++ b/debian/control
@@ -55,6 +55,25 @@ Multi-Arch: foreign
 Description: FIXME
  FIXME FIXME FIXME
 
+Package: librosbag-storage-dev
+Section: libdevel
+Architecture: any
+Depends: librosbag-storage0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for librosbag_storage
+ This is a set of tools for recording from and playing back ROS message without
+ relying on the ROS client library.
+ .
+ This package contains the development files for the library.
+
+Package: librosbag-storage0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: library for rosbag_storage
+ This is a set of tools for recording from and playing back ROS message without
+ relying on the ROS client library.
+ .
+ This package contains the library.
+
 Package: rosconsole
 Architecture: any
 Depends: ${misc:Depends}
diff --git a/debian/librosbag-storage-dev.install b/debian/librosbag-storage-dev.install
new file mode 100644
index 0000000..9ad899c
--- /dev/null
+++ b/debian/librosbag-storage-dev.install
@@ -0,0 +1,15 @@
+usr/include/rosbag/bag.h
+usr/include/rosbag/bag_player.h
+usr/include/rosbag/buffer.h
+usr/include/rosbag/chunked_file.h
+usr/include/rosbag/constants.h
+usr/include/rosbag/exceptions.h
+usr/include/rosbag/macros.h
+usr/include/rosbag/message_instance.h
+usr/include/rosbag/query.h
+usr/include/rosbag/stream.h
+usr/include/rosbag/structures.h
+usr/include/rosbag/view.h
+usr/lib/librosbag_storage.so
+usr/lib/pkgconfig/rosbag_storage.pc
+usr/share/rosbag_storage
diff --git a/debian/librosbag-storage0d.install b/debian/librosbag-storage0d.install
new file mode 100644
index 0000000..8033ee1
--- /dev/null
+++ b/debian/librosbag-storage0d.install
@@ -0,0 +1 @@
+usr/lib/librosbag_storage.so.*
diff --git a/debian/patches/0003-Add-SONAME-to-rosbag_storage.patch b/debian/patches/0003-Add-SONAME-to-rosbag_storage.patch
new file mode 100644
index 0000000..b9a085d
--- /dev/null
+++ b/debian/patches/0003-Add-SONAME-to-rosbag_storage.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Thu, 11 Dec 2014 13:27:48 +0100
+Subject: Add SONAME to rosbag_storage
+
+---
+ tools/rosbag_storage/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tools/rosbag_storage/CMakeLists.txt b/tools/rosbag_storage/CMakeLists.txt
+index 7c0679b..cc4be7b 100644
+--- a/tools/rosbag_storage/CMakeLists.txt
++++ b/tools/rosbag_storage/CMakeLists.txt
+@@ -30,6 +30,7 @@ add_library(rosbag_storage
+   src/view.cpp
+   src/uncompressed_stream.cpp
+ )
++set_target_properties(rosbag_storage PROPERTIES VERSION ${rosbag_storage_VERSION} SOVERSION "0d")
+ 
+ target_link_libraries(rosbag_storage ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${BZIP2_LIBRARIES} ${console_bridge_LIBRARIES})
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 72f4d84..07c44fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Add-CMakeLists.txt.patch
 0002-Add-SONAME-to-roslz4.patch
+0003-Add-SONAME-to-rosbag_storage.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