[ros-image-common] 01/05: Add python-camera-calibration-parsers
Jochen Sprickerhof
jspricke-guest at moszumanska.debian.org
Tue Jan 19 22:18:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
jspricke-guest pushed a commit to branch patch-queue/master
in repository ros-image-common.
commit 5777ea2f0a0116f2833746b937463337af801114
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date: Tue Jan 19 17:50:53 2016 +0100
Add python-camera-calibration-parsers
Add patch to install .so as well
---
debian/control | 10 ++++++++++
...install-target-for-python-wrapper-library.patch | 23 ++++++++++++++++++++++
debian/patches/series | 1 +
debian/python-camera-calibration-parsers.pyinstall | 2 ++
4 files changed, 36 insertions(+)
diff --git a/debian/control b/debian/control
index 5da471e..a2e5229 100644
--- a/debian/control
+++ b/debian/control
@@ -27,6 +27,16 @@ Description: Robot OS camera_calibration_parsers package
This package is part of Robot OS (ROS). It provides routines for
reading and writing camera calibration parameters.
+Package: python-camera-calibration-parsers
+Section: python
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Robot OS camera_calibration_parsers Python package
+ This package is part of Robot OS (ROS). It provides routines for
+ reading and writing camera calibration parameters.
+ .
+ This package contains the Python wrapper.
+
Package: libcamera-info-manager-dev
Section: libdevel
Architecture: any
diff --git a/debian/patches/0004-Add-install-target-for-python-wrapper-library.patch b/debian/patches/0004-Add-install-target-for-python-wrapper-library.patch
new file mode 100644
index 0000000..35edd47
--- /dev/null
+++ b/debian/patches/0004-Add-install-target-for-python-wrapper-library.patch
@@ -0,0 +1,23 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Tue, 19 Jan 2016 16:27:27 +0100
+Subject: Add install target for python wrapper library
+
+---
+ camera_calibration_parsers/CMakeLists.txt | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/camera_calibration_parsers/CMakeLists.txt b/camera_calibration_parsers/CMakeLists.txt
+index b3c75eb..2848103 100644
+--- a/camera_calibration_parsers/CMakeLists.txt
++++ b/camera_calibration_parsers/CMakeLists.txt
+@@ -71,6 +71,10 @@ install(
+ DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
+ )
+
++install(TARGETS ${PROJECT_NAME}_wrapper
++ DESTINATION ${CATKIN_PACKAGE_PYTHON_DESTINATION}
++)
++
+ if(CATKIN_ENABLE_TESTING)
+ add_subdirectory(test)
+ endif()
diff --git a/debian/patches/series b/debian/patches/series
index b1e80f1..af6d009 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-Add-CMakeLists.txt.patch
0002-Add-Debian-specific-SOVERSION.patch
0003-Fix-Boost-library-linking.patch
+0004-Add-install-target-for-python-wrapper-library.patch
diff --git a/debian/python-camera-calibration-parsers.pyinstall b/debian/python-camera-calibration-parsers.pyinstall
new file mode 100644
index 0000000..3869803
--- /dev/null
+++ b/debian/python-camera-calibration-parsers.pyinstall
@@ -0,0 +1,2 @@
+camera_calibration_parsers/src/camera_calibration_parsers/*.py camera_calibration_parsers
+debian/tmp/usr/lib/python2*/*/camera_calibration_parsers/*.so camera_calibration_parsers
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-image-common.git
More information about the debian-science-commits
mailing list