[image-common] 04/04: Add patch for Debian specific SOVERSION
Jochen Sprickerhof
jspricke-guest at moszumanska.debian.org
Tue Aug 4 17:48:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
jspricke-guest pushed a commit to branch master
in repository image-common.
commit 0550c8925617c8790bd2c271541f8f0f766b71c4
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date: Tue Aug 4 19:34:39 2015 +0200
Add patch for Debian specific SOVERSION
---
.../0002-Add-Debian-specific-SOVERSION.patch | 67 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 68 insertions(+)
diff --git a/debian/patches/0002-Add-Debian-specific-SOVERSION.patch b/debian/patches/0002-Add-Debian-specific-SOVERSION.patch
new file mode 100644
index 0000000..d7b120d
--- /dev/null
+++ b/debian/patches/0002-Add-Debian-specific-SOVERSION.patch
@@ -0,0 +1,67 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Tue, 4 Aug 2015 19:23:15 +0200
+Subject: Add Debian specific SOVERSION
+
+---
+ camera_calibration_parsers/CMakeLists.txt | 1 +
+ camera_info_manager/CMakeLists.txt | 1 +
+ image_transport/CMakeLists.txt | 2 ++
+ polled_camera/CMakeLists.txt | 1 +
+ 4 files changed, 5 insertions(+)
+
+diff --git a/camera_calibration_parsers/CMakeLists.txt b/camera_calibration_parsers/CMakeLists.txt
+index 045f8a0..c002f5d 100644
+--- a/camera_calibration_parsers/CMakeLists.txt
++++ b/camera_calibration_parsers/CMakeLists.txt
+@@ -40,6 +40,7 @@ add_library(${PROJECT_NAME}
+ )
+
+ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${YAML_CPP_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${camera_calibration_parsers_VERSION} SOVERSION "0d")
+
+ add_dependencies(${PROJECT_NAME} sensor_msgs_gencpp)
+
+diff --git a/camera_info_manager/CMakeLists.txt b/camera_info_manager/CMakeLists.txt
+index 6212116..2da4b5e 100644
+--- a/camera_info_manager/CMakeLists.txt
++++ b/camera_info_manager/CMakeLists.txt
+@@ -18,6 +18,7 @@ include_directories(include)
+ # add a library
+ add_library(${PROJECT_NAME} src/camera_info_manager.cpp)
+ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${camera_info_manager_VERSION} SOVERSION "0d")
+
+ install(TARGETS ${PROJECT_NAME}
+ DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
+diff --git a/image_transport/CMakeLists.txt b/image_transport/CMakeLists.txt
+index 72a3547..eb95c79 100644
+--- a/image_transport/CMakeLists.txt
++++ b/image_transport/CMakeLists.txt
+@@ -32,6 +32,7 @@ add_library(${PROJECT_NAME}
+ src/subscriber.cpp
+ )
+ add_dependencies(${PROJECT_NAME} sensor_msgs_gencpp)
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${image_transport_VERSION} SOVERSION "0d")
+ target_link_libraries(${PROJECT_NAME}
+ ${Boost_LIBRARIES}
+ ${catkin_LIBRARIES}
+@@ -40,6 +41,7 @@ target_link_libraries(${PROJECT_NAME}
+ # Build libimage_transport_plugins
+ add_library(${PROJECT_NAME}_plugins src/manifest.cpp src/raw_publisher.cpp)
+ target_link_libraries(${PROJECT_NAME}_plugins ${PROJECT_NAME})
++set_target_properties(${PROJECT_NAME}_plugins PROPERTIES VERSION ${image_transport_VERSION} SOVERSION "0d")
+
+ install(TARGETS ${PROJECT_NAME} ${PROJECT_NAME}_plugins
+ DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
+diff --git a/polled_camera/CMakeLists.txt b/polled_camera/CMakeLists.txt
+index 7353223..0e17c40 100644
+--- a/polled_camera/CMakeLists.txt
++++ b/polled_camera/CMakeLists.txt
+@@ -25,6 +25,7 @@ include_directories(include
+ add_library(${PROJECT_NAME} src/publication_server.cpp)
+ add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencpp)
+ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${polled_camera_VERSION} SOVERSION "0d")
+ install(TARGETS ${PROJECT_NAME}
+ DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
+ )
diff --git a/debian/patches/series b/debian/patches/series
index 6e9def9..c0916ef 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Add-CMakeLists.txt.patch
+0002-Add-Debian-specific-SOVERSION.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/image-common.git
More information about the debian-science-commits
mailing list