--- frei0r-1.1.22git20091109.orig/debian/frei0r-plugins-doc.install
+++ frei0r-1.1.22git20091109/debian/frei0r-plugins-doc.install
@@ -0,0 +1 @@
+usr/share/doc
--- frei0r-1.1.22git20091109.orig/debian/copyright
+++ frei0r-1.1.22git20091109/debian/copyright
@@ -0,0 +1,20 @@
+This package was debianized by Christian Marillat <marillat@debian.org> on
+Wed, 22 Oct 2008 16:06:34 +0200.
+
+It was downloaded from http://www.piksel.org/frei0r
+
+Upstream Authors:
+
+    See the AUTHORS in /usr/share/doc/frei0r-plugins
+
+Copyright:
+
+    Copyright © 2008 /usr/share/doc/frei0r-plugins/AUTHORS
+
+License:
+
+    You should have received a copy of the GNU General Public License with the
+    Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL-2; if
+    not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth
+    Floor, Boston, MA 02110-1301, USA.
+
--- frei0r-1.1.22git20091109.orig/debian/changelog
+++ frei0r-1.1.22git20091109/debian/changelog
@@ -0,0 +1,90 @@
+frei0r (1.1.22git20091109-1.2.4.201403112020) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Tue, 11 Mar 2014 20:20:18 +0100
+
+frei0r (1.1.22git20091109-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: filter/facedetect/facedetect.c:231:36: error: too few
+    arguments to function 'cvHaarDetectObjects'" Supply minimum and
+    maximum sizes to mimic previous single size requirement.
+    (Closes: #652759)
+
+ -- Neil Williams <codehelp@debian.org>  Sat, 03 Mar 2012 11:17:14 +0000
+
+frei0r (1.1.22git20091109-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build against current libcv which changes the soname (Closes: #590925)
+
+ -- Moritz Muehlenhoff <jmm@debian.org>  Thu, 05 Aug 2010 20:29:50 -0400
+
+frei0r (1.1.22git20091109-1) unstable; urgency=low
+
+  * New import from upstream.
+  * Increase standard version to 3.8.3.
+  * Temporary depend on libcvaux-dev and libhighgui-dev for a bug in opencv
+    (Closes: #560546).
+
+ -- Luca Bigliardi <shammash@artha.org>  Fri, 15 Jan 2010 17:18:18 +0100
+
+frei0r (1.1.22git20090409-2) unstable; urgency=low
+
+  * Conflict with unofficial package frei0r (Closes: #526634).
+
+ -- Luca Bigliardi <shammash@artha.org>  Mon, 01 Jun 2009 11:37:06 +0200
+
+frei0r (1.1.22git20090409-1) unstable; urgency=low
+
+  * Sync with upstream git to add pkg-config file.
+
+ -- Luca Bigliardi <shammash@artha.org>  Thu, 09 Apr 2009 17:39:36 +0200
+
+frei0r (1.1.22git20090209-1) unstable; urgency=low
+
+  * First official debian package (Closes: #514639).
+  * Import some fixes from upstream.
+  * Switch to cdbs.
+  * Build-depend on pkg-config.
+  * Use installed documentation.
+  * Remove watch file (source code in git repository).
+  * Rename source package in frei0r.
+  * Rename plugins binary package in frei0r-plugins.
+  * Rename libfrei0r-* in frei0r-plugins-*.
+
+ -- Luca Bigliardi <shammash@artha.org>  Thu, 26 Feb 2009 15:03:02 +0100
+
+frei0r-plugins (1.1.22-0.2) unstable; urgency=low
+
+  * Rebuild against the latest libgavl-dev 1.1.0
+
+ -- Christian Marillat <marillat@debian.org>  Mon, 02 Feb 2009 12:21:15 +0100
+
+frei0r-plugins (1.1.22-0.1) unstable; urgency=low
+
+  * Update watch file.
+  * Build against the latest libgavl-dev 1.0.1
+
+ -- Christian Marillat <marillat@debian.org>  Thu, 11 Dec 2008 23:56:33 +0100
+
+frei0r-plugins (1.1.22-0.0) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Christian Marillat <marillat@debian.org>  Wed, 29 Oct 2008 08:23:52 +0100
+
+frei0r (1.1.21git20081022-0.0) unstable; urgency=low
+
+  * Update the version number to the real version 1.1.21
+  * Remove the water plugin who doesn't work. I'll add this plugin later.
+
+ -- Christian Marillat <marillat@debian.org>  Thu, 23 Oct 2008 10:50:10 +0200
+
+frei0r (1.1git20081022-0.0) unstable; urgency=low
+
+  * Initial release.
+
+ -- Christian Marillat <marillat@debian.org>  Wed, 22 Oct 2008 16:06:34 +0200
+
--- frei0r-1.1.22git20091109.orig/debian/compat
+++ frei0r-1.1.22git20091109/debian/compat
@@ -0,0 +1 @@
+5
--- frei0r-1.1.22git20091109.orig/debian/frei0r-plugins-doc.doc-base
+++ frei0r-1.1.22git20091109/debian/frei0r-plugins-doc.doc-base
@@ -0,0 +1,9 @@
+Document: frei0r
+Title: A minimalistic plugin API for video effects
+Author: doxygen
+Abstract: A minimalistic plugin API for video effects
+Section: Graphics
+
+Format: HTML
+Index: /usr/share/doc/frei0r-plugins-1.1/html/index.html
+Files: /usr/share/doc/frei0r-plugins-1.1/html/*.html
--- frei0r-1.1.22git20091109.orig/debian/frei0r-plugins.install
+++ frei0r-1.1.22git20091109/debian/frei0r-plugins.install
@@ -0,0 +1 @@
+usr/lib/frei0r-1
--- frei0r-1.1.22git20091109.orig/debian/rules
+++ frei0r-1.1.22git20091109/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+DEB_DH_INSTALL_SOURCEDIR=debian/tmp
+
+include /usr/share/cdbs/1/rules/buildcore.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+clean::
+	$(RM) Makefile.in aclocal.m4 configure doc/Makefile.in
+	$(RM) doc/html/Makefile.in include/Makefile.in ltmain.sh
+	$(RM) m4/libtool.m4 m4/ltoptions.m4 m4/ltversion.m4
+	$(RM) m4/lt~obsolete.m4 m4/ltsugar.m4 src/Makefile.in
+
+makebuilddir::
+	libtoolize -f
+	autoreconf -fs
--- frei0r-1.1.22git20091109.orig/debian/control
+++ frei0r-1.1.22git20091109/debian/control
@@ -0,0 +1,69 @@
+Source: frei0r
+Section: video
+Priority: optional
+Maintainer: Luca Bigliardi <shammash@artha.org>
+Uploaders: Denis Rojo <jaromil@dyne.org>
+DM-Upload-Allowed: yes
+Vcs-Git: git://git.dyne.org/frei0r.git
+Vcs-Browser: http://git.dyne.org/?r=frei0r
+Homepage: http://www.piksel.org/frei0r
+Build-Depends: cdbs, debhelper (>> 5.0.0), pkg-config, libcv-dev, libgavl-dev (>= 1.1.0),
+ libtool, autoconf, automake,
+ libcvaux-dev, libhighgui-dev
+Standards-Version: 3.8.3
+
+Package: frei0r-plugins
+Section: video
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: frei0r (<= 1.1.22)
+Replaces: frei0r
+Description: minimalistic plugin API for video effects, plugins collection
+ frei0r is a minimalistic plugin API for video sources and filters. The
+ behavior of the effects can be controlled from the host by simple
+ parameters. The intent is to solve the recurring reimplementation or
+ adaptation issue of standard effects. It is not meant as a generic API for
+ all kinds of video applications.
+ .
+ frei0r plugins are used by several projects (e.g.: LiVES, Veejay, Open Movie
+ Editor, FreeJ, Pure Data Visual Junk Tools, MLT framework).
+ .
+ This package contains a collection of plugins.
+
+Package: frei0r-plugins-dev
+Section: devel
+Architecture: any
+Depends: ${misc:Depends}
+Conflicts: frei0r-dev (<= 1.1.22)
+Replaces: frei0r-dev
+Description: minimalistic plugin API for video effects, header files
+ frei0r is a minimalistic plugin API for video sources and filters. The
+ behavior of the effects can be controlled from the host by simple
+ parameters. The intent is to solve the recurring reimplementation or
+ adaptation issue of standard effects. It is not meant as a generic API for
+ all kinds of video applications.
+ .
+ frei0r plugins are used by several projects (e.g.: LiVES, Veejay, Open Movie
+ Editor, FreeJ, Pure Data Visual Junk Tools, MLT framework).
+ .
+ This package contains the header needed to enable frei0r in other package
+ at build time.
+
+Package: frei0r-plugins-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Conflicts: frei0r-doc (<= 1.1.22)
+Replaces: frei0r-doc
+Description: minimalistic plugin API for video effects, API documentation
+ frei0r is a minimalistic plugin API for video sources and filters. The
+ behavior of the effects can be controlled from the host by simple
+ parameters. The intent is to solve the recurring reimplementation or
+ adaptation issue of standard effects. It is not meant as a generic API for
+ all kinds of video applications.
+ .
+ frei0r plugins are used by several projects (e.g.: LiVES, Veejay, Open Movie
+ Editor, FreeJ, Pure Data Visual Junk Tools, MLT framework).
+ .
+ This package contains the API documentation.
+
--- frei0r-1.1.22git20091109.orig/debian/frei0r-plugins-dev.install
+++ frei0r-1.1.22git20091109/debian/frei0r-plugins-dev.install
@@ -0,0 +1,2 @@
+usr/include/
+usr/lib/pkgconfig
--- frei0r-1.1.22git20091109.orig/src/filter/facedetect/facedetect.c
+++ frei0r-1.1.22git20091109/src/filter/facedetect/facedetect.c
@@ -228,7 +228,7 @@
       double t = (double)cvGetTickCount();
       faces = cvHaarDetectObjects( small_img, cascade, storage,
                                    1.1, 2, 0/*CV_HAAR_DO_CANNY_PRUNING*/,
-                                   cvSize(30, 30) );
+                                   cvSize(30, 30), cvSize(30, 30) );
       t = (double)cvGetTickCount() - t;
       //printf( "detection time = %gms\n", t/((double)cvGetTickFrequency()*1000.) );
 
