[ros-comm] 06/17: Add packaging for roscpp
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 43e4f204d1da890de162fa376330538bde3ebdad
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date: Thu Dec 11 14:34:45 2014 +0100
Add packaging for roscpp
---
debian/cl-roscpp-msgs.install | 1 +
debian/control | 72 +++++++++++++++++++++++--
debian/libroscpp-dev.install | 64 ++++++++++++++++++++++
debian/libroscpp-msgs-dev.install | 4 ++
debian/libroscpp0d.install | 1 +
debian/patches/0006-Add-SONAME-for-roscpp.patch | 20 +++++++
debian/patches/series | 1 +
debian/python-roscpp-msgs.pyinstall | 3 ++
8 files changed, 162 insertions(+), 4 deletions(-)
diff --git a/debian/cl-roscpp-msgs.install b/debian/cl-roscpp-msgs.install
new file mode 100644
index 0000000..27b7623
--- /dev/null
+++ b/debian/cl-roscpp-msgs.install
@@ -0,0 +1 @@
+usr/share/common-lisp/ros/roscpp
diff --git a/debian/control b/debian/control
index da705cf..dcc504e 100644
--- a/debian/control
+++ b/debian/control
@@ -20,12 +20,76 @@ X-Python-Version: >= 2.7
# Clients #
###########
-Package: roscpp
+Package: libroscpp-dev
+Section: libdevel
+Architecture: any
+Depends: libroscpp0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for libroscpp
+ roscpp is a C++ implementation of ROS. It provides a client library that
+ enables C++ programmers to quickly interface with ROS Topics, Services, and
+ Parameters.
+ .
+ roscpp is the most widely used ROS client library and is designed to be the
+ high-performance library for ROS. ROS console output library.
+ .
+ This package contains the development files for the library.
+
+Package: libroscpp0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: library for libroscpp
+ roscpp is a C++ implementation of ROS. It provides a client library that
+ enables C++ programmers to quickly interface with ROS Topics, Services, and
+ Parameters.
+ .
+ roscpp is the most widely used ROS client library and is designed to be the
+ high-performance library for ROS. ROS console output library.
+ .
+ This package contains the library.
+
+Package: libroscpp-msgs-dev
+Section: libdevel
Architecture: any
Depends: ${misc:Depends}
-Multi-Arch: foreign
-Description: FIXME
- FIXME FIXME FIXME
+Description: Header for roscpp messages
+ roscpp is a C++ implementation of ROS. It provides a client library that
+ enables C++ programmers to quickly interface with ROS Topics, Services, and
+ Parameters.
+ .
+ roscpp is the most widely used ROS client library and is designed to be the
+ high-performance library for ROS. ROS console output library.
+ .
+ This package contains the generated C++ headers.
+
+Package: python-roscpp-msgs
+Section: python
+Architecture: all
+Depends: ${misc:Depends}
+Description: Header for roscpp messages
+ roscpp is a C++ implementation of ROS. It provides a client library that
+ enables C++ programmers to quickly interface with ROS Topics, Services, and
+ Parameters.
+ .
+ roscpp is the most widely used ROS client library and is designed to be the
+ high-performance library for ROS. ROS console output library.
+ .
+ .
+ This package contains the generated Python package.
+
+Package: cl-roscpp-msgs
+Section: lisp
+Architecture: all
+Depends: ${misc:Depends}
+Description: Header for roscpp messages
+ roscpp is a C++ implementation of ROS. It provides a client library that
+ enables C++ programmers to quickly interface with ROS Topics, Services, and
+ Parameters.
+ .
+ roscpp is the most widely used ROS client library and is designed to be the
+ high-performance library for ROS. ROS console output library.
+ .
+ .
+ This package contains the generated LISP library.
Package: rospy
Architecture: all
diff --git a/debian/libroscpp-dev.install b/debian/libroscpp-dev.install
new file mode 100644
index 0000000..ed232c0
--- /dev/null
+++ b/debian/libroscpp-dev.install
@@ -0,0 +1,64 @@
+usr/include/ros/transport
+usr/include/ros/advertise_options.h
+usr/include/ros/advertise_service_options.h
+usr/include/ros/callback_queue.h
+usr/include/ros/callback_queue_interface.h
+usr/include/ros/common.h
+usr/include/ros/connection.h
+usr/include/ros/connection_manager.h
+usr/include/ros/exceptions.h
+usr/include/ros/file_log.h
+usr/include/ros/forwards.h
+usr/include/ros/init.h
+usr/include/ros/internal_timer_manager.h
+usr/include/ros/intraprocess_publisher_link.h
+usr/include/ros/intraprocess_subscriber_link.h
+usr/include/ros/io.h
+usr/include/ros/master.h
+usr/include/ros/message.h
+usr/include/ros/message_deserializer.h
+usr/include/ros/names.h
+usr/include/ros/network.h
+usr/include/ros/node_handle.h
+usr/include/ros/param.h
+usr/include/ros/parameter_adapter.h
+usr/include/ros/poll_manager.h
+usr/include/ros/poll_set.h
+usr/include/ros/publication.h
+usr/include/ros/publisher.h
+usr/include/ros/publisher_link.h
+usr/include/ros/ros.h
+usr/include/ros/rosout_appender.h
+usr/include/ros/service.h
+usr/include/ros/service_callback_helper.h
+usr/include/ros/service_client.h
+usr/include/ros/service_client_link.h
+usr/include/ros/service_client_options.h
+usr/include/ros/service_manager.h
+usr/include/ros/service_publication.h
+usr/include/ros/service_server.h
+usr/include/ros/service_server_link.h
+usr/include/ros/single_subscriber_publisher.h
+usr/include/ros/spinner.h
+usr/include/ros/statistics.h
+usr/include/ros/subscribe_options.h
+usr/include/ros/subscriber.h
+usr/include/ros/subscriber_link.h
+usr/include/ros/subscription.h
+usr/include/ros/subscription_callback_helper.h
+usr/include/ros/subscription_queue.h
+usr/include/ros/this_node.h
+usr/include/ros/timer.h
+usr/include/ros/timer_manager.h
+usr/include/ros/timer_options.h
+usr/include/ros/topic.h
+usr/include/ros/topic_manager.h
+usr/include/ros/transport_hints.h
+usr/include/ros/transport_publisher_link.h
+usr/include/ros/transport_subscriber_link.h
+usr/include/ros/wall_timer.h
+usr/include/ros/wall_timer_options.h
+usr/include/ros/xmlrpc_manager.h
+usr/lib/libroscpp.so
+usr/lib/pkgconfig/roscpp.pc
+usr/share/roscpp/cmake/roscppConfig*.cmake
diff --git a/debian/libroscpp-msgs-dev.install b/debian/libroscpp-msgs-dev.install
new file mode 100644
index 0000000..dd72086
--- /dev/null
+++ b/debian/libroscpp-msgs-dev.install
@@ -0,0 +1,4 @@
+usr/include/roscpp
+usr/share/roscpp/msg
+usr/share/roscpp/srv
+usr/share/roscpp/cmake/roscpp-msg*
diff --git a/debian/libroscpp0d.install b/debian/libroscpp0d.install
new file mode 100644
index 0000000..cad6362
--- /dev/null
+++ b/debian/libroscpp0d.install
@@ -0,0 +1 @@
+usr/lib/libroscpp.so.*
diff --git a/debian/patches/0006-Add-SONAME-for-roscpp.patch b/debian/patches/0006-Add-SONAME-for-roscpp.patch
new file mode 100644
index 0000000..922ac5a
--- /dev/null
+++ b/debian/patches/0006-Add-SONAME-for-roscpp.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Thu, 11 Dec 2014 14:27:13 +0100
+Subject: Add SONAME for roscpp
+
+---
+ clients/roscpp/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/clients/roscpp/CMakeLists.txt b/clients/roscpp/CMakeLists.txt
+index 252d43f..bbaaecc 100644
+--- a/clients/roscpp/CMakeLists.txt
++++ b/clients/roscpp/CMakeLists.txt
+@@ -115,6 +115,7 @@ add_library(roscpp
+ src/libros/service.cpp
+ src/libros/this_node.cpp
+ )
++set_target_properties(roscpp PROPERTIES VERSION ${roscpp_VERSION} SOVERSION "0d")
+
+ add_dependencies(roscpp roscpp_gencpp rosgraph_msgs_gencpp std_msgs_gencpp)
+
diff --git a/debian/patches/series b/debian/patches/series
index 6041f36..595e4fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
0003-Add-SONAME-to-rosbag_storage.patch
0004-Add-SONAME-to-rosconsole.patch
0005-Add-SONAME-for-xmlrpcpp.patch
+0006-Add-SONAME-for-roscpp.patch
diff --git a/debian/python-roscpp-msgs.pyinstall b/debian/python-roscpp-msgs.pyinstall
new file mode 100644
index 0000000..b546a50
--- /dev/null
+++ b/debian/python-roscpp-msgs.pyinstall
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/python2*/*/roscpp/*.py roscpp
+debian/tmp/usr/lib/python2*/*/roscpp/msg/*.py roscpp.msg
+debian/tmp/usr/lib/python2*/*/roscpp/srv/*.py roscpp.srv
--
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