summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-09-30 19:01:58 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-09-30 19:01:58 +0300
commiteedc83800a867d34156b5c313510707a17016c6b (patch)
treee2f5a0fc92887ff915f37815d0f8cfe902032c2e
downloadopencv-debian.tar.gz
Imported opencv 2.4.9.1+dfsg1-2debian/2.4.9.1+dfsg1-2debian
-rw-r--r--debian/README.Debian41
-rw-r--r--debian/README.java7
-rw-r--r--debian/README.source20
-rw-r--r--debian/changelog1012
-rw-r--r--debian/compat1
-rw-r--r--debian/control1465
-rw-r--r--debian/copyright70
-rw-r--r--debian/libcv-dev.docs1
-rw-r--r--debian/libcv-dev.install9
-rw-r--r--debian/libcv2.4.lintian-overrides1
-rw-r--r--debian/libcvaux-dev.docs1
-rw-r--r--debian/libcvaux-dev.install3
-rw-r--r--debian/libcvaux2.4.lintian-overrides1
-rw-r--r--debian/libhighgui-dev.docs1
-rw-r--r--debian/libhighgui-dev.install1
-rw-r--r--debian/libhighgui2.4.lintian-overrides1
-rw-r--r--debian/libopencv-calib3d-dev.docs1
-rw-r--r--debian/libopencv-calib3d-dev.install3
-rw-r--r--debian/libopencv-calib3d2.4v5.install1
-rw-r--r--debian/libopencv-contrib-dev.docs1
-rw-r--r--debian/libopencv-contrib-dev.install3
-rw-r--r--debian/libopencv-contrib2.4v5.install1
-rw-r--r--debian/libopencv-core-dev.docs1
-rw-r--r--debian/libopencv-core-dev.install7
-rw-r--r--debian/libopencv-core-dev.lintian-overrides1
-rw-r--r--debian/libopencv-core2.4v5.install1
-rw-r--r--debian/libopencv-dev.install7
-rw-r--r--debian/libopencv-dev.manpages4
-rw-r--r--debian/libopencv-features2d-dev.docs1
-rw-r--r--debian/libopencv-features2d-dev.install3
-rw-r--r--debian/libopencv-features2d2.4v5.install1
-rw-r--r--debian/libopencv-flann-dev.docs1
-rw-r--r--debian/libopencv-flann-dev.install3
-rw-r--r--debian/libopencv-flann2.4v5.install1
-rw-r--r--debian/libopencv-gpu-dev.docs1
-rw-r--r--debian/libopencv-gpu-dev.install3
-rw-r--r--debian/libopencv-gpu2.4v5.install1
-rw-r--r--debian/libopencv-highgui-dev.docs1
-rw-r--r--debian/libopencv-highgui-dev.install3
-rw-r--r--debian/libopencv-highgui2.4-deb0.install1
-rw-r--r--debian/libopencv-imgproc-dev.docs1
-rw-r--r--debian/libopencv-imgproc-dev.install3
-rw-r--r--debian/libopencv-imgproc2.4v5.install1
-rw-r--r--debian/libopencv-legacy-dev.docs1
-rw-r--r--debian/libopencv-legacy-dev.install3
-rw-r--r--debian/libopencv-legacy2.4v5.install1
-rw-r--r--debian/libopencv-ml-dev.docs1
-rw-r--r--debian/libopencv-ml-dev.install3
-rw-r--r--debian/libopencv-ml2.4v5.install1
-rw-r--r--debian/libopencv-objdetect-dev.docs1
-rw-r--r--debian/libopencv-objdetect-dev.install3
-rw-r--r--debian/libopencv-objdetect2.4v5.install1
-rw-r--r--debian/libopencv-ocl-dev.docs1
-rw-r--r--debian/libopencv-ocl-dev.install3
-rw-r--r--debian/libopencv-ocl2.4v5.install1
-rw-r--r--debian/libopencv-photo-dev.docs1
-rw-r--r--debian/libopencv-photo-dev.install3
-rw-r--r--debian/libopencv-photo2.4v5.install1
-rw-r--r--debian/libopencv-stitching-dev.docs1
-rw-r--r--debian/libopencv-stitching-dev.install3
-rw-r--r--debian/libopencv-stitching2.4v5.install1
-rw-r--r--debian/libopencv-superres-dev.docs1
-rw-r--r--debian/libopencv-superres-dev.install3
-rw-r--r--debian/libopencv-superres2.4v5.install1
-rw-r--r--debian/libopencv-ts-dev.docs1
-rw-r--r--debian/libopencv-ts-dev.install3
-rw-r--r--debian/libopencv-ts2.4v5.install1
-rw-r--r--debian/libopencv-video-dev.docs1
-rw-r--r--debian/libopencv-video-dev.install3
-rw-r--r--debian/libopencv-video2.4v5.install1
-rw-r--r--debian/libopencv-videostab-dev.docs1
-rw-r--r--debian/libopencv-videostab-dev.install3
-rw-r--r--debian/libopencv-videostab2.4v5.install1
-rw-r--r--debian/libopencv2.4-java.install1
-rw-r--r--debian/libopencv2.4-java.links2
-rw-r--r--debian/libopencv2.4-jni.install1
-rw-r--r--debian/libopencv2.4-jni.lintian-overrides3
-rw-r--r--debian/man/opencv_createsamples.1147
-rw-r--r--debian/man/opencv_haartraining.1215
-rw-r--r--debian/man/opencv_performance.1126
-rw-r--r--debian/man/opencv_traincascade.1142
-rw-r--r--debian/opencv-data.install2
-rw-r--r--debian/opencv-doc.install5
-rw-r--r--debian/opencv-doc.lintian-overrides1
-rw-r--r--debian/patches/Don-t-check-sphinx-build-version.patch34
-rw-r--r--debian/patches/build-static-libs28
-rw-r--r--debian/patches/change_type_from_int_to_Atomic_word191
-rw-r--r--debian/patches/drop_asm_types_h_kfreebsd25
-rw-r--r--debian/patches/ffmpeg_2.9.patch221
-rw-r--r--debian/patches/fix_ftbfs_on_non_linux54
-rw-r--r--debian/patches/fix_ftbfs_with_gcc671
-rw-r--r--debian/patches/fix_path_of_opencl_headers20
-rw-r--r--debian/patches/fix_without_sysctl.patch55
-rw-r--r--debian/patches/libav10.patch748
-rw-r--r--debian/patches/optimize_i586.patch21
-rw-r--r--debian/patches/pkg-config50
-rw-r--r--debian/patches/revert-Make-ts-always-static51
-rw-r--r--debian/patches/series14
-rw-r--r--debian/patches/support_multiarch34
-rw-r--r--debian/python-opencv.install1
-rwxr-xr-xdebian/rules103
-rw-r--r--debian/samples/c/Makefile.debian15
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
104 files changed, 5126 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..dc73617
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,41 @@
+Notes for the Debian OpenCV packages
+--------------------------------------
+
+The opencv package of Debian is divided every function.
+This is because a user does not install an unnecessary
+unction. For example, the libopencv_video library is not
+necessary when Video function is not necessary.
+
+ - libopencv-core*
+ - libopencv-imgproc*
+ - libopencv-flann*
+ - libopencv-features2d*
+ - libopencv-calib3d*
+ - libopencv-objdetect*
+ - libopencv-legacy*
+ - libopencv-video*
+ - libopencv-ml*
+ - libopencv-gpu*
+ - libopencv-superres*
+ - libopencv-imgproc*
+ - libopencv-highgui*
+ - libopencv-contrib*
+ - python-opencv
+ - and transition packages.
+
+Please install the package including a necessary library
+when you want to make a package using opencv.
+
+And, opencv provides pkg-config file and cmake config file.
+It is necessary you build it, and to Build-Depneds on
+libopencv-dev package if the package which you want to use
+pkg-config or cmake config file.
+
+When you build it and do not Build-Depends, please be careful
+because it becomes the build error.
+
+We ask an up stream to divide opencv.pc into every function.[0]
+
+ [0]: https://code.ros.org/trac/opencv/ticket/332
+
+-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 02 Feb 2012 04:18:49 +0900
diff --git a/debian/README.java b/debian/README.java
new file mode 100644
index 0000000..67400b6
--- /dev/null
+++ b/debian/README.java
@@ -0,0 +1,7 @@
+How to use the Debian OpenCV java packages
+----
+
+Please see
+ http://docs.opencv.org/doc/tutorials/introduction/desktop_java/java_dev_intro.html
+
+ ant -DocvJarDir=/usr/share/java/ -DocvLibDir=/usr/lib/
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..6145fa3
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,20 @@
+opencv source package infomation
+
+- Remove source code
+ OpenCV's debian source package deletes some source codes.
+
+ The deleted source code is the following directories.
+ * modules/nonfree
+ * 3rdparty/*
+ * modules/highgui/src/files_Qt/Milky
+
+ The module/nonfree contains algorithms that may be patented in some countries or have
+ some other limitations on the use.
+ This description is in modules/nonfree/doc/nonfree.rst of original.
+
+ 3rdparty directory has some source code and binaries of 3rdparty project
+ (libjpeg, libpng, etc...). Since they use the binary of Debian, I have been removed.
+
+ The Milky icons is not DFSG-free.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 03 Dec 2013 14:50:15 +0900
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9e886c1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,1012 @@
+opencv (2.4.9.1+dfsg1-2) unstable; urgency=medium
+
+ * Team upload.
+ * Do not forcefully disable PIE anymore, -pie changed meaning.
+ Closes: #859440
+
+ -- Mattia Rizzolo <mattia@debian.org> Mon, 03 Apr 2017 18:28:26 +0200
+
+opencv (2.4.9.1+dfsg1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream version 2.4.9.1+dfsg1 (Closes: #794856)
+
+ -- Jochen Sprickerhof <jspricke@debian.org> Sun, 19 Feb 2017 17:15:16 +0100
+
+opencv (2.4.9.1+dfsg-2.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Add Breaks against all non-v5 packages to all v5 packages, this
+ fixes apt dist-upgrade. (Closes: #853124)
+
+ -- Julian Andres Klode <jak@debian.org> Mon, 30 Jan 2017 13:21:19 +0100
+
+opencv (2.4.9.1+dfsg-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/patches:
+ - Add fix_ftbfs_with_gcc6 to fix FTBFS with gcc-6. (Closes: #828928)
+
+ -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Tue, 04 Oct 2016 17:07:49 +0200
+
+opencv (2.4.9.1+dfsg-2) unstable; urgency=medium
+
+ * Team upload.
+ * Use HTTPS in Vcs-* fields.
+ * Disable opengl when building in armhf (in Ubuntu only)
+ * Don't build with jasper. Closes: #818207
+ This causes libopencv-highgui to lose symbols, so we need to rename the
+ package and do a transition.
+ * Fix typo in README.Debian.
+ * Remove unused lintian override python-script-but-no-python-dep.
+ * Add missing dependency on libopencv-gpu2.4v5 to libopencv-gpu-dev.
+ Closes: #825583
+
+ -- Mattia Rizzolo <mattia@debian.org> Mon, 27 Jun 2016 05:08:42 +0000
+
+opencv (2.4.9.1+dfsg-1.5) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Do not use precompiled headers (Closes: #818450)
+
+ -- Tobias Frost <tobi@debian.org> Thu, 07 Apr 2016 16:43:31 +0200
+
+opencv (2.4.9.1+dfsg-1.4) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Andreas Cadhalpun ]
+ * Fix build with ffmpeg 3.0. (Closes: #803847)
+
+ -- Sebastian Ramacher <sramacher@debian.org> Sun, 06 Mar 2016 23:57:30 +0100
+
+opencv (2.4.9.1+dfsg-1.3) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Refresh debian/patches:
+ - Update change_type_from_int_to_Atomic_word to fix
+ FTBFS on sparc64. (Closes: #714923)
+ - Re-add fix_without_sysctl.patch to fix FTBFS on x32. (Closes: #792264)
+
+ -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Mon, 08 Feb 2016 10:51:45 +0100
+
+opencv (2.4.9.1+dfsg-1.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename library packages for g++5 ABI transition.
+ Patch provided by Matthias Klose. (Closes: #791226)
+ * Remove Lintian overrides from Matthias' patch, current Lintian accepts
+ v5 package names as-is.
+ * Build-depend on the version of openexr that started its transition.
+ * Add patch to stop checking the version of sphinx-build (which makes
+ no difference anyway), fixing arch-indep build (#792715; not closing
+ that bug here because it is unclear whether it is considered to be a
+ sphinx bug).
+ * Deliberately not addressing #794856 in this upload, since it requires
+ repacking the orig.tar and is not a regression.
+
+ -- Simon McVittie <smcv@debian.org> Wed, 19 Aug 2015 22:36:43 +0100
+
+opencv (2.4.9.1+dfsg-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Bernhard Übelacker ]
+ * Build with -march=i586 instead of -march=i686 on i386. (Closes: #784647)
+
+ -- Sebastian Ramacher <sramacher@debian.org> Fri, 15 May 2015 21:34:12 +0200
+
+opencv (2.4.9.1+dfsg-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Add support ppc64el. (Closes: #754094)
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Fri, 19 Sep 2014 11:04:13 +0900
+
+opencv (2.4.9+dfsg-1) unstable; urgency=medium
+
+ * New upstream release. (Closes:#753689)
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 01 Jul 2014 07:58:34 +0900
+
+opencv (2.4.8+dfsg1-2.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix version in symbolic links for libopencv2.4-java (closes: #747500)
+
+ -- Gilles Filippini <pini@debian.org> Wed, 21 May 2014 07:52:52 +0200
+
+opencv (2.4.8+dfsg1-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Add libav10.patch by Anton Khirnov to allow compilation against
+ Libav10 (Closes: #739440)
+
+ -- Reinhard Tartler <siretart@tauware.de> Sun, 11 May 2014 09:57:31 -0400
+
+opencv (2.4.8+dfsg1-2) unstable; urgency=medium
+
+ * Update debian/control.
+ - Add libopencv-java and libopencv-jni to Depends of libopencv-dev.
+ - Update depends of libopencv-jni, libopencv-java and libopencv-dev.
+ * Update debian/libopencv2.4-jni.install.
+ Fix install path of libopencv_java248.so
+ * Update debian/rules.
+ Fix install path of jni library.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 18 Feb 2014 06:16:59 +0900
+
+opencv (2.4.8+dfsg1-1) unstable; urgency=low
+
+ * Update to new source.
+ Remove Milky directory in modules/highgui/src/files_Qt/.
+ * Update debian/control.
+ Add libopencv-ocl-dev to Depends of libopencv-dev. (Closes: #737584)
+ * Update libopencv-dev.install.
+ Install OpenCVModules-release.cmake and OpenCVModules.cmake.
+ (Closes: #737153)
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 12 Feb 2014 16:37:21 +0900
+
+opencv (2.4.8+dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 14 Jan 2014 12:28:02 +0900
+
+opencv (2.4.7+dfsg-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #732063)
+ * Add patches/revert-Make-ts-always-static.
+ * Add ocl library. (Closes: #732028, #720092)
+ * Add java library. (Closes: #728221)
+ * Update debian/control.
+ - Remove Vcs-Svn field and add Vcs-Git field.
+ - Update Vcs-Browser field.
+ - Update Homepage field.
+ - Bumped standards-version to 3.9.5.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 03 Dec 2013 08:17:57 +0900
+
+opencv (2.4.6.1+dfsg-2) unstable; urgency=low
+
+ [ Anton Gladky ]
+ * Replace libeigen2-dev by libeigen3-dev. (Closes: #726155)
+
+ [ Nobuhiro Iwamatsu ]
+ * FTBFS on sparc64. (Closes: #714923)
+ Add patches/change_type_from_int_to_Atomic_word.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sat, 23 Nov 2013 11:31:08 +0900
+
+opencv (2.4.6.1+dfsg-1) unstable; urgency=low
+
+ * Upload to unstable. (Closes: #719998, #716811)
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 23 Sep 2013 06:28:00 +0900
+
+opencv (2.4.6.1+dfsg-0exp4) experimental; urgency=low
+
+ * Update debian/control.
+ - Fix fails to upgrade from testing by opencv-data. (Closes: #722927)
+ - Change Vcs host to anonscm.debian.org.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Fri, 20 Sep 2013 08:16:39 +0900
+
+opencv (2.4.6.1+dfsg-0exp3) experimental; urgency=low
+
+ * Update patches/pkg-config. (Closes: #678222, #721894)
+ Fix broken pkg-config file.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Fri, 06 Sep 2013 13:51:39 +0900
+
+opencv (2.4.6.1+dfsg-0exp2) unstable; urgency=low
+
+ * Update debian/rules.
+ - Move configuration for 1394 and V4L to CMAKE_ARCH_FLAGS.
+ Thanks to Pino Toscano.
+ - Change from target name from override_dh_fixperms to
+ override_dh_fixperms-indep.
+ * Add fix_ftbfs_on_non_linux.patch.
+ Fix FTBFS on non linux. (Closes: #719741)
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 04 Sep 2013 10:22:46 +0900
+
+opencv (2.4.6.1+dfsg-0exp1) experimental; urgency=low
+
+ * New upstream release.
+ * Update debian/control.
+ - Add libgtkglext1-dev, libgl1-mesa-dev and libglu1-mesa-dev
+ to Build-Depends.
+ - Remove swig from Build-Depends.
+ * Update debian/rules.
+ - Enable OpenGL.
+ * Update patches.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 07 Aug 2013 12:37:41 +0900
+
+opencv (2.4.5+dfsg-0exp1) experimental; urgency=low
+
+ * New upstream release. (Closes: #716811)
+ * Update debian/control.
+ - Add support all arch with TBB support. (Closes: 701195)
+ - Add opencv-data. Move haarcascades and lbpcascades's data to this.
+ (Closes: #711385)
+ * Update debian/rules.
+ - Add python2 to dh of sequence.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Fri, 12 Jul 2013 13:00:43 +0900
+
+opencv (2.4.3+dfsg-1) experimental; urgency=low
+
+ * New upstream release.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 10 Dec 2012 01:01:14 +0900
+
+opencv (2.4.2+dfsg-0exp2) experimental; urgency=low
+
+ * Update debian/control.
+ - Dump cmake version to 2.8.7.
+ When old cmake is used, building failed.
+ * Update libopencv-core-dev.install.
+ - Add opencv2/opencv_modules.hpp.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 24 Jul 2012 12:22:11 +0900
+
+opencv (2.4.2+dfsg-0exp1) experimental; urgency=low
+
+ * New upstream release.
+ * Update debian/control.
+ - Changed Depends from libtiff4-dev to libtiff-dev. (Closes: #682238)
+ - Support eigen2. Add libeigen2-dev to Build-Depends.
+ * Update install file.
+ Change path of samples and add python2.
+ * Update debian/rules.
+ - Remove chmod line. Removed build_all.sh.
+ - Add -r for option of rm command.
+ * Update patches/build-static-libs.patch
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 16 Jul 2012 04:03:56 +0900
+
+opencv (2.4.1+dfsg-0exp2) experimental; urgency=low
+
+ * Update package description.
+ * Add patches/pkg-config.patch.
+ This changed library specification method in pkgconfig.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 26 Jun 2012 16:19:21 +0900
+
+opencv (2.4.1+dfsg-0exp1) experimental; urgency=low
+
+ * New upstream release.
+ * Update debian/rules.
+ - Enable hardening option.
+ * Update debian/control.
+ - Fix wrong package name.
+ - Add python-numpy-abi9 and python-numpy (>= 1:1.6.1) to python-opencv.
+ Fix lintian error for missing-dependency-on-numpy-abi.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 07 Jun 2012 08:54:31 +0900
+
+opencv (2.4.0+dfsg-0exp1) experimental; urgency=low
+
+ * New upstream release. (Closes: 671377)
+ - Add stitching, ts, videostab and photo packages.
+ - Remove gpu package.
+ * Update debian/control.
+ - Bumped Standards-Version to 3.9.3. No changes needed.
+ - Update Homepage field.
+ * Update debian/rules.
+ - Remove unnecessary option of build config.
+ * Update patches.
+ - 0005-build-static-libs.patch
+ - 0007-typos-in-strings-docs.patch
+ - 0013_drop_asm_types_h_kfreebsd.patch
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 23 May 2012 12:42:17 +0900
+
+opencv (2.3.1-10) unstable; urgency=high
+
+ * Update debian/control.
+ - Add Replaces and Breaks of libopencv-core-dev to libopencv-dev.
+ (Closes: #674242)
+ - Cleanup Depends of packages.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 29 May 2012 08:43:39 +0900
+
+opencv (2.3.1-9) unstable; urgency=low
+
+ * Update debian/control.
+ - pkg-config and binarys move from libopencv-core-dev to libopencv-dev.
+ (Closes: #671376, #658197)
+ - Drop Replaces and Breaks from libopencv-core-dev. (Closes: #668708)
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 22 May 2012 12:17:09 +0900
+
+opencv (2.3.1-8) unstable; urgency=low
+
+ * Add support TBB.
+ * Fix getting value of dpkg-architecture.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 02 Feb 2012 12:40:01 +0900
+
+opencv (2.3.1-7) unstable; urgency=low
+
+ * Update debian/libopencv-core-dev.install.
+ - Change install path of OpenCVConfig.cmake from usr/share/opencv/
+ to usr/share/OpenCV. (Closes: #658196)
+ - usr/share/OpenCV/OpenCVConfig-version.cmake was added to the
+ installation file of libopencv-core-dev.
+ * Add debian/*-dev.docs.
+ This provides README.Debian with *-dev packages.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 02 Feb 2012 02:39:05 +0900
+
+opencv (2.3.1-6) unstable; urgency=low
+
+ * Fix installation of usr/include/opencv2/opencv.hpp. (Closes: #656860)
+ Update debian/libopencv-core-dev.install.
+ * Remove old build flags and add optimize flag for amd64.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 31 Jan 2012 08:08:00 +0900
+
+opencv (2.3.1-5) unstable; urgency=low
+
+ * Fix FTBFS with libav 0.8. (Closes: #654220)
+ Add patches/0014_fix_ftbfs_libav0.8.patch.
+ * Update debian/control.
+ Add python-sphinx to Build-Depends.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Fri, 27 Jan 2012 05:36:29 +0900
+
+opencv (2.3.1-4) unstable; urgency=low
+
+ * Update patches/0013_drop_asm_types_h_kfreebsd.patch.
+ Drop <asm/types.h>, not <sys/types.h>.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 21 Dec 2011 17:01:12 +0900
+
+opencv (2.3.1-3) unstable; urgency=low
+
+ * Update debian/README.Debian.
+ * Update debian/control.
+ - Update Depends package for libopencv-dev.
+ * Fix build on kfreeBSD. (Closes: #651872)
+ Update patches/0013_drop_asm_types_h_kfreebsd.patch.
+ Thanks to Julien Cristau.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 21 Dec 2011 12:02:10 +0900
+
+opencv (2.3.1-2) unstable; urgency=low
+
+ * Update debian/control.
+ - Adjusted version for Replaces and Breaks of libopencv-core-dev.
+ (Closes: #651988). Thanks to Ansgar Burchardt.
+ * Fix build on kfreeBSD. (Closes: #651872)
+ Add patches/0013_drop_asm_types_h_kfreebsd.patch.
+ Thanks to Julien Cristau.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 20 Dec 2011 17:10:11 +0900
+
+opencv (2.3.1-1) unstable; urgency=low
+
+ * Upload to unstable.
+ * Update debian/control.
+ Switch Build-Depends from libong62-dev to libpng-dev.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 12 Dec 2011 12:06:57 +0900
+
+opencv (2.3.1-0exp1) experimental; urgency=low
+
+ * New upstream release.
+ * Update debian/control.
+ - Fix uses hardcoded list of non-Linux architectures in debian/control.
+ (Closes: #634365)
+ * Add lintian overrides files.
+ * Update install files.
+ * Update and remove some patches.
+ - Update patches/0005-build-static-libs.patch.
+ - Update patches/0007-typos-in-strings-docs.patch.
+ - Update patches/0011_optimize_i486.patch.
+ - Remove patches/0001-fix_3rdparty_build.patch.
+ - Remove patches/0006-typos-in-license.patch.
+ - Remove patches/0012_cvcap_ffmpeg_fix_compile_against_libav0.7.patch.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 25 Aug 2011 12:04:49 +0900
+
+opencv (2.3.0-0exp4) experimental; urgency=low
+
+ * Fix FTBFS with libav 0.7. (Closes: #634818)
+ Add patches/vcap_ffmpeg_fix_compile_against_libav0.7.patch.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 27 Jul 2011 01:51:25 +0900
+
+opencv (2.3.0-0exp3) experimental; urgency=low
+
+ * Add libopencv-dev package.
+ This is a meta package providing development package necessary for
+ development of OpenCV (Open Computer Vision).
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Fri, 15 Jul 2011 02:46:05 +0900
+
+opencv (2.3.0-0exp2) experimental; urgency=low
+
+ * Update debian/control
+ - Switch Build-Depends from libjpeg62-dev to libjpeg-dev for libjpeg8
+ transition.
+ - Add zlib1g-dev Build-Depends of libopencv-core-dev.
+ - Add some development package to Build-Depends of libopencv-highgui-dev.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 12 Jul 2011 08:54:37 +0900
+
+opencv (2.3.0-0exp1) experimental; urgency=low
+
+ * New upstream release.
+ - Update install files.
+ - Update some patches for 2.3.
+ patches/0005-build-static-libs.patch
+ patches/0001-fix_3rdparty_build.patch
+ patches/0011_optimize_i486.patch
+ - Remove some patches revised in upstream.
+ patches/0002-fix_build_pdf.patch patches/0003-hurd.patch
+ patches/0004-fix_stdint_gcc45.patch patches/0009_support_v4lv2_only.patch
+ patches/0008_fix_ftbfs_with_gcc-4.6.patch patches/0010_fix_ftbs_png15.patch
+ * Update debian/control.
+ - Update depends of packages.
+ * Update debian/rules.
+ - Update path of hdr_parser.pyc from modules/python to
+ modules/python/src2.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 06 Jul 2011 09:47:09 +0900
+
+opencv (2.2.0-0exp2) experimental; urgency=low
+
+ * Add libopencv-contrib-dev to Depends of libcvaux-dev (Closes: #632439).
+ Thanks to Mark Purcell.
+ * Arranged the dependence.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 05 Jul 2011 13:30:06 +0900
+
+opencv (2.2.0-0exp1) experimental; urgency=low
+
+ * New upstream release. (Closes: #623532, #563428, #604642)
+ - Update, refresh and prune debian/patches.
+ - Account for upstream splitting/renaming libs:
+ + generate N dynamic library packages.
+ + name all library package as libopencv-*.
+ - Update debian/copyright.
+ - Remove debian/README.source.
+ - Update debian/*.install scripts.
+ - Update lintian overrides.
+ - Add libv4l-dev to Build-Depends.
+ * Bump to dh 8.
+ * Switch to source format 3.0 (quilt).
+ * Patch minor upstream typos.
+ * Fix formatting in debian/man/opencv_traincascade.1.
+ * Bumped standards-version to 3.9.2. No changes needed.
+ * Update debian repository pointers for new alioth hosts.
+ * Add support openexr.
+ * Move usr/share/opencv/haarcascades and usr/share/opencv/lbpcascades
+ to libopencv-core-dev (Closes: #598356).
+ * Fix build using gcc-4.6 (Closes: #624917).
+ - Add patches/0008_fix_ftbfs_with_gcc-4.6.patch.
+ * Fix build without v4l1 (Closes: #623418).
+ - Add patches/0009_support_v4lv2_only.patch.
+ * Fix build with libpng15.
+ - Add patch/0010_fix_ftbs_png15.patch.
+ * Fix optimize of i386 (Closes: 629414).
+ - Opencv was optimized to i686. This chenged optimization to i486.
+ - Add patch/0011_optimize_i486.patch.
+ * If build architecture is amd64, enable SSE2 option.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 27 Jun 2011 11:51:39 +0900
+
+opencv (2.1.0-4) unstable; urgency=low
+
+ * Fix install path of opencv-doc (Closes: #610803).
+ * Fix FTBFS on gcc-4.5(Closes: #607086, #618045).
+ - Add patches/fix_stdint_gcc45.patch
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 16 Mar 2011 01:55:22 +0900
+
+opencv (2.1.0-3) unstable; urgency=low
+
+ * Fix set opencv minor version on Python (Closes: #600836).
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 02 Nov 2010 19:55:47 +0900
+
+opencv (2.1.0-2) unstable; urgency=low
+
+ * Update debian/control.
+ - Bumped standards-version to 3.9.1. No changes needed.
+ - Add python-numpy to Build-depends (Closes: #593310)
+ * Add hurd support patch (Closes: #589586).
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 25 Aug 2010 01:49:14 +0900
+
+opencv (2.1.0-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #577594, #587232, #563717)
+ * Update debian/rules.
+ - Update build-system to debhelper v7.
+ * Update debian/control.
+ - Bumped standards-version to 3.9.0. No changes needed.
+ - library package name update.
+ Soname of opencv library changed from 4 to 2.1.
+ - Add cmake, liblapack-dev, texlive-fonts-extra, texlive-latex-extra,
+ texlive-latex-recommended, latex-xcolor and texlive-fonts-recommended
+ to Build-depends.
+ - Add arch depends to libraw1394-dev and libdc1394-22-dev.
+ Thanks to Pino Toscano. (Closes: #581210)
+ * Add opencv-doc.lintian-overrides.
+ opencv-doc has some sample program of python.
+ * Update man files.
+ * Update patches
+ - Update and rename 500_remove_bashism.patch.
+ And rename to remove_bashism.patch.
+ * Add new patches.
+ - Enable build static library.
+ enable_static.patch
+ - Disable build 3rd party library.
+ Use zlib and lapack in debian package.
+ fix_3rdparty_build.patch
+ - Fix build pdf.
+ fix_build_pdf.patch
+ - Remove cvconfig.h
+ remove_cvconfig.h.patch
+ * Remove some patches.
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Fri, 16 Jul 2010 13:12:28 +0900
+
+opencv (2.0.0-4) unstable; urgency=low
+
+ * Update debian/control.
+ - Bumped standards-version to 3.8.4. No changes needed.
+ * Change install path of python-opencv. (Closes: #565121)
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sun, 14 Mar 2010 13:19:00 +0900
+
+opencv (2.0.0-3) unstable; urgency=low
+
+ * Remove libcv1, libhighgui1 and libcvaux1 from Conflicts and Replaces.
+ (Closes: #560283)
+ * Remove cvconfig.h from libcv-dev package. (Closes: #559857)
+ Update libcv-dev.install and backport r2242 of commit from upstream.
+ Thanks to Filippo Giunchedi.
+ debian/patches/110_backport_r2242.diff
+ * Fix FTBFS with GCC 4.4. (Closes: #562742)
+ Backport r2255 of commit from upstream. Thanks to Filippo Giunchedi.
+ debian/patches/110_backport_r2255.diff
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 07 Jan 2010 20:48:47 +0900
+
+opencv (2.0.0-2) unstable; urgency=low
+
+ * Add cvconfig.h to libcv-dev. (Closes: #559857)
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 08 Dec 2009 10:00:14 +0900
+
+opencv (2.0.0-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #507588, #549997, #492445)
+ * Update Standards-Version to 3.8.3
+ * Add debian/README.source
+ * Add libdc1394-22-dev to Build-Depends. (Closes: #507584, #516794)
+ * Remove libcvaux-dev and libhighgui-dev from Depends of libcv-dev.
+ (Closes: #525023)
+ * Remove all .la files.
+ * Update debian/watch file. (Closes: #557140)
+ * Update debian/rules file.
+ Add --disable-sse and --disable-optimization to configure.
+ * Remove bashism. (Closes: #530153)
+ 500_remove_bashism.patch
+ * Update debian/patches
+ 010_m4_syntax.diff
+ 010_fix_optimisations.diff
+ 010_makefile_syntax.diff
+ 010_python_cspec.diff
+ 020_python_linking.diff
+ 100_static_inline.diff
+ 100_amd64.diff
+ 120_header_warnings.diff
+ * Remove debian/patches
+ - Merge to upstream
+ 030_install_hook.diff
+ 100_ffmpeg_updates.diff
+ 210_openmp_compilation.diff
+ 300_fix_segfault_in_window_gtk.diff
+ 400_ffmpeg_splitting_autofoo.diff
+ 410_ffmpeg_use_swscale.diff
+ 420_typedef_longint.diff
+ 430_highgui_jpeg_camera.diff
+ - Don't need new version
+ 010_ffmpeg_linking.diff
+ 050_rebootstrap.diff
+ 200_documentation.diff
+ 500_ftbfs_gcc44.diff
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 01 Dec 2009 01:13:18 +0900
+
+opencv (1.0.0-6.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Rebuild against new libraw1394 (Closes: #516646, #516920)
+ * Add libhighgui-dev dependency on libswscale-dev thanks Giel van Schijndel
+ (Closes: #547729)
+ * debian/patches/420_typedef_longint.diff: define int64/uint64 as int64_t
+ and uint64_t respectively, patch pulled from upstream r2163
+ (Closes: #543546)
+ * debian/patches/410_ffmpeg_use_swscale.diff: move
+ #define __STDC_CONSTANT_MACROS before #include <stdint.h> into
+ debian/patches/420_typedef_longint.diff
+ * debian/patches/500_ftbfs_gcc44.diff: fix FTBFS with gcc-4.4
+ thanks to Martin Michlmayr (Closes: #504831)
+ * debian/patches/430_highgui_jpeg_camera.diff: recognize JPEG cameras
+ (Closes: #536041)
+
+ -- Filippo Giunchedi <filippo@debian.org> Sat, 14 Nov 2009 17:04:41 +0100
+
+opencv (1.0.0-6.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Port to newer ffmpeg. Closes: #487638, #490700, #493915
+ Loosely based on patch Gijs Molenaar, thanks.
+
+ -- Thomas Viehmann <tv@beamnet.de> Thu, 09 Jul 2009 21:43:02 +0200
+
+opencv (1.0.0-6.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/control:
+ + Dropped build dependency on libdc1394-22-dev (Closes: #497689)
+ + Added ${misc:Depends} where missing
+
+ -- Raphael Geissert <atomo64@gmail.com> Thu, 11 Sep 2008 14:36:06 -0500
+
+opencv (1.0.0-6) unstable; urgency=low
+
+ * debian/patches/120_header_warnings.diff:
+ + Fix more warnings in shipped headers.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Thu, 28 Aug 2008 22:53:43 +0000
+
+opencv (1.0.0-5) unstable; urgency=high
+
+ [ Daniel Leidert ]
+
+ * debian/control: Added Homepage field.
+ (Vcs-Svn): Fixed.
+ (Depends, Build-Depends): Added libjasper-dev (closes: #428474).
+ * debian/dirs: Removed (useless). Avoids empty directories.
+ * debian/libcv-dev.install: Small cosmetic fix.
+ * debian/libcv-dev.manpages: Added for haartraining utilities.
+ * debian/opencv-createsamples.1: Initially added.
+ * debian/opencv-haartraining.1: Ditto.
+ * debian/opencv-performance.1: Ditto.
+ * debian/opencv-doc.install: Install Makefile.debian here.
+ * debian/rules (install, binary-arch, binary-indep): Removed most of the
+ unused debhelper calls. Let dh_install exclude files we don't want. Don't
+ install examples twice. Removed installation of opencv-config.1 (closes:
+ #407946).
+ * debian/watch: Added.
+ * debian/patches/300_fix_segfault_in_window_gtk.diff: Added. Merged from
+ Ubuntu.
+ * debian/patches/series: Adjusted.
+
+ [ Sam Hocevar ]
+
+ * High urgency to ease testing propagations.
+ * debian/patches/100_ffmpeg_updates.diff:
+ + Updated patch to latest ffmpeg version (Closes: #482217).
+ * debian/patches/020_python_linking.diff:
+ + Link python bindings with required libraries.
+ * debian/patches/030_install_hook.diff:
+ + Use install-exec-hook instead of install-hook.
+
+ * debian/control:
+ + Build-depend on more recent libavcodec-dev.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sun, 08 Jun 2008 15:01:18 +0000
+
+opencv (1.0.0-4) unstable; urgency=low
+
+ * debian/rules:
+ + Support CONCURRENCY_LEVEL.
+ + Don't ignore make distclean errors.
+
+ * debian/control:
+ + Add ${shlibs:Depends} to -dev packages, to get a proper dependency
+ when these packages ship binaries.
+ + Use ${binary:Version} instead of ${Source-Version} (Closes: 430726).
+ + Set policy to 3.7.3.
+ + Use Vcs-Svn: instead of XS-Vcs-Svn: fields.
+
+ * debian/patches/100_ffmpeg_updates.diff:
+ + Updated patch. Getting and setting framerate in FFmpeg streams now
+ works properly again. Thanks to Eric Beets for half the fix.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Mon, 10 Mar 2008 16:41:56 +0000
+
+opencv (1.0.0-3) unstable; urgency=low
+
+ * debian/control:
+ + Set maintainer to the pkg-scicomp team.
+ + Updated Vcs fields.
+ * debian/compat:
+ + Set compat version to 5.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sun, 1 Apr 2007 15:19:15 +0200
+
+opencv (1.0.0-2) unstable; urgency=low
+
+ * Upload to unstable.
+ * debian/patches/120_header_warnings.diff:
+ + New patch. Fix warnings in shipped headers.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 28 Mar 2007 19:02:18 +0200
+
+opencv (1.0.0-1) experimental; urgency=low
+
+ * New upstream release.
+ * debian/control:
+ + Depend on pkg-config now that opencv-config is deprecated.
+ * debian/rules:
+ + Do not remove haartraining files (Closes: #368568).
+
+ * debian/patches/010_python_cspec.diff:
+ + New patch. Add -fno-strict-aliasing because of numerous aliasing
+ issues in the code (Closes: #388129).
+
+ * debian/patches/110_dc1394.diff:
+ + Fix a few bugs in the dc1394 code.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Tue, 14 Nov 2006 17:12:26 +0100
+
+opencv (0.9.7-4) unstable; urgency=low
+
+ * Migrate package to the new python policy (Closes: #373469), thanks to
+ Pierre Habouzit.
+ * debian/control: add XS-Vcs-Svn information.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Thu, 12 Oct 2006 09:21:14 +0200
+
+opencv (0.9.7-3) unstable; urgency=low
+
+ * debian/patches/110_dereferencement.diff:
+ + Fix compilation warnings due to type-punned pointer dereferencement.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Mon, 12 Jun 2006 12:14:44 +0200
+
+opencv (0.9.7-2) unstable; urgency=low
+
+ * Switched patch system from dpatch to quilt.
+ * debian/control:
+ + Set policy to 3.7.2.
+ + Build-depend on newer versions of libavcodec-dev so that we can get
+ dynamically linked with it.
+ + Build-depend on quilt instead of dpatch.
+
+ * debian/patches/010_enable_static.diff:
+ + Old patch -- enable static libraries.
+
+ * debian/patches/010_ffmpeg_linking.diff:
+ + Old patch -- correct ffmpeg linking.
+
+ * debian/patches/010_fix_optimisations.diff:
+ + Old patch -- fix optimisation flags for GCC bug workarounds.
+
+ * debian/patches/010_m4_syntax.diff:
+ + Old patch -- fix m4 syntax.
+
+ * debian/patches/010_makefile_syntax.diff:
+ + Old patch -- fix Makefile.am syntax.
+
+ * debian/patches/010_proper_sonames.diff:
+ + Old patch -- fix library sonames.
+
+ * debian/patches/020_rebootstrap.diff:
+ + Old patch -- rebootstrap package.
+
+ * debian/patches/100_amd64.diff:
+ + Fix inclusion of <emmintrin.h> on AMD64 (Closes: #365752, #366105).
+
+ * debian/patches/100_ffmpeg_updates.diff:
+ + Old patch -- update ffmpeg code to get in sync with newer API.
+
+ * debian/patches/100_python_files.diff:
+ + Old patch -- remove shebang from non-executable python files.
+
+ * debian/patches/100_static_inline.diff:
+ + Old patch -- replace inline with static inline in public headers.
+
+ * debian/patches/200_documentation.diff:
+ + Old patch -- get documentation in sync with the API.
+
+ * debian/patches/200_examples_makefile.diff:
+ + Old patch -- add a Makefile to the examples directory.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sun, 14 May 2006 05:40:42 +0200
+
+opencv (0.9.7-1) unstable; urgency=low
+
+ * New upstream release.
+ * Maintainer upload.
+ * Acknowledging previous NMU (Closes: #339240). Thanks to Steve Langasek.
+ * debian/control:
+ + Build-depend on swig because of the Python bindings.
+ + Renamed 0.9-0c2 packages to 0.9.7-0 due to API changes.
+ + Depend and build-depend on libavformat-dev.
+ * debian/rules:
+ + Activated Python wrappers.
+ + Build example apps.
+ * cxtypes.h highgui.h: Replace "static" with "static inline" for inline
+ functions declared in the public headers.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 19 Apr 2006 09:37:55 +0200
+
+opencv (0.9.6-4.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Medium-urgency upload for RC bugfix.
+ * Rename libcvaux0.9-0c2 to libcvaux0.9-0c2a for the C++ mt allocator ABI
+ transition, and conflict/replace libcvaux0.9-0c2 accordingly
+ (closes: #339240).
+
+ -- Steve Langasek <vorlon@debian.org> Sat, 3 Dec 2005 21:27:40 -0800
+
+opencv (0.9.6-4) unstable; urgency=low
+
+ * tests/cv/src/asobel.cpp:
+ + Fixed an illegal int/void* cast.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Mon, 26 Sep 2005 19:39:52 +0200
+
+opencv (0.9.6-3) unstable; urgency=low
+
+ * debian/control:
+ + Build-depend on a newer libavcodec-dev.
+ + Make libhighgui-dev depend on all required -dev packages such as
+ libtheora-dev (Closes: #319018).
+ * debian/rules:
+ + Hint --build and --host to configure.
+ * configure.in:
+ + Use -O2 on m68k instead of -O3 to bypass gcc ICEs (Closes: #321106).
+ * tests/cv/src/apyramids.cpp: fixed 64 bits compilation (Closes: #318791).
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Fri, 16 Sep 2005 11:53:13 +0200
+
+opencv (0.9.6-2) unstable; urgency=low
+
+ * The great g++ transition upload.
+ * debian/control:
+ + Renamed 0.9-0 packages to 0.9-0c2.
+ + Set policy to 3.6.2.1.
+ + Build-depend on a newer libavcodec-dev.
+ * docs/index.htm:
+ + Encoded invalid HTML characters.
+ + Fixed links to the reference manual (Closes: #306922).
+ * docs/ref/opencvref_cv.htm:
+ + Encoded invalid HTML characters.
+ + Fixed the definition of CvHistogram (Closes: #307269).
+ * otherlibs/highgui/cvcap.cpp:
+ + Hardcoded the capture framerate because ffmpeg no longer easily provides
+ the information.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Thu, 14 Jul 2005 15:48:31 +0200
+
+opencv (0.9.6-1) unstable; urgency=low
+
+ * New upstream release (Closes: #267825).
+ * Major upstream changes:
+ + This release merged most Debian-specific patches upstream.
+ + This version now uses pkg-config instead of opencv-config.
+ + This version uses GTK+ instead of Motif widgets.
+ + Example programs were fixed (Closes: #254150).
+ * debian/control:
+ + Build-depend on libdc1394 and libavcodec. As a result, build no longer
+ fails if libavcodec-dev is installed (Closes: #270345).
+ * debian/copyright:
+ + Fixed upstream URL (Closes: #270344).
+ * cvaux/src/cvvideo.cpp: the code portion causing an FTBFS on amd64 is no
+ longer there (Closes: #297625).
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Fri, 1 Apr 2005 19:30:58 +0200
+
+opencv (0.9.5-10) unstable; urgency=high
+
+ * debian/patches/30_delete.dpatch:
+ + Fixed a crash at program exit (Closes: #269799).
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Fri, 3 Sep 2004 21:59:26 +0200
+
+opencv (0.9.5-9) unstable; urgency=high
+
+ * debian/control:
+ + Build-depend on lesstif2-dev to take advantage of new Motif 2 features.
+ + libhighgui-dev depends on lesstif2-dev as well.
+ * debian/patches/20_old.dpatch:
+ + No longer patch/unpatch the Makefiles to avoid clock skew issues
+ (Closes: #266622).
+ * debian/patches/30_delete.dpatch:
+ + Fixed delete[] / delete mismatches.
+ * debian/patches/30_window_lnx.cpp.setTrackbarPos_crash.dpatch:
+ + Fix a crash in cvSetTrackbarPos() for closed windows, courtesy of
+ micha137 at users.sourceforge.net.
+ * debian/patches/40_linux_trackbar.dpatch
+ debian/patches/30_linux_mouse.dpatch:
+ + Add arrows to trackbars, courtesy of Filip Sadlo.
+ + Fixed position of mouse button events, courtesy of Filip Sadlo.
+ * debian/patches/30_render.dpatch:
+ + Fixed pointer casts, courtesy of buddha_pht at users.sourceforge.net.
+ * debian/patches/30_xshm.dpatch:
+ + Don't use XShm over network connections.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Tue, 17 Aug 2004 18:01:23 +0200
+
+opencv (0.9.5-8) unstable; urgency=low
+
+ * debian/control:
+ + Added missing build dependency on dpatch (Closes: #262209).
+ * debian/rules:
+ + Call unpatch before make clean.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Fri, 30 Jul 2004 08:34:59 +0200
+
+opencv (0.9.5-7) unstable; urgency=low
+
+ * Rebuilt against libtiff4 due to an ABI change.
+ * Fixed numerous compilation warning due to pointer/int size assumptions and
+ char signedness assumption.
+ * debian/control:
+ + Set policy to 3.6.1.1.
+ + Switched packaging method to dpatch.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Sun, 25 Jul 2004 21:54:33 +0200
+
+opencv (0.9.5-6) unstable; urgency=low
+
+ * cv/include/cvcompat.h cv/include/cvtypes.h:
+ + Fixed more C preprocessor warnings.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 30 Jun 2004 14:04:12 +0200
+
+opencv (0.9.5-5) unstable; urgency=low
+
+ * cv/include/cv.h:
+ + Fixed C preprocessor warnings.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 30 Jun 2004 11:59:36 +0200
+
+opencv (0.9.5-4) unstable; urgency=low
+
+ * debian/control:
+ + Added missing lesstif-dev build dependency to the libhighgui-dev
+ package (Closes: #252304).
+ * debian/README.Debian:
+ + Minor updates.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 2 Jun 2004 13:27:07 -0300
+
+opencv (0.9.5-3) unstable; urgency=low
+
+ * debian/rules:
+ + Enabled static libraries in the build (Closes: #249471).
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 19 May 2004 21:48:47 +0200
+
+opencv (0.9.5-2) unstable; urgency=low
+
+ * debian/control:
+ + Added libxaw7-dev to the build dependencies.
+ + Added libxaw7-dev to the libcvcam-dev dependencies.
+ * debian/copyright:
+ + Removed a duplicate copyright entry.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 28 Apr 2004 10:25:56 +0200
+
+opencv (0.9.5-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Thu, 22 Apr 2004 14:55:19 +0200
+
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..12db5c4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,1465 @@
+Source: opencv
+Priority: optional
+Section: devel
+Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: Sam Hocevar (Debian packages) <sam+deb@zoy.org>,
+ Nobuhiro Iwamatsu <iwamatsu@debian.org>
+Build-Depends: debhelper (>= 9),
+ cmake (>= 2.8.7),
+ libavcodec-dev, libavformat-dev, libswscale-dev, libgtk2.0-dev, libgtkglext1-dev,
+ libgl1-mesa-dev, libglu1-mesa-dev,
+ libjpeg-dev,
+ libpng-dev,
+ libtiff-dev,
+ libopenexr-dev (>= 1.6.1-8.1),
+ libraw1394-dev [linux-any],
+ libdc1394-22-dev [linux-any],
+ libv4l-dev [linux-any],
+ zlib1g-dev (>= 1.2.5),
+ liblapack-dev (>= 3.2.1),
+ libtbb-dev [i386 amd64 ia64 powerpc ppc64 ppc64el],
+ libeigen3-dev,
+ ocl-icd-opencl-dev,
+ python-dev,
+ dh-python,
+ python-numpy,
+ python-sphinx,
+ ant, default-jdk, javahelper,
+ texlive-fonts-extra, texlive-latex-extra, texlive-latex-recommended,
+ latex-xcolor, texlive-fonts-recommended
+Standards-Version: 3.9.5
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/opencv.git
+Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/opencv.git
+Homepage: http://opencv.org/
+
+Package: opencv-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Conflicts: libopencv-doc
+Replaces: libopencv-doc
+Description: OpenCV documentation and examples
+ This package contains the OpenCV documentation and example programs.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libcv-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends},
+ pkg-config,
+ libopencv-core-dev,
+ libopencv-imgproc-dev,
+ libopencv-flann-dev,
+ libopencv-features2d-dev,
+ libopencv-calib3d-dev,
+ libopencv-objdetect-dev,
+ libopencv-legacy-dev,
+ libopencv-video-dev,
+ libopencv-ml-dev
+Conflicts: libcvaux-dev (<= 2.1.0-7), libhighgui-dev (<= 2.1.0-7)
+Description: Translation package for libcv-dev
+ This package provide files for translation from libcv-dev to
+ subdivided packages.
+ .
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision).
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libcv2.4
+Architecture: all
+Depends: ${misc:Depends},
+ libopencv-core2.4v5,
+ libopencv-imgproc2.4v5,
+ libopencv-flann2.4v5,
+ libopencv-features2d2.4v5,
+ libopencv-calib3d2.4v5,
+ libopencv-objdetect2.4v5,
+ libopencv-legacy2.4v5,
+ libopencv-video2.4v5,
+ libopencv-ml2.4v5
+Description: computer vision library - libcv* translation package
+ This package provide files for translation from libcv2.1 to libcv2.4.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libhighgui-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ pkg-config,
+ libopencv-highgui-dev
+Description: Translation package for libhighgui-dev
+ This package provide files for translation from libhighgui-dev to
+ subdivided packages.
+ .
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision).
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libhighgui2.4
+Architecture: all
+Depends: ${misc:Depends},
+ libopencv-highgui2.4-deb0
+Description: computer vision library - libhighgui translation package
+ This package provide files for translation from libhighgui2.1 to libhighgui2.4.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libcvaux-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ pkg-config,
+ libopencv-core-dev,
+ libopencv-imgproc-dev,
+ libopencv-features2d-dev,
+ libopencv-calib3d-dev,
+ libopencv-objdetect-dev,
+ libopencv-legacy-dev,
+ libopencv-video-dev,
+ libopencv-contrib-dev
+Description: Translation package for libcvaux-dev
+ This package provide files for translation from libcvaux-dev to
+ subdivided packages.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libcvaux2.4
+Architecture: all
+Depends: ${misc:Depends},
+ libopencv-core2.4v5,
+ libopencv-imgproc2.4v5,
+ libopencv-features2d2.4v5,
+ libopencv-calib3d2.4v5,
+ libopencv-objdetect2.4v5,
+ libopencv-legacy2.4v5,
+ libopencv-video2.4v5,
+ libopencv-contrib2.4v5
+Description: computer vision library - libcvaux translation package
+ This package provide files for translation from libcvaux2.1 to libcvaux2.4.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends},
+ libopencv-core-dev (= ${binary:Version}),
+ libopencv-ml-dev (= ${binary:Version}),
+ libopencv-imgproc-dev (= ${binary:Version}),
+ libopencv-video-dev (= ${binary:Version}),
+ libopencv-objdetect-dev (= ${binary:Version}),
+ libopencv-highgui-dev (= ${binary:Version}),
+ libopencv-calib3d-dev (= ${binary:Version}),
+ libopencv-flann-dev (= ${binary:Version}),
+ libopencv-features2d-dev (= ${binary:Version}),
+ libopencv-legacy-dev (= ${binary:Version}),
+ libopencv-contrib-dev (= ${binary:Version}),
+ libopencv-ts-dev (= ${binary:Version}),
+ libopencv-photo-dev (= ${binary:Version}),
+ libopencv-videostab-dev (= ${binary:Version}),
+ libopencv-stitching-dev (= ${binary:Version}),
+ libopencv-gpu-dev (= ${binary:Version}),
+ libopencv-superres-dev (= ${binary:Version}),
+ libopencv-ocl-dev (= ${binary:Version}),
+ libopencv2.4-java (= ${source:Version}),
+ libopencv2.4-jni (= ${binary:Version}),
+ libcv-dev (= ${binary:Version}),
+ libhighgui-dev (= ${binary:Version}),
+ libcvaux-dev (= ${binary:Version}),
+ pkg-config
+Recommends: opencv-data
+Breaks: libopencv-core-dev (<= 2.3.1-8)
+Description: development files for opencv
+ This is a metapackage providing development package necessary for
+ development of OpenCV (Open Computer Vision).
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: opencv-data
+Section: libdevel
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: libopencv-dev (<= 2.3.1-12)
+Description: development data for opencv
+ This is a metapackage providing development package necessary for
+ development of OpenCV (Open Computer Vision).
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-core-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, libopencv-core2.4v5 (= ${binary:Version}),
+ zlib1g-dev
+Description: development files for libopencv-core
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) core.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-core2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-core2.4
+Replaces: libopencv-core2.4
+Description: computer vision core library
+ This package contains the OpenCV (Open Computer Vision) core runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-ml-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-core-dev (= ${binary:Version}),
+ libopencv-ml2.4v5 (= ${binary:Version})
+Description: development files for libopencv-ml
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) Machine Learning library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-ml2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-core2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-ml2.4
+Replaces: libopencv-ml2.4
+Description: computer vision Machine Learning library
+ This package contains the OpenCV (Open Computer Vision) Machine Learning
+ runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-imgproc-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-core-dev (= ${binary:Version}),
+ libopencv-imgproc2.4v5 (= ${binary:Version})
+Description: development files for libopencv-imgproc
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) Image Processing library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-imgproc2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-core2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-imgproc2.4
+Replaces: libopencv-imgproc2.4
+Description: computer vision Image Processing library
+ This package contains the OpenCV (Open Computer Vision) Image Processing
+ runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-video-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-imgproc-dev (= ${binary:Version}),
+ libopencv-video2.4v5 (= ${binary:Version})
+Description: development files for libopencv-video
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) Video analysis library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-video2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-imgproc2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-video2.4
+Replaces: libopencv-video2.4
+Description: computer vision Video analysis library
+ This package contains the OpenCV (Open Computer Vision) Video analysis
+ runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-objdetect-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-highgui-dev (= ${binary:Version}),
+ libopencv-objdetect2.4v5 (= ${binary:Version})
+Description: development files for libopencv-objdetect
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) Object Detection library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-objdetect2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-highgui2.4-deb0 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-objdetect2.4
+Replaces: libopencv-objdetect2.4
+Description: computer vision Object Detection library
+ This package contains the OpenCV (Open Computer Vision) Object Detection
+ runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-highgui-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-imgproc-dev (= ${binary:Version}),
+ libopencv-highgui2.4-deb0 (= ${binary:Version}),
+ libavcodec-dev (>= 0.svn20080206),
+ libavformat-dev,
+ libswscale-dev,
+ libgtk2.0-dev,
+ libjpeg-dev,
+ libpng-dev,
+ libtiff-dev,
+ libopenexr-dev (>= 1.4.0),
+ libraw1394-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386],
+ libdc1394-22-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386]
+Description: development files for libopencv-highgui
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) High-level GUI and
+ Media I/O library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-highgui2.4-deb0
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ libopencv-imgproc2.4v5 (= ${binary:Version})
+Conflicts: libopencv-highgui2.4, libopencv-highgui2.4v5
+Replaces: libopencv-highgui2.4, libopencv-highgui2.4v5
+Description: computer vision High-level GUI and Media I/O library
+ This package contains the OpenCV (Open Computer Vision) High-level GUI
+ and Media I/O runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-calib3d-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-features2d-dev (= ${binary:Version}),
+ libopencv-calib3d2.4v5 (= ${binary:Version})
+Description: development files for libopencv-calib3d
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) Camera Calibration library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-calib3d2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-features2d2.4v5 (= ${binary:Version}),
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-calib3d2.4
+Replaces: libopencv-calib3d2.4
+Description: computer vision Camera Calibration library
+ This package contains the OpenCV (Open Computer Vision) Camera Calibration
+ runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-flann-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-core-dev (= ${binary:Version}),
+ libopencv-flann2.4v5 (= ${binary:Version})
+Description: development files for libopencv-flann
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) Clustering and Search
+ in Multi-Dimensional spaces library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-flann2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-core2.4v5 (= ${binary:Version}),
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-flann2.4
+Replaces: libopencv-flann2.4
+Description: computer vision Clustering and Search in Multi-Dimensional spaces library
+ This package contains the OpenCV (Open Computer Vision) clustering and
+ search in Multi-Dimensional spaces runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-features2d-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-flann-dev (= ${binary:Version}),
+ libopencv-imgproc-dev (= ${binary:Version}),
+ libopencv-features2d2.4v5 (= ${binary:Version})
+Description: development files for libopencv-features2d
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) Feature Detection and
+ Descriptor Extraction library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-features2d2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-flann2.4v5 (= ${binary:Version}),
+ libopencv-imgproc2.4v5 (= ${binary:Version}),
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-features2d2.4
+Replaces: libopencv-features2d2.4
+Description: computer vision Feature Detection and Descriptor Extraction library
+ This package contains the OpenCV (Open Computer Vision) Feature Detection
+ and Descriptor Extraction runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-legacy-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-video-dev (= ${binary:Version}),
+ libopencv-calib3d-dev (= ${binary:Version}),
+ libopencv-ml-dev (= ${binary:Version}),
+ libopencv-highgui-dev (= ${binary:Version}),
+ libopencv-legacy2.4v5 (= ${binary:Version})
+Description: development files for libopencv-legacy
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) legacy library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-legacy2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-video2.4v5 (= ${binary:Version}),
+ libopencv-calib3d2.4v5 (= ${binary:Version}),
+ libopencv-ml2.4v5 (= ${binary:Version}),
+ libopencv-highgui2.4-deb0 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-legacy2.4
+Replaces: libopencv-legacy2.4
+Description: computer vision legacy library
+ This package contains the OpenCV (Open Computer Vision) legacy runtime
+ libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-contrib-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-calib3d-dev (= ${binary:Version}),
+ libopencv-highgui-dev (= ${binary:Version}),
+ libopencv-ml-dev (= ${binary:Version}),
+ libopencv-video-dev (= ${binary:Version}),
+ libopencv-objdetect-dev (= ${binary:Version}),
+ libopencv-contrib2.4v5 (= ${binary:Version})
+Description: development files for libopencv-contrib
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) crotrib library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-contrib2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-calib3d2.4v5 (= ${binary:Version}),
+ libopencv-highgui2.4-deb0 (= ${binary:Version}),
+ libopencv-ml2.4v5 (= ${binary:Version}),
+ libopencv-video2.4v5 (= ${binary:Version}),
+ libopencv-objdetect2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-contrib2.4
+Replaces: libopencv-contrib2.4
+Description: computer vision contrib library
+ This package contains the OpenCV (Open Computer Vision) contrib
+ runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-ts-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-core-dev (= ${binary:Version}),
+ libopencv-ts2.4v5 (= ${binary:Version})
+Description: development files for libopencv-ts2.4v5
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) ts library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-ts2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-core2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-ts2.4
+Replaces: libopencv-ts2.4
+Description: computer vision ts library
+ This package contains the OpenCV (Open Computer Vision) ts runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-photo-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-imgproc-dev (= ${binary:Version}),
+ libopencv-photo2.4v5 (= ${binary:Version})
+Description: development files for libopencv-photo2.4v5
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) computational photography
+ library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-photo2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-imgproc2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-photo2.4
+Replaces: libopencv-photo2.4
+Description: computer vision computational photography library
+ This package contains the OpenCV (Open Computer Vision) computational
+ photography runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-videostab-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-features2d-dev (= ${binary:Version}),
+ libopencv-video-dev (= ${binary:Version}),
+ libopencv-highgui-dev (= ${binary:Version}),
+ libopencv-photo-dev (= ${binary:Version}),
+ libopencv-gpu-dev (= ${binary:Version}),
+ libopencv-videostab2.4v5 (= ${binary:Version})
+Description: development files for libopencv-videostab2.4v5
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) video stabilization
+ library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-videostab2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-features2d2.4v5 (= ${binary:Version}),
+ libopencv-video2.4v5 (= ${binary:Version}),
+ libopencv-highgui2.4-deb0 (= ${binary:Version}),
+ libopencv-photo2.4v5 (= ${binary:Version}),
+ libopencv-gpu2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-videostab2.4
+Replaces: libopencv-videostab2.4
+Description: computer vision video stabilization library
+ This package contains the OpenCV (Open Computer Vision) video stabilization
+ runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-stitching-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-calib3d-dev (= ${binary:Version}),
+ libopencv-flann-dev (= ${binary:Version}),
+ libopencv-stitching2.4v5 (= ${binary:Version})
+Description: development files for libopencv-stitching2.4v5
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) image stitching library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-stitching2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-calib3d2.4v5 (= ${binary:Version}),
+ libopencv-flann2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-stitching2.4
+Replaces: libopencv-stitching2.4
+Description: computer vision image stitching library
+ This package contains the OpenCV (Open Computer Vision) image stitching
+ runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-gpu-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-gpu2.4v5 (= ${binary:Version}),
+ libopencv-core-dev (= ${binary:Version})
+Description: development files for libopencv-gpu2.4v5
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) GPU library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-gpu2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-core2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-gpu2.4
+Replaces: libopencv-gpu2.4
+Description: computer vision GPU library
+ This package contains the OpenCV (Open Computer Vision) GPU-accelerated
+ runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-superres-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-highgui-dev (= ${binary:Version}),
+ libopencv-video-dev (= ${binary:Version}),
+ libopencv-gpu-dev (= ${binary:Version}),
+ libopencv-superres2.4v5 (= ${binary:Version})
+Description: development files for libopencv-superres2.4v5
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) Super Resolution library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-superres2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-highgui2.4-deb0 (= ${binary:Version}),
+ libopencv-video2.4v5 (= ${binary:Version}),
+ libopencv-gpu2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-superres2.4
+Replaces: libopencv-superres2.4
+Description: computer vision Super Resolution library
+ This package contains the OpenCV (Open Computer Vision) Super Resolution
+ runtime libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-ocl-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+ libopencv-calib3d-dev (= ${binary:Version}),
+ libopencv-ml-dev (= ${binary:Version}),
+ libopencv-objdetect-dev (= ${binary:Version}),
+ libopencv-highgui-dev (= ${binary:Version}),
+ libopencv-video-dev (= ${binary:Version}),
+ libopencv-ocl2.4v5 (= ${binary:Version})
+Description: development files for libopencv-ocl2.4v5
+ This package contains the header files and static library needed to compile
+ applications that use OpenCV (Open Computer Vision) OpenCL support library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv-ocl2.4v5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-calib3d2.4v5 (= ${binary:Version}),
+ libopencv-ml2.4v5 (= ${binary:Version}),
+ libopencv-objdetect2.4v5 (= ${binary:Version}),
+ libopencv-highgui2.4-deb0 (= ${binary:Version}),
+ libopencv-video2.4v5 (= ${binary:Version})
+Breaks: libopencv-calib3d2.4,
+ libopencv-contrib2.4,
+ libopencv-core2.4,
+ libopencv-features2d2.4,
+ libopencv-flann2.4,
+ libopencv-gpu2.4,
+ libopencv-imgproc2.4,
+ libopencv-legacy2.4,
+ libopencv-ml2.4,
+ libopencv-objdetect2.4,
+ libopencv-ocl2.4,
+ libopencv-photo2.4,
+ libopencv-stitching2.4,
+ libopencv-superres2.4,
+ libopencv-ts2.4,
+ libopencv-video2.4,
+ libopencv-videostab2.4
+Conflicts: libopencv-ocl2.4
+Replaces: libopencv-ocl2.4
+Description: computer vision OpenCL support library
+ This package contains the OpenCV (Open Computer Vision) OpenCL runtime
+ libraries.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv2.4-java
+Section: java
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends},
+ libopencv2.4-jni (>= ${source:Version})
+Recommends: ${java:Recommends}
+Description: Java bindings for the computer vision library
+ This package contains Java bindings for the OpenCV (Open Computer Vision)
+ library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: libopencv2.4-jni
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libopencv-calib3d2.4v5 (= ${binary:Version}),
+ libopencv-ml2.4v5 (= ${binary:Version}),
+ libopencv-objdetect2.4v5 (= ${binary:Version}),
+ libopencv-highgui2.4-deb0 (= ${binary:Version}),
+ libopencv-video2.4v5 (= ${binary:Version}),
+ libopencv-contrib2.4v5 (= ${binary:Version}),
+ libopencv-photo2.4v5 (= ${binary:Version})
+Description: Java jni library for the computer vision library
+ This package contains Java jni library for the OpenCV (Open Computer Vision)
+ library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
+Package: python-opencv
+Section: python
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python-numpy-abi9,
+ python-numpy (>= 1:1.6.1)
+Provides: ${python:Provides}
+Replaces: python2.3-opencv (<= 0.9.7-3)
+Conflicts: python2.3-opencv (<= 0.9.7-3)
+Description: Python bindings for the computer vision library
+ This package contains Python bindings for the OpenCV (Open Computer Vision)
+ library.
+ .
+ The Open Computer Vision Library is a collection of algorithms and sample
+ code for various computer vision problems. The library is compatible with
+ IPL (Intel's Image Processing Library) and, if available, can use IPP
+ (Intel's Integrated Performance Primitives) for better performance.
+ .
+ OpenCV provides low level portable data types and operators, and a set
+ of high level functionalities for video acquisition, image processing and
+ analysis, structural analysis, motion analysis and object tracking, object
+ recognition, camera calibration and 3D reconstruction.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2680cd8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,70 @@
+This package was debianized by Sam Hocevar <sam@zoy.org> on
+Thu, 1 Apr 2004 17:32:06 +0200.
+
+It was downloaded from http://www.sourceforge.net/projects/opencvlibrary/
+
+Upstream Authors: Abrosimov, Dmitry (Intel Corp.)
+ Bradski, Gary (Intel Corp.)
+ Bouguet, Jean-Yves (Intel Corp.)
+ Bovyrin, Alexander (Intel Corp.)
+ Burenkov, Denis (Moscow State Uni)
+ Cherepanova, Tatiana (Novosibirsk University)
+ Cherepennikov, Valery (Intel Corp.)
+ Chudinovich, Boris (Intel Corp.)
+ Cowperthwaite, David (Intel Corp.)
+ Cox, Cory (Intel Corp.)
+ Davies, Bob (Intel Corp.)
+ Eaton, Daniel
+ Eruhimov, Victor (Intel Corp.)
+ Grachev, Ilya (Intel Corp.)
+ Khudyakov, Vasily (Novosibirsk University)
+ Kuranov, Alexander (Intel Corp.)
+ Kuriakin, Valery (Intel Corp.)
+ Lantz, Philip (Intel Corp.)
+ Lienhart, Rainer (Intel Corp.)
+ Molinov, Sergey (Intel Corp.)
+ Mosyagin, Valery (Intel Corp.)
+ Nefian, Ara (Intel Corp.)
+ Oblomov, Sergey (Intel Corp.)
+ Pisarevsky, Vadim (Intel Corp.)
+ Pleskov, Alexander (Intel Corp.)
+ Sobolev, Andrey (Moscow State Uni)
+ Zaguskin, Victor (Intel Corp.)
+
+IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+
+ By downloading, copying, installing or using the software you agree to this license.
+ If you do not agree to this license, do not download, install,
+ copy or use the software.
+
+
+ License Agreement
+ For Open Source Computer Vision Library
+
+Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
+Copyright (C) 2008-2010, Willow Garage Inc., all rights reserved.
+Third party copyrights are property of their respective owners.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ * Redistribution's [sic] of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistribution's [sic] 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.
+
+ * The name of the copyright holders may not 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 Intel Corporation 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.
diff --git a/debian/libcv-dev.docs b/debian/libcv-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libcv-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libcv-dev.install b/debian/libcv-dev.install
new file mode 100644
index 0000000..b75ca65
--- /dev/null
+++ b/debian/libcv-dev.install
@@ -0,0 +1,9 @@
+# header files
+usr/include/opencv/cv.h
+usr/include/opencv/cv.hpp
+usr/include/opencv/cvwimage.h
+usr/include/opencv/cxcore.h
+usr/include/opencv/cxcore.hpp
+usr/include/opencv/cxeigen.hpp
+usr/include/opencv/cxmisc.h
+usr/include/opencv/ml.h
diff --git a/debian/libcv2.4.lintian-overrides b/debian/libcv2.4.lintian-overrides
new file mode 100644
index 0000000..17f6d7f
--- /dev/null
+++ b/debian/libcv2.4.lintian-overrides
@@ -0,0 +1 @@
+libcv2.4: empty-binary-package
diff --git a/debian/libcvaux-dev.docs b/debian/libcvaux-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libcvaux-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libcvaux-dev.install b/debian/libcvaux-dev.install
new file mode 100644
index 0000000..a0cee0a
--- /dev/null
+++ b/debian/libcvaux-dev.install
@@ -0,0 +1,3 @@
+# header files
+usr/include/opencv/cvaux.h
+usr/include/opencv/cvaux.hpp
diff --git a/debian/libcvaux2.4.lintian-overrides b/debian/libcvaux2.4.lintian-overrides
new file mode 100644
index 0000000..1292c73
--- /dev/null
+++ b/debian/libcvaux2.4.lintian-overrides
@@ -0,0 +1 @@
+libcvaux2.4: empty-binary-package
diff --git a/debian/libhighgui-dev.docs b/debian/libhighgui-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libhighgui-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libhighgui-dev.install b/debian/libhighgui-dev.install
new file mode 100644
index 0000000..91b29fc
--- /dev/null
+++ b/debian/libhighgui-dev.install
@@ -0,0 +1 @@
+usr/include/opencv/highgui.h
diff --git a/debian/libhighgui2.4.lintian-overrides b/debian/libhighgui2.4.lintian-overrides
new file mode 100644
index 0000000..5659c16
--- /dev/null
+++ b/debian/libhighgui2.4.lintian-overrides
@@ -0,0 +1 @@
+libhighgui2.4: empty-binary-package
diff --git a/debian/libopencv-calib3d-dev.docs b/debian/libopencv-calib3d-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-calib3d-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-calib3d-dev.install b/debian/libopencv-calib3d-dev.install
new file mode 100644
index 0000000..0ec8e64
--- /dev/null
+++ b/debian/libopencv-calib3d-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/calib3d/*
+usr/lib/*/libopencv_calib3d.a
+usr/lib/*/libopencv_calib3d.so
diff --git a/debian/libopencv-calib3d2.4v5.install b/debian/libopencv-calib3d2.4v5.install
new file mode 100644
index 0000000..feaccce
--- /dev/null
+++ b/debian/libopencv-calib3d2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_calib3d.so.*
diff --git a/debian/libopencv-contrib-dev.docs b/debian/libopencv-contrib-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-contrib-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-contrib-dev.install b/debian/libopencv-contrib-dev.install
new file mode 100644
index 0000000..af27954
--- /dev/null
+++ b/debian/libopencv-contrib-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/contrib/*
+usr/lib/*/libopencv_contrib.a
+usr/lib/*/libopencv_contrib.so
diff --git a/debian/libopencv-contrib2.4v5.install b/debian/libopencv-contrib2.4v5.install
new file mode 100644
index 0000000..663a136
--- /dev/null
+++ b/debian/libopencv-contrib2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_contrib.so.*
diff --git a/debian/libopencv-core-dev.docs b/debian/libopencv-core-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-core-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-core-dev.install b/debian/libopencv-core-dev.install
new file mode 100644
index 0000000..2dd388a
--- /dev/null
+++ b/debian/libopencv-core-dev.install
@@ -0,0 +1,7 @@
+# header files
+usr/include/opencv2/core/*
+usr/include/opencv2/opencv.hpp
+usr/include/opencv2/opencv_modules.hpp
+# libraries
+usr/lib/*/libopencv_core.a
+usr/lib/*/libopencv_core.so
diff --git a/debian/libopencv-core-dev.lintian-overrides b/debian/libopencv-core-dev.lintian-overrides
new file mode 100644
index 0000000..0cb5688
--- /dev/null
+++ b/debian/libopencv-core-dev.lintian-overrides
@@ -0,0 +1 @@
+libopencv-core-dev: binary-without-manpage usr/bin/opencv_stitching
diff --git a/debian/libopencv-core2.4v5.install b/debian/libopencv-core2.4v5.install
new file mode 100644
index 0000000..4f4d29a
--- /dev/null
+++ b/debian/libopencv-core2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_core.so.*
diff --git a/debian/libopencv-dev.install b/debian/libopencv-dev.install
new file mode 100644
index 0000000..709be34
--- /dev/null
+++ b/debian/libopencv-dev.install
@@ -0,0 +1,7 @@
+usr/lib/*/pkgconfig
+usr/share/OpenCV/OpenCVConfig.cmake
+usr/share/OpenCV/OpenCVConfig-version.cmake
+usr/share/OpenCV/OpenCVModules-release.cmake
+usr/share/OpenCV/OpenCVModules.cmake
+# samples
+usr/bin
diff --git a/debian/libopencv-dev.manpages b/debian/libopencv-dev.manpages
new file mode 100644
index 0000000..77d0213
--- /dev/null
+++ b/debian/libopencv-dev.manpages
@@ -0,0 +1,4 @@
+debian/man/opencv_createsamples.1
+debian/man/opencv_haartraining.1
+debian/man/opencv_performance.1
+debian/man/opencv_traincascade.1
diff --git a/debian/libopencv-features2d-dev.docs b/debian/libopencv-features2d-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-features2d-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-features2d-dev.install b/debian/libopencv-features2d-dev.install
new file mode 100644
index 0000000..8f1dbeb
--- /dev/null
+++ b/debian/libopencv-features2d-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/features2d/*
+usr/lib/*/libopencv_features2d.a
+usr/lib/*/libopencv_features2d.so
diff --git a/debian/libopencv-features2d2.4v5.install b/debian/libopencv-features2d2.4v5.install
new file mode 100644
index 0000000..710c185
--- /dev/null
+++ b/debian/libopencv-features2d2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_features2d.so.*
diff --git a/debian/libopencv-flann-dev.docs b/debian/libopencv-flann-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-flann-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-flann-dev.install b/debian/libopencv-flann-dev.install
new file mode 100644
index 0000000..ce81bb6
--- /dev/null
+++ b/debian/libopencv-flann-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/flann/*
+usr/lib/*/libopencv_flann.a
+usr/lib/*/libopencv_flann.so
diff --git a/debian/libopencv-flann2.4v5.install b/debian/libopencv-flann2.4v5.install
new file mode 100644
index 0000000..6f9674a
--- /dev/null
+++ b/debian/libopencv-flann2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_flann.so.*
diff --git a/debian/libopencv-gpu-dev.docs b/debian/libopencv-gpu-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-gpu-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-gpu-dev.install b/debian/libopencv-gpu-dev.install
new file mode 100644
index 0000000..bfc01dc
--- /dev/null
+++ b/debian/libopencv-gpu-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/gpu/*
+usr/lib/*/libopencv_gpu.a
+usr/lib/*/libopencv_gpu.so
diff --git a/debian/libopencv-gpu2.4v5.install b/debian/libopencv-gpu2.4v5.install
new file mode 100644
index 0000000..45f5c5e
--- /dev/null
+++ b/debian/libopencv-gpu2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_gpu.so.*
diff --git a/debian/libopencv-highgui-dev.docs b/debian/libopencv-highgui-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-highgui-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-highgui-dev.install b/debian/libopencv-highgui-dev.install
new file mode 100644
index 0000000..d761d7d
--- /dev/null
+++ b/debian/libopencv-highgui-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/highgui/*
+usr/lib/*/libopencv_highgui.a
+usr/lib/*/libopencv_highgui.so
diff --git a/debian/libopencv-highgui2.4-deb0.install b/debian/libopencv-highgui2.4-deb0.install
new file mode 100644
index 0000000..7943204
--- /dev/null
+++ b/debian/libopencv-highgui2.4-deb0.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_highgui.so.*
diff --git a/debian/libopencv-imgproc-dev.docs b/debian/libopencv-imgproc-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-imgproc-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-imgproc-dev.install b/debian/libopencv-imgproc-dev.install
new file mode 100644
index 0000000..911178b
--- /dev/null
+++ b/debian/libopencv-imgproc-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/imgproc/*
+usr/lib/*/libopencv_imgproc.a
+usr/lib/*/libopencv_imgproc.so
diff --git a/debian/libopencv-imgproc2.4v5.install b/debian/libopencv-imgproc2.4v5.install
new file mode 100644
index 0000000..969bed5
--- /dev/null
+++ b/debian/libopencv-imgproc2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_imgproc.so.*
diff --git a/debian/libopencv-legacy-dev.docs b/debian/libopencv-legacy-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-legacy-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-legacy-dev.install b/debian/libopencv-legacy-dev.install
new file mode 100644
index 0000000..5bba4c4
--- /dev/null
+++ b/debian/libopencv-legacy-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/legacy/*
+usr/lib/*/libopencv_legacy.a
+usr/lib/*/libopencv_legacy.so
diff --git a/debian/libopencv-legacy2.4v5.install b/debian/libopencv-legacy2.4v5.install
new file mode 100644
index 0000000..e43a8aa
--- /dev/null
+++ b/debian/libopencv-legacy2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_legacy.so.*
diff --git a/debian/libopencv-ml-dev.docs b/debian/libopencv-ml-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-ml-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-ml-dev.install b/debian/libopencv-ml-dev.install
new file mode 100644
index 0000000..946c26f
--- /dev/null
+++ b/debian/libopencv-ml-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/ml/*
+usr/lib/*/libopencv_ml.a
+usr/lib/*/libopencv_ml.so
diff --git a/debian/libopencv-ml2.4v5.install b/debian/libopencv-ml2.4v5.install
new file mode 100644
index 0000000..584a745
--- /dev/null
+++ b/debian/libopencv-ml2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_ml.so.*
diff --git a/debian/libopencv-objdetect-dev.docs b/debian/libopencv-objdetect-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-objdetect-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-objdetect-dev.install b/debian/libopencv-objdetect-dev.install
new file mode 100644
index 0000000..c5ebfc1
--- /dev/null
+++ b/debian/libopencv-objdetect-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/objdetect/*
+usr/lib/*/libopencv_objdetect.a
+usr/lib/*/libopencv_objdetect.so
diff --git a/debian/libopencv-objdetect2.4v5.install b/debian/libopencv-objdetect2.4v5.install
new file mode 100644
index 0000000..4609cf6
--- /dev/null
+++ b/debian/libopencv-objdetect2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_objdetect.so.*
diff --git a/debian/libopencv-ocl-dev.docs b/debian/libopencv-ocl-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-ocl-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-ocl-dev.install b/debian/libopencv-ocl-dev.install
new file mode 100644
index 0000000..36806c7
--- /dev/null
+++ b/debian/libopencv-ocl-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/ocl/*
+usr/lib/*/libopencv_ocl.a
+usr/lib/*/libopencv_ocl.so
diff --git a/debian/libopencv-ocl2.4v5.install b/debian/libopencv-ocl2.4v5.install
new file mode 100644
index 0000000..f329f73
--- /dev/null
+++ b/debian/libopencv-ocl2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_ocl.so.*
diff --git a/debian/libopencv-photo-dev.docs b/debian/libopencv-photo-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-photo-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-photo-dev.install b/debian/libopencv-photo-dev.install
new file mode 100644
index 0000000..153e612
--- /dev/null
+++ b/debian/libopencv-photo-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/photo/*
+usr/lib/*/libopencv_photo.a
+usr/lib/*/libopencv_photo.so
diff --git a/debian/libopencv-photo2.4v5.install b/debian/libopencv-photo2.4v5.install
new file mode 100644
index 0000000..ff073e8
--- /dev/null
+++ b/debian/libopencv-photo2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_photo.so.*
diff --git a/debian/libopencv-stitching-dev.docs b/debian/libopencv-stitching-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-stitching-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-stitching-dev.install b/debian/libopencv-stitching-dev.install
new file mode 100644
index 0000000..95ae30d
--- /dev/null
+++ b/debian/libopencv-stitching-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/stitching/*
+usr/lib/*/libopencv_stitching.a
+usr/lib/*/libopencv_stitching.so
diff --git a/debian/libopencv-stitching2.4v5.install b/debian/libopencv-stitching2.4v5.install
new file mode 100644
index 0000000..0806177
--- /dev/null
+++ b/debian/libopencv-stitching2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_stitching.so.*
diff --git a/debian/libopencv-superres-dev.docs b/debian/libopencv-superres-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-superres-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-superres-dev.install b/debian/libopencv-superres-dev.install
new file mode 100644
index 0000000..0000c9d
--- /dev/null
+++ b/debian/libopencv-superres-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/superres/*
+usr/lib/*/libopencv_superres.a
+usr/lib/*/libopencv_superres.so
diff --git a/debian/libopencv-superres2.4v5.install b/debian/libopencv-superres2.4v5.install
new file mode 100644
index 0000000..9d14658
--- /dev/null
+++ b/debian/libopencv-superres2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_superres.so.*
diff --git a/debian/libopencv-ts-dev.docs b/debian/libopencv-ts-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-ts-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-ts-dev.install b/debian/libopencv-ts-dev.install
new file mode 100644
index 0000000..1abe078
--- /dev/null
+++ b/debian/libopencv-ts-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/ts/*
+usr/lib/*/libopencv_ts.a
+usr/lib/*/libopencv_ts.so
diff --git a/debian/libopencv-ts2.4v5.install b/debian/libopencv-ts2.4v5.install
new file mode 100644
index 0000000..fbdfed0
--- /dev/null
+++ b/debian/libopencv-ts2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_ts.so.*
diff --git a/debian/libopencv-video-dev.docs b/debian/libopencv-video-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-video-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-video-dev.install b/debian/libopencv-video-dev.install
new file mode 100644
index 0000000..9d7acd0
--- /dev/null
+++ b/debian/libopencv-video-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/video/*
+usr/lib/*/libopencv_video.a
+usr/lib/*/libopencv_video.so
diff --git a/debian/libopencv-video2.4v5.install b/debian/libopencv-video2.4v5.install
new file mode 100644
index 0000000..96cecc4
--- /dev/null
+++ b/debian/libopencv-video2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_video.so.*
diff --git a/debian/libopencv-videostab-dev.docs b/debian/libopencv-videostab-dev.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/libopencv-videostab-dev.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/libopencv-videostab-dev.install b/debian/libopencv-videostab-dev.install
new file mode 100644
index 0000000..85ac0c9
--- /dev/null
+++ b/debian/libopencv-videostab-dev.install
@@ -0,0 +1,3 @@
+usr/include/opencv2/videostab/*
+usr/lib/*/libopencv_videostab.a
+usr/lib/*/libopencv_videostab.so
diff --git a/debian/libopencv-videostab2.4v5.install b/debian/libopencv-videostab2.4v5.install
new file mode 100644
index 0000000..7977e67
--- /dev/null
+++ b/debian/libopencv-videostab2.4v5.install
@@ -0,0 +1 @@
+usr/lib/*/libopencv_videostab.so.*
diff --git a/debian/libopencv2.4-java.install b/debian/libopencv2.4-java.install
new file mode 100644
index 0000000..5f85cf2
--- /dev/null
+++ b/debian/libopencv2.4-java.install
@@ -0,0 +1 @@
+usr/share/OpenCV/java/opencv-249.jar
diff --git a/debian/libopencv2.4-java.links b/debian/libopencv2.4-java.links
new file mode 100644
index 0000000..7085f7f
--- /dev/null
+++ b/debian/libopencv2.4-java.links
@@ -0,0 +1,2 @@
+usr/share/OpenCV/java/opencv-249.jar usr/share/java/opencv-249.jar
+usr/share/OpenCV/java/opencv-249.jar usr/share/java/opencv.jar
diff --git a/debian/libopencv2.4-jni.install b/debian/libopencv2.4-jni.install
new file mode 100644
index 0000000..be097fa
--- /dev/null
+++ b/debian/libopencv2.4-jni.install
@@ -0,0 +1 @@
+usr/share/OpenCV/java/libopencv_java249.so usr/lib/jni
diff --git a/debian/libopencv2.4-jni.lintian-overrides b/debian/libopencv2.4-jni.lintian-overrides
new file mode 100644
index 0000000..3790cad
--- /dev/null
+++ b/debian/libopencv2.4-jni.lintian-overrides
@@ -0,0 +1,3 @@
+libopencv2.4-jni: package-name-doesnt-match-sonames libopencv-java249
+libopencv2.4-jni: shlib-without-versioned-soname usr/lib/libopencv_java249.so libopencv_java249.so
+libopencv2.4-jni: postinst-must-call-ldconfig usr/lib/libopencv_java249.so
diff --git a/debian/man/opencv_createsamples.1 b/debian/man/opencv_createsamples.1
new file mode 100644
index 0000000..39ab2de
--- /dev/null
+++ b/debian/man/opencv_createsamples.1
@@ -0,0 +1,147 @@
+.TH "OPENCV_CREATESAMPLES" "1" "May 2010" "OpenCV" "User Commands"
+
+
+.SH NAME
+opencv_createsamples \- create training and testing samples
+
+
+.SH SYNOPSIS
+.B opencv_createsamples [options]
+
+
+.SH DESCRIPTION
+.PP
+.B opencv_createsamples
+creates positive samples from a single object image or a collection of
+positive images.
+.PP
+The scheme of test samples creation is similar to training samples creation
+since each test sample is a background image into which a randomly
+distorted and randomly scaled instance of the object picture is pasted at a
+random position.
+
+.SH OPTIONS
+.PP
+.B opencv_createsamples
+supports the following options:
+
+.PP
+.TP
+.BI "\-info " collection_file_name
+A database of positive source images. Use it together with
+.B \-img
+to create test samples instead.
+
+.TP
+.BI "\-img " image_file_name
+A positive source image. Use it together with
+.B \-info
+to create test samples instead.
+
+.TP
+.BI "\-vec " vec_file_name
+The output file name containing the generated positive samples for training.
+
+.TP
+.BI "\-bg " background_file_name
+The background description file (the negative sample set). It contains a list
+of images into which randomly distorted versions of the object are pasted for
+positive sample generation.
+
+.TP
+.BI "\-num " number_of_samples
+The number of positive samples to generate/train. The default is
+.IR 1000 .
+
+.TP
+.BI "\-bgcolor " background_color
+The background color (currently grayscale images are assumed); the background
+color denotes the transparent color. The default is
+.IR 0 .
+.\" TODO: What does 0 mean? How are colors expressed with integers?
+
+.TP
+.B \-inv
+Invert the colors.
+.TP
+
+.TP
+.BI "\-maxidev " max_intensity_deviation
+The desired maximum intensity deviation of foreground samples pixels. The
+default is
+.IR 40 .
+
+.TP
+.BI "\-maxxangle " max_x_rotation_angle
+The maximum rotation angle in x-direction in radians. The default is
+.IR 1.1 .
+
+.TP
+.BI "\-maxyangle " max_y_rotation_angle
+The maximum rotation angle in y-direction in radians. The default is
+.IR 1.1 .
+
+.TP
+.BI "\-maxzangle " max_z_rotation_angle
+The maximum rotation angle in z-direction in radians. The default is
+.IR 0.5 .
+
+.TP
+.BI "\-show [" scale_factor "]"
+Show each created sample during the creation process. Optionally a scaling
+factor can be defined. The default is
+.IR 4.0 .
+.IP
+If <\fBESC\fR> is pressed, the creation process will continue without showing
+the samples. This can be useful for debugging purposes.
+
+.TP
+.BI "\-h " sample_height
+For the creation of training samples, it is the resulting sample height.
+The default is
+.IR 24 .
+.IP
+In case of creating test samples, it is the minimal height of placed object
+picture.
+
+.TP
+.BI "\-w " sample_width
+For the creation of training samples, it is the resulting sample width.
+The default is
+.IR 24 .
+.IP
+In case of creating test samples, it is the minimal width of placed object
+picture.
+
+.PP
+The same information is shown, if
+.B opencv_createsamples
+is called without any arguments/options.
+
+
+.SH EXAMPLES
+.PP
+To create training samples from one image applying distortions and show the
+results:
+.IP
+.B opencv_createsamples -img source.png -num 10 -bg negatives.dat -vec samples_out.vec -show
+.PP
+To create training samples of size 40x40 from some images without applying
+distortions:
+.IP
+.B opencv_creasamples -info source.dat -vec samples_out.vec -w 40 -h 40
+
+
+.SH SEE ALSO
+.PP
+.BR opencv_haartraing (1),
+.BR opencv_performance (1)
+.PP
+More information and examples can be found in the OpenCV documentation.
+
+
+.SH AUTHORS
+.PP
+This manual page was written by \fBDaniel Leidert\fR <\&daniel.leidert@wgdd.de\&>
+and \fBNobuhiro Iwamatsu\fR <\&iwamatsu@debian.org\&>
+for the Debian project (but may be used by others).
diff --git a/debian/man/opencv_haartraining.1 b/debian/man/opencv_haartraining.1
new file mode 100644
index 0000000..6f8d090
--- /dev/null
+++ b/debian/man/opencv_haartraining.1
@@ -0,0 +1,215 @@
+.TH "OPENCV_HAARTRAINING" "1" "May 2010" "OpenCV" "User Commands"
+
+
+.SH NAME
+opencv_haartraining \- train classifier
+
+
+.SH SYNOPSIS
+.B opencv_haartraining [options]
+
+
+.SH DESCRIPTION
+.PP
+.B opencv_haartraining
+is training the classifier. While it is running, you can already get an
+impression, whether the classifier will be suitable or if you need to improve
+the training set and/or parameters.
+.PP
+In the output:
+.TP
+.RB \(aq POS: \(aq
+shows the hitrate in the set of training samples (should be equal or near to
+.I 1.0
+as in stage 0)
+.TP
+.RB \(aq NEG: \(aq
+indicates the false alarm rate (should reach at least
+.I 5*10-6
+to be a usable classifier for real world applications)
+.PP
+If one of the above values gets
+.IR 0 " (" zero ")"
+there is an overflow. In this case the false alarm rate is so low, that
+further training doesn't make sense anymore, so it can be stopped.
+
+
+.SH OPTIONS
+.PP
+.B opencv_haartraining
+supports the following options:
+
+.PP
+.TP
+.BI "\-data " dir_name
+The directory in which the trained classifier is stored.
+
+.TP
+.BI "\-vec " vec_file_name
+The file name of the positive samples file (e.g. created by the
+.BR opencv_createsamples (1)
+utility).
+
+.TP
+.BI "\-bg " background_file_name
+The background description file (the negative sample set). It contains a list
+of images into which randomly distorted versions of the object are pasted for
+positive sample generation.
+
+.TP
+.BI "\-bg-vecfile
+This option is that bgfilename represents a vec file with discrete negatives. The default is
+.BR "not set".
+
+.TP
+.BI "\-npos " number_of_positive_samples
+The number of positive samples used in training of each classifier stage.
+The default is
+.IR 2000 .
+
+.TP
+.BI "\-nneg " number_of_negative_samples
+The number of negative samples used in training of each classifier stage.
+The default is
+.IR 2000 .
+
+.PP
+Reasonable values are
+.BR "\-npos 7000 \-nneg 3000" .
+
+.TP
+.BI "\-nstages " number_of_stage
+The number of stages to be trained. The default is
+.IR 14 .
+
+.TP
+.BI "\-nsplits " number_of_splits
+Determine the weak classifier used in stage classifiers. If the value is
+.IP
+.BR 1 ,
+then a simple stump classifier is used
+.IP
+.BR >=2 ,
+then CART classifier with
+.I number_of_splits
+internal (split) nodes is used
+.IP
+The default is
+.IR 1 .
+
+.TP
+.BI "\-mem " memory_in_MB
+Available memory in
+.B MB
+for precalculation. The more memory you have the faster the training process is.
+The default is
+.IR 200 .
+
+.TP
+.B \-sym, \-nonsym
+Specify whether the object class under training has vertical symmetry or not.
+Vertical symmetry speeds up training process and reduces memory usage. For
+instance, frontal faces show off vertical symmetry. The default is
+.BR \-sym .
+
+.TP
+.BI "\-minhitrate " min_hit_rate
+The minimal desired hit rate for each stage classifier. Overall hit rate may
+be estimated as
+.IR "\%min_hit_rate^number_of_stages" .
+The default is
+.IR 0.950000 .
+
+.TP
+.BI "\-maxfalsealarm " max_false_alarm_rate
+The maximal desired false alarm rate for each stage classifier. Overall false
+alarm rate may be estimated as
+.IR "\%max_false_alarm_rate^number_of_stages" .
+The default is
+.IR 0.500000 .
+
+.TP
+.BI "\-weighttrimming " weight_trimming
+Specifies whether and how much weight trimming should be used. The default is
+.IR 0.950000 .
+A decent choice is
+.IR 0.900000 .
+
+.TP
+.B \-eqw
+Specify if initial weights of all samples will be equal.
+
+.TP
+.BI "\-mode {" BASIC | CORE | ALL "}"
+Select the type of haar features set used in training.
+.I BASIC
+uses only upright features, while
+.I CORE
+uses the full upright feature set and
+.I ALL
+uses the full set of upright and 45 degree rotated feature set.
+The default is
+.IR BASIC .
+.IP
+For more information on this see \%http://www.lienhart.de/ICIP2002.pdf.
+
+.TP
+.BI "\-h " sample_height
+The sample height (must have the same value as used during creation).
+The default is
+.IR 24 .
+
+.TP
+.BI "\-w " sample_width
+The sample width (must have the same value as used during creation).
+The default is
+.IR 24 .
+
+.TP
+.BI "\-bt {" DAB | RAB | LB | GAB "}"
+The type of the applied boosting algorithm. You can choose between Discrete
+AdaBoost (\fIDAB\fR), Real AdaBoost (\fIRAB\fR), LogitBoost (\fILB\fR) and
+Gentle AdaBoost (\fIGAB\fR). The default is
+.IR GAB .
+
+.TP
+.BI "\-err {" misclass | gini | entropy "}"
+The type of used error if Discrete AdaBoost (\fB\-bt DAB\fR) algorithm is
+applied. The default is
+.IR misclass .
+
+.TP
+.BI "\-maxtreesplits " max_number_of_splits_in_tree_cascade
+The maximal number of splits in a tree cascade. The default is
+.IR 0 .
+
+.TP
+.BI "\-minpos " min_number_of_positive_samples_per_cluster
+The minimal number of positive samples per cluster. The default is
+.IR 500 .
+
+.PP
+The same information is shown, if
+.B opencv_haartraining
+is called without any arguments/options.
+
+
+.SH EXAMPLES
+.PP
+TODO
+.\" http://robotik.inflomatik.info/other/opencv/OpenCV_ObjectDetection_HowTo.pdf
+
+
+.SH SEE ALSO
+.PP
+.BR opencv_createsamples (1),
+.BR opencv_performance (1)
+.PP
+More information and examples can be found in the OpenCV documentation.
+
+
+.SH AUTHORS
+.PP
+This manual page was written by \fBDaniel Leidert\fR <\&daniel.leidert@wgdd.de\&>
+and \fBNobuhiro Iwamatsu\fR <\&iwamatsu@debian.org\&>
+for the Debian project (but may be used by others).
diff --git a/debian/man/opencv_performance.1 b/debian/man/opencv_performance.1
new file mode 100644
index 0000000..1742921
--- /dev/null
+++ b/debian/man/opencv_performance.1
@@ -0,0 +1,126 @@
+.TH "OPENCV_PERFORMANCE" "1" "May 2010" "OpenCV" "User Commands"
+
+
+.SH NAME
+opencv_performance \- evaluate the performance of the classifier
+
+
+.SH SYNOPSIS
+.B opencv_performance [options]
+
+
+.SH DESCRIPTION
+.PP
+.B opencv_performance
+evaluates the performance of the classifier. It takes a collection of marked
+up test images, applies the classifier and outputs the performance, i.e. number of
+found objects, number of missed objects, number of false alarms and other
+information.
+.PP
+When there is no such collection available test samples may be created from single
+object image by the
+.BR opencv_createsamples (1)
+utility. The scheme of test samples creation in this case is similar to training samples
+.PP
+In the output, the table should be read:
+.TP
+.RB \(aq Hits \(aq
+shows the number of correctly found objects
+.TP
+.RB \(aq Missed \(aq
+shows the number of missed objects (must exist but are not found, also known
+as false negatives)
+.TP
+.RB \(aq False \(aq
+shows the number of false alarms (must not exist but are found, also known
+as false positives)
+
+
+.SH OPTIONS
+.PP
+.B opencv_performance
+supports the following options:
+
+.PP
+
+.TP
+.BI "\-data " classifier_directory_name
+The directory, in which the classifier can be found.
+
+.TP
+.BI "\-info " collection_file_name
+File with test samples description.
+
+.TP
+.BI "\-maxSizeDiff " max_size_difference
+Determine the size criterion of reference and detected coincidence.
+The default is
+.IR 1.500000 .
+
+.TP
+.BI "\-maxPosDiff " max_position_difference
+Determine the position criterion of reference and detected coincidence.
+The default is
+.IR 0.300000 .
+
+.TP
+.BI "\-sf " scale_factor
+Scale the detection window in each iteration. The default is
+.IR 1.200000 .
+
+.TP
+.B \-ni
+Don't save detection result to an image. This could be useful, if
+.I collection_file_name
+contains paths.
+
+.TP
+.BI "\-nos " number_of_stages
+Number of stages to use. The default is
+.I \-1
+(all stages are used).
+
+.TP
+.BI "\-rs " roc_size
+The default is
+.IR \40 .
+
+.TP
+.BI "\-h " sample_height
+The sample height (must have the same value as used during creation).
+The default is
+.IR 24 .
+
+.TP
+.BI "\-w " sample_width
+The sample width (must have the same value as used during creation).
+The default is
+.IR 24 .
+
+.PP
+The same information is shown, if
+.B opencv_performance
+is called without any arguments/options.
+
+
+.SH EXAMPLES
+.PP
+To create training samples from one image applying distortions and show the
+results:
+.IP
+.B opencv_performance -data trainout -info tests.dat
+
+
+.SH SEE ALSO
+.PP
+.BR opencv_createsamples (1),
+.BR opencv_haartraing (1)
+.PP
+More information and examples can be found in the OpenCV documentation.
+
+
+.SH AUTHORS
+.PP
+This manual page was written by \fBDaniel Leidert\fR <\&daniel.leidert@wgdd.de\&>
+and \fBNobuhiro Iwamatsu\fR <\&iwamatsu@debian.org\&>
+for the Debian project (but may be used by others).
diff --git a/debian/man/opencv_traincascade.1 b/debian/man/opencv_traincascade.1
new file mode 100644
index 0000000..b310406
--- /dev/null
+++ b/debian/man/opencv_traincascade.1
@@ -0,0 +1,142 @@
+.TH "OPENCV_TRAINCASCADE" "1" "May 2010" "OpenCV" "User Commands"
+
+
+.SH NAME
+opencv_traincascade \- transcascade application
+
+
+
+.SH SYNOPSIS
+.B opencv_traincascade [options]
+
+
+.SH DESCRIPTION
+.PP
+.B traincascade application.
+
+.SH OPTIONS
+
+.PP
+.B opencv_traincascade
+supports the following options:
+
+.SH BASIC OPTIONS
+
+.TP
+.BI "\-data " cascade_dir_name
+
+.TP
+.BI "\-vec " vec_file_name
+
+.TP
+.BI "\-bg " background_file_name
+
+.TP
+.BI "\-numPos " number_of_positive_samples
+The default is
+.IR 2000 .
+
+.TP
+.BI "\-numNeg " number_of_negative_samples
+The default is
+.IR 1000 .
+
+.TP
+.BI "\-num " Stages number_of_stages
+The default is
+.IR 20 .
+
+.TP
+.BI "\-precalcValBufSize " precalculated_vals_buffer_size_in_Mb
+The default is
+.IR 256 .
+
+.TP
+.BI "\-precalcIdxBufSize " precalculated_idxs_buffer_size_in_Mb
+The default is
+.IR 256 .
+
+.TP
+.BI "\-baseFormatSave "
+
+.SH CASCADE OPTIONS
+
+.TP
+.BI "\-stageType "
+The default is
+.IR BOOST .
+
+.TP
+.BI "\-featureType "
+Set feature type . You can select HAAR or LBP.
+The default is
+.IR HAAR .
+
+.TP
+.BI "\-w " sampleWidth
+The default is
+.IR 24 .
+
+.TP
+.BI "\-h " sampleHeight
+The default is
+.IR 24 .
+
+.SH BOOST OPTIONS
+
+.TP
+.BI "\-bt {" DAB | RAB | LB | GAB "}"
+The type of the applied boosting algorithm. You can choose between Discrete
+AdaBoost (\fIDAB\fR), Real AdaBoost (\fIRAB\fR), LogitBoost (\fILB\fR) and
+Gentle AdaBoost (\fIGAB\fR). The default is
+.IR GAB .
+
+.TP
+.BI "\-minHitRate " min_hit_rate
+The default is
+.IR 0.995 .
+
+.TP
+.BI "\-maxFalseAlarmRate " max_false_alarm_rate
+The default is
+.IR 0.5 .
+
+.TP
+.BI "\-weightTrimRate " weight_trim_rate
+The default is
+.IR 0.95 .
+
+.TP
+.BI "\-maxDepth " max_depth_of_weak_tree
+The default is
+.IR 1 .
+
+.TP
+.BI "\-maxWeakCount " max_weak_tree_count
+The default is
+.IR 100 .
+
+.SH HAARFEATURE OPTIONS
+
+.TP
+.BI "\-mode " <BASIC | CORE | ALL>
+The type of the applied haarFeature mode. You can choose between \fIBASIC\fR,
+\fCORE\fR and \fIALL\fR. The default is
+.IR BASIC .
+
+.SH EXAMPLES
+.PP
+TODO
+
+.SH SEE ALSO
+.PP
+.BR opencv_haartraing (1),
+.BR opencv_performance (1)
+.PP
+More information and examples can be found in the OpenCV documentation.
+
+
+.SH AUTHORS
+.PP
+This manual page was written by \fBNobuhiro Iwamatsu\fR <\&iwamatsu@debian.org\&>
+for the Debian project (but may be used by others).
diff --git a/debian/opencv-data.install b/debian/opencv-data.install
new file mode 100644
index 0000000..3ee4918
--- /dev/null
+++ b/debian/opencv-data.install
@@ -0,0 +1,2 @@
+usr/share/OpenCV/haarcascades usr/share/opencv/
+usr/share/OpenCV/lbpcascades usr/share/opencv/
diff --git a/debian/opencv-doc.install b/debian/opencv-doc.install
new file mode 100644
index 0000000..ffaf807
--- /dev/null
+++ b/debian/opencv-doc.install
@@ -0,0 +1,5 @@
+usr/share/OpenCV/doc/* usr/share/doc/opencv-doc/
+#usr/share/OpenCV/samples/* usr/share/doc/opencv-doc/examples/
+samples/python usr/share/doc/opencv-doc/examples/
+samples/python2 usr/share/doc/opencv-doc/examples/
+debian/samples/c/Makefile.debian usr/share/doc/opencv-doc/examples/c/
diff --git a/debian/opencv-doc.lintian-overrides b/debian/opencv-doc.lintian-overrides
new file mode 100644
index 0000000..a93f355
--- /dev/null
+++ b/debian/opencv-doc.lintian-overrides
@@ -0,0 +1 @@
+opencv-doc: embedded-javascript-library usr/share/doc/opencv-doc/html/html/jquery.js
diff --git a/debian/patches/Don-t-check-sphinx-build-version.patch b/debian/patches/Don-t-check-sphinx-build-version.patch
new file mode 100644
index 0000000..4a93cf2
--- /dev/null
+++ b/debian/patches/Don-t-check-sphinx-build-version.patch
@@ -0,0 +1,34 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Wed, 19 Aug 2015 21:27:54 +0100
+Subject: Don't check sphinx-build version
+
+It isn't really used for anything anyway, and sphinx-build's
+output changed in 1.3 (<https://bugs.debian.org/792715>) resulting
+in FTBFS.
+
+Forwarded: not-needed, upstream have removed the Sphinx docs
+---
+ cmake/OpenCVDetectPython.cmake | 8 +-------
+ 1 file changed, 1 insertion(+), 7 deletions(-)
+
+diff --git a/cmake/OpenCVDetectPython.cmake b/cmake/OpenCVDetectPython.cmake
+index d02b759..acd69e8 100644
+--- a/cmake/OpenCVDetectPython.cmake
++++ b/cmake/OpenCVDetectPython.cmake
+@@ -120,15 +120,9 @@ if(PYTHON_EXECUTABLE)
+ if(BUILD_DOCS)
+ find_host_program(SPHINX_BUILD sphinx-build)
+ if(SPHINX_BUILD)
+- execute_process(COMMAND "${SPHINX_BUILD}"
+- OUTPUT_QUIET
+- ERROR_VARIABLE SPHINX_OUTPUT
+- OUTPUT_STRIP_TRAILING_WHITESPACE)
+- if(SPHINX_OUTPUT MATCHES "Sphinx v([0-9][^ \n]*)")
+- set(SPHINX_VERSION "${CMAKE_MATCH_1}")
++ set(SPHINX_VERSION "(unknown version)")
+ set(HAVE_SPHINX 1)
+ message(STATUS "Found Sphinx ${SPHINX_VERSION}: ${SPHINX_BUILD}")
+- endif()
+ endif()
+ endif(BUILD_DOCS)
+ endif(PYTHON_EXECUTABLE)
diff --git a/debian/patches/build-static-libs b/debian/patches/build-static-libs
new file mode 100644
index 0000000..01c1eb0
--- /dev/null
+++ b/debian/patches/build-static-libs
@@ -0,0 +1,28 @@
+Description: Support build static libraries
+Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
+Forwarded: no
+Last-Update: <2013-11-23>
+
+diff --git a/cmake/OpenCVModule.cmake b/cmake/OpenCVModule.cmake
+index c923aba..acef84c 100644
+--- a/cmake/OpenCVModule.cmake
++++ b/cmake/OpenCVModule.cmake
+@@ -107,6 +107,7 @@ macro(ocv_add_module _name)
+ string(TOLOWER "${_name}" name)
+ string(REGEX REPLACE "^opencv_" "" ${name} "${name}")
+ set(the_module opencv_${name})
++ set(the_module_s opencv_${name}_s)
+
+ # the first pass - collect modules info, the second pass - create targets
+ if(OPENCV_INITIAL_PASS)
+@@ -533,6 +534,10 @@ macro(ocv_create_module)
+ "${OPENCV_CONFIG_FILE_INCLUDE_DIR}/cvconfig.h" "${OPENCV_CONFIG_FILE_INCLUDE_DIR}/opencv2/opencv_modules.hpp"
+ ${${the_module}_pch})
+
++ add_library(${the_module_s} STATIC ${OPENCV_MODULE_TYPE} ${OPENCV_MODULE_${the_module}_HEADERS} ${OPENCV_MODULE_${the_module}_SOURCES}
++ "${OPENCV_CONFIG_FILE_INCLUDE_DIR}/cvconfig.h" "${OPENCV_CONFIG_FILE_INCLUDE_DIR}/opencv2/opencv_modules.hpp"
++ ${${the_module}_pch})
++
+ if(NOT "${ARGN}" STREQUAL "SKIP_LINK")
+ target_link_libraries(${the_module} ${OPENCV_MODULE_${the_module}_DEPS})
+ target_link_libraries(${the_module} LINK_INTERFACE_LIBRARIES ${OPENCV_MODULE_${the_module}_DEPS})
diff --git a/debian/patches/change_type_from_int_to_Atomic_word b/debian/patches/change_type_from_int_to_Atomic_word
new file mode 100644
index 0000000..8775d84
--- /dev/null
+++ b/debian/patches/change_type_from_int_to_Atomic_word
@@ -0,0 +1,191 @@
+Description: Fix FTBFS on sparc64
+Author: Aurelien Jarno <aurel32@debian.org>, David Mattli <dmm@mattli.us>
+Forwarded: not yet
+Debian-Bug: 714923
+Last-Update: <2016-02-08>
+
+--- opencv-2.4.9.1+dfsg.orig/modules/core/include/opencv2/core/core.hpp
++++ opencv-2.4.9.1+dfsg/modules/core/include/opencv2/core/core.hpp
+@@ -1300,7 +1300,7 @@ public:
+ operator const _Tp*() const;
+
+ _Tp* obj; //< the object pointer.
+- int* refcount; //< the associated reference counter
++ _Atomic_word* refcount; //< the associated reference counter
+ };
+
+
+@@ -1468,9 +1468,9 @@ class CV_EXPORTS MatAllocator
+ public:
+ MatAllocator() {}
+ virtual ~MatAllocator() {}
+- virtual void allocate(int dims, const int* sizes, int type, int*& refcount,
++ virtual void allocate(int dims, const int* sizes, int type, _Atomic_word*& refcount,
+ uchar*& datastart, uchar*& data, size_t* step) = 0;
+- virtual void deallocate(int* refcount, uchar* datastart, uchar* data) = 0;
++ virtual void deallocate(_Atomic_word* refcount, uchar* datastart, uchar* data) = 0;
+ };
+
+ /*!
+@@ -1965,7 +1965,7 @@ public:
+
+ //! pointer to the reference counter;
+ // when matrix points to user-allocated data, the pointer is NULL
+- int* refcount;
++ _Atomic_word* refcount;
+
+ //! helper fields used in locateROI and adjustROI
+ uchar* datastart;
+@@ -3384,7 +3384,7 @@ public:
+ {
+ Hdr(int _dims, const int* _sizes, int _type);
+ void clear();
+- int refcount;
++ _Atomic_word refcount;
+ int dims;
+ int valueOffset;
+ size_t nodeSize;
+--- opencv-2.4.9.1+dfsg.orig/modules/core/include/opencv2/core/gpumat.hpp
++++ opencv-2.4.9.1+dfsg/modules/core/include/opencv2/core/gpumat.hpp
+@@ -301,7 +301,7 @@ namespace cv { namespace gpu
+
+ //! pointer to the reference counter;
+ // when GpuMatrix points to user-allocated data, the pointer is NULL
+- int* refcount;
++ _Atomic_word* refcount;
+
+ //! helper fields used in locateROI and adjustROI
+ uchar* datastart;
+--- opencv-2.4.9.1+dfsg.orig/modules/core/include/opencv2/core/operations.hpp
++++ opencv-2.4.9.1+dfsg/modules/core/include/opencv2/core/operations.hpp
+@@ -2281,7 +2281,7 @@ public:
+ Hdr() : data(0), datastart(0), refcount(0), size(0), capacity(0) {};
+ _Tp* data;
+ _Tp* datastart;
+- int* refcount;
++ _Atomic_word* refcount;
+ size_t size;
+ size_t capacity;
+ };
+@@ -2588,7 +2588,7 @@ template<typename _Tp> inline Ptr<_Tp>::
+ {
+ if(obj)
+ {
+- refcount = (int*)fastMalloc(sizeof(*refcount));
++ refcount = (_Atomic_word*)fastMalloc(sizeof(*refcount));
+ *refcount = 1;
+ }
+ else
+@@ -2625,7 +2625,7 @@ template<typename _Tp> inline Ptr<_Tp>::
+
+ template<typename _Tp> inline Ptr<_Tp>& Ptr<_Tp>::operator = (const Ptr<_Tp>& _ptr)
+ {
+- int* _refcount = _ptr.refcount;
++ _Atomic_word* _refcount = _ptr.refcount;
+ if( _refcount )
+ CV_XADD(_refcount, 1);
+ release();
+--- opencv-2.4.9.1+dfsg.orig/modules/core/src/gpumat.cpp
++++ opencv-2.4.9.1+dfsg/modules/core/src/gpumat.cpp
+@@ -716,7 +716,7 @@ void cv::gpu::GpuMat::create(int _rows,
+ datastart = data = static_cast<uchar*>(devPtr);
+ dataend = data + nettosize;
+
+- refcount = static_cast<int*>(fastMalloc(sizeof(*refcount)));
++ refcount = static_cast<_Atomic_word*>(fastMalloc(sizeof(*refcount)));
+ *refcount = 1;
+ }
+ }
+--- opencv-2.4.9.1+dfsg.orig/modules/core/src/matrix.cpp
++++ opencv-2.4.9.1+dfsg/modules/core/src/matrix.cpp
+@@ -213,7 +213,7 @@ void Mat::create(int d, const int* _size
+ {
+ size_t totalsize = alignSize(step.p[0]*size.p[0], (int)sizeof(*refcount));
+ data = datastart = (uchar*)fastMalloc(totalsize + (int)sizeof(*refcount));
+- refcount = (int*)(data + totalsize);
++ refcount = (_Atomic_word*)(data + totalsize);
+ *refcount = 1;
+ }
+ else
+--- opencv-2.4.9.1+dfsg.orig/modules/core/src/system.cpp
++++ opencv-2.4.9.1+dfsg/modules/core/src/system.cpp
+@@ -903,7 +903,7 @@ struct Mutex::Impl
+ void unlock() { pthread_spin_unlock(&sl); }
+
+ pthread_spinlock_t sl;
+- int refcount;
++ _Atomic_word refcount;
+ };
+
+ #else
+--- opencv-2.4.9.1+dfsg.orig/modules/gpu/include/opencv2/gpu/gpu.hpp
++++ opencv-2.4.9.1+dfsg/modules/gpu/include/opencv2/gpu/gpu.hpp
+@@ -125,7 +125,7 @@ public:
+ size_t step;
+
+ uchar* data;
+- int* refcount;
++ _Atomic_word* refcount;
+
+ uchar* datastart;
+ uchar* dataend;
+--- opencv-2.4.9.1+dfsg.orig/modules/ocl/include/opencv2/ocl/ocl.hpp
++++ opencv-2.4.9.1+dfsg/modules/ocl/include/opencv2/ocl/ocl.hpp
+@@ -404,7 +404,7 @@ namespace cv
+
+ //! pointer to the reference counter;
+ // when oclMatrix points to user-allocated data, the pointer is NULL
+- int *refcount;
++ _Atomic_word *refcount;
+
+ //! helper fields used in locateROI and adjustROI
+ //datastart and dataend are not used in current version
+--- opencv-2.4.9.1+dfsg.orig/modules/ocl/src/matrix_operations.cpp
++++ opencv-2.4.9.1+dfsg/modules/ocl/src/matrix_operations.cpp
+@@ -591,7 +591,7 @@ void cv::ocl::oclMat::createEx(int _rows
+ datastart = data = (uchar *)dev_ptr;
+ dataend = data + nettosize;
+
+- refcount = (int *)fastMalloc(sizeof(*refcount));
++ refcount = (_Atomic_word *)fastMalloc(sizeof(*refcount));
+ *refcount = 1;
+ }
+ }
+--- opencv-2.4.9.1+dfsg.orig/modules/python/src2/cv2.cpp
++++ opencv-2.4.9.1+dfsg/modules/python/src2/cv2.cpp
+@@ -157,14 +157,14 @@ static PyObject* failmsgp(const char *fm
+ static size_t REFCOUNT_OFFSET = (size_t)&(((PyObject*)0)->ob_refcnt) +
+ (0x12345678 != *(const size_t*)"\x78\x56\x34\x12\0\0\0\0\0")*sizeof(int);
+
+-static inline PyObject* pyObjectFromRefcount(const int* refcount)
++static inline PyObject* pyObjectFromRefcount(const _Atomic_word* refcount)
+ {
+ return (PyObject*)((size_t)refcount - REFCOUNT_OFFSET);
+ }
+
+-static inline int* refcountFromPyObject(const PyObject* obj)
++static inline _Atomic_word* refcountFromPyObject(const PyObject* obj)
+ {
+- return (int*)((size_t)obj + REFCOUNT_OFFSET);
++ return (_Atomic_word*)((size_t)obj + REFCOUNT_OFFSET);
+ }
+
+ class NumpyAllocator : public MatAllocator
+@@ -173,7 +173,7 @@ public:
+ NumpyAllocator() {}
+ ~NumpyAllocator() {}
+
+- void allocate(int dims, const int* sizes, int type, int*& refcount,
++ void allocate(int dims, const int* sizes, int type, _Atomic_word*& refcount,
+ uchar*& datastart, uchar*& data, size_t* step)
+ {
+ PyEnsureGIL gil;
+@@ -206,7 +206,7 @@ public:
+ datastart = data = (uchar*)PyArray_DATA((PyArrayObject*) o);
+ }
+
+- void deallocate(int* refcount, uchar*, uchar*)
++ void deallocate(_Atomic_word* refcount, uchar*, uchar*)
+ {
+ PyEnsureGIL gil;
+ if( !refcount )
diff --git a/debian/patches/drop_asm_types_h_kfreebsd b/debian/patches/drop_asm_types_h_kfreebsd
new file mode 100644
index 0000000..cc2e9d4
--- /dev/null
+++ b/debian/patches/drop_asm_types_h_kfreebsd
@@ -0,0 +1,25 @@
+Description: Fix FTBFS on kfreebsd
+Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
+Forwarded: no
+Last-Update: <2013-08-07>
+
+--- a/modules/highgui/src/cap_libv4l.cpp
++++ b/modules/highgui/src/cap_libv4l.cpp
+@@ -237,15 +237,16 @@ make & enjoy!
+ #include <sys/mman.h>
+ #include <string.h>
+ #include <stdlib.h>
+-#include <asm/types.h> /* for videodev2.h */
+ #include <assert.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+
+ #ifdef HAVE_CAMV4L
++#include <asm/types.h> /* for videodev2.h */
+ #include <linux/videodev.h>
+ #endif
+ #ifdef HAVE_CAMV4L2
++#include <asm/types.h> /* for videodev2.h */
+ #include <linux/videodev2.h>
+ #endif
+
diff --git a/debian/patches/ffmpeg_2.9.patch b/debian/patches/ffmpeg_2.9.patch
new file mode 100644
index 0000000..da57e1d
--- /dev/null
+++ b/debian/patches/ffmpeg_2.9.patch
@@ -0,0 +1,221 @@
+Description: Replace deprecated FFmpeg API
+Author: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
+Last-Update: <2015-11-02>
+
+--- opencv-2.4.9.1+dfsg.orig/modules/highgui/src/cap_ffmpeg_impl.hpp
++++ opencv-2.4.9.1+dfsg/modules/highgui/src/cap_ffmpeg_impl.hpp
+@@ -136,9 +136,9 @@ extern "C" {
+ #define CV_WARN(message) fprintf(stderr, "warning: %s (%s:%d)\n", message, __FILE__, __LINE__)
+ #endif
+
+-/* PIX_FMT_RGBA32 macro changed in newer ffmpeg versions */
+-#ifndef PIX_FMT_RGBA32
+-#define PIX_FMT_RGBA32 PIX_FMT_RGB32
++/* AV_PIX_FMT_RGBA32 macro changed in newer ffmpeg versions */
++#ifndef AV_PIX_FMT_RGBA32
++#define AV_PIX_FMT_RGBA32 AV_PIX_FMT_RGB32
+ #endif
+
+ #define CALC_FFMPEG_VERSION(a,b,c) ( a<<16 | b<<8 | c )
+@@ -304,7 +304,7 @@ void CvCapture_FFMPEG::close()
+ }
+
+ if( picture )
+- av_free(picture);
++ av_frame_free(&picture);
+
+ if( video_st )
+ {
+@@ -572,13 +572,13 @@ bool CvCapture_FFMPEG::open( const char*
+
+ video_stream = i;
+ video_st = ic->streams[i];
+- picture = avcodec_alloc_frame();
++ picture = av_frame_alloc();
+
+ rgb_picture.data[0] = (uint8_t*)malloc(
+- avpicture_get_size( PIX_FMT_BGR24,
++ avpicture_get_size( AV_PIX_FMT_BGR24,
+ enc->width, enc->height ));
+ avpicture_fill( (AVPicture*)&rgb_picture, rgb_picture.data[0],
+- PIX_FMT_BGR24, enc->width, enc->height );
++ AV_PIX_FMT_BGR24, enc->width, enc->height );
+
+ frame.width = enc->width;
+ frame.height = enc->height;
+@@ -670,7 +670,7 @@ bool CvCapture_FFMPEG::retrieveFrame(int
+ if( !video_st || !picture->data[0] )
+ return false;
+
+- avpicture_fill((AVPicture*)&rgb_picture, rgb_picture.data[0], PIX_FMT_RGB24,
++ avpicture_fill((AVPicture*)&rgb_picture, rgb_picture.data[0], AV_PIX_FMT_RGB24,
+ video_st->codec->width, video_st->codec->height);
+
+ if( img_convert_ctx == NULL ||
+@@ -688,7 +688,7 @@ bool CvCapture_FFMPEG::retrieveFrame(int
+ video_st->codec->width, video_st->codec->height,
+ video_st->codec->pix_fmt,
+ video_st->codec->width, video_st->codec->height,
+- PIX_FMT_BGR24,
++ AV_PIX_FMT_BGR24,
+ SWS_BICUBIC,
+ NULL, NULL, NULL
+ );
+@@ -1001,10 +1001,10 @@ static AVFrame * icv_alloc_picture_FFMPE
+ uint8_t * picture_buf;
+ int size;
+
+- picture = avcodec_alloc_frame();
++ picture = av_frame_alloc();
+ if (!picture)
+ return NULL;
+- size = avpicture_get_size( (PixelFormat) pix_fmt, width, height);
++ size = avpicture_get_size( (AVPixelFormat) pix_fmt, width, height);
+ if(alloc){
+ picture_buf = (uint8_t *) malloc(size);
+ if (!picture_buf)
+@@ -1013,7 +1013,7 @@ static AVFrame * icv_alloc_picture_FFMPE
+ return NULL;
+ }
+ avpicture_fill((AVPicture *)picture, picture_buf,
+- (PixelFormat) pix_fmt, width, height);
++ (AVPixelFormat) pix_fmt, width, height);
+ }
+ else {
+ }
+@@ -1096,7 +1096,7 @@ static AVStream *icv_add_video_stream_FF
+ }
+
+ c->gop_size = 12; /* emit one intra frame every twelve frames at most */
+- c->pix_fmt = (PixelFormat) pixel_format;
++ c->pix_fmt = (AVPixelFormat) pixel_format;
+
+ if (c->codec_id == CV_CODEC(CODEC_ID_MPEG2VIDEO)) {
+ c->max_b_frames = 2;
+@@ -1220,12 +1220,12 @@ bool CvVideoWriter_FFMPEG::writeFrame( c
+ }
+
+ // check parameters
+- if (input_pix_fmt == PIX_FMT_BGR24) {
++ if (input_pix_fmt == AV_PIX_FMT_BGR24) {
+ if (cn != 3) {
+ return false;
+ }
+ }
+- else if (input_pix_fmt == PIX_FMT_GRAY8) {
++ else if (input_pix_fmt == AV_PIX_FMT_GRAY8) {
+ if (cn != 1) {
+ return false;
+ }
+@@ -1238,13 +1238,13 @@ bool CvVideoWriter_FFMPEG::writeFrame( c
+ assert( input_picture );
+ // let input_picture point to the raw data buffer of 'image'
+ avpicture_fill((AVPicture *)input_picture, (uint8_t *) data,
+- (PixelFormat)input_pix_fmt, width, height);
++ (AVPixelFormat)input_pix_fmt, width, height);
+
+ if( !img_convert_ctx )
+ {
+ img_convert_ctx = sws_getContext(width,
+ height,
+- (PixelFormat)input_pix_fmt,
++ (AVPixelFormat)input_pix_fmt,
+ c->width,
+ c->height,
+ c->pix_fmt,
+@@ -1262,7 +1262,7 @@ bool CvVideoWriter_FFMPEG::writeFrame( c
+ }
+ else{
+ avpicture_fill((AVPicture *)picture, (uint8_t *) data,
+- (PixelFormat)input_pix_fmt, width, height);
++ (AVPixelFormat)input_pix_fmt, width, height);
+ }
+
+ ret = icv_av_write_frame_FFMPEG( oc, video_st, outbuf, outbuf_size, picture) >= 0;
+@@ -1373,10 +1373,10 @@ bool CvVideoWriter_FFMPEG::open( const c
+
+ /* determine optimal pixel format */
+ if (is_color) {
+- input_pix_fmt = PIX_FMT_BGR24;
++ input_pix_fmt = AV_PIX_FMT_BGR24;
+ }
+ else {
+- input_pix_fmt = PIX_FMT_GRAY8;
++ input_pix_fmt = AV_PIX_FMT_GRAY8;
+ }
+
+ /* Lookup codec_id for given fourcc */
+@@ -1402,21 +1402,21 @@ bool CvVideoWriter_FFMPEG::open( const c
+ codec_pix_fmt = input_pix_fmt;
+ break;
+ case CV_CODEC(CODEC_ID_HUFFYUV):
+- codec_pix_fmt = PIX_FMT_YUV422P;
++ codec_pix_fmt = AV_PIX_FMT_YUV422P;
+ break;
+ case CV_CODEC(CODEC_ID_MJPEG):
+ case CV_CODEC(CODEC_ID_LJPEG):
+- codec_pix_fmt = PIX_FMT_YUVJ420P;
++ codec_pix_fmt = AV_PIX_FMT_YUVJ420P;
+ bitrate_scale = 3;
+ break;
+ case CV_CODEC(CODEC_ID_RAWVIDEO):
+- codec_pix_fmt = input_pix_fmt == PIX_FMT_GRAY8 ||
+- input_pix_fmt == PIX_FMT_GRAY16LE ||
+- input_pix_fmt == PIX_FMT_GRAY16BE ? input_pix_fmt : PIX_FMT_YUV420P;
++ codec_pix_fmt = input_pix_fmt == AV_PIX_FMT_GRAY8 ||
++ input_pix_fmt == AV_PIX_FMT_GRAY16LE ||
++ input_pix_fmt == AV_PIX_FMT_GRAY16BE ? input_pix_fmt : AV_PIX_FMT_YUV420P;
+ break;
+ default:
+ // good for lossy formats, MPEG, etc.
+- codec_pix_fmt = PIX_FMT_YUV420P;
++ codec_pix_fmt = AV_PIX_FMT_YUV420P;
+ break;
+ }
+
+@@ -1609,7 +1609,7 @@ struct OutputMediaStream_FFMPEG
+ void write(unsigned char* data, int size, int keyFrame);
+
+ // add a video output stream to the container
+- static AVStream* addVideoStream(AVFormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, PixelFormat pixel_format);
++ static AVStream* addVideoStream(AVFormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, AVPixelFormat pixel_format);
+
+ AVOutputFormat* fmt_;
+ AVFormatContext* oc_;
+@@ -1648,7 +1648,7 @@ void OutputMediaStream_FFMPEG::close()
+ }
+ }
+
+-AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, PixelFormat pixel_format)
++AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, AVPixelFormat pixel_format)
+ {
+ AVStream* st = avformat_new_stream(oc, 0);
+ if (!st)
+@@ -1766,7 +1766,7 @@ bool OutputMediaStream_FFMPEG::open(cons
+ oc_->max_delay = (int)(0.7 * AV_TIME_BASE); // This reduces buffer underrun warnings with MPEG
+
+ // set a few optimal pixel formats for lossless codecs of interest..
+- PixelFormat codec_pix_fmt = PIX_FMT_YUV420P;
++ AVPixelFormat codec_pix_fmt = AV_PIX_FMT_YUV420P;
+ int bitrate_scale = 64;
+
+ // TODO -- safe to ignore output audio stream?
+@@ -1943,15 +1943,15 @@ bool InputMediaStream_FFMPEG::open(const
+
+ switch (enc->pix_fmt)
+ {
+- case PIX_FMT_YUV420P:
++ case AV_PIX_FMT_YUV420P:
+ *chroma_format = ::VideoChromaFormat_YUV420;
+ break;
+
+- case PIX_FMT_YUV422P:
++ case AV_PIX_FMT_YUV422P:
+ *chroma_format = ::VideoChromaFormat_YUV422;
+ break;
+
+- case PIX_FMT_YUV444P:
++ case AV_PIX_FMT_YUV444P:
+ *chroma_format = ::VideoChromaFormat_YUV444;
+ break;
+
diff --git a/debian/patches/fix_ftbfs_on_non_linux b/debian/patches/fix_ftbfs_on_non_linux
new file mode 100644
index 0000000..57050ee
--- /dev/null
+++ b/debian/patches/fix_ftbfs_on_non_linux
@@ -0,0 +1,54 @@
+Description: Fix FTBFS on non linux
+Forwarded: not yet
+Author: Pino Toscano <pino@debian.org>
+Last-Update: 2014-01-14
+
+diff --git a/modules/core/src/parallel.cpp b/modules/core/src/parallel.cpp
+index 27d7ecc..2c0b7c1 100644
+--- a/modules/core/src/parallel.cpp
++++ b/modules/core/src/parallel.cpp
+@@ -50,13 +50,13 @@
+ #undef abs
+ #endif
+
+-#if defined __linux__ || defined __APPLE__
++#if defined __linux__ || defined __APPLE__ || defined __GLIBC__
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <sys/types.h>
+ #if defined ANDROID
+ #include <sys/sysconf.h>
+- #else
++ #elif !defined __GNU__
+ #include <sys/sysctl.h>
+ #endif
+ #endif
+@@ -463,7 +463,7 @@ int cv::getNumberOfCPUs(void)
+ #elif defined ANDROID
+ static int ncpus = getNumberOfCPUsImpl();
+ return ncpus;
+-#elif defined __linux__
++#elif defined __linux__ || defined __GLIBC__
+ return (int)sysconf( _SC_NPROCESSORS_ONLN );
+ #elif defined __APPLE__
+ int numCPU=0;
+diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp
+index 09dacee..26b0240 100644
+--- a/modules/core/src/system.cpp
++++ b/modules/core/src/system.cpp
+@@ -157,13 +157,13 @@ std::wstring GetTempFileNameWinRT(std::wstring prefix)
+
+ #include <stdarg.h>
+
+-#if defined __linux__ || defined __APPLE__ || defined __EMSCRIPTEN__
++#if defined __linux__ || defined __APPLE__ || defined __EMSCRIPTEN__ || defined __GLIBC__
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <sys/types.h>
+ #if defined ANDROID
+ #include <sys/sysconf.h>
+-#else
++#elif !defined __GNU__
+ #include <sys/sysctl.h>
+ #endif
+ #endif
diff --git a/debian/patches/fix_ftbfs_with_gcc6 b/debian/patches/fix_ftbfs_with_gcc6
new file mode 100644
index 0000000..0706faa
--- /dev/null
+++ b/debian/patches/fix_ftbfs_with_gcc6
@@ -0,0 +1,71 @@
+Description: gcc-6 build fixes, cherry-picked from Fedora
+From: https://pkgs.fedoraproject.org/cgit/rpms/opencv.git/commit/?id=ca7da00ea608b62859a640493a1cd6c0f5802550
+Author: Sérgio M. Basto <sergio@serjux.com>
+Last-Update: 2016-10-04
+
+--- opencv-2.4.9.1+dfsg.orig/modules/contrib/src/chamfermatching.cpp
++++ opencv-2.4.9.1+dfsg/modules/contrib/src/chamfermatching.cpp
+@@ -966,10 +966,8 @@ void ChamferMatcher::Matching::computeDi
+ for (int y=0;y<h;++y) {
+ for (int x=0;x<w;++x) {
+ // initialize
+- if (&annotate_img!=NULL) {
+- annotate_img.at<Vec2i>(y,x)[0]=x;
+- annotate_img.at<Vec2i>(y,x)[1]=y;
+- }
++ annotate_img.at<Vec2i>(y,x)[0]=x;
++ annotate_img.at<Vec2i>(y,x)[1]=y;
+
+ uchar edge_val = edges_img.at<uchar>(y,x);
+ if( (edge_val!=0) ) {
+@@ -1013,10 +1011,8 @@ void ChamferMatcher::Matching::computeDi
+ dist_img.at<float>(ny,nx) = dist;
+ q.push(std::make_pair(nx,ny));
+
+- if (&annotate_img!=NULL) {
+- annotate_img.at<Vec2i>(ny,nx)[0]=annotate_img.at<Vec2i>(y,x)[0];
+- annotate_img.at<Vec2i>(ny,nx)[1]=annotate_img.at<Vec2i>(y,x)[1];
+- }
++ annotate_img.at<Vec2i>(ny,nx)[0]=annotate_img.at<Vec2i>(y,x)[0];
++ annotate_img.at<Vec2i>(ny,nx)[1]=annotate_img.at<Vec2i>(y,x)[1];
+ }
+ }
+ }
+@@ -1107,26 +1103,22 @@ ChamferMatcher::Match* ChamferMatcher::M
+
+ float cost = (sum_distance/truncate_)/addr.size();
+
++ float* optr = orientation_img.ptr<float>(y)+x;
++ float sum_orientation = 0;
++ int cnt_orientation = 0;
+
+- if (&orientation_img!=NULL) {
+- float* optr = orientation_img.ptr<float>(y)+x;
+- float sum_orientation = 0;
+- int cnt_orientation = 0;
+-
+- for (size_t i=0;i<addr.size();++i) {
++ for (size_t i=0;i<addr.size();++i) {
+
+- if(addr[i] < (orientation_img.cols*orientation_img.rows) - (offset.y*orientation_img.cols + offset.x)){
+- if (tpl->orientations[i]>=-CV_PI && (*(optr+addr[i]))>=-CV_PI) {
+- sum_orientation += orientation_diff(tpl->orientations[i], (*(optr+addr[i])));
+- cnt_orientation++;
+- }
++ if(addr[i] < (orientation_img.cols*orientation_img.rows) - (offset.y*orientation_img.cols + offset.x)){
++ if (tpl->orientations[i]>=-CV_PI && (*(optr+addr[i]))>=-CV_PI) {
++ sum_orientation += orientation_diff(tpl->orientations[i], (*(optr+addr[i])));
++ cnt_orientation++;
+ }
+ }
++ }
+
+- if (cnt_orientation>0) {
+- cost = (float)(beta*cost+alpha*(sum_orientation/(2*CV_PI))/cnt_orientation);
+- }
+-
++ if (cnt_orientation>0) {
++ cost = (float)(beta*cost+alpha*(sum_orientation/(2*CV_PI))/cnt_orientation);
+ }
+
+ if(cost > 0){
diff --git a/debian/patches/fix_path_of_opencl_headers b/debian/patches/fix_path_of_opencl_headers
new file mode 100644
index 0000000..96dfd6e
--- /dev/null
+++ b/debian/patches/fix_path_of_opencl_headers
@@ -0,0 +1,20 @@
+Description: Fix path of opencl header file. This patch modified can be set
+by OPENCL_INCLUDE_DIR option for path of the header file of OpenCL.
+Bug: None
+Bug-Debian: None
+Author: Nobuhiro Iwamatsu
+Last-Update: 2014-01-07
+
+diff --git a/cmake/OpenCVDetectOpenCL.cmake b/cmake/OpenCVDetectOpenCL.cmake
+index f732546..3cc09ce 100644
+--- a/cmake/OpenCVDetectOpenCL.cmake
++++ b/cmake/OpenCVDetectOpenCL.cmake
+@@ -7,7 +7,7 @@ if(APPLE)
+ else(APPLE)
+ set(OPENCL_FOUND YES)
+ set(HAVE_OPENCL_STATIC OFF)
+- set(OPENCL_INCLUDE_DIR "${OpenCV_SOURCE_DIR}/3rdparty/include/opencl/1.2")
++ set(OPENCL_INCLUDE_DIR "" CACHE STRING "OpenCL include directory")
+ endif(APPLE)
+
+ if(OPENCL_FOUND)
diff --git a/debian/patches/fix_without_sysctl.patch b/debian/patches/fix_without_sysctl.patch
new file mode 100644
index 0000000..e16b4f1
--- /dev/null
+++ b/debian/patches/fix_without_sysctl.patch
@@ -0,0 +1,55 @@
+Description: Don't use sysctl on unsupported targets
+Author: Thorsten Glaser <tg@mirbsd.de>
+Forwarded: not yet
+Debian-Bug: 792264
+Last-Update: <2016-02-08>
+
+--- opencv-2.4.9.1+dfsg.orig/CMakeLists.txt
++++ opencv-2.4.9.1+dfsg/CMakeLists.txt
+@@ -441,6 +441,8 @@ if(UNIX)
+ else()
+ set(HAVE_LIBPTHREAD YES)
+ endif()
++
++ CHECK_INCLUDE_FILE(sys/sysctl.h HAVE_SYS_SYSCTL_H)
+ endif()
+
+ include(cmake/OpenCVPCHSupport.cmake)
+--- opencv-2.4.9.1+dfsg.orig/modules/core/src/parallel.cpp
++++ opencv-2.4.9.1+dfsg/modules/core/src/parallel.cpp
+@@ -57,7 +57,9 @@
+ #if defined ANDROID
+ #include <sys/sysconf.h>
+ #elif !defined __GNU__
++ #ifdef HAVE_SYS_SYSCTL_H
+ #include <sys/sysctl.h>
++ #endif
+ #endif
+ #endif
+
+--- opencv-2.4.9.1+dfsg.orig/modules/core/src/system.cpp
++++ opencv-2.4.9.1+dfsg/modules/core/src/system.cpp
+@@ -164,9 +164,11 @@ std::wstring GetTempFileNameWinRT(std::w
+ #if defined ANDROID
+ #include <sys/sysconf.h>
+ #elif !defined __GNU__
++#ifdef HAVE_SYS_SYSCTL_H
+ #include <sys/sysctl.h>
+ #endif
+ #endif
++#endif
+
+ #ifdef ANDROID
+ # include <android/log.h>
+--- opencv-2.4.9.1+dfsg.orig/modules/highgui/src/cap_ffmpeg_impl.hpp
++++ opencv-2.4.9.1+dfsg/modules/highgui/src/cap_ffmpeg_impl.hpp
+@@ -149,7 +149,9 @@ extern "C" {
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <sys/types.h>
++ #ifdef HAVE_SYS_SYSCTL_H
+ #include <sys/sysctl.h>
++ #endif
+ #endif
+
+ #ifndef MIN
diff --git a/debian/patches/libav10.patch b/debian/patches/libav10.patch
new file mode 100644
index 0000000..df51728
--- /dev/null
+++ b/debian/patches/libav10.patch
@@ -0,0 +1,748 @@
+From: anton@khirnov.net
+Description: Support building with the upcoming Libav 10 release
+Origin: upstream, https://github.com/Itseez/opencv/pull/2293
+
+--- a/modules/highgui/src/cap_ffmpeg_impl.hpp
++++ b/modules/highgui/src/cap_ffmpeg_impl.hpp
+@@ -57,10 +57,28 @@
+ extern "C" {
+ #endif
+
+-#include "ffmpeg_codecs.hpp"
++#if !defined(WIN32) || defined(__MINGW32__)
+
++#include <stdint.h>
++
++// some versions of FFMPEG assume a C99 compiler, and don't define INT64_C
++#ifndef INT64_C
++#define INT64_C(c) (c##LL)
++#endif
++
++#ifndef UINT64_C
++#define UINT64_C(c) (c##ULL)
++#endif
++
++#include <errno.h>
++
++#endif
++
++#include <libavformat/avformat.h>
+ #include <libavutil/mathematics.h>
+
++#include <libavutil/opt.h>
++
+ #ifdef WIN32
+ #define HAVE_FFMPEG_SWSCALE 1
+ #include <libavcodec/avcodec.h>
+@@ -144,10 +162,6 @@ extern "C" {
+ #define AV_NOPTS_VALUE_ ((int64_t)AV_NOPTS_VALUE)
+ #endif
+
+-#ifndef AVERROR_EOF
+-#define AVERROR_EOF (-MKTAG( 'E','O','F',' '))
+-#endif
+-
+ #if LIBAVCODEC_BUILD >= CALC_FFMPEG_VERSION(54,25,0)
+ # define CV_CODEC_ID AVCodecID
+ # define CV_CODEC(name) AV_##name
+@@ -158,9 +172,7 @@ extern "C" {
+
+ static int get_number_of_cpus(void)
+ {
+-#if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(52, 111, 0)
+- return 1;
+-#elif defined WIN32 || defined _WIN32
++#if defined WIN32 || defined _WIN32
+ SYSTEM_INFO sysinfo;
+ GetSystemInfo( &sysinfo );
+
+@@ -296,25 +308,13 @@ void CvCapture_FFMPEG::close()
+
+ if( video_st )
+ {
+-#if LIBAVFORMAT_BUILD > 4628
+ avcodec_close( video_st->codec );
+-
+-#else
+- avcodec_close( &(video_st->codec) );
+-
+-#endif
+ video_st = NULL;
+ }
+
+ if( ic )
+ {
+-#if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 24, 2)
+- av_close_input_file(ic);
+-#else
+ avformat_close_input(&ic);
+-#endif
+-
+- ic = NULL;
+ }
+
+ if( rgb_picture.data[0] )
+@@ -501,9 +501,7 @@ public:
+ _mutex.lock();
+ if (!_initialized)
+ {
+- #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 13, 0)
+ avformat_network_init();
+- #endif
+
+ /* register all codecs, demux and protocols */
+ av_register_all();
+@@ -534,11 +532,7 @@ bool CvCapture_FFMPEG::open( const char*
+
+ close();
+
+-#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(52, 111, 0)
+ int err = avformat_open_input(&ic, _filename, NULL, NULL);
+-#else
+- int err = av_open_input_file(&ic, _filename, NULL, 0, NULL);
+-#endif
+
+ if (err < 0)
+ {
+@@ -546,11 +540,7 @@ bool CvCapture_FFMPEG::open( const char*
+ goto exit_func;
+ }
+ err =
+-#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 6, 0)
+ avformat_find_stream_info(ic, NULL);
+-#else
+- av_find_stream_info(ic);
+-#endif
+ if (err < 0)
+ {
+ CV_WARN("Could not find codec parameters");
+@@ -558,11 +548,7 @@ bool CvCapture_FFMPEG::open( const char*
+ }
+ for(i = 0; i < ic->nb_streams; i++)
+ {
+-#if LIBAVFORMAT_BUILD > 4628
+ AVCodecContext *enc = ic->streams[i]->codec;
+-#else
+- AVCodecContext *enc = &ic->streams[i]->codec;
+-#endif
+
+ //#ifdef FF_API_THREAD_INIT
+ // avcodec_thread_init(enc, get_number_of_cpus());
+@@ -570,10 +556,6 @@ bool CvCapture_FFMPEG::open( const char*
+ enc->thread_count = get_number_of_cpus();
+ //#endif
+
+-#if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 2, 0)
+-#define AVMEDIA_TYPE_VIDEO CODEC_TYPE_VIDEO
+-#endif
+-
+ if( AVMEDIA_TYPE_VIDEO == enc->codec_type && video_stream < 0)
+ {
+ // backup encoder' width/height
+@@ -581,13 +563,7 @@ bool CvCapture_FFMPEG::open( const char*
+ int enc_height = enc->height;
+
+ AVCodec *codec = avcodec_find_decoder(enc->codec_id);
+- if (!codec ||
+-#if LIBAVCODEC_VERSION_INT >= ((53<<16)+(8<<8)+0)
+- avcodec_open2(enc, codec, NULL)
+-#else
+- avcodec_open(enc, codec)
+-#endif
+- < 0)
++ if (!codec || avcodec_open2(enc, codec, NULL) < 0)
+ goto exit_func;
+
+ // checking width/height (since decoder can sometimes alter it, eg. vp6f)
+@@ -660,17 +636,7 @@ bool CvCapture_FFMPEG::grabFrame()
+ }
+
+ // Decode video frame
+- #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 2, 0)
+ avcodec_decode_video2(video_st->codec, picture, &got_picture, &packet);
+- #elif LIBAVFORMAT_BUILD > 4628
+- avcodec_decode_video(video_st->codec,
+- picture, &got_picture,
+- packet.data, packet.size);
+- #else
+- avcodec_decode_video(&video_st->codec,
+- picture, &got_picture,
+- packet.data, packet.size);
+- #endif
+
+ // Did we get a video frame?
+ if(got_picture)
+@@ -769,18 +735,9 @@ double CvCapture_FFMPEG::getProperty( in
+ case CV_FFMPEG_CAP_PROP_FRAME_HEIGHT:
+ return (double)frame.height;
+ case CV_FFMPEG_CAP_PROP_FPS:
+-#if LIBAVCODEC_BUILD > 4753
+- return av_q2d(video_st->r_frame_rate);
+-#else
+- return (double)video_st->codec.frame_rate
+- / (double)video_st->codec.frame_rate_base;
+-#endif
++ return av_q2d(video_st->avg_frame_rate);
+ case CV_FFMPEG_CAP_PROP_FOURCC:
+-#if LIBAVFORMAT_BUILD > 4628
+ return (double)video_st->codec->codec_tag;
+-#else
+- return (double)video_st->codec.codec_tag;
+-#endif
+ default:
+ break;
+ }
+@@ -817,14 +774,7 @@ int CvCapture_FFMPEG::get_bitrate()
+
+ double CvCapture_FFMPEG::get_fps()
+ {
+- double fps = r2d(ic->streams[video_stream]->r_frame_rate);
+-
+-#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(52, 111, 0)
+- if (fps < eps_zero)
+- {
+- fps = r2d(ic->streams[video_stream]->avg_frame_rate);
+- }
+-#endif
++ double fps = r2d(ic->streams[video_stream]->avg_frame_rate);
+
+ if (fps < eps_zero)
+ {
+@@ -984,7 +934,6 @@ struct CvVideoWriter_FFMPEG
+
+ static const char * icvFFMPEGErrStr(int err)
+ {
+-#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 2, 0)
+ switch(err) {
+ case AVERROR_BSF_NOT_FOUND:
+ return "Bitstream filter not found";
+@@ -1015,22 +964,6 @@ static const char * icvFFMPEGErrStr(int
+ default:
+ break;
+ }
+-#else
+- switch(err) {
+- case AVERROR_NUMEXPECTED:
+- return "Incorrect filename syntax";
+- case AVERROR_INVALIDDATA:
+- return "Invalid data in header";
+- case AVERROR_NOFMT:
+- return "Unknown format";
+- case AVERROR_IO:
+- return "I/O error occurred";
+- case AVERROR_NOMEM:
+- return "Memory allocation error";
+- default:
+- break;
+- }
+-#endif
+
+ return "Unspecified error";
+ }
+@@ -1098,28 +1031,16 @@ static AVStream *icv_add_video_stream_FF
+ int frame_rate, frame_rate_base;
+ AVCodec *codec;
+
+-#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 10, 0)
+ st = avformat_new_stream(oc, 0);
+-#else
+- st = av_new_stream(oc, 0);
+-#endif
+
+ if (!st) {
+ CV_WARN("Could not allocate stream");
+ return NULL;
+ }
+
+-#if LIBAVFORMAT_BUILD > 4628
+ c = st->codec;
+-#else
+- c = &(st->codec);
+-#endif
+
+-#if LIBAVFORMAT_BUILD > 4621
+ c->codec_id = av_guess_codec(oc->oformat, NULL, oc->filename, NULL, AVMEDIA_TYPE_VIDEO);
+-#else
+- c->codec_id = oc->oformat->video_codec;
+-#endif
+
+ if(codec_id != CV_CODEC(CODEC_ID_NONE)){
+ c->codec_id = codec_id;
+@@ -1154,7 +1075,6 @@ static AVStream *icv_add_video_stream_FF
+ frame_rate_base*=10;
+ frame_rate=(int)(fps*frame_rate_base + 0.5);
+ }
+-#if LIBAVFORMAT_BUILD > 4752
+ c->time_base.den = frame_rate;
+ c->time_base.num = frame_rate_base;
+ /* adjust time base for supported framerates */
+@@ -1174,10 +1094,6 @@ static AVStream *icv_add_video_stream_FF
+ c->time_base.den= best->num;
+ c->time_base.num= best->den;
+ }
+-#else
+- c->frame_rate = frame_rate;
+- c->frame_rate_base = frame_rate_base;
+-#endif
+
+ c->gop_size = 12; /* emit one intra frame every twelve frames at most */
+ c->pix_fmt = (PixelFormat) pixel_format;
+@@ -1207,12 +1123,7 @@ static const int OPENCV_NO_FRAMES_WRITTE
+
+ static int icv_av_write_frame_FFMPEG( AVFormatContext * oc, AVStream * video_st, uint8_t * outbuf, uint32_t outbuf_size, AVFrame * picture )
+ {
+-#if LIBAVFORMAT_BUILD > 4628
+ AVCodecContext * c = video_st->codec;
+-#else
+- AVCodecContext * c = &(video_st->codec);
+-#endif
+- int out_size;
+ int ret = 0;
+
+ if (oc->oformat->flags & AVFMT_RAWPICTURE) {
+@@ -1232,24 +1143,39 @@ static int icv_av_write_frame_FFMPEG( AV
+
+ ret = av_write_frame(oc, &pkt);
+ } else {
++ AVPacket pkt;
++ int got_output;
++
++ av_init_packet(&pkt);
++#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 1, 0)
+ /* encode the image */
+- out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture);
+- /* if zero size, it means the image was buffered */
+- if (out_size > 0) {
+- AVPacket pkt;
+- av_init_packet(&pkt);
+-
+-#if LIBAVFORMAT_BUILD > 4752
+- if(c->coded_frame->pts != (int64_t)AV_NOPTS_VALUE)
+- pkt.pts = av_rescale_q(c->coded_frame->pts, c->time_base, video_st->time_base);
+-#else
++ int out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture);
++ got_output = out_size > 0;
++ pkt.data = outbuf;
++ pkt.size = out_size;
++ if(c->coded_frame->pts != (int64_t)AV_NOPTS_VALUE)
+ pkt.pts = c->coded_frame->pts;
++ pkt.dts = AV_NOPTS_VALUE;
++ if(c->coded_frame->key_frame)
++ pkt.flags |= PKT_FLAG_KEY;
++#else
++ pkt.data = NULL;
++ pkt.size = 0;
++
++ ret = avcodec_encode_video2(c, &pkt, picture, &got_output);
++ if (ret < 0)
++ got_output = 0;
+ #endif
+- if(c->coded_frame->key_frame)
+- pkt.flags |= PKT_FLAG_KEY;
++
++ if (got_output) {
++ if (pkt.pts != (int64_t)AV_NOPTS_VALUE)
++ pkt.pts = av_rescale_q(pkt.pts, c->time_base, video_st->time_base);
++ if (pkt.dts != (int64_t)AV_NOPTS_VALUE)
++ pkt.dts = av_rescale_q(pkt.dts, c->time_base, video_st->time_base);
++ if (pkt.duration)
++ pkt.duration = av_rescale_q(pkt.duration, c->time_base, video_st->time_base);
++
+ pkt.stream_index= video_st->index;
+- pkt.data= outbuf;
+- pkt.size= out_size;
+
+ /* write the compressed frame in the media file */
+ ret = av_write_frame(oc, &pkt);
+@@ -1271,30 +1197,8 @@ bool CvVideoWriter_FFMPEG::writeFrame( c
+ height = frame_height;
+
+ // typecast from opaque data type to implemented struct
+-#if LIBAVFORMAT_BUILD > 4628
+ AVCodecContext *c = video_st->codec;
+-#else
+- AVCodecContext *c = &(video_st->codec);
+-#endif
+
+-#if LIBAVFORMAT_BUILD < 5231
+- // It is not needed in the latest versions of the ffmpeg
+- if( c->codec_id == CV_CODEC(CODEC_ID_RAWVIDEO) && origin != 1 )
+- {
+- if( !temp_image.data )
+- {
+- temp_image.step = (width*cn + 3) & -4;
+- temp_image.width = width;
+- temp_image.height = height;
+- temp_image.cn = cn;
+- temp_image.data = (unsigned char*)malloc(temp_image.step*temp_image.height);
+- }
+- for( int y = 0; y < height; y++ )
+- memcpy(temp_image.data + y*temp_image.step, data + (height-1-y)*step, width*cn);
+- data = temp_image.data;
+- step = temp_image.step;
+- }
+-#else
+ if( width*cn != step )
+ {
+ if( !temp_image.data )
+@@ -1314,7 +1218,6 @@ bool CvVideoWriter_FFMPEG::writeFrame( c
+ data = temp_image.data;
+ step = temp_image.step;
+ }
+-#endif
+
+ // check parameters
+ if (input_pix_fmt == PIX_FMT_BGR24) {
+@@ -1401,11 +1304,7 @@ void CvVideoWriter_FFMPEG::close()
+ }
+
+ // free pictures
+-#if LIBAVFORMAT_BUILD > 4628
+ if( video_st->codec->pix_fmt != input_pix_fmt)
+-#else
+- if( video_st->codec.pix_fmt != input_pix_fmt)
+-#endif
+ {
+ if(picture->data[0])
+ free(picture->data[0]);
+@@ -1417,11 +1316,7 @@ void CvVideoWriter_FFMPEG::close()
+ av_free(input_picture);
+
+ /* close codec */
+-#if LIBAVFORMAT_BUILD > 4628
+ avcodec_close(video_st->codec);
+-#else
+- avcodec_close(&(video_st->codec));
+-#endif
+
+ av_free(outbuf);
+
+@@ -1429,15 +1324,7 @@ void CvVideoWriter_FFMPEG::close()
+ {
+ /* close the output file */
+
+-#if LIBAVCODEC_VERSION_INT < ((52<<16)+(123<<8)+0)
+-#if LIBAVCODEC_VERSION_INT >= ((51<<16)+(49<<8)+0)
+- url_fclose(oc->pb);
+-#else
+- url_fclose(&oc->pb);
+-#endif
+-#else
+ avio_close(oc->pb);
+-#endif
+
+ }
+
+@@ -1479,11 +1366,7 @@ bool CvVideoWriter_FFMPEG::open( const c
+
+ /* auto detect the output format from the name and fourcc code. */
+
+-#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 2, 0)
+ fmt = av_guess_format(NULL, filename, NULL);
+-#else
+- fmt = guess_format(NULL, filename, NULL);
+-#endif
+
+ if (!fmt)
+ return false;
+@@ -1497,21 +1380,12 @@ bool CvVideoWriter_FFMPEG::open( const c
+ }
+
+ /* Lookup codec_id for given fourcc */
+-#if LIBAVCODEC_VERSION_INT<((51<<16)+(49<<8)+0)
+- if( (codec_id = codec_get_bmp_id( fourcc )) == CV_CODEC(CODEC_ID_NONE) )
+- return false;
+-#else
+- const struct AVCodecTag * tags[] = { codec_bmp_tags, NULL};
++ const struct AVCodecTag * tags[] = { avformat_get_riff_video_tags(), NULL};
+ if( (codec_id = av_codec_get_id(tags, fourcc)) == CV_CODEC(CODEC_ID_NONE) )
+ return false;
+-#endif
+
+ // alloc memory for context
+-#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 2, 0)
+ oc = avformat_alloc_context();
+-#else
+- oc = av_alloc_format_context();
+-#endif
+ assert (oc);
+
+ /* set file name */
+@@ -1523,12 +1397,10 @@ bool CvVideoWriter_FFMPEG::open( const c
+
+ // set a few optimal pixel formats for lossless codecs of interest..
+ switch (codec_id) {
+-#if LIBAVCODEC_VERSION_INT>((50<<16)+(1<<8)+0)
+ case CV_CODEC(CODEC_ID_JPEGLS):
+ // BGR24 or GRAY8 depending on is_color...
+ codec_pix_fmt = input_pix_fmt;
+ break;
+-#endif
+ case CV_CODEC(CODEC_ID_HUFFYUV):
+ codec_pix_fmt = PIX_FMT_YUV422P;
+ break;
+@@ -1555,14 +1427,6 @@ bool CvVideoWriter_FFMPEG::open( const c
+ width, height, (int)(bitrate + 0.5),
+ fps, codec_pix_fmt);
+
+- /* set the output parameters (must be done even if no
+- parameters). */
+-#if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 2, 0)
+- if (av_set_parameters(oc, NULL) < 0) {
+- return false;
+- }
+-#endif
+-
+ #if 0
+ #if FF_API_DUMP_FORMAT
+ dump_format(oc, 0, filename, 1);
+@@ -1580,23 +1444,14 @@ bool CvVideoWriter_FFMPEG::open( const c
+ AVCodec *codec;
+ AVCodecContext *c;
+
+-#if LIBAVFORMAT_BUILD > 4628
+ c = (video_st->codec);
+-#else
+- c = &(video_st->codec);
+-#endif
+
+ c->codec_tag = fourcc;
+ /* find the video encoder */
+ codec = avcodec_find_encoder(c->codec_id);
+ if (!codec) {
+ fprintf(stderr, "Could not find encoder for codec id %d: %s", c->codec_id, icvFFMPEGErrStr(
+- #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 2, 0)
+- AVERROR_ENCODER_NOT_FOUND
+- #else
+- -1
+- #endif
+- ));
++ AVERROR_ENCODER_NOT_FOUND));
+ return false;
+ }
+
+@@ -1607,13 +1462,7 @@ bool CvVideoWriter_FFMPEG::open( const c
+ c->bit_rate = (int)lbit_rate;
+
+ /* open the codec */
+- if ((err=
+-#if LIBAVCODEC_VERSION_INT >= ((53<<16)+(8<<8)+0)
+- avcodec_open2(c, codec, NULL)
+-#else
+- avcodec_open(c, codec)
+-#endif
+- ) < 0) {
++ if ((err = avcodec_open2(c, codec, NULL)) < 0) {
+ fprintf(stderr, "Could not open codec '%s': %s", codec->name, icvFFMPEGErrStr(err));
+ return false;
+ }
+@@ -1649,22 +1498,14 @@ bool CvVideoWriter_FFMPEG::open( const c
+
+ /* open the output file, if needed */
+ if (!(fmt->flags & AVFMT_NOFILE)) {
+-#if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 2, 0)
+- if (url_fopen(&oc->pb, filename, URL_WRONLY) < 0)
+-#else
+ if (avio_open(&oc->pb, filename, AVIO_FLAG_WRITE) < 0)
+-#endif
+ {
+ return false;
+ }
+ }
+
+-#if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(52, 111, 0)
+ /* write the stream header, if any */
+ err=avformat_write_header(oc, NULL);
+-#else
+- err=av_write_header( oc );
+-#endif
+
+ if(err < 0)
+ {
+@@ -1799,15 +1640,7 @@ void OutputMediaStream_FFMPEG::close()
+ {
+ // close the output file
+
+- #if LIBAVCODEC_VERSION_INT < ((52<<16)+(123<<8)+0)
+- #if LIBAVCODEC_VERSION_INT >= ((51<<16)+(49<<8)+0)
+- url_fclose(oc_->pb);
+- #else
+- url_fclose(&oc_->pb);
+- #endif
+- #else
+- avio_close(oc_->pb);
+- #endif
++ avio_close(oc_->pb);
+ }
+
+ // free the stream
+@@ -1817,19 +1650,11 @@ void OutputMediaStream_FFMPEG::close()
+
+ AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext *oc, CV_CODEC_ID codec_id, int w, int h, int bitrate, double fps, PixelFormat pixel_format)
+ {
+- #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 10, 0)
+ AVStream* st = avformat_new_stream(oc, 0);
+- #else
+- AVStream* st = av_new_stream(oc, 0);
+- #endif
+ if (!st)
+ return 0;
+
+- #if LIBAVFORMAT_BUILD > 4628
+ AVCodecContext* c = st->codec;
+- #else
+- AVCodecContext* c = &(st->codec);
+- #endif
+
+ c->codec_id = codec_id;
+ c->codec_type = AVMEDIA_TYPE_VIDEO;
+@@ -1865,7 +1690,6 @@ AVStream* OutputMediaStream_FFMPEG::addV
+ c->time_base.den = frame_rate;
+ c->time_base.num = frame_rate_base;
+
+- #if LIBAVFORMAT_BUILD > 4752
+ // adjust time base for supported framerates
+ if (codec && codec->supported_framerates)
+ {
+@@ -1890,7 +1714,6 @@ AVStream* OutputMediaStream_FFMPEG::addV
+ c->time_base.den= best->num;
+ c->time_base.num= best->den;
+ }
+- #endif
+
+ c->gop_size = 12; // emit one intra frame every twelve frames at most
+ c->pix_fmt = pixel_format;
+@@ -1909,13 +1732,11 @@ AVStream* OutputMediaStream_FFMPEG::addV
+ c->mb_decision = 2;
+ }
+
+- #if LIBAVCODEC_VERSION_INT > 0x000409
+ // some formats want stream headers to be seperate
+ if (oc->oformat->flags & AVFMT_GLOBALHEADER)
+ {
+ c->flags |= CODEC_FLAG_GLOBAL_HEADER;
+ }
+- #endif
+
+ return st;
+ }
+@@ -1927,22 +1748,14 @@ bool OutputMediaStream_FFMPEG::open(cons
+ video_st_ = 0;
+
+ // auto detect the output format from the name and fourcc code
+- #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 2, 0)
+ fmt_ = av_guess_format(NULL, fileName, NULL);
+- #else
+- fmt_ = guess_format(NULL, fileName, NULL);
+- #endif
+ if (!fmt_)
+ return false;
+
+ CV_CODEC_ID codec_id = CV_CODEC(CODEC_ID_H264);
+
+ // alloc memory for context
+- #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 2, 0)
+ oc_ = avformat_alloc_context();
+- #else
+- oc_ = av_alloc_format_context();
+- #endif
+ if (!oc_)
+ return false;
+
+@@ -1961,20 +1774,10 @@ bool OutputMediaStream_FFMPEG::open(cons
+ if (!video_st_)
+ return false;
+
+- // set the output parameters (must be done even if no parameters)
+- #if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 2, 0)
+- if (av_set_parameters(oc_, NULL) < 0)
+- return false;
+- #endif
+-
+ // now that all the parameters are set, we can open the audio and
+ // video codecs and allocate the necessary encode buffers
+
+- #if LIBAVFORMAT_BUILD > 4628
+ AVCodecContext* c = (video_st_->codec);
+- #else
+- AVCodecContext* c = &(video_st_->codec);
+- #endif
+
+ c->codec_tag = MKTAG('H', '2', '6', '4');
+ c->bit_rate_tolerance = c->bit_rate;
+@@ -1982,22 +1785,14 @@ bool OutputMediaStream_FFMPEG::open(cons
+ // open the output file, if needed
+ if (!(fmt_->flags & AVFMT_NOFILE))
+ {
+- #if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 2, 0)
+- int err = url_fopen(&oc_->pb, fileName, URL_WRONLY);
+- #else
+- int err = avio_open(&oc_->pb, fileName, AVIO_FLAG_WRITE);
+- #endif
++ int err = avio_open(&oc_->pb, fileName, AVIO_FLAG_WRITE);
+
+ if (err != 0)
+ return false;
+ }
+
+ // write the stream header, if any
+- #if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 2, 0)
+- av_write_header(oc_);
+- #else
+- avformat_write_header(oc_, NULL);
+- #endif
++ avformat_write_header(oc_, NULL);
+
+ return true;
+ }
+@@ -2102,33 +1897,19 @@ bool InputMediaStream_FFMPEG::open(const
+ video_stream_id_ = -1;
+ memset(&pkt_, 0, sizeof(AVPacket));
+
+- #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 13, 0)
+- avformat_network_init();
+- #endif
+-
+- #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 6, 0)
+- err = avformat_open_input(&ctx_, fileName, 0, 0);
+- #else
+- err = av_open_input_file(&ctx_, fileName, 0, 0, 0);
+- #endif
++ avformat_network_init();
++
++ err = avformat_open_input(&ctx_, fileName, 0, 0);
+ if (err < 0)
+ return false;
+
+- #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 6, 0)
+- err = avformat_find_stream_info(ctx_, 0);
+- #else
+- err = av_find_stream_info(ctx_);
+- #endif
++ err = avformat_find_stream_info(ctx_, 0);
+ if (err < 0)
+ return false;
+
+ for (unsigned int i = 0; i < ctx_->nb_streams; ++i)
+ {
+- #if LIBAVFORMAT_BUILD > 4628
+ AVCodecContext *enc = ctx_->streams[i]->codec;
+- #else
+- AVCodecContext *enc = &ctx_->streams[i]->codec;
+- #endif
+
+ if (enc->codec_type == AVMEDIA_TYPE_VIDEO)
+ {
+@@ -2197,11 +1978,7 @@ void InputMediaStream_FFMPEG::close()
+ {
+ if (ctx_)
+ {
+- #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(53, 24, 2)
+- avformat_close_input(&ctx_);
+- #else
+- av_close_input_file(ctx_);
+- #endif
++ avformat_close_input(&ctx_);
+ }
+
+ // free last packet if exist
diff --git a/debian/patches/optimize_i586.patch b/debian/patches/optimize_i586.patch
new file mode 100644
index 0000000..4e501d1
--- /dev/null
+++ b/debian/patches/optimize_i586.patch
@@ -0,0 +1,21 @@
+Description: Optimize of i386 changed from 686 to 586.
+ Similar to the patch patches/0011_optimize_i486.patch in wheezy
+ by Nobuhiro Iwamatsu.
+ Upstream moved the location from CMakeLists.txt to cmake/OpenCVCompilerOptions.cmake.
+Author: Bernhard Übelacker <bernhardu@vr-web.de>
+Bug-Debian: https://bugs.debian.org/784647
+Origin: other, https://sources.debian.net/src/opencv/2.3.1-11%2Bdeb7u1/debian/patches/0011_optimize_i486.patch/
+Last-Update: 2015-05-09
+
+
+--- opencv-2.4.9.1+dfsg.orig/cmake/OpenCVCompilerOptions.cmake
++++ opencv-2.4.9.1+dfsg/cmake/OpenCVCompilerOptions.cmake
+@@ -109,7 +109,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
+ endif()
+
+ if(X86 AND NOT MINGW64 AND NOT X86_64 AND NOT APPLE)
+- add_extra_compiler_option(-march=i686)
++ add_extra_compiler_option(-march=i586)
+ endif()
+
+ # Other optimizations
diff --git a/debian/patches/pkg-config b/debian/patches/pkg-config
new file mode 100644
index 0000000..1384795
--- /dev/null
+++ b/debian/patches/pkg-config
@@ -0,0 +1,50 @@
+Description: pkg-config is broken in OpenCV-2.4.x
+Bug: http://code.opencv.org/issues/1925
+Bug-Debian: http://bugs.debian.org/721894, http://bugs.debian.org/678222
+Author: Ray Rashif
+Last-Update: 2013-11-23
+
+diff --git a/cmake/OpenCVGenPkgconfig.cmake b/cmake/OpenCVGenPkgconfig.cmake
+index a36b70e..a3733bc 100644
+--- a/cmake/OpenCVGenPkgconfig.cmake
++++ b/cmake/OpenCVGenPkgconfig.cmake
+@@ -10,7 +10,7 @@
+ # -------------------------------------------------------------------------------------------
+ set(prefix "${CMAKE_INSTALL_PREFIX}")
+ set(exec_prefix "\${prefix}")
+-set(libdir "") #TODO: need link paths for OpenCV_EXTRA_COMPONENTS
++set(libdir "\${prefix}/${OPENCV_LIB_INSTALL_PATH}")
+ set(includedir "\${prefix}/${OPENCV_INCLUDE_INSTALL_PATH}")
+
+ if(CMAKE_BUILD_TYPE MATCHES "Release")
+@@ -35,10 +35,11 @@ ocv_list_reverse(OpenCV_LIB_COMPONENTS)
+ ocv_list_reverse(OpenCV_EXTRA_COMPONENTS)
+
+ #build the list of components
+-set(OpenCV_LIB_COMPONENTS_ "")
++set(OpenCV_LIB_COMPONENTS_ "-L\${libdir}")
+ foreach(CVLib ${OpenCV_LIB_COMPONENTS})
+ get_target_property(libpath ${CVLib} LOCATION_${CMAKE_BUILD_TYPE})
+ get_filename_component(libname "${libpath}" NAME)
++ get_filename_component(lname "${libpath}" NAME_WE)
+
+ if(INSTALL_TO_MANGLED_PATHS)
+ set(libname "${libname}.${OPENCV_VERSION}")
+@@ -52,6 +53,8 @@ foreach(CVLib ${OpenCV_LIB_COMPONENTS})
+ endif()
+
+ set(OpenCV_LIB_COMPONENTS_ "${OpenCV_LIB_COMPONENTS_} \${exec_prefix}/${installDir}/${libname}")
++ string(REPLACE "libopencv" "-lopencv" lname "${lname}")
++ set(OpenCV_LIB_COMPONENTS_ "${OpenCV_LIB_COMPONENTS_} ${lname}")
+ endforeach()
+
+ # add extra dependencies required for OpenCV
+@@ -67,6 +70,8 @@ if(OpenCV_EXTRA_COMPONENTS)
+
+ set(OpenCV_LIB_COMPONENTS "${OpenCV_LIB_COMPONENTS} ${maybe_l_prefix}${extra_component}")
+
++
++
+ endforeach()
+ endif()
+
diff --git a/debian/patches/revert-Make-ts-always-static b/debian/patches/revert-Make-ts-always-static
new file mode 100644
index 0000000..3a2a59d
--- /dev/null
+++ b/debian/patches/revert-Make-ts-always-static
@@ -0,0 +1,51 @@
+Description: Revert commit 131458847bbf2fe971c6b5e40a8b59d0d48b0d0c
+ This commit disable building shared library of TS.
+Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
+Forwarded: no
+Last-Update: <2014-01-14>
+
+diff --git a/modules/ts/include/opencv2/ts/ts.hpp b/modules/ts/include/opencv2/ts/ts.hpp
+index 8ea1ad9..3ac7db2 100644
+--- a/modules/ts/include/opencv2/ts/ts.hpp
++++ b/modules/ts/include/opencv2/ts/ts.hpp
+@@ -1,6 +1,13 @@
+ #ifndef __OPENCV_GTESTCV_HPP__
+ #define __OPENCV_GTESTCV_HPP__
+
++#include "cvconfig.h"
++#ifndef GTEST_CREATE_SHARED_LIBRARY
++#ifdef BUILD_SHARED_LIBS
++#define GTEST_LINKED_AS_SHARED_LIBRARY 1
++#endif
++#endif
++
+ #include <stdarg.h> // for va_list
+
+ #ifdef HAVE_WINRT
+diff --git a/modules/ts/CMakeLists.txt b/modules/ts/CMakeLists.txt
+index bb56da2..38864a4 100644
+--- a/modules/ts/CMakeLists.txt
++++ b/modules/ts/CMakeLists.txt
+@@ -4,7 +4,10 @@ if(IOS)
+ ocv_module_disable(ts)
+ endif()
+
+-set(OPENCV_MODULE_TYPE STATIC)
++if(MINGW)
++ set(OPENCV_MODULE_TYPE STATIC)
++endif()
++
+ set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE)
+
+ ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef)
+@@ -15,4 +18,10 @@ ocv_glob_module_sources()
+ ocv_module_include_directories()
+ ocv_create_module()
+
++if(BUILD_SHARED_LIBS AND NOT MINGW)
++ add_definitions(-DGTEST_CREATE_SHARED_LIBRARY=1)
++else()
++ add_definitions(-DGTEST_CREATE_SHARED_LIBRARY=0)
++endif()
++
+ ocv_add_precompiled_headers(${the_module})
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..721d8bc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,14 @@
+build-static-libs
+drop_asm_types_h_kfreebsd
+support_multiarch
+fix_ftbfs_on_non_linux
+pkg-config
+revert-Make-ts-always-static
+fix_path_of_opencl_headers
+libav10.patch
+optimize_i586.patch
+Don-t-check-sphinx-build-version.patch
+change_type_from_int_to_Atomic_word
+fix_without_sysctl.patch
+ffmpeg_2.9.patch
+fix_ftbfs_with_gcc6
diff --git a/debian/patches/support_multiarch b/debian/patches/support_multiarch
new file mode 100644
index 0000000..b0b8c18
--- /dev/null
+++ b/debian/patches/support_multiarch
@@ -0,0 +1,34 @@
+Description: Support multiarch
+Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
+Forwarded: no
+Last-Update: <2014-07-01>
+
+index b610ecf..3ebacf3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -312,7 +312,7 @@ else()
+ set(OPENCV_3P_LIB_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}staticlib${LIB_SUFFIX}")
+ set(OPENCV_SAMPLES_SRC_INSTALL_PATH samples/native)
+ else()
+- set(OPENCV_LIB_INSTALL_PATH lib${LIB_SUFFIX})
++ set(OPENCV_LIB_INSTALL_PATH ${CMAKE_INSTALL_LIBDIR}${LIB_SUFFIX})
+ set(OPENCV_3P_LIB_INSTALL_PATH share/OpenCV/3rdparty/${OPENCV_LIB_INSTALL_PATH})
+ set(OPENCV_SAMPLES_SRC_INSTALL_PATH share/OpenCV/samples)
+ endif()
+@@ -320,7 +320,7 @@ else()
+
+ math(EXPR SIZEOF_VOID_P_BITS "8 * ${CMAKE_SIZEOF_VOID_P}")
+ if(LIB_SUFFIX AND NOT SIZEOF_VOID_P_BITS EQUAL LIB_SUFFIX)
+- set(OPENCV_CONFIG_INSTALL_PATH lib${LIB_SUFFIX}/cmake/opencv)
++ set(OPENCV_CONFIG_INSTALL_PATH ${CMAKE_INSTALL_LIBDIR}${LIB_SUFFIX}/cmake/opencv)
+ else()
+ set(OPENCV_CONFIG_INSTALL_PATH share/OpenCV)
+ endif()
+@@ -427,6 +427,7 @@ if(UNIX)
+ include(cmake/OpenCVFindPkgConfig.cmake OPTIONAL)
+ include(CheckFunctionExists)
+ include(CheckIncludeFile)
++ include(GNUInstallDirs)
+
+ if(NOT APPLE)
+ CHECK_INCLUDE_FILE(pthread.h HAVE_LIBPTHREAD)
diff --git a/debian/python-opencv.install b/debian/python-opencv.install
new file mode 100644
index 0000000..607c065
--- /dev/null
+++ b/debian/python-opencv.install
@@ -0,0 +1 @@
+usr/lib/python*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..72249e2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,103 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+# SSE options
+ifeq ($(DEB_HOST_ARCH),amd64)
+CMAKE_ARCH_FLAGS = -DENABLE_SSE=ON -DENABLE_SSE2=ON -DENABLE_SSE3=OFF
+else
+CMAKE_ARCH_FLAGS = -DENABLE_SSE=OFF -DENABLE_SSE2=OFF -DENABLE_SSE3=OFF
+endif
+
+# TBB support
+ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64 ia64 powerpc ppc64 ppc64el))
+CMAKE_ARCH_FLAGS += -DWITH_TBB=ON
+else
+CMAKE_ARCH_FLAGS += -DWITH_TBB=OFF
+endif
+
+# Linux-specific stuff
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+CMAKE_ARCH_FLAGS += -DWITH_1394=ON -DWITH_V4L=ON
+else
+CMAKE_ARCH_FLAGS += -DWITH_1394=OFF -DWITH_V4L=OFF
+endif
+
+# No GL on armhf in Ubuntu
+ifeq ($(shell dpkg-vendor --is ubuntu && echo true),true)
+ifneq ($(DEB_HOST_ARCH),armhf)
+CMAKE_ARCH_FLAGS += -DWITH_OPENGL=ON
+else
+CMAKE_ARCH_FLAGS += -DWITH_OPENGL=OFF
+endif
+CMAKE_ARCH_FLAGS += -DWITH_OPENGL=ON
+endif
+
+# For Java
+export JAVA_HOME=/usr/lib/jvm/default-java
+
+CMAKE_FLAGS = \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR="lib/$(DEB_HOST_MULTIARCH)" \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_C_FLAGS_RELEASE="$(CFLAGS)" \
+ -DCMAKE_CXX_FLAGS_RELEASE="$(CXXFLAGS)" \
+ -DCMAKE_SHARED_LINKER_FLAGS_RELEASE="$(LDFLAGS)" \
+ -DCMAKE_EXE_LINKER_FLAGS_RELEASE="$(LDFLAGS)" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_EXAMPLES=ON \
+ -DINSTALL_C_EXAMPLES=ON \
+ -DINSTALL_PYTHON_EXAMPLES=ON \
+ -DBUILD_NEW_PYTHON_SUPPORT=ON \
+ -DWITH_FFMPEG=ON \
+ -DWITH_GSTREAMER=OFF \
+ -DWITH_GTK=ON \
+ -DWITH_JASPER=OFF \
+ -DWITH_JPEG=ON \
+ -DWITH_PNG=ON \
+ -DWITH_TIFF=ON \
+ -DWITH_OPENEXR=ON \
+ -DWITH_PVAPI=ON \
+ -DWITH_UNICAP=OFF \
+ -DWITH_EIGEN=ON \
+ -DWITH_XINE=OFF \
+ -DBUILD_TESTS=OFF \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DWITH_CUDA=OFF \
+ -DENABLE_PRECOMPILED_HEADERS=OFF \
+ $(CMAKE_ARCH_FLAGS)
+# -DOPENCL_INCLUDE_DIR:PATH="/usr/include/CL/"
+
+%:
+ dh $@ --buildsystem=cmake --with python2 --with javahelper
+
+override_dh_clean:
+ rm -rf modules/python/src2/hdr_parser.pyc
+ rm -rf modules/java/generator/rst_parser.pyc
+ rm -rf modules/refman.rst
+
+ dh_clean -O--buildsystem=cmake
+
+override_dh_auto_configure:
+ dh_auto_configure -- $(CMAKE_FLAGS)
+
+override_dh_install:
+ -rm --verbose -rf debian/tmp/usr/share/opencv/samples/octave
+ -rm --verbose -rf debian/tmp/usr/share/opencv/samples/c/cvsample.dsp
+ -rm --verbose -rf debian/tmp/usr/share/OpenCV/doc/license.txt
+
+ # change install path of java library
+ sed -i -e "s@share\/OpenCV\/java\/@lib\/jni\/@g" \
+ debian/tmp/usr/share/OpenCV/OpenCVModules-release.cmake
+
+ for f in $$(ls obj-*/lib/libopencv_*_s.a); do \
+ cp --verbose --preserve=mode $$f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/$$(basename $$f _s.a).a; done
+ dh_install -O--buildsystem=cmake --list-missing
+
+override_dh_fixperms-indep:
+ dh_fixperms
+ chmod 644 $(CURDIR)/debian/opencv-doc/usr/share/doc/opencv-doc/examples/python/*.py
+ chmod 644 $(CURDIR)/debian/opencv-doc/usr/share/doc/opencv-doc/examples/python2/*.py
diff --git a/debian/samples/c/Makefile.debian b/debian/samples/c/Makefile.debian
new file mode 100644
index 0000000..66afb33
--- /dev/null
+++ b/debian/samples/c/Makefile.debian
@@ -0,0 +1,15 @@
+all: contours convert_cascade delaunay fback_c morphology motempl \
+ polar_transforms pyramid_segmentation adaptiveskindetector \
+ bgfg_codebook blobtrack_sample facedetect find_obj_calonder \
+ find_obj find_obj_ferns latentsvmdetect mser_sample mushroom \
+ one_way_sample tree_engine example_cmake/minarea
+
+example_cmake/minarea: example_cmake/minarea.c
+
+CPPFLAGS += $(shell pkg-config opencv --cflags)
+LOADLIBES += $(shell pkg-config opencv --libs)
+LOADLIBES += -lm
+CFLAGS += -Wall
+CXXFLAGS += -Wall
+CFLAGS += -O2
+CXXFLAGS += -O2
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..5cc00f0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/_/./g;s/\-.*$//g,dversionmangle=s/\+dfsg$//" \
+http://sf.net/opencvlibrary/(?i:opencv)-([\d.]+)\.tar\.bz2