[ros-opencv-apps] 02/02: Initial debian directory

Leopold Palomo-Avellaneda leo at alaxarxa.net
Sun Oct 23 21:30:17 UTC 2016


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

lepalom-guest pushed a commit to branch master
in repository ros-opencv-apps.

commit 77686dd07888fc2da4548c1d5c4614b0be4b0577
Author: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
Date:   Sun Oct 23 23:30:06 2016 +0200

    Initial debian directory
---
 debian/changelog                                   |  5 ++
 debian/cl-opencv-apps.install                      |  1 +
 debian/compat                                      |  1 +
 debian/control                                     | 59 +++++++++++++++++
 debian/copyright                                   | 74 ++++++++++++++++++++++
 debian/libopencv-apps-dev.install                  |  4 ++
 debian/libopencv-apps0d.install                    |  1 +
 debian/opencv-apps-tools.install                   |  1 +
 .../0001-Add-Debian-specific-SOVERSION.patch       | 20 ++++++
 debian/patches/series                              |  1 +
 debian/python-opencv-apps.pyinstall                |  3 +
 debian/rules                                       | 13 ++++
 debian/source/format                               |  1 +
 debian/watch                                       |  7 ++
 14 files changed, 191 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5ffc72d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ros-opencv-apps (1.11.14-1) UNRELEASED; urgency=medium
