[ros-image-transport-plugins] 03/03: Added Debian specific SONAME patch
Leopold Palomo-Avellaneda
leo at alaxarxa.net
Mon Nov 6 15:20:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
lepalom-guest pushed a commit to branch master
in repository ros-image-transport-plugins.
commit a3211e1ebbc5df89d454186a798b0af6bca07940
Author: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
Date: Mon Nov 6 16:20:06 2017 +0100
Added Debian specific SONAME patch
---
.../patches/0002-Add-Debian-specific-SONAME.patch | 49 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 50 insertions(+)
diff --git a/debian/patches/0002-Add-Debian-specific-SONAME.patch b/debian/patches/0002-Add-Debian-specific-SONAME.patch
new file mode 100644
index 0000000..24dd75d
--- /dev/null
+++ b/debian/patches/0002-Add-Debian-specific-SONAME.patch
@@ -0,0 +1,49 @@
+From: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Date: Mon, 6 Nov 2017 15:00:28 +0100
+Subject: Add Debian specific SONAME
+
+---
+ compressed_depth_image_transport/CMakeLists.txt | 2 ++
+ compressed_image_transport/CMakeLists.txt | 2 ++
+ theora_image_transport/CMakeLists.txt | 2 ++
+ 3 files changed, 6 insertions(+)
+
+diff --git a/compressed_depth_image_transport/CMakeLists.txt b/compressed_depth_image_transport/CMakeLists.txt
+index 6fe167a..c54e187 100644
+--- a/compressed_depth_image_transport/CMakeLists.txt
++++ b/compressed_depth_image_transport/CMakeLists.txt
+@@ -21,6 +21,8 @@ catkin_package(
+ include_directories(include ${catkin_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS})
+
+ add_library(${PROJECT_NAME} src/compressed_depth_publisher.cpp src/compressed_depth_subscriber.cpp src/manifest.cpp src/codec.cpp)
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION} PROPERTIES SOVERSION "0d")
++
+ add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencfg)
+ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
+
+diff --git a/compressed_image_transport/CMakeLists.txt b/compressed_image_transport/CMakeLists.txt
+index a2e26ae..579755e 100644
+--- a/compressed_image_transport/CMakeLists.txt
++++ b/compressed_image_transport/CMakeLists.txt
+@@ -17,6 +17,8 @@ catkin_package(
+ include_directories(include ${catkin_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS})
+
+ add_library(${PROJECT_NAME} src/compressed_publisher.cpp src/compressed_subscriber.cpp src/manifest.cpp)
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION} PROPERTIES SOVERSION "0d")
++
+ add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencfg)
+ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
+
+diff --git a/theora_image_transport/CMakeLists.txt b/theora_image_transport/CMakeLists.txt
+index 355149a..04556ba 100644
+--- a/theora_image_transport/CMakeLists.txt
++++ b/theora_image_transport/CMakeLists.txt
+@@ -44,6 +44,8 @@ add_definitions(${PC_OGG_CFLAGS_OTHER}
+ )
+
+ add_library(${PROJECT_NAME} src/theora_publisher.cpp src/theora_subscriber.cpp src/manifest.cpp)
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION} PROPERTIES SOVERSION "0d")
++
+ add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencfg ${PROJECT_NAME}_gencpp)
+ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES}
+ ${OpenCV_LIBRARIES}
diff --git a/debian/patches/series b/debian/patches/series
index 6e9def9..b90f15c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Add-CMakeLists.txt.patch
+0002-Add-Debian-specific-SONAME.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-image-transport-plugins.git
More information about the debian-science-commits
mailing list