[ros-comm] 03/03: Ad message_filters packaging

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Fri Dec 12 18:25:25 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 c55ccc7300361ce078fbd12c73a3c855724a0abb
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Fri Dec 12 19:10:53 2014 +0100

    Ad message_filters packaging
---
 debian/control                                     | 33 ++++++++++++++++++----
 debian/libmessage-filters-dev.install              |  4 +++
 debian/libmessage-filters0d.install                |  1 +
 .../0010-Add-SONAME-for-message_filters.patch      | 20 +++++++++++++
 debian/patches/series                              |  1 +
 debian/python-message-filters.pyinstall            |  1 +
 6 files changed, 55 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 354cfcf..d43d87d 100644
--- a/debian/control
+++ b/debian/control
@@ -293,12 +293,35 @@ Description: library for libtopic_tools
 # Utilities #
 #############
 
-Package: message-filter
+Package: libmessage-filters-dev
+Section: libdevel
 Architecture: any
-Depends: ${misc:Depends}
-Multi-Arch: foreign
-Description: FIXME
- FIXME FIXME FIXME
+Depends: libmessage-filters0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for message-filters
+ A set of message filters which take in messages and may output those messages
+ at a later time, based on the conditions that filter needs met.
+ .
+ This package contains the development files for the library.
+
+Package: libmessage-filters0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: library for message-filters
+ A set of message filters which take in messages and may output those messages
+ at a later time, based on the conditions that filter needs met.
+ .
+ This package contains the library.
+
+Package: python-message-filters
+Section: python
+Architecture: any
+Multi-Arch: allowed
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: library for message-filters
+ A set of message filters which take in messages and may output those messages
+ at a later time, based on the conditions that filter needs met.
+ .
+ This package contains the Python library.
 
 Package: python-roswtf
 Section: python
diff --git a/debian/libmessage-filters-dev.install b/debian/libmessage-filters-dev.install
new file mode 100644
index 0000000..fab2508
--- /dev/null
+++ b/debian/libmessage-filters-dev.install
@@ -0,0 +1,4 @@
+usr/include/message_filters
+usr/lib/libmessage_filters.so
+usr/lib/pkgconfig/message_filters.pc
+usr/share/message_filters
diff --git a/debian/libmessage-filters0d.install b/debian/libmessage-filters0d.install
new file mode 100644
index 0000000..e162525
--- /dev/null
+++ b/debian/libmessage-filters0d.install
@@ -0,0 +1 @@
+usr/lib/libmessage_filters.so.*
diff --git a/debian/patches/0010-Add-SONAME-for-message_filters.patch b/debian/patches/0010-Add-SONAME-for-message_filters.patch
new file mode 100644
index 0000000..0dbc866
--- /dev/null
+++ b/debian/patches/0010-Add-SONAME-for-message_filters.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Fri, 12 Dec 2014 18:51:33 +0100
+Subject: Add SONAME for message_filters
+
+---
+ utilities/message_filters/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/utilities/message_filters/CMakeLists.txt b/utilities/message_filters/CMakeLists.txt
+index e40f480..97e7e2c 100644
+--- a/utilities/message_filters/CMakeLists.txt
++++ b/utilities/message_filters/CMakeLists.txt
+@@ -14,6 +14,7 @@ include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
+ link_directories(${catkin_LIBRARY_DIRS})
+ 
+ add_library(${PROJECT_NAME} src/connection.cpp)
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${message_filters_VERSION} SOVERSION "0d")
+ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+ 
+ install(TARGETS ${PROJECT_NAME}
diff --git a/debian/patches/series b/debian/patches/series
index 2c4bc40..e96a6ab 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
 0007-Add-SONAME-for-topic_tools.patch
 0008-Add-SONAME-to-rosbag.patch
 0009-Add-default-ROS_MASTER_URI.patch
+0010-Add-SONAME-for-message_filters.patch
diff --git a/debian/python-message-filters.pyinstall b/debian/python-message-filters.pyinstall
new file mode 100644
index 0000000..c3271a5
--- /dev/null
+++ b/debian/python-message-filters.pyinstall
@@ -0,0 +1 @@
+utilities/message_filters/src/message_filters/*.py message_filters

-- 
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