+
+  * New package split from ros-vision-opencv
+
+ -- Leopold Palomo-Avellaneda <leo at alaxarxa.net>  Sun, 23 Oct 2016 18:16:48 +0200
diff --git a/debian/cl-opencv-apps.install b/debian/cl-opencv-apps.install
new file mode 100644
index 0000000..78ae9f4
--- /dev/null
+++ b/debian/cl-opencv-apps.install
@@ -0,0 +1 @@
+usr/share/common-lisp/ros/opencv_apps
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..bf8758a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,59 @@
+Source: ros-opencv-apps
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Jochen Sprickerhof <jspricke at debian.org>,
+           Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Build-Depends: debhelper (>= 9), catkin (>= 0.6.16-4), librosconsole-dev,
+		libsensor-msgs-dev, libboost-python-dev, libopencv-dev,
+		libdynamic-reconfigure-config-init-mutex-dev, ros-message-generation,
+		libimage-transport-dev, libnodeletlib-dev, libroscpp-dev, python-numpy,
+		python-dynamic-reconfigure, libstd-srvs-dev, dh-python, python,
+		librostest-dev, ros-std-msgs, libcv-bridge-dev,
+		python-roslaunch, python-rostest, python-rosunit,
+		python-rosservice, python-rosbag 
+Standards-Version: 3.9.8
+Section: libs
+Homepage: http://wiki.ros.org/opencv_apps
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/ros/ros-opencv-apps.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/ros/ros-opencv-apps.git
+
+Package: libopencv-apps-dev
+Section: libdevel
+Architecture: any
+Depends: libopencv-apps0d (= ${binary:Version}), ${misc:Depends},
+ libcv-bridge-dev, libdynamic-reconfigure-config-init-mutex-dev,
+ ros-message-generation, libimage-transport-dev, libnodeletlib-dev,libroscpp-dev
+Description: opencv_apps Robot OS package - development files
+ This package is part of Robot OS (ROS). It contains development
+ headers for a library for the opencv_apps library.
+
+Package: libopencv-apps0d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Multi-Arch: same
+Description: opencv_apps Robot OS package - runtime files
+ This package is part of Robot OS (ROS). It contains the opencv_apps
+ library.
+
+Package: opencv-apps-tools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: opencv_apps Robot OS package - tools
+ This package is part of Robot OS (ROS). It contains the opencv_apps tools
+ that uses the libopencv-apps0d library.
+
+Package: python-opencv-apps
+Section: python
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},python-genpy, python-std-msgs
+Description: opencv_apps Robot OS package - Python bindings
+ This package is part of Robot OS (ROS). It contains the Python bindings for
+ the opencv_apps library.
+
+Package: cl-opencv-apps
+Section: lisp
+Architecture: all
+Depends: ${misc:Depends}
+Description: opencv_apps Robot OS package - LISP bindings
+ This package is part of Robot OS (ROS). It contains the LISP bindings for
+ the opencv_apps library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f37d116
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,74 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: opencv_apps
+Source: http://wiki.ros.org/opencv_apps
+
+Files: *
+Copyright: 2014, Kei Okada
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2016, Jochen Sprickerhof <jspricke at debian.org>,
+                 Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+License: BSD-3-Clause
+
+Files:     include/opencv_apps/nodelet.h
+           src/nodelet/contour_moments_nodelet.cpp
+           src/nodelet/convex_hull_nodelet.cpp
+           src/nodelet/edge_detection_nodelet.cpp
+           src/nodelet/face_detection_nodelet.cpp
+           src/nodelet/find_contours_nodelet.cpp 
+           src/nodelet/general_contours_nodelet.cpp
+           src/nodelet/goodfeature_track_nodelet.cpp
+           src/nodelet/hough_circles_nodelet.cpp
+           src/nodelet/hough_lines_nodelet.cpp  
+           src/nodelet/lk_flow_nodelet.cpp
+           src/nodelet/phase_corr_nodelet.cpp
+           src/nodelet/segment_objects_nodelet.cpp
+           src/nodelet/simple_compressed_example_nodelet.cpp
+           src/nodelet/simple_example_nodelet.cpp
+           src/nodelet/simple_flow_nodelet.cpp   
+Copyright: 2014 Kei Okada.
+           2015 Tal Regev.
+           2016 Ryohei Ueda.
+
+Files:     src/nodelet/adding_images_nodelet.cpp
+           src/nodelet/smoothing_nodelet.cpp
+           src/nodelet/threshold_nodelet.cpp
+Copyright: 2016 JSK Lab
+           JSK, 2016 Lab
+License: BSD-3-Clause
+
+Files:     src/nodelet/nodelet.cpp
+Copyright: 2016 Ryohei Ueda.
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+  * Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+  * Redistributions in binary form must reproduce the above
+    copyright notice, this list of conditions and the following
+    disclaimer in the documentation and/or other materials provided
+    with the distribution.
+  * Neither the name of Willow Garage/JSK Lab, Inc. nor the names of its
+    contributors may be used to endorse or promote products derived
+    from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ .
+ On Debian systems, the complete text of the BSD 3-clause "New" or "Revised"
+ License can be found in `/usr/share/common-licenses/BSD'.
diff --git a/debian/libopencv-apps-dev.install b/debian/libopencv-apps-dev.install
new file mode 100644
index 0000000..baef5fd
--- /dev/null
+++ b/debian/libopencv-apps-dev.install
@@ -0,0 +1,4 @@
+usr/include/opencv_apps
+usr/lib/*/libopencv_apps.so
+usr/lib/*/pkgconfig/opencv_apps.pc
+usr/share/opencv_apps
diff --git a/debian/libopencv-apps0d.install b/debian/libopencv-apps0d.install
new file mode 100644
index 0000000..2596548
--- /dev/null
+++ b/debian/libopencv-apps0d.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_apps.so.*
diff --git a/debian/opencv-apps-tools.install b/debian/opencv-apps-tools.install
new file mode 100644
index 0000000..6b70f3b
--- /dev/null
+++ b/debian/opencv-apps-tools.install
@@ -0,0 +1 @@
+usr/lib/opencv_apps
\ No newline at end of file
diff --git a/debian/patches/0001-Add-Debian-specific-SOVERSION.patch b/debian/patches/0001-Add-Debian-specific-SOVERSION.patch
new file mode 100644
index 0000000..3b7dd6e
--- /dev/null
+++ b/debian/patches/0001-Add-Debian-specific-SOVERSION.patch
@@ -0,0 +1,20 @@
+From: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Date: Sun, 23 Oct 2016 18:24:29 +0200
+Subject: Add Debian specific SOVERSION
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2086e71..c9073ee 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -314,6 +314,7 @@ add_library(${PROJECT_NAME} SHARED
+ )
+ 
+ target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${opencv_apps_VERSION} SOVERSION "0d")
+ add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencfg ${PROJECT_NAME}_generate_messages_cpp)
+ install(TARGETS ${PROJECT_NAME}
+         DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6eac731
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Add-Debian-specific-SOVERSION.patch
diff --git a/debian/python-opencv-apps.pyinstall b/debian/python-opencv-apps.pyinstall
new file mode 100644
index 0000000..c56ef50
--- /dev/null
+++ b/debian/python-opencv-apps.pyinstall
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/python2*/*/opencv_apps/*.py opencv_apps
+debian/tmp/usr/lib/python2*/*/opencv_apps/cfg/*.py opencv_apps.cfg
+debian/tmp/usr/lib/python2*/*/opencv_apps/msg/*.py opencv_apps.msg
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e4ebad4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+%:
+	dh $@ --parallel --with=python2 --buildsystem=cmake
+
+override_dh_auto_install:
+	dh_auto_install
+	dh_numpy
+
+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..6555f67
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+# Watch control file for uscan
+# For GitHub projects you can use the tags page:
+version=4
+
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%opencv_apps-$1.tar.gz%" \
+             https://github.com/ros-perception/opencv_apps/releases \
+             (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

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



More information about the debian-science-commits mailing list