[roscpp-core] 02/02: Add packaging for rostime

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Fri Dec 12 13:41:09 UTC 2014


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

jspricke-guest pushed a commit to branch master
in repository roscpp-core.

commit d070c96797d2998d49e99ca849f7b526d812b95b
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Fri Dec 12 14:40:13 2014 +0100

    Add packaging for rostime
---
 debian/control                                   | 10 +++++++++-
 debian/librostime0d.install                      |  1 +
 debian/patches/0004-Add-SONAME-for-rostime.patch | 20 ++++++++++++++++++++
 debian/patches/series                            |  1 +
 4 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 1ff2894..ce58384 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,7 @@ Homepage: http://www.ros.org/wiki/ROS
 Package: libroscpp-core-dev
 Section: libdevel
 Architecture: any
-Depends: libcpp-common0d (= ${binary:Version}), ${misc:Depends}
+Depends: libcpp-common0d (= ${binary:Version}), libroscpp-serialization0d (= ${binary:Version}), librostime0d (= ${binary:Version}), ${misc:Depends}
 Description: development files for roscpp-core
  roscpp_core is an underlying library for support roscpp message data types. It
  is a lightweight/minimal library that can easily be used in non-ROS-based
@@ -47,3 +47,11 @@ Description: library for roscpp_serialization
  MessagesSerializationAndAdaptingTypes. This package is a component of roscpp.
  .
  This package contains the library.
+
+Package: librostime0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: library for rostime
+ Time and Duration implementations for C++ libraries, including roscpp.
+ .
+ This package contains the library.
diff --git a/debian/librostime0d.install b/debian/librostime0d.install
new file mode 100644
index 0000000..40da677
--- /dev/null
+++ b/debian/librostime0d.install
@@ -0,0 +1 @@
+usr/lib/librostime.so.*
diff --git a/debian/patches/0004-Add-SONAME-for-rostime.patch b/debian/patches/0004-Add-SONAME-for-rostime.patch
new file mode 100644
index 0000000..f73f589
--- /dev/null
+++ b/debian/patches/0004-Add-SONAME-for-rostime.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Fri, 12 Dec 2014 14:33:28 +0100
+Subject: Add SONAME for rostime
+
+---
+ rostime/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/rostime/CMakeLists.txt b/rostime/CMakeLists.txt
+index 7ecc67f..af6b777 100644
+--- a/rostime/CMakeLists.txt
++++ b/rostime/CMakeLists.txt
+@@ -16,6 +16,7 @@ add_library(rostime
+   src/duration.cpp
+   src/rate.cpp
+   src/time.cpp)
++set_target_properties(rostime PROPERTIES VERSION ${rostime_VERSION} SOVERSION "0d")
+ 
+ target_link_libraries(rostime ${Boost_LIBRARIES})
+ if(NOT APPLE)
diff --git a/debian/patches/series b/debian/patches/series
index 9b05417..74b9dbf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-Add-CMakeLists.txt.patch
 0002-Add-Debian-specific-SOVERSION-to-cpp_common.patch
 0003-Add-SONAME-for-roscpp_serialization.patch
+0004-Add-SONAME-for-rostime.patch

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



More information about the debian-science-commits mailing list