[roscpp-core] 01/02: Add packageing for roscpp_serialization
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 90d8a7520adbf1ca1c349e4f5d24395387ca14c0
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date: Fri Dec 12 14:32:31 2014 +0100
Add packageing for roscpp_serialization
---
debian/control | 9 +++++++++
debian/libroscpp-serialization0d.install | 1 +
.../0003-Add-SONAME-for-roscpp_serialization.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
4 files changed, 31 insertions(+)
diff --git a/debian/control b/debian/control
index f5701e7..1ff2894 100644
--- a/debian/control
+++ b/debian/control
@@ -38,3 +38,12 @@ Description: library for roscpp-common
backtraces.
.
This package contains the library.
+
+Package: libroscpp-serialization0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: library for roscpp_serialization
+ roscpp_serialization contains the code for serialization as described in
+ MessagesSerializationAndAdaptingTypes. This package is a component of roscpp.
+ .
+ This package contains the library.
diff --git a/debian/libroscpp-serialization0d.install b/debian/libroscpp-serialization0d.install
new file mode 100644
index 0000000..5d90e8a
--- /dev/null
+++ b/debian/libroscpp-serialization0d.install
@@ -0,0 +1 @@
+usr/lib/libroscpp_serialization.so.*
diff --git a/debian/patches/0003-Add-SONAME-for-roscpp_serialization.patch b/debian/patches/0003-Add-SONAME-for-roscpp_serialization.patch
new file mode 100644
index 0000000..0046955
--- /dev/null
+++ b/debian/patches/0003-Add-SONAME-for-roscpp_serialization.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Fri, 12 Dec 2014 14:29:33 +0100
+Subject: Add SONAME for roscpp_serialization
+
+---
+ roscpp_serialization/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/roscpp_serialization/CMakeLists.txt b/roscpp_serialization/CMakeLists.txt
+index 889c989..6a025bc 100644
+--- a/roscpp_serialization/CMakeLists.txt
++++ b/roscpp_serialization/CMakeLists.txt
+@@ -11,6 +11,7 @@ include_directories(include ${catkin_INCLUDE_DIRS})
+ link_directories(${catkin_LIBRARY_DIRS})
+
+ add_library(roscpp_serialization src/serialization.cpp)
++set_target_properties(roscpp_serialization PROPERTIES VERSION ${roscpp_serialization_VERSION} SOVERSION "0d")
+
+ install(TARGETS roscpp_serialization
+ ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
diff --git a/debian/patches/series b/debian/patches/series
index 641bfc4..9b05417 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Add-CMakeLists.txt.patch
0002-Add-Debian-specific-SOVERSION-to-cpp_common.patch
+0003-Add-SONAME-for-roscpp_serialization.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