This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository ossim-plugins.
commit 7e3725ea1b7f93b8f83eea4559e957196ea3bbf7 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Sat May 28 18:03:48 2016 +0200 Enable OpenCV plugin. --- debian/control | 28 ++++++++++++++++++++++++++++ debian/ossim-plugin-opencv.install | 1 + debian/patches/opencv.patch | 16 ++++++++++++++++ debian/patches/series | 1 + debian/rules | 1 + 5 files changed, 47 insertions(+) diff --git a/debian/control b/debian/control index e57348c..14430b5 100644 --- a/debian/control +++ b/debian/control @@ -11,6 +11,7 @@ Build-Depends: cmake (>= 2.8), libhdf5-dev, libjpeg-dev, libminizip-dev, + libopencv-dev, libopenthreads-dev, libossim-dev (>= 1.8.20.3), libpng-dev, @@ -35,6 +36,7 @@ Recommends: ossim-plugin-geopdf (= ${binary:Version}), ossim-plugin-las (= ${binary:Version}), ossim-plugin-libraw (= ${binary:Version}), ossim-plugin-ndf (= ${binary:Version}), + ossim-plugin-opencv (= ${binary:Version}), ossim-plugin-png (= ${binary:Version}), ossim-plugin-registration (= ${binary:Version}), ossim-plugin-sqlite (= ${binary:Version}), @@ -216,6 +218,32 @@ Description: OSSIM NDF plugin . This package contains the OSSIM NDF plugin. +Package: ossim-plugin-opencv +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: OSSIM OpenCV plugin + Open Source Software Image Map (OSSIM) is a high performance engine for + remote sensing, image processing, geographical information systems and + photogrammetry. It has been actively developed since 1996. + . + Designed as a series of high performance software libraries, it is + written in C++ employing the latest techniques in object-oriented + software design. + . + The library provides advanced remote sensing, image processing, and + geo-spatial functionality. A quick summary of OSSIM functionality + includes ortho-rectification, precision terrain correction, rigorous + sensor models, very large mosaics, and cross sensor fusions, a wide + range of map projections and datums, and a large range of commercial + and government data formats. The architecture of the library supports + parallel processing with mpi (not enabled), a dynamic plugin architecture, + and dynamically connectable objects allowing rapid prototyping of custom + image processing chains. + . + This package contains the OSSIM OpenCV plugin. + Package: ossim-plugin-png Architecture: any Section: libs diff --git a/debian/ossim-plugin-opencv.install b/debian/ossim-plugin-opencv.install new file mode 100644 index 0000000..5a54a4f --- /dev/null +++ b/debian/ossim-plugin-opencv.install @@ -0,0 +1 @@ +usr/lib/ossim/plugins/libossimopencv_plugin.so diff --git a/debian/patches/opencv.patch b/debian/patches/opencv.patch new file mode 100644 index 0000000..63e6627 --- /dev/null +++ b/debian/patches/opencv.patch @@ -0,0 +1,16 @@ +Description: Use pkg-config for OpenCV. +Author: Bas Couwenberg <sebas...@debian.org> + +--- a/ossim_plugins/opencv/CMakeLists.txt ++++ b/ossim_plugins/opencv/CMakeLists.txt +@@ -10,7 +10,9 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOUR + + SET(requiredLib) + +-find_package( OpenCV ) ++include(FindPkgConfig) ++pkg_search_module(OPENCV opencv) ++ + if( OPENCV_FOUND ) + include_directories( ${OPENCV_INCLUDE_DIR} ) + set( requiredLib ${requiredLib} ${OPENCV_LIBRARIES} ) diff --git a/debian/patches/series b/debian/patches/series index dc26438..72e857c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ cmake.patch sqlite.patch libraw.patch fftw3.patch +opencv.patch diff --git a/debian/rules b/debian/rules index 91911cb..33772a2 100755 --- a/debian/rules +++ b/debian/rules @@ -20,6 +20,7 @@ CMAKE_OPTS = \ -DBUILD_OSSIMKMLSUPEROVERLAY_PLUGIN=ON \ -DBUILD_OSSIMLAS_PLUGIN=ON \ -DBUILD_OSSIMNDF_PLUGIN=ON \ + -DBUILD_OSSIMOPENCV_PLUGIN=ON \ -DBUILD_OSSIMPNG_PLUGIN=ON \ -DBUILD_OSSIMREGISTRATION_PLUGIN=ON \ -DBUILD_OSSIMSQLITE_PLUGIN=ON \ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/ossim-plugins.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel