[ros-gazebo-ros-pkgs] 01/01: Initial Debianization

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Tue Dec 29 20:43:31 UTC 2015


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

jspricke-guest pushed a commit to branch master
in repository ros-gazebo-ros-pkgs.

commit 83b9712dc306fa0c445c7259cc70296baf3e8b9b
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Tue Dec 29 14:44:55 2015 +0100

    Initial Debianization
---
 debian/changelog                                   |   5 +
 debian/cl-gazebo-msgs.install                      |   1 +
 debian/compat                                      |   1 +
 debian/control                                     |  99 ++++++++++
 debian/copyright                                   |  38 ++++
 debian/libgazebo-msgs-dev.install                  |   3 +
 debian/libgazebo-plugins-dev.install               |  36 ++++
 debian/libgazebo-plugins0d.install                 |  33 ++++
 debian/libgazebo-ros-control-dev.install           |   5 +
 debian/libgazebo-ros-control0d.install             |   3 +
 debian/libgazebo-ros-dev.install                   |   6 +
 debian/libgazebo-ros0d.install                     |   4 +
 debian/patches/0001-Add-CMakeLists.txt.patch       |  21 +++
 .../patches/0002-Add-Debian-specific-SONAMEs.patch | 199 +++++++++++++++++++++
 debian/patches/series                              |   2 +
 debian/python-gazebo-msgs.pyinstall                |   3 +
 debian/python-gazebo-plugins.pyinstall             |   2 +
 debian/python-gazebo-ros.pyinstall                 |   2 +
 debian/rules                                       |   9 +
 debian/source/format                               |   1 +
 debian/watch                                       |   7 +
 21 files changed, 480 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5feb0d1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ros-gazebo-ros-pkgs (2.5.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Jochen Sprickerhof <debian at jochen.sprickerhof.de>  Sat, 26 Dec 2015 15:18:05 +0100
diff --git a/debian/cl-gazebo-msgs.install b/debian/cl-gazebo-msgs.install
new file mode 100644
index 0000000..dda27fc
--- /dev/null
+++ b/debian/cl-gazebo-msgs.install
@@ -0,0 +1 @@
+usr/share/common-lisp
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c00e0cf
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,99 @@
+Source: ros-gazebo-ros-pkgs
+Section: libdevel
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Thomas Moulard <thomas.moulard at gmail.com>,
+           Jochen Sprickerhof <debian at jochen.sprickerhof.de>,
+           Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Build-Depends: debhelper (>= 9), catkin (>> 0.6.16-2), ros-message-generation, libstd-msgs-dev, python-all (>= 2.6.6-3), python-setuptools (>= 0.6b3), dh-python
+Standards-Version: 3.9.6
+Homepage: http://wiki.ros.org/gazebo_ros_pkgs
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/ros/ros-gazebo-ros-pkgs.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/ros/ros-gazebo-ros-pkgs.git
+
+Package: libgazebo-msgs-dev
+Section: libdevel
+Architecture: all
+Depends: ${misc:Depends}, ros-message-runtime
+Description: C/C++ headers for gazebo_msgs Robot OS Messages
+ This package is part of Robot OS (ROS). Message and service data structures
+ for interacting with Gazebo from ROS.
+
+Package: python-gazebo-msgs
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python code for gazebo_msgs Robot OS Messages
+ This package is part of Robot OS (ROS). Message and service data structures
+ for interacting with Gazebo from ROS.
+ .
+ This package contains the generated Python package.
+
+Package: cl-gazebo-msgs
+Section: lisp
+Architecture: all
+Depends: ${misc:Depends}
+Description: LISP code for gazebo_msgs Robot OS Messages
+ This package is part of Robot OS (ROS). Message and service data structures
+ for interacting with Gazebo from ROS.
+ .
+ This package contains the generated LISP library.
+
+Package: libgazebo-plugins-dev
+Section: libdevel
+Architecture: any
+Depends: libgazebo-plugins0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for gazebo_plugins (Robot OS)
+ This package is part of Robot OS (ROS). Robot-independent Gazebo plugins for
+ sensors, motors and dynamic reconfigurable components.
+
+Package: libgazebo-plugins0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: runtime files for gazebo_plugins (Robot OS)
+ This package is part of Robot OS (ROS). Robot-independent Gazebo plugins for
+ sensors, motors and dynamic reconfigurable components.
+
+Package: python-gazebo-plugins
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python files for gazebo_plugins (Robot OS)
+ This package is part of Robot OS (ROS). Robot-independent Gazebo plugins for
+ sensors, motors and dynamic reconfigurable components.
+
+Package: libgazebo-ros-dev
+Section: libdevel
+Architecture: any
+Depends: libgazebo-ros0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for gazebo_ros (Robot OS)
+ This package is part of Robot OS (ROS). Provides ROS plugins that offer
+ message and service publishers for interfacing with Gazebo through ROS.
+
+Package: libgazebo-ros0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: runtime files for gazebo_ros (Robot OS)
+ This package is part of Robot OS (ROS). Provides ROS plugins that offer
+ message and service publishers for interfacing with Gazebo through ROS.
+
+Package: python-gazebo-ros
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Python files for gazebo_ros (Robot OS)
+ This package is part of Robot OS (ROS). Provides ROS plugins that offer
+ message and service publishers for interfacing with Gazebo through ROS.
+
+Package: libgazebo-ros-control-dev
+Section: libdevel
+Architecture: any
+Depends: libgazebo-ros-control0d (= ${binary:Version}), ${misc:Depends}
+Description: development files for gazebo_ros_control (Robot OS)
+ This package is part of Robot OS (ROS).
+
+Package: libgazebo-ros-control0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: runtime files for gazebo_ros_control (Robot OS)
+ This package is part of Robot OS (ROS).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..eabd3ef
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ros-gazebo-ros-pkgs
+Source: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: <special license>
+ <Put the license of the package here indented by 1 space>
+ <This follows the format of Description: lines in control file>
+ .
+ <Including paragraphs>
+
+# If you want to use GPL v2 or later for the /debian/* files use 
+# the following clauses, or change it to suit. Delete these two lines
+Files: debian/*
+Copyright: 2015 Jochen Sprickerhof <debian at jochen.sprickerhof.de>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid picking licenses with terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/libgazebo-msgs-dev.install b/debian/libgazebo-msgs-dev.install
new file mode 100644
index 0000000..830c6e2
--- /dev/null
+++ b/debian/libgazebo-msgs-dev.install
@@ -0,0 +1,3 @@
+usr/include/gazebo_msgs
+usr/lib/*/pkgconfig/gazebo_msgs.pc usr/lib/pkgconfig
+usr/share/gazebo_msgs
diff --git a/debian/libgazebo-plugins-dev.install b/debian/libgazebo-plugins-dev.install
new file mode 100644
index 0000000..754af6a
--- /dev/null
+++ b/debian/libgazebo-plugins-dev.install
@@ -0,0 +1,36 @@
+usr/include/gazebo_plugins
+usr/lib/*/gazebo_plugins
+usr/lib/*/libgazebo_ros_block_laser.so
+usr/lib/*/libgazebo_ros_bumper.so
+usr/lib/*/libgazebo_ros_camera.so
+usr/lib/*/libgazebo_ros_camera_utils.so
+usr/lib/*/libgazebo_ros_depth_camera.so
+usr/lib/*/libgazebo_ros_diff_drive.so
+usr/lib/*/libgazebo_ros_elevator.so
+usr/lib/*/libgazebo_ros_f3d.so
+usr/lib/*/libgazebo_ros_force.so
+usr/lib/*/libgazebo_ros_ft_sensor.so
+usr/lib/*/libgazebo_ros_gpu_laser.so
+usr/lib/*/libgazebo_ros_hand_of_god.so
+usr/lib/*/libgazebo_ros_imu.so
+usr/lib/*/libgazebo_ros_joint_pose_trajectory.so
+usr/lib/*/libgazebo_ros_joint_state_publisher.so
+usr/lib/*/libgazebo_ros_joint_trajectory.so
+usr/lib/*/libgazebo_ros_laser.so
+usr/lib/*/libgazebo_ros_multicamera.so
+usr/lib/*/libgazebo_ros_openni_kinect.so
+usr/lib/*/libgazebo_ros_p3d.so
+usr/lib/*/libgazebo_ros_planar_move.so
+usr/lib/*/libgazebo_ros_projector.so
+usr/lib/*/libgazebo_ros_prosilica.so
+usr/lib/*/libgazebo_ros_range.so
+usr/lib/*/libgazebo_ros_skid_steer_drive.so
+usr/lib/*/libgazebo_ros_template.so
+usr/lib/*/libgazebo_ros_tricycle_drive.so
+usr/lib/*/libgazebo_ros_utils.so
+usr/lib/*/libgazebo_ros_video.so
+usr/lib/*/libMultiCameraPlugin.so
+usr/lib/*/libvision_reconfigure.so
+usr/lib/*/pkgconfig/gazebo_plugins.pc
+usr/share/gazebo_plugins/cmake
+usr/share/gazebo_plugins/package.xml
diff --git a/debian/libgazebo-plugins0d.install b/debian/libgazebo-plugins0d.install
new file mode 100644
index 0000000..112f893
--- /dev/null
+++ b/debian/libgazebo-plugins0d.install
@@ -0,0 +1,33 @@
+usr/lib/*/libgazebo_ros_block_laser.so.*
+usr/lib/*/libgazebo_ros_bumper.so.*
+usr/lib/*/libgazebo_ros_camera.so.*
+usr/lib/*/libgazebo_ros_camera_utils.so.*
+usr/lib/*/libgazebo_ros_depth_camera.so.*
+usr/lib/*/libgazebo_ros_diff_drive.so.*
+usr/lib/*/libgazebo_ros_elevator.so.*
+usr/lib/*/libgazebo_ros_f3d.so.*
+usr/lib/*/libgazebo_ros_force.so.*
+usr/lib/*/libgazebo_ros_ft_sensor.so.*
+usr/lib/*/libgazebo_ros_gpu_laser.so.*
+usr/lib/*/libgazebo_ros_hand_of_god.so.*
+usr/lib/*/libgazebo_ros_imu.so.*
+usr/lib/*/libgazebo_ros_joint_pose_trajectory.so.*
+usr/lib/*/libgazebo_ros_joint_state_publisher.so.*
+usr/lib/*/libgazebo_ros_joint_trajectory.so.*
+usr/lib/*/libgazebo_ros_laser.so.*
+usr/lib/*/libgazebo_ros_multicamera.so.*
+usr/lib/*/libgazebo_ros_openni_kinect.so.*
+usr/lib/*/libgazebo_ros_p3d.so.*
+usr/lib/*/libgazebo_ros_planar_move.so.*
+usr/lib/*/libgazebo_ros_projector.so.*
+usr/lib/*/libgazebo_ros_prosilica.so.*
+usr/lib/*/libgazebo_ros_range.so.*
+usr/lib/*/libgazebo_ros_skid_steer_drive.so.*
+usr/lib/*/libgazebo_ros_template.so.*
+usr/lib/*/libgazebo_ros_tricycle_drive.so.*
+usr/lib/*/libgazebo_ros_utils.so.*
+usr/lib/*/libgazebo_ros_video.so.*
+usr/lib/*/libMultiCameraPlugin.so.*
+usr/lib/*/libvision_reconfigure.so.*
+usr/share/gazebo_plugins/Media
+usr/share/gazebo_plugins/test
diff --git a/debian/libgazebo-ros-control-dev.install b/debian/libgazebo-ros-control-dev.install
new file mode 100644
index 0000000..d3beec0
--- /dev/null
+++ b/debian/libgazebo-ros-control-dev.install
@@ -0,0 +1,5 @@
+usr/include/gazebo_ros_control
+usr/lib/*/libgazebo_ros_control.so
+usr/lib/*/pkgconfig/gazebo_ros_control.pc
+usr/share/gazebo_ros_control/cmake
+usr/share/gazebo_ros_control/package.xml
diff --git a/debian/libgazebo-ros-control0d.install b/debian/libgazebo-ros-control0d.install
new file mode 100644
index 0000000..ea9d8af
--- /dev/null
+++ b/debian/libgazebo-ros-control0d.install
@@ -0,0 +1,3 @@
+usr/lib/*/libgazebo_ros_control.so.*
+usr/lib/*/libdefault_robot_hw_sim.so
+usr/share/gazebo_ros_control/robot_hw_sim_plugins.xml
diff --git a/debian/libgazebo-ros-dev.install b/debian/libgazebo-ros-dev.install
new file mode 100644
index 0000000..6327265
--- /dev/null
+++ b/debian/libgazebo-ros-dev.install
@@ -0,0 +1,6 @@
+usr/include/gazebo_ros
+usr/lib/*/libgazebo_ros_api_plugin.so
+usr/lib/*/libgazebo_ros_paths_plugin.so
+usr/lib/*/pkgconfig/gazebo_ros.pc
+usr/share/gazebo_ros/cmake
+usr/share/gazebo_ros/package.xml
diff --git a/debian/libgazebo-ros0d.install b/debian/libgazebo-ros0d.install
new file mode 100644
index 0000000..1f9ee2f
--- /dev/null
+++ b/debian/libgazebo-ros0d.install
@@ -0,0 +1,4 @@
+usr/lib/*/libgazebo_ros_api_plugin.so.*
+usr/lib/*/libgazebo_ros_paths_plugin.so.*
+usr/lib/*/gazebo_ros
+usr/share/gazebo_ros/launch
diff --git a/debian/patches/0001-Add-CMakeLists.txt.patch b/debian/patches/0001-Add-CMakeLists.txt.patch
new file mode 100644
index 0000000..5e4a2b3
--- /dev/null
+++ b/debian/patches/0001-Add-CMakeLists.txt.patch
@@ -0,0 +1,21 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Sat, 26 Dec 2015 18:48:46 +0100
+Subject: Add CMakeLists.txt
+
+---
+ CMakeLists.txt | 6 ++++++
+ 1 file changed, 6 insertions(+)
+ create mode 100644 CMakeLists.txt
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+new file mode 100644
+index 0000000..4b66831
+--- /dev/null
++++ b/CMakeLists.txt
+@@ -0,0 +1,6 @@
++cmake_minimum_required(VERSION 2.8.3)
++project(gazebo-ros-pkgs)
++add_subdirectory(gazebo_msgs)
++add_subdirectory(gazebo_plugins)
++add_subdirectory(gazebo_ros)
++add_subdirectory(gazebo_ros_control)
diff --git a/debian/patches/0002-Add-Debian-specific-SONAMEs.patch b/debian/patches/0002-Add-Debian-specific-SONAMEs.patch
new file mode 100644
index 0000000..8138829
--- /dev/null
+++ b/debian/patches/0002-Add-Debian-specific-SONAMEs.patch
@@ -0,0 +1,199 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Mon, 28 Dec 2015 17:14:40 +0100
+Subject: Add Debian specific SONAMEs
+
+---
+ gazebo_plugins/CMakeLists.txt     | 31 +++++++++++++++++++++++++++++++
+ gazebo_ros/CMakeLists.txt         |  2 ++
+ gazebo_ros_control/CMakeLists.txt |  1 +
+ 3 files changed, 34 insertions(+)
+
+diff --git a/gazebo_plugins/CMakeLists.txt b/gazebo_plugins/CMakeLists.txt
+index 533c65f..6f78e07 100644
+--- a/gazebo_plugins/CMakeLists.txt
++++ b/gazebo_plugins/CMakeLists.txt
+@@ -146,10 +146,12 @@ target_link_libraries(hokuyo_node
+ 
+ add_library(gazebo_ros_utils src/gazebo_ros_utils.cpp)
+ target_link_libraries(gazebo_ros_utils ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_utils PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(vision_reconfigure src/vision_reconfigure.cpp)
+ add_dependencies(vision_reconfigure ${PROJECT_NAME}_gencfg)
+ target_link_libraries(vision_reconfigure ${catkin_LIBRARIES})
++set_target_properties(vision_reconfigure PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_executable(camera_synchronizer src/camera_synchronizer.cpp)
+ add_dependencies(camera_synchronizer ${PROJECT_NAME}_gencfg)
+@@ -165,67 +167,85 @@ add_definitions(-fPIC) # what is this for?
+ add_library(gazebo_ros_camera_utils src/gazebo_ros_camera_utils.cpp)
+ add_dependencies(gazebo_ros_camera_utils ${PROJECT_NAME}_gencfg)
+ target_link_libraries(gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_camera_utils PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(MultiCameraPlugin src/MultiCameraPlugin.cpp)
+ target_link_libraries(MultiCameraPlugin ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(MultiCameraPlugin PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_camera src/gazebo_ros_camera.cpp)
+ add_dependencies(gazebo_ros_camera ${PROJECT_NAME}_gencfg)
+ target_link_libraries(gazebo_ros_camera gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} CameraPlugin ${catkin_LIBRARIES})
++set_target_properties(gazebo_ros_camera PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ if (GAZEBO_VERSION VERSION_GREATER 6.0 OR GAZEBO_VERSION VERSION_EQUAL 6.0)
+   add_library(gazebo_ros_elevator src/gazebo_ros_elevator.cpp)
+   add_dependencies(gazebo_ros_elevator ${PROJECT_NAME}_gencfg)
+   target_link_libraries(gazebo_ros_elevator ${GAZEBO_LIBRARIES} ElevatorPlugin ${catkin_LIBRARIES})
++  set_target_properties(gazebo_ros_elevator PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ endif()
+ 
+ add_library(gazebo_ros_multicamera src/gazebo_ros_multicamera.cpp)
+ add_dependencies(gazebo_ros_multicamera ${PROJECT_NAME}_gencfg)
+ target_link_libraries(gazebo_ros_multicamera gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} MultiCameraPlugin ${catkin_LIBRARIES})
++set_target_properties(gazebo_ros_multicamera PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_depth_camera src/gazebo_ros_depth_camera.cpp)
+ add_dependencies(gazebo_ros_depth_camera ${PROJECT_NAME}_gencfg)
+ target_link_libraries(gazebo_ros_depth_camera gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} DepthCameraPlugin ${catkin_LIBRARIES})
++set_target_properties(gazebo_ros_depth_camera PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_openni_kinect src/gazebo_ros_openni_kinect.cpp)
+ add_dependencies(gazebo_ros_openni_kinect ${PROJECT_NAME}_gencfg)
+ target_link_libraries(gazebo_ros_openni_kinect gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} DepthCameraPlugin ${catkin_LIBRARIES})
++set_target_properties(gazebo_ros_openni_kinect PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_gpu_laser src/gazebo_ros_gpu_laser.cpp)
+ target_link_libraries(gazebo_ros_gpu_laser ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES} GpuRayPlugin)
++set_target_properties(gazebo_ros_gpu_laser PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_laser src/gazebo_ros_laser.cpp)
+ target_link_libraries(gazebo_ros_laser ${GAZEBO_LIBRARIES} RayPlugin ${catkin_LIBRARIES})
++set_target_properties(gazebo_ros_laser PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_block_laser src/gazebo_ros_block_laser.cpp)
+ target_link_libraries(gazebo_ros_block_laser ${GAZEBO_LIBRARIES} RayPlugin ${catkin_LIBRARIES})
++set_target_properties(gazebo_ros_block_laser PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_p3d src/gazebo_ros_p3d.cpp)
+ target_link_libraries(gazebo_ros_p3d ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_p3d PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_imu src/gazebo_ros_imu.cpp)
+ target_link_libraries(gazebo_ros_imu ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_imu PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_f3d src/gazebo_ros_f3d.cpp)
+ target_link_libraries(gazebo_ros_f3d ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_f3d PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_bumper src/gazebo_ros_bumper.cpp)
+ add_dependencies(gazebo_ros_bumper gazebo_msgs_gencpp)
+ target_link_libraries(gazebo_ros_bumper ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES} ContactPlugin ${catkin_LIBRARIES})
++set_target_properties(gazebo_ros_bumper PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_projector src/gazebo_ros_projector.cpp)
+ target_link_libraries(gazebo_ros_projector ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES} ${catkin_LIBRARIES})
++set_target_properties(gazebo_ros_projector PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_prosilica src/gazebo_ros_prosilica.cpp)
+ add_dependencies(gazebo_ros_prosilica ${PROJECT_NAME}_gencfg)
+ target_link_libraries(gazebo_ros_prosilica gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} CameraPlugin ${catkin_LIBRARIES})
++set_target_properties(gazebo_ros_prosilica PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_force src/gazebo_ros_force.cpp)
+ target_link_libraries(gazebo_ros_force ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_force PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_joint_trajectory src/gazebo_ros_joint_trajectory.cpp)
+ add_dependencies(gazebo_ros_joint_trajectory gazebo_msgs_gencpp)
+ target_link_libraries(gazebo_ros_joint_trajectory ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_joint_trajectory PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ 
+ add_library(gazebo_ros_joint_state_publisher src/gazebo_ros_joint_state_publisher.cpp)
+@@ -233,36 +253,46 @@ set_target_properties(gazebo_ros_joint_state_publisher PROPERTIES LINK_FLAGS "${
+ set_target_properties(gazebo_ros_joint_state_publisher PROPERTIES COMPILE_FLAGS "${cxx_flags}")
+ add_dependencies(gazebo_ros_joint_state_publisher gazebo_msgs_gencpp)
+ target_link_libraries(gazebo_ros_joint_state_publisher ${GAZEBO_LIBRARIES} ${SDFormat_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_joint_state_publisher PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_joint_pose_trajectory src/gazebo_ros_joint_pose_trajectory.cpp)
+ add_dependencies(gazebo_ros_joint_pose_trajectory gazebo_msgs_gencpp)
+ target_link_libraries(gazebo_ros_joint_pose_trajectory ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_joint_pose_trajectory PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_diff_drive src/gazebo_ros_diff_drive.cpp)
+ target_link_libraries(gazebo_ros_diff_drive gazebo_ros_utils ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_diff_drive PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_tricycle_drive src/gazebo_ros_tricycle_drive.cpp)
+ target_link_libraries(gazebo_ros_tricycle_drive gazebo_ros_utils ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES} ${catkin_LIBRARIES})
++set_target_properties(gazebo_ros_tricycle_drive PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_skid_steer_drive src/gazebo_ros_skid_steer_drive.cpp)
+ target_link_libraries(gazebo_ros_skid_steer_drive ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_skid_steer_drive PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_video src/gazebo_ros_video.cpp)
+ target_link_libraries(gazebo_ros_video ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${OGRE_LIBRARIES})
++set_target_properties(gazebo_ros_video PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_planar_move src/gazebo_ros_planar_move.cpp)
+ target_link_libraries(gazebo_ros_planar_move ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_planar_move PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_hand_of_god src/gazebo_ros_hand_of_god.cpp)
+ set_target_properties(gazebo_ros_hand_of_god PROPERTIES LINK_FLAGS "${ld_flags}")
+ set_target_properties(gazebo_ros_hand_of_god PROPERTIES COMPILE_FLAGS "${cxx_flags}")
+ target_link_libraries(gazebo_ros_hand_of_god ${GAZEBO_LIBRARIES} ${SDFormat_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_hand_of_god PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_ft_sensor src/gazebo_ros_ft_sensor.cpp)
+ target_link_libraries(gazebo_ros_ft_sensor ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_ft_sensor PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_range src/gazebo_ros_range.cpp)
+ target_link_libraries(gazebo_ros_range ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES} RayPlugin)
++set_target_properties(gazebo_ros_range PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ ##
+ ## Add your new plugin here
+@@ -271,6 +301,7 @@ target_link_libraries(gazebo_ros_range ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES} $
+ ## Template
+ add_library(gazebo_ros_template src/gazebo_ros_template.cpp)
+ target_link_libraries(gazebo_ros_template ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_template PROPERTIES VERSION ${gazebo_plugins_VERSION} SOVERSION "0d")
+ 
+ install(TARGETS 
+   hokuyo_node 
+diff --git a/gazebo_ros/CMakeLists.txt b/gazebo_ros/CMakeLists.txt
+index 502686d..e514c2f 100644
+--- a/gazebo_ros/CMakeLists.txt
++++ b/gazebo_ros/CMakeLists.txt
+@@ -73,12 +73,14 @@ add_dependencies(gazebo_ros_api_plugin gazebo_msgs_gencpp ${PROJECT_NAME}_gencfg
+ set_target_properties(gazebo_ros_api_plugin PROPERTIES LINK_FLAGS "${ld_flags}")
+ set_target_properties(gazebo_ros_api_plugin PROPERTIES COMPILE_FLAGS "${cxx_flags}")
+ target_link_libraries(gazebo_ros_api_plugin ${GAZEBO_LIBRARIES} ${SDFormat_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${TinyXML_LIBRARIES})
++set_target_properties(gazebo_ros_api_plugin PROPERTIES VERSION ${gazebo_ros_VERSION} SOVERSION "0d")
+ 
+ add_library(gazebo_ros_paths_plugin src/gazebo_ros_paths_plugin.cpp)
+ add_dependencies(gazebo_ros_paths_plugin gazebo_msgs_gencpp ${PROJECT_NAME}_gencfg) # wait for gazebo_msgs to be built
+ set_target_properties(gazebo_ros_paths_plugin PROPERTIES COMPILE_FLAGS "${cxx_flags}")
+ set_target_properties(gazebo_ros_paths_plugin PROPERTIES LINK_FLAGS "${ld_flags}")
+ target_link_libraries(gazebo_ros_paths_plugin ${GAZEBO_LIBRARIES} ${SDFormat_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
++set_target_properties(gazebo_ros_paths_plugin PROPERTIES VERSION ${gazebo_ros_VERSION} SOVERSION "0d")
+ 
+ # Install Gazebo System Plugins
+ install(TARGETS gazebo_ros_api_plugin gazebo_ros_paths_plugin
+diff --git a/gazebo_ros_control/CMakeLists.txt b/gazebo_ros_control/CMakeLists.txt
+index 75145c9..5e9970c 100644
+--- a/gazebo_ros_control/CMakeLists.txt
++++ b/gazebo_ros_control/CMakeLists.txt
+@@ -40,6 +40,7 @@ include_directories(include
+ ## Libraries
+ add_library(${PROJECT_NAME} src/gazebo_ros_control_plugin.cpp)
+ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES})
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${gazebo_ros_control_VERSION} SOVERSION "0d")
+ 
+ add_library(default_robot_hw_sim src/default_robot_hw_sim.cpp)
+ target_link_libraries(default_robot_hw_sim ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES})
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c4a5f1f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Add-CMakeLists.txt.patch
+0002-Add-Debian-specific-SONAMEs.patch
diff --git a/debian/python-gazebo-msgs.pyinstall b/debian/python-gazebo-msgs.pyinstall
new file mode 100644
index 0000000..77f07ca
--- /dev/null
+++ b/debian/python-gazebo-msgs.pyinstall
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/python2.7/dist-packages/gazebo_msgs/*.py gazebo_msgs
+debian/tmp/usr/lib/python2.7/dist-packages/gazebo_msgs/msg/*.py gazebo_msgs.msg
+debian/tmp/usr/lib/python2.7/dist-packages/gazebo_msgs/srv/*.py gazebo_msgs.srv
diff --git a/debian/python-gazebo-plugins.pyinstall b/debian/python-gazebo-plugins.pyinstall
new file mode 100644
index 0000000..0fbac52
--- /dev/null
+++ b/debian/python-gazebo-plugins.pyinstall
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/python2.7/dist-packages/gazebo_plugins/*.py gazebo_plugins
+debian/tmp/usr/lib/python2.7/dist-packages/gazebo_plugins/cfg/*.py gazebo_plugins.cfg
diff --git a/debian/python-gazebo-ros.pyinstall b/debian/python-gazebo-ros.pyinstall
new file mode 100644
index 0000000..011228b
--- /dev/null
+++ b/debian/python-gazebo-ros.pyinstall
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/python2.7/dist-packages/gazebo_ros/*.py gazebo_ros
+debian/tmp/usr/lib/python2.7/dist-packages/gazebo_ros/cfg/*.py gazebo_ros.cfg
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e4d7575
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+%:
+	dh $@ --parallel --buildsystem=cmake --with python2
+
+get-orig-source:
+	uscan --verbose --force-download --repack --compress xz
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..fa51e31
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+# Watch control file for uscan
+# Compulsory line, this is a version 3 file
+version=3
+# For GitHub projects you can use the tags page:
+
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/gazebo_ros_pkgs-$1\.tar\.gz/ \
+  https://github.com/ros-simulation/gazebo_ros_pkgs/releases .*/v?(\d\S*)\.tar\.gz

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



More information about the debian-science-commits mailing list