--- unicap-0.9.5.orig/debian/README.source
+++ unicap-0.9.5/debian/README.source
@@ -0,0 +1,52 @@
+Building this package for Debian
+--------------------------------
+
+This source package uses quilt to apply and remove its patches. Please
+refer to /usr/share/doc/quilt/README.source for information about how to
+use quilt for source packages.
+
+
+Developing this package for Debian
+----------------------------------
+
+The source of this package is developed using git and the helper tool
+git-buildpackage, with all official releases tagged and signed and
+binary diffs of tarballs stored using pristine-tar. This is documented
+below /usr/share/doc/git-buildpackage/manual-html/ .
+
+A custom build target shows current upstream and packaging versions:
+
+ debian/rules print-version
+
+Current upstream tarball can be prepared using this other build target:
+
+ debian/rules get-orig-source
+
+To switch to newer upstream source, first add a dummy changelog entry
+and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source:
+
+ dch -v ${new_upstream_version}-1 "Dummy changelog entry"
+ sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules
+ debian/rules get-orig-source
+
+Store new md5sum to help ensure identical source is received later.
+
+Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful
+during development of the package, but unfit for normal builds. This
+typically includes the CDBS feature of auto-updating debian/control with
+CDBS-related build-dependencies, which is forbidden by Debian Policy as
+build environment must not change during automated builds.
+
+
+Maintaining packaging build routines
+------------------------------------
+
+This source package wraps debhelper commands and other tedious parts of
+the build routines using the CDBS framework. Please refer to the actual
+makefile snippets included from debian/rules for details on their
+purpose and ways to override defaults. Additionally, makefile snippets
+included from below /usr/share/cdbs may also be documented in
+/usr/share/doc/cdbs/cdbs-doc.pdf.gz .
+
+
+ -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100
--- unicap-0.9.5.orig/debian/control.in
+++ unicap-0.9.5/debian/control.in
@@ -0,0 +1,220 @@
+Source: unicap
+Section: libs
+Priority: optional
+Maintainer: Ubuntu Developers
+XSBC-Original-Maintainer: Jonas Smedegaard
+Build-Depends: @cdbs@
+Standards-Version: 3.8.1
+Vcs-Git: git://git.debian.org/git/collab-maint/unicap.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/unicap.git;a=summary
+Homepage: http://unicap-imaging.org/
+
+Package: libunicap2-dev
+Section: libdevel
+Depends: libunicap2 (= ${binary:Version}), ${devlibs:Depends}, ${misc:Depends}
+Provides: libunicap-dev
+Conflicts: libunicap-dev
+Architecture: any
+Description: unified interface to video capture devices - development files
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the development headers and static libraries for
+ unicap.
+
+Package: libunicap2
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libunicap-docs
+Architecture: any
+Description: unified interface to video capture devices - shared libraries
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the shared libraries for unicap.
+
+Package: libucil2-dev
+Section: libdevel
+Depends: libucil2 (= ${binary:Version}), ${devlibs:Depends}, ${misc:Depends}
+Provides: libucil-dev
+Conflicts: libucil-dev
+Architecture: any
+Description: text and graphics overlays onto video images - development files
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the development headers and static libraries for
+ ucil.
+
+Package: libucil2
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libucil-docs
+Architecture: any
+Description: text and graphics overlays onto video images - shared libraries
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the shared libraries for unicap.
+
+Package: libunicapgtk2-dev
+Section: libdevel
+Depends: libunicapgtk2 (= ${binary:Version}), ${devlibs:Depends}, ${misc:Depends}
+Provides: libunicapgtk-dev
+Conflicts: libunicapgtk-dev
+Architecture: any
+Description: graphical widgets for unicap - development files
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the development headers and static libraries for
+ unicapGTK.
+
+Package: libunicapgtk2
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libunicapgtk-docs
+Architecture: any
+Description: graphical widgets for unicap - shared libraries
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the shared libraries for unicapGTK.
+
+Package: libunicap-docs
+Section: doc
+Depends: ${misc:Depends}
+Architecture: all
+Description: unified interface to video capture devices - documentation
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains documentation for unicap.
+
+Package: libucil-docs
+Section: doc
+Depends: ${misc:Depends}
+Architecture: all
+Description: text and graphics overlays onto video images - documentation
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains documentation for unicap.
+
+Package: libunicapgtk-docs
+Section: doc
+Depends: ${misc:Depends}
+Architecture: all
+Description: graphical widgets for unicap - documentation
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains documentation for unicap.
--- unicap-0.9.5.orig/debian/copyright
+++ unicap-0.9.5/debian/copyright
@@ -0,0 +1,130 @@
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59
+Name: unicap
+Contact: Arne Caspari
+Source: http://unicap-imaging.org/download.htm
+
+Copyright: 2004-2008, Arne Caspari
+License: GPL-2+
+
+Files: Makefile.in
+ ./aclocal.m4
+ ./configure
+ m4/*.m4
+Copyright: 1992-2008, Free Software Foundation, Inc.
+License: GAP
+
+Files: ./compile
+ ./depcomp
+ ./intltool-*
+ ./missing
+ m4/intltool.m4
+Copyright: 1999-2005, Free Software Foundation, Inc
+ 2000-2001, Eazel, Inc
+License: GPL-2+ or other-Autoconf
+
+Files: ./ltmain.sh
+ m4/libtool.m4
+Copyright: 1999-2001, 2003-2008, Free Software Foundation, Inc
+License: GPL-2+ or other-Libtool
+
+Files: cpi/include/video1394.h
+ cpi/include/video1394_2_4.h
+Copyright: 1999-2000, Sebastien Rougeaux
+License: GPL-2+
+
+Files: libunicapgtk/unicapgtk_device_selection.[ch]
+Copyright: 2006, JPK Instruments AG
+License: GPL-2+
+
+Files: examples/c/gl/gl-video.c
+ examples/c/gl/yuv.cg
+Copyright: 2007, Michael Dominic K.
+License: other-MIT
+
+Files: libunicapgtk/unicapgtk_device_property.h
+Copyright: 1995-1997, Peter Mattis, Spencer Kimball and Josh MacDonald
+License: GPL-2+
+
+Files: ./install-sh
+Copyright: 1994, X Consortium
+License: other-MIT
+ Except as contained in this notice, the name of the X Consortium shall not
+ be used in advertising or otherwise to promote the sale, use or other deal-
+ ings in this Software without prior written authorization from the X Consor-
+ tium.
+ .
+ FSF changes to this file are in the public domain.
+
+Files: po/Makefile.in.in
+Copyright: 1995-1997, by Ulrich Drepper
+License: GAP
+
+Files: examples/c/OpenCV/haarcascade_frontalface_default.xml
+Copyright: holders and contributors "as is" and
+ 2000, Intel Corporation, all rights reserved
+License: other
+ Intel License Agreement
+ For Open Source Computer Vision Library
+ .
+ Copyright (C) 2000, Intel Corporation, 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 of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ .
+ * Redistribution's 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 Intel Corporation may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+Files: debian/*
+Copyright: 2004-2009, Jonas Smedegaard
+License: GPL-2+
+
+Files: debian/patches/100[1234]_*
+Copyright: 2008, by Miriam Ruiz
+License: UNKNOWN
+
+License: GPL-2+
+ On Debian systems the full text of the GNU General Public License can
+ be found in the `/usr/share/common-licenses/GPL' file.
+
+License: GAP
+ This file is free software; the Free Software Foundation gives
+ unlimited permission to copy and/or distribute it, with or without
+ modifications, as long as this notice is preserved.
+
+License: other-Autoconf
+ As a special exception to the GNU General Public License, if you
+ distribute this file as part of a program that contains a
+ configuration script generated by Autoconf, you may include it under
+ the same distribution terms that you use for the rest of that program.
+
+License: other-Libtool
+ As a special exception to the GNU General Public License,
+ if you distribute this file as part of a program or library that
+ is built using GNU Libtool, you may include this file under the
+ same distribution terms that you use for the rest of that program.
+
+License: other-MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to
+ deal in the Software without restriction, including without limitation the
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--- unicap-0.9.5.orig/debian/libunicap-docs.install
+++ unicap-0.9.5/debian/libunicap-docs.install
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/libunicap
--- unicap-0.9.5.orig/debian/copyright_hints
+++ unicap-0.9.5/debian/copyright_hints
@@ -0,0 +1,579 @@
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION
+Name: Untrusted draft - double-check copyrights yourself!
+
+Files: ABOUT-NLS
+ AUTHORS
+ ChangeLog
+ Makefile.am
+ NEWS
+ README
+ README.troubleshooting
+ config.h.in
+ configure.in
+ cpi/Makefile.am
+ cpi/TODO
+ cpi/dcam/Makefile.am
+ cpi/dcam/dcam_defs.h
+ cpi/include/Makefile.am
+ cpi/include/ieee1394-ioctl.h
+ cpi/include/static_cpi.h
+ cpi/thing/Makefile.am
+ cpi/v4l/Makefile.am
+ cpi/v4l2cpi/Makefile.am
+ cpi/v4l2cpi/tiseuvccam.c
+ cpi/v4l2cpi/tiseuvccam.h
+ cpi/v4l2cpi/tisuvccam.c
+ cpi/v4l2cpi/tisuvccam.h
+ cpi/v4l2cpi/uvc_compat.h
+ cpi/v4l2cpi/uvcvideo.h
+ cpi/v4l2cpi/v4l2_i18n_strings.h
+ cpi/vid21394/Fcp.h
+ cpi/vid21394/Makefile.am
+ debian/README.cdbs-tweaks
+ debian/README.source
+ debian/TODO
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/libucil-docs.install
+ debian/libunicap-docs.install
+ debian/libunicapgtk-docs.install
+ debian/patches/1005_fix_POTFILES.patch
+ debian/patches/1006_fix_ffmpeg_headers.patch
+ debian/patches/1007_drop_ffmpeg_compat.patch
+ debian/patches/1008_gspca.patch
+ debian/patches/2001_ignore_patched_gettextized_file.patch
+ debian/patches/README
+ debian/patches/series
+ debian/watch
+ doc/Makefile.am
+ doc/api/Makefile
+ doc/api/api_template.xml
+ doc/api/api_type_template.xml
+ doc/api/apitohtml.xsl
+ doc/api/c_UnicapgtkDeviceProperty.xml
+ doc/api/c_UnicapgtkPropertyDialog.xml
+ doc/api/c_UnicapgtkVideoDisplay.xml
+ doc/api/c_UnicapgtkVideoFormatSelection.xml
+ doc/api/gtkapi_template.xml
+ doc/api/html/c_UnicapgtkVideoDisplay.html
+ doc/api/html/get_crop.html
+ doc/api/html/get_device.html
+ doc/api/html/get_format.html
+ doc/api/html/get_label.html
+ doc/api/html/get_pause.html
+ doc/api/html/get_still_image.html
+ doc/api/html/images/icon_download.gif
+ doc/api/html/images/icon_extern.gif
+ doc/api/html/images/icon_xml.gif
+ doc/api/html/images/logo_sf.png
+ doc/api/html/images/logo_tis.gif
+ doc/api/html/images/mailadd.gif
+ doc/api/html/images/pixel.gif
+ doc/api/html/images/unicap_overview.gif
+ doc/api/html/mod_unicap.html
+ doc/api/html/new.html
+ doc/api/html/new_by_device.html
+ doc/api/html/new_by_handle.html
+ doc/api/html/reset.html
+ doc/api/html/set.html
+ doc/api/html/set_crop.html
+ doc/api/html/set_device.html
+ doc/api/html/set_label.html
+ doc/api/html/set_pause.html
+ doc/api/html/set_still_image.html
+ doc/api/html/start.html
+ doc/api/html/stop.html
+ doc/api/html/unicap_buffer_type_t.html
+ doc/api/html/unicap_clone_handle.html
+ doc/api/html/unicap_close.html
+ doc/api/html/unicap_data_buffer_t.html
+ doc/api/html/unicap_dequeue_buffer.html
+ doc/api/html/unicap_device_t.html
+ doc/api/html/unicap_enumerate_devices.html
+ doc/api/html/unicap_enumerate_formats.html
+ doc/api/html/unicap_enumerate_property.html
+ doc/api/html/unicap_format_t.html
+ doc/api/html/unicap_get_device.html
+ doc/api/html/unicap_get_format.html
+ doc/api/html/unicap_get_property.html
+ doc/api/html/unicap_handle_t.html
+ doc/api/html/unicap_lock_properties.html
+ doc/api/html/unicap_lock_stream.html
+ doc/api/html/unicap_open.html
+ doc/api/html/unicap_poll_buffer.html
+ doc/api/html/unicap_property_menu_t.html
+ doc/api/html/unicap_property_range_t.html
+ doc/api/html/unicap_property_t.html
+ doc/api/html/unicap_property_type_enum_t.html
+ doc/api/html/unicap_property_value_list_t.html
+ doc/api/html/unicap_queue_buffer.html
+ doc/api/html/unicap_rect_t.html
+ doc/api/html/unicap_reenumerate_devices.html
+ doc/api/html/unicap_reenumerate_formats.html
+ doc/api/html/unicap_reenumerate_properties.html
+ doc/api/html/unicap_set_format.html
+ doc/api/html/unicap_set_property.html
+ doc/api/html/unicap_start_capture.html
+ doc/api/html/unicap_stop_capture.html
+ doc/api/html/unicap_unlock_properties.html
+ doc/api/html/unicap_unlock_stream.html
+ doc/api/html/unicap_void_device.html
+ doc/api/html/unicap_void_format.html
+ doc/api/html/unicap_void_property.html
+ doc/api/html/unicap_wait_buffer.html
+ doc/api/html/update.html
+ doc/api/main.xml
+ doc/api/mod_unicap.xml
+ doc/api/mod_unicapgtk.xml
+ doc/api/mychunker.xsl
+ doc/api/unicap_api.xml
+ doc/api/unicap_buffer_type_t.xml
+ doc/api/unicap_clone_handle.xml
+ doc/api/unicap_close.xml
+ doc/api/unicap_data_buffer_t.xml
+ doc/api/unicap_dequeue_buffer.xml
+ doc/api/unicap_device_t.xml
+ doc/api/unicap_enumerate_devices.xml
+ doc/api/unicap_enumerate_formats.xml
+ doc/api/unicap_enumerate_properties.xml
+ doc/api/unicap_enumerate_property.xml
+ doc/api/unicap_format_t.xml
+ doc/api/unicap_get_device.xml
+ doc/api/unicap_get_format.xml
+ doc/api/unicap_get_property.xml
+ doc/api/unicap_handle_t.xml
+ doc/api/unicap_lock_properties.xml
+ doc/api/unicap_lock_stream.xml
+ doc/api/unicap_open.xml
+ doc/api/unicap_poll_buffer.xml
+ doc/api/unicap_property_menu_t.xml
+ doc/api/unicap_property_range_t.xml
+ doc/api/unicap_property_t.xml
+ doc/api/unicap_property_type_enum_t.xml
+ doc/api/unicap_property_value_list_t.xml
+ doc/api/unicap_queue_buffer.xml
+ doc/api/unicap_range_t.xml
+ doc/api/unicap_rect_t.xml
+ doc/api/unicap_reenumerate_devices.xml
+ doc/api/unicap_reenumerate_formats.xml
+ doc/api/unicap_reenumerate_properties.xml
+ doc/api/unicap_set_format.xml
+ doc/api/unicap_set_property.xml
+ doc/api/unicap_start_capture.xml
+ doc/api/unicap_stop_capture.xml
+ doc/api/unicap_unlock_properties.xml
+ doc/api/unicap_unlock_stream.xml
+ doc/api/unicap_void_device.xml
+ doc/api/unicap_void_format.xml
+ doc/api/unicap_void_property.xml
+ doc/api/unicap_wait_buffer.xml
+ doc/api/unicapgtk_device_property_get_label.xml
+ doc/api/unicapgtk_device_property_new.xml
+ doc/api/unicapgtk_device_property_new_by_handle.xml
+ doc/api/unicapgtk_device_property_redraw.xml
+ doc/api/unicapgtk_device_property_set.xml
+ doc/api/unicapgtk_device_property_set_label.xml
+ doc/api/unicapgtk_device_property_update.xml
+ doc/api/unicapgtk_property_dialog_new.xml
+ doc/api/unicapgtk_property_dialog_new_by_handle.xml
+ doc/api/unicapgtk_property_dialog_reset.xml
+ doc/api/unicapgtk_property_dialog_set_device.xml
+ doc/api/unicapgtk_video_display_get_crop.xml
+ doc/api/unicapgtk_video_display_get_device.xml
+ doc/api/unicapgtk_video_display_get_handle.xml
+ doc/api/unicapgtk_video_display_get_pause.xml
+ doc/api/unicapgtk_video_display_get_still_image.xml
+ doc/api/unicapgtk_video_display_new.xml
+ doc/api/unicapgtk_video_display_new_by_device.xml
+ doc/api/unicapgtk_video_display_new_by_handle.xml
+ doc/api/unicapgtk_video_display_new_by_name.xml
+ doc/api/unicapgtk_video_display_set_crop.xml
+ doc/api/unicapgtk_video_display_set_device.xml
+ doc/api/unicapgtk_video_display_set_format.xml
+ doc/api/unicapgtk_video_display_set_pause.xml
+ doc/api/unicapgtk_video_display_set_still_image.xml
+ doc/api/unicapgtk_video_display_start.xml
+ doc/api/unicapgtk_video_display_stop.xml
+ doc/api/unicapgtk_video_format_selection_get_format.xml
+ doc/api/unicapgtk_video_format_selection_new.xml
+ doc/api/unicapgtk_video_format_selection_new_by_handle.xml
+ doc/api/unicapgtk_video_format_selection_set_device.xml
+ examples/Makefile
+ examples/README
+ examples/c++/Makefile
+ examples/c++/unicap--/Makefile
+ examples/c++/unicap--/UnicapDataBuffer.h
+ examples/c++/unicap--/UnicapDevice.cpp
+ examples/c++/unicap--/UnicapDevice.h
+ examples/c/Makefile
+ examples/c/OpenCV/highgui_face_detect/Makefile
+ examples/c/OpenCV/highgui_face_detect/cam_display.c
+ examples/c/OpenCV/highgui_face_detect/face_detect.c
+ examples/c/avcodec/Makefile
+ examples/c/avcodec/recordvideo.c
+ examples/c/device_info/Makefile
+ examples/c/device_property/Makefile
+ examples/c/gl/Makefile
+ examples/c/gl/yuv.pso
+ examples/c/raw_image/Makefile
+ examples/c/sdl_display/Makefile
+ examples/c/sdl_image_saving/Makefile
+ examples/c/sdl_image_saving/colorspace.c
+ examples/c/sdl_image_saving/colorspace.h
+ examples/c/xv_display/xv_display-0.0.7.tar.gz
+ examples/device_specific/Makefile
+ examples/device_specific/dfg1394/Makefile
+ examples/device_specific/dfg1394/sdl_display/Makefile
+ examples/unicapgtk/Makefile
+ examples/unicapgtk/callback/Makefile
+ examples/unicapgtk/callback/callback.c
+ examples/unicapgtk/cropping/Makefile
+ examples/unicapgtk/cropping/cropping.c
+ examples/unicapgtk/smallapp/Makefile
+ examples/unicapgtk/smallapp/smallapp.c
+ gtk-doc.make
+ include/Makefile.am
+ libucil/Makefile.am
+ libucil/draw.c
+ libucil/draw.h
+ libucil/font.c
+ libucil/libucil.pc.in
+ libucil/rgbops.c
+ libucil/rgbops.h
+ libucil/ucil_png.c
+ libucil/ucil_png.h
+ libucil/ucil_theora.h
+ libucil/video_file.c
+ libucil/video_file.h
+ libucil/yuvops.c
+ libucil/yuvops.h
+ libunicap/Makefile.am
+ libunicap/libunicap.pc.in
+ libunicap/unicap_cache.c
+ libunicapgtk/Makefile.am
+ libunicapgtk/backend_gtk.h
+ libunicapgtk/backend_xv.h
+ libunicapgtk/libunicapgtk.pc.in
+ m4/gtk-doc.m4
+ mkinstalldirs
+ po/ChangeLog
+ po/LINGUAS
+ po/POTFILES.in
+ po/fr.po
+ tests/Makefile.am
+Copyright: *No copyright*
+License: UNKNOWN
+
+Files: cpi/dcam/1394util.c
+ cpi/dcam/dcam.c
+ cpi/dcam/dcam.h
+ cpi/dcam/dcam_busreset.c
+ cpi/dcam/dcam_busreset.h
+ cpi/dcam/dcam_capture.c
+ cpi/dcam/dcam_capture.h
+ cpi/dcam/dcam_format_table.h
+ cpi/dcam/dcam_functions.c
+ cpi/dcam/dcam_functions.h
+ cpi/dcam/dcam_isoch_table.h
+ cpi/dcam/dcam_offsets.h
+ cpi/dcam/dcam_property.c
+ cpi/dcam/dcam_property.h
+ cpi/dcam/dcam_property_table.h
+ cpi/dcam/dcam_v_modes.c
+ cpi/dcam/dcam_v_modes.h
+ cpi/dcam/queue.c
+ cpi/include/1394util.h
+ cpi/include/queue.h
+ cpi/include/unicap_cpi.h
+ cpi/include/unicap_cpi_std_struct.h
+ cpi/thing/queue.c
+ cpi/thing/thing.c
+ cpi/thing/thing.h
+ cpi/v4l/queue.c
+ cpi/v4l/v4l.c
+ cpi/v4l/v4l.h
+ cpi/v4l2cpi/queue.c
+ cpi/v4l2cpi/v4l2.c
+ cpi/v4l2cpi/v4l2.h
+ cpi/vid21394/1394util.c
+ cpi/vid21394/queue.c
+ cpi/vid21394/vid21394.h
+ cpi/vid21394/vid21394_base.c
+ cpi/vid21394/vid21394_base.h
+ cpi/vid21394/vid21394_cpi.c
+ cpi/vid21394/vid21394_cpi.h
+ examples/c/device_info/device_info.c
+ examples/c/device_property/device_property.c
+ examples/c/raw_image/raw_image.c
+ examples/c/sdl_display/sdl_display.c
+ examples/c/sdl_display/sdl_display_multibuffer.c
+ examples/c/sdl_display/sdl_rgb_display.c
+ examples/c/sdl_image_saving/sdl_image_saving.c
+ examples/device_specific/dfg1394/sdl_display/sdl_display.c
+ include/debug.h
+ include/unicap.h
+ include/unicap_status.h
+ libucil/queue.c
+ libucil/queue.h
+ libunicap/check_match.c
+ libunicap/check_match.h
+ libunicap/unicap.c
+ libunicap/unicap_helpers.c
+ libunicap/unicap_helpers.h
+ libunicap/unicap_private.h
+Copyright: 2004, Arne Caspari
+License: GPL-2+
+
+Files: cpi/vid21394/visca.c
+ cpi/vid21394/visca.h
+ cpi/vid21394/visca_private.h
+ cpi/vid21394/visca_property_table.h
+ libucil/colorspace.h
+ libunicapgtk/backend.h
+ libunicapgtk/backend_gtk.c
+ libunicapgtk/backend_xv.c
+ libunicapgtk/unicapgtk.h
+ libunicapgtk/unicapgtk_device_property.c
+ libunicapgtk/unicapgtk_priv.h
+ libunicapgtk/unicapgtk_property_dialog.c
+ libunicapgtk/unicapgtk_property_dialog.h
+ libunicapgtk/unicapgtk_video_display.c
+ libunicapgtk/unicapgtk_video_display.h
+ libunicapgtk/unicapgtk_video_format_selection.c
+ libunicapgtk/unicapgtk_video_format_selection.h
+Copyright: 2004, Arne Caspari ( arne_caspari@users.sourceforge.net )
+License: GPL-2+
+
+Files: Makefile.in
+ cpi/Makefile.in
+ cpi/dcam/Makefile.in
+ cpi/include/Makefile.in
+ cpi/thing/Makefile.in
+ cpi/v4l/Makefile.in
+ cpi/v4l2cpi/Makefile.in
+ cpi/vid21394/Makefile.in
+ doc/Makefile.in
+ include/Makefile.in
+ libucil/Makefile.in
+ libunicap/Makefile.in
+ libunicapgtk/Makefile.in
+ tests/Makefile.in
+Copyright: 1994-2002
+License: UNKNOWN (GENERATED FILE)
+
+Files: libucil/avi.h
+ libucil/ucil.c
+ libucil/ucil.h
+ libucil/ucil_audio.c
+ libucil/ucil_audio.h
+ libucil/ucil_avc_avi.c
+ libucil/ucil_avc_avi.h
+ libucil/ucil_rawavi.c
+ libucil/ucil_rawavi.h
+ libucil/ucil_theora.c
+Copyright: 2004-2008, Arne Caspari ( arne@unicap-imaging.org )
+License: GPL-2+
+
+Files: doc/api/html/c_UnicapgtkDeviceProperty.html
+ doc/api/html/c_UnicapgtkPropertyDialog.html
+ doc/api/html/c_UnicapgtkVideoFormatSelection.html
+ doc/api/html/mod_unicapgtk.html
+Copyright: 2006, Arne Caspari. All rights reserved.
+License: UNKNOWN
+
+Files: debian/patches/1001_printf_warning.patch
+ debian/patches/1002_ucil_fourcc.patch
+ debian/patches/1003_vid21394_pointer.patch
+ debian/patches/1004_fix_unicapgtk.patch
+Copyright: 2008, by Miriam Ruiz
+License: UNKNOWN
+
+Files: cpi/include/video1394.h
+ cpi/include/video1394_2_4.h
+Copyright: 1999-2000, Sebastien Rougeaux
+License: GPL-2+
+
+Files: libucil/ucil_alsa.c
+ libucil/ucil_alsa.h
+Copyright: 2004-2007, Arne Caspari
+License: GPL-2+
+
+Files: libunicapgtk/unicapgtk_device_selection.c
+ libunicapgtk/unicapgtk_device_selection.h
+Copyright: 2006, JPK Instruments AG; used with permission
+License: GPL-2+
+
+Files: examples/c/gl/gl-video.c
+ examples/c/gl/yuv.cg
+Copyright: 2007, by:
+ HOLDERS BE LIABLE FOR ANY CLAIM
+License: MIT/X11 (BSD like)
+
+Files: m4/gettext.m4
+ m4/po.m4
+Copyright: 1995-2006, Free Software Foundation, Inc
+License: UNKNOWN
+
+Files: m4/ltsugar.m4
+ m4/lt~obsolete.m4
+Copyright: 2004-2005, 2007, Free Software Foundation, Inc
+License: UNKNOWN
+
+Files: missing
+Copyright: 1996-1997, 1999-2000, 2002-2006
+License: GPL (GENERATED FILE)
+
+Files: compile
+Copyright: 1999-2000, 2003-2005, Free Software Foundation, Inc
+License: GPL (GENERATED FILE)
+
+Files: depcomp
+Copyright: 1999-2000, 2003-2007, Free Software
+License: GPL (GENERATED FILE)
+
+Files: intltool-merge.in
+Copyright: 2000-2001, Eazel, Inc
+ 2000, 2003, Free Software Foundation
+License: GPL (GENERATED FILE)
+
+Files: intltool-update.in
+Copyright: 2000-2003, Free Software Foundation
+License: GPL (GENERATED FILE)
+
+Files: debian/cdbs/1/rules/buildinfo.mk
+Copyright: 2004-2007, Jonas Smedegaard
+License: GPL
+
+Files: debian/cdbs/1/rules/upstream-tarball.mk
+Copyright: 2007-2008, Jonas Smedegaard
+License: GPL
+
+Files: debian/cdbs/1/rules/package-relations.mk
+Copyright: 2008, Jonas Smedegaard
+License: GPL
+
+Files: debian/rules
+Copyright: 2008-2009, Jonas Smedegaard
+License: GPL
+
+Files: debian/cdbs/1/rules/copyright-check.mk
+Copyright: \s*(\S.*?)\s*\
+License: GPL
+
+Files: intltool-extract.in
+Copyright: 2000-2001, 2003, Free Software Foundation
+License: GPL-2+ (GENERATED FILE)
+
+Files: m4/intltool.m4
+Copyright: 2001, Eazel, Inc
+License: GPL-2+ (GENERATED FILE)
+
+Files: aclocal.m4
+Copyright: 2004, Scott James Remnant
+ 1996-2004
+License: GPL-2+ (GENERATED FILE)
+
+Files: libunicapgtk/unicapgtk_device_property.h
+Copyright: 1995-1997, Peter Mattis, Spencer Kimball and Josh MacDonald
+License: GPL-2+
+
+Files: m4/libtool.m4
+Copyright: 1996-2001, 2003-2005
+License: GPL-2+
+
+Files: ltmain.sh
+Copyright: 1996-2001, 2003-2007, 2008 Free Software Foundation, Inc
+License: GPL-2+
+
+Files: libucil/colorspace.c
+Copyright: 2004, Arne Caspari ( arne@unicap-imaging.org )
+ if( ( c & (~255) ) != 0 ) { if (c < 0) c = 0; else c = 255; }
+License: GPL-2+
+
+Files: libunicapgtk/unicapgtk.c
+Copyright: 2006, Arne Caspari ( arne_caspari@users.sourceforge.net )
+License: GPL-2+
+
+Files: install-sh
+Copyright: 1994, X Consortium
+License: MIT/X11 (BSD like)
+
+Files: configure
+Copyright: 1992-1996, 1998-2001
+License: UNKNOWN (GENERATED FILE)
+
+Files: COPYING
+Copyright: 1989, 1991, Free Software Foundation, Inc
+ the software, and
+License: UNKNOWN
+
+Files: INSTALL
+Copyright: 1994-1996, 1999-2002, 2004-2005
+License: UNKNOWN
+
+Files: po/Makefile.in.in
+Copyright: 1995-1997, by Ulrich Drepper
+License: UNKNOWN
+
+Files: m4/nls.m4
+Copyright: 1995-2003, 2005-2006, Free Software Foundation, Inc
+License: UNKNOWN
+
+Files: m4/progtest.m4
+Copyright: 1996-2003, 2005, Free Software Foundation, Inc
+License: UNKNOWN
+
+Files: m4/lib-ld.m4
+Copyright: 1996-2003, Free Software Foundation, Inc
+License: UNKNOWN
+
+Files: m4/iconv.m4
+Copyright: 2000-2002, Free Software Foundation, Inc
+License: UNKNOWN
+
+Files: m4/lib-prefix.m4
+Copyright: 2001-2005, Free Software Foundation, Inc
+License: UNKNOWN
+
+Files: m4/lib-link.m4
+Copyright: 2001-2006, Free Software Foundation, Inc
+License: UNKNOWN
+
+Files: m4/ltversion.m4
+Copyright: 2004, Free Software Foundation, Inc
+License: UNKNOWN
+
+Files: m4/ltoptions.m4
+Copyright: 2004-2005, 2007-2008, Free Software Foundation, Inc
+License: UNKNOWN
+
+Files: po/de.po
+Copyright: 2007, Arne Caspari
+License: UNKNOWN
+
+Files: doc/api/html/images/logo_unicap.gif
+Copyright: @"()u0yTl-jB$*k2/B3,hBTIY|e$e
+License: UNKNOWN
+
+Files: po/ru.po
+Copyright: Arne Caspari
+License: UNKNOWN
+
+Files: po/Makevars
+Copyright: holder of the package.) Translators are
+ holder of the surrounding
+ holder that gets inserted into the header of the
+ for their translations to this person
+License: UNKNOWN
+
+Files: examples/c/OpenCV/haarcascade_frontalface_default.xml
+Copyright: holders and contributors "as is" and
+ 2000, Intel Corporation, all rights reserved
+License: UNKNOWN
+
+Files: doc/api/html/gen.css
+Copyright: {
+License: UNKNOWN
+
--- unicap-0.9.5.orig/debian/rules
+++ unicap-0.9.5/debian/rules
@@ -0,0 +1,161 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2008-2009 Jonas Smedegaard
+# Description: Main Debian packaging script for unicap
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+# See debian/README.cdbs-tweaks for info on local overrides
+ifneq (,$(DEB_MAINTAINER_MODE))
+ # Enable stuff not policy compliant (eg. unsuitable for build daemons)
+ DEB_COPYRIGHT_CHECK_STRICT = yes
+ DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes
+endif
+include debian/cdbs/1/rules/upstream-tarball.mk
+include debian/cdbs/1/rules/copyright-check.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include debian/cdbs/1/rules/buildinfo.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+pkgbasename = unicap
+pkgname = libunicap2
+libname = libunicap
+
+DEB_UPSTREAM_URL = http://unicap-imaging.org/downloads
+DEB_UPSTREAM_TARBALL_MD5 = 1d64005afac1ec9d75a1637d7f1aa91e
+
+DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(debian/(changelog|copyright(|_hints|_newhints))|config\.(guess|sub|rpath)(\..*)?|doc/reference/.*|.*/.*_version\.h)$
+
+DEB_CONFIGURE_USER_FLAGS = \
+ --disable-rpath \
+ --enable-gtk-doc \
+ --enable-ucil-avcodec \
+ --enable-ucil-theora \
+ --enable-ucil-alsa \
+ --enable-ucil-png \
+ --disable-v4l \
+ --enable-vid21394-visca
+
+DEB_MAKE_CHECK_TARGET = check
+
+CFLAGS := $(CFLAGS) $$(pkg-config libavcodec libavutil xv x11 --cflags)
+
+# Needed only with unofficial libav* packages but harmless
+CFLAGS += \
+ -I/usr/include/ffmpeg/libavcodec \
+ -I/usr/include/ffmpeg/libavutil \
+ -I/usr/include/ffmpeg/libavformat
+
+LDFLAGS += -pthread -Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined
+LDFLAGS := $(LDFLAGS) $$(pkg-config libavcodec libavutil xv x11 --libs)
+
+DEB_SHLIBDEPS_LIBRARY_libunicap2 = $(libname)
+DEB_SHLIBDEPS_INCLUDE_libunicap2 = /usr/lib/unicap2 /usr/lib/unicap2/cpi
+
+_ucil_html_files += ch01.html index.sgml libucil-draw.html \
+ libucil-mpeg.html libucil-ucil-theora.html libucil-ucil.html \
+ libucil-yuvops.html libucil.devhelp libucil.devhelp2
+upstreamtmpfiles += $(_ucil_html_files:%=doc/reference/libucil/html/%)
+_ucil_tmpl_files += doc/reference/libucil/tmpl/libucil-unused.sgml \
+ doc/reference/libucil/tmpl/mpeg.sgml
+upstreamtmpfiles += doc/reference/libunicap/html/ch01.html
+_gtk_html_files += ch01.html libunicapgtk-UnicapgtkVideoFormatSelection.html \
+ UnicapgtkDeviceProperty.html UnicapgtkDeviceSelection.html \
+ UnicapgtkPropertyDialog.html UnicapgtkVideoDisplay.html
+upstreamtmpfiles += $(_gtk_html_files:%=doc/reference/libunicapgtk/html/%)
+upstreamtmpfiles += doc/reference/libunicapgtk/tmpl/cs_xfm.sgml \
+ doc/reference/libunicapgtk/tmpl/libunicapgtk-unused.sgml
+
+DEB_INSTALL_EXAMPLES_$(pkgname)-dev = examples/*
+
+DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp
+
+# Let d-shlibs calculate development package dependencies
+# and handle shared library install
+# Suppress pre-sarge X11 fallback dependencies (bugreport not yet filed)
+install/libunicap2-dev:: debian/install-unicap-stamp
+install/libucil2-dev:: debian/install-ucil-stamp
+install/libunicapgtk2-dev:: debian/install-unicapgtk-stamp
+
+debian/install-unicap-stamp:
+ d-shlibmove --commit \
+ --override 's/libav\([a-z]\+\)[0-9]\+-dev/libav\1-dev/' \
+ --override s/libraw1394-8-dev/libraw1394-dev/ \
+ --override 's/ | xlibs-dev (<< 4.3.0)//' \
+ --movedev "debian/tmp/usr/lib/unicap2/cpi/*.so" usr/lib/unicap2/cpi/ \
+ --movedev "debian/tmp/usr/include/unicap/unicap.h" usr/include/unicap/ \
+ --movedev "debian/tmp/usr/include/unicap/unicap_*.h" usr/include/unicap/ \
+ --movedev "debian/tmp/usr/lib/pkgconfig/libunicap.pc" usr/lib/pkgconfig/ \
+ --movedev "debian/tmp/usr/lib/unicap2/cpi/*.a" usr/lib/unicap2/cpi/ \
+ --movedev "debian/tmp/usr/lib/unicap2/cpi/*.la" usr/lib/unicap2/cpi/ \
+ --moveshl "debian/tmp/usr/lib/unicap2/cpi/*.so.*" usr/lib/unicap2/cpi/ \
+ debian/tmp/usr/lib/$(libname).so
+ touch $@
+debian/install-ucil-stamp:
+ d-shlibmove --commit \
+ --override 's/libav\([a-z]\+\)[0-9]\+-dev/libav\1-dev/' \
+ --override s/libraw1394-8-dev/libraw1394-dev/ \
+ --override s/libpangoft2-1.0-0-dev/libpango1.0-dev/ \
+ --override 's/ | xlibs-dev (<< 4.3.0)//' \
+ --movedev "debian/tmp/usr/include/unicap/ucil*" usr/include/unicap/ \
+ --movedev "debian/tmp/usr/lib/pkgconfig/libucil.pc" usr/lib/pkgconfig/ \
+ debian/tmp/usr/lib/libucil.so
+ touch $@
+debian/install-unicapgtk-stamp:
+ d-shlibmove --commit \
+ --override 's/libav\([a-z]\+\)[0-9]\+-dev/libav\1-dev/' \
+ --override s/libraw1394-8-dev/libraw1394-dev/ \
+ --override s/libpangoft2-1.0-0-dev/libpango1.0-dev/ \
+ --override 's/ | xlibs-dev (<< 4.3.0)//' \
+ --movedev "debian/tmp/usr/include/unicap/unicapgtk*" usr/include/unicap/ \
+ --movedev "debian/tmp/usr/lib/pkgconfig/libunicapgtk.pc" usr/lib/pkgconfig/ \
+ debian/tmp/usr/lib/libunicapgtk.so
+ touch $@
+
+# Preserve autogenerated files annoyingly shipped by upstream
+pre-build:: debian/stamp-upstreamtmpstuff
+debian/stamp-upstreamtmpstuff:
+ for file in $(upstreamtmpfiles); do \
+ [ ! -e $$file ] || [ -e $$file.upstream ] || mv $$file $$file.upstream; \
+ done
+ touch $@
+reverse-config:: revert-upstreamtmpstuff
+revert-upstreamtmpstuff:
+ for file in $(upstreamtmpfiles); do \
+ [ ! -e $$file.upstream ] || mv -f $$file.upstream $$file; \
+ done
+ rm -f debian/stamp-upstreamtmpstuff
+
+clean::
+ rm -f debian/install-*-stamp
+ rm -f doc/reference/libunicapgtk/libunicapgtk-scan.o
+ rm -f intltool-extract intltool-merge intltool-update
+
+# Needed by upstream build process
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), intltool, gtk-doc-tools (>= 1.4)
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libgtk2.0-dev (>= 2.9.0), libglib2.0-dev (>= 2.11.0)
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libavcodec-dev, libavformat-dev, libtheora-dev, libvorbis-dev
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libasound2-dev, libpng12-dev
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libxv-dev
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libraw1394-dev (>= 1.1.0)
+
+# Needed for our packaging
+# We need the fixes for bug#416533, #416545
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), pkg-config, d-shlibs (>= 0.32)
+
+# Resolve, cleanup and apply CDBS-declared dependencies
+include debian/cdbs/1/rules/package-relations.mk
--- unicap-0.9.5.orig/debian/gbp.conf
+++ unicap-0.9.5/debian/gbp.conf
@@ -0,0 +1,5 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
--- unicap-0.9.5.orig/debian/compat
+++ unicap-0.9.5/debian/compat
@@ -0,0 +1 @@
+6
--- unicap-0.9.5.orig/debian/README.cdbs-tweaks
+++ unicap-0.9.5/debian/README.cdbs-tweaks
@@ -0,0 +1,128 @@
+CDBS tweak
+==========
+
+CDBS is great. In some corner cases, however, some parts of CDBS
+sometimes needs a few tweaks to work optimally.
+
+This is a collection of such tweaks. The goal is for these tweaks to be
+absorbed into upstream CDBS. We just haven't found time yet to discuss
+them at the CDBS developers' mailinglist. And possible we do not all
+agree that the tweaks are so great - therefore this "staging area".
+
+If you found this file below debian/ subdir in a source package, most
+probably only a subset of the below mentioned tweaks are relevant and
+have been shipped with the package. The repository of all these tweaks
+is here: svn://svn.debian.org/build-common/people/js/overlay/
+
+Web access: http://svn.debian.org/wsvn/build-common/people/js/overlay/
+
+
+
+New buildinfo rule
+------------------
+
+See package description for "buildinfo" for more info.
+
+
+
+Improved support for multiple compilations
+------------------------------------------
+
+Create and clean builddir _after_ resolving per-package DEB_BUILDDIR.
+
+Honour per-package DEB_BUILDDIR in makefile and autotools classes.
+
+Support multiple build flavors in makefile and autotools classes.
+
+
+
+Various improvements to python-distutils class
+----------------------------------------------
+
+Use full path to Python interpreter (Python Policy section 1.3.2).
+
+Add CDBS_BUILD_DEPENDS to old policy method.
+
+Fix CDBS_BUILD_DEPENDS in new policy methods to only depend on debhelper
+when actually used.
+
+Fix DEB_PYTHON_SIMPLE_PACKAGES sometimes installed twice (and only one
+of them honouring DEB_PYTHON_COMPILE_VERSION).
+
+Unify install path using new DEB_PYTHON_DESTDIR.
+
+Quote install path.
+
+
+
+New python-autotools class
+--------------------------
+
+Handle autotools-based Python packaging.
+
+
+
+New python-sugar class
+----------------------
+
+Handle packaging of Sugar activities.
+
+
+
+New perl-build class
+--------------------
+
+Handle Perl modules using Module::Build.
+
+
+
+New copyright-check rule
+------------------------
+
+Refuse to build if the source is found to contain different copyright
+info than earlier builds.
+
+
+
+New kernelpatches rule
+----------------------
+
+Small wrapper around dh-kpatches, taking care of build-dependencies too.
+
+
+
+New package-relations rule
+--------------------------
+
+Improved build-dependency handling (merging multiple dependencies on
+same packages), and add dependency handling for binary packages (to ease
+maintaining identical build-dependencies and dependencies for eg. Perl
+modules meeding runtime stuff for buildtime tests).
+
+
+
+New routines for handling upstream tarball
+------------------------------------------
+
+Rules and variables to help downloading, validating and repackaging
+upstream tarball.
+
+Implements the rules print-version and get-orig-source commonly used
+for group-maintained packages with Debian-specific patches maintained in
+SVN or some other VCS, and automated fetching virgin upstream tarball
+(possibly massaged after download e.g. to strip non-DFSG material).
+
+
+
+Support for custom BTS info
+---------------------------
+
+Include BTS control info found in debian/*.bts files, or alternatively
+redirect bug reports to the email address defined in DEB_BTS_EMAIL.
+
+
+
+New dict class
+--------------
+
+Rules for packaging ispell, aspell, myspell and wordlist dictionaries.
--- unicap-0.9.5.orig/debian/watch
+++ unicap-0.9.5/debian/watch
@@ -0,0 +1,3 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=3
+http://unicap-imaging.org/download.htm downloads/unicap-([\d+\.]+|\d+)\.tar\.gz debian
--- unicap-0.9.5.orig/debian/control
+++ unicap-0.9.5/debian/control
@@ -0,0 +1,220 @@
+Source: unicap
+Section: libs
+Priority: optional
+Maintainer: Ubuntu Developers
+XSBC-Original-Maintainer: Jonas Smedegaard
+Build-Depends: cdbs (>= 0.4.39), autotools-dev, gnulib (>= 0.0.20041014-2), devscripts (>= 2.10.7), quilt, patchutils (>= 0.2.25), dh-buildinfo, debhelper (>= 6), intltool, gtk-doc-tools (>= 1.4), libgtk2.0-dev (>= 2.9.0), libglib2.0-dev (>= 2.11.0), libavcodec-dev, libavformat-dev, libtheora-dev, libvorbis-dev, libasound2-dev, libpng12-dev, libxv-dev, libraw1394-dev (>= 1.1.0), pkg-config, d-shlibs (>= 0.32)
+Standards-Version: 3.8.1
+Vcs-Git: git://git.debian.org/git/collab-maint/unicap.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/unicap.git;a=summary
+Homepage: http://unicap-imaging.org/
+
+Package: libunicap2-dev
+Section: libdevel
+Depends: libunicap2 (= ${binary:Version}), ${devlibs:Depends}, ${misc:Depends}
+Provides: libunicap-dev
+Conflicts: libunicap-dev
+Architecture: any
+Description: unified interface to video capture devices - development files
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the development headers and static libraries for
+ unicap.
+
+Package: libunicap2
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libunicap-docs
+Architecture: any
+Description: unified interface to video capture devices - shared libraries
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the shared libraries for unicap.
+
+Package: libucil2-dev
+Section: libdevel
+Depends: libucil2 (= ${binary:Version}), ${devlibs:Depends}, ${misc:Depends}
+Provides: libucil-dev
+Conflicts: libucil-dev
+Architecture: any
+Description: text and graphics overlays onto video images - development files
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the development headers and static libraries for
+ ucil.
+
+Package: libucil2
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libucil-docs
+Architecture: any
+Description: text and graphics overlays onto video images - shared libraries
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the shared libraries for unicap.
+
+Package: libunicapgtk2-dev
+Section: libdevel
+Depends: libunicapgtk2 (= ${binary:Version}), ${devlibs:Depends}, ${misc:Depends}
+Provides: libunicapgtk-dev
+Conflicts: libunicapgtk-dev
+Architecture: any
+Description: graphical widgets for unicap - development files
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the development headers and static libraries for
+ unicapGTK.
+
+Package: libunicapgtk2
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libunicapgtk-docs
+Architecture: any
+Description: graphical widgets for unicap - shared libraries
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains the shared libraries for unicapGTK.
+
+Package: libunicap-docs
+Section: doc
+Depends: ${misc:Depends}
+Architecture: all
+Description: unified interface to video capture devices - documentation
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains documentation for unicap.
+
+Package: libucil-docs
+Section: doc
+Depends: ${misc:Depends}
+Architecture: all
+Description: text and graphics overlays onto video images - documentation
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains documentation for unicap.
+
+Package: libunicapgtk-docs
+Section: doc
+Depends: ${misc:Depends}
+Architecture: all
+Description: graphical widgets for unicap - documentation
+ Unicap provides a uniform interface to video capture devices. It allows
+ applications to use any supported video capture device via a single
+ API.
+ .
+ Building applications with a graphical user interface is made
+ especially easy with the unicapGTK widget set.
+ .
+ The ucil library provides easy to use functions to render text and
+ graphic overlays onto video images.
+ .
+ Unicap offers a high level of hardware abstraction while maintaining
+ maximum performance. Zero copy capture of video buffers is possible for
+ devices supporting it allowing fast video capture with low CPU usage
+ even on low-speed architectures.
+ .
+ This package contains documentation for unicap.
--- unicap-0.9.5.orig/debian/TODO
+++ unicap-0.9.5/debian/TODO
@@ -0,0 +1 @@
+ * Inform Junichi about the d-shlibdeps overrides.
--- unicap-0.9.5.orig/debian/changelog
+++ unicap-0.9.5/debian/changelog
@@ -0,0 +1,124 @@
+unicap (0.9.5-1ubuntu2) oneiric; urgency=low
+
+ * No changes upload for libav0.6 -> libav0.7 transition
+
+ -- Fabrice Coutadeur Tue, 26 Jul 2011 08:05:57 +0200
+
+unicap (0.9.5-1ubuntu1) natty; urgency=low
+
+ * debian/patches/2002_disable_v4l.patch, debian/rules:
+ - Don't build with v4l1-support, which has been removed from the kernel.
+
+ -- Andreas Moog Thu, 07 Apr 2011 23:18:59 +0200
+
+unicap (0.9.5-1build5) natty; urgency=low
+
+ * No-change rebuild to pick up multiarch libraries.
+
+ -- Andreas Moog Thu, 07 Apr 2011 22:18:46 +0200
+
+unicap (0.9.5-1build4) maverick; urgency=low
+
+ * No changes upload for libavutil49 -> libavutil50 transition
+
+ -- Fabrice Coutadeur Sat, 04 Sep 2010 18:35:17 +0200
+
+unicap (0.9.5-1build3) lucid; urgency=low
+
+ * rebuild for ffmpeg versioned symbols
+
+ -- Reinhard Tartler Tue, 19 Jan 2010 21:39:16 +0100
+
+unicap (0.9.5-1build2) karmic; urgency=low
+
+ * No-change rebuild to pick up new ffmpeg shlibs file.
+
+ -- Stefan Potyra Sat, 29 Aug 2009 00:08:22 +0200
+
+unicap (0.9.5-1build1) karmic; urgency=low
+
+ * No-change rebuild to drop reference to libogg.la
+
+ -- Steve Langasek Mon, 17 Aug 2009 18:12:04 -0700
+
+unicap (0.9.5-1) unstable; urgency=low
+
+ * New upstream release:
+ + allow arbitrary FourCCs
+ + set frame_interval correctly for frame rates != 30 FPS
+ * Add git-buildpackage configfile, enabling pristine-tar branch and
+ signed tags.
+ * Drop blog URL as source URL.
+ * Rewrite README.source.
+ * Update local CDBS snippets:
+ + Enhance package-relations.mk to support all binary package
+ relations (except -indep ones).
+ + Enhance package-relations.mk to support Enhances
+ + Extend package-relation cleanup to include debhelper 6 and 7.0.1
+ + Fix package-relations cleanup of debhelper 7
+ + Implement fail-source-not-repackaged rule in upstream-tarball.mk
+ + Update URL to draft DEP5 format in copyright-check.mk output
+ * Fix tighten versioned build-dependenc on debhelper.
+ * Override libav*-dev more generally in debian/rules d-shlibs
+ resolving.
+ * Add patch 1007 to drop ffmpeg backwards compatibility regarding
+ YUYV422/YUV422, possibly clashing with recent changes to FourCC
+ handlings. Thanks to Petr Baudis.
+ * Add patch 1008, and update patch 2001, to make unicap work with
+ gspca driver. Thanks to Petr Baudis.
+ * Rewrite copyright to use DEP5 r59 proposed machine-readable format.
+ * Bump policy compliance to standards-version 3.8.1.
+
+ -- Jonas Smedegaard Wed, 17 Jun 2009 01:55:26 +0200
+
+unicap (0.9.4-1) unstable; urgency=low
+
+ * New upstream release (found mentioned in upstream blog).
+ + Update copyright, watch file and get-orig-source target to use
+ blog.
+ * Update debian/copyright:
+ + Bump licensing years of both upstream source and debian packaging
+ + Update syntax to proposal v440 (no changes needed)
+ + Merge entries with same authors and copyrights
+ + Fix references to GAP license.
+ + Add reference to Libtool license.
+ * Update copyright-hints.
+ * Add patch 1006 to fix linking against recent libav{codec,util}.h.
+ Closes: bug#516949, thanks to Kurt Roeckx and Reinhard Tartler.
+ * Bump libavcodec version to suppress by d-shlibs in debian/rules.
+
+ -- Jonas Smedegaard Tue, 24 Feb 2009 23:15:13 +0100
+
+unicap (0.9.3-3) unstable; urgency=low
+
+ * Fix watch file.
+ * Update CDBS snippets:
+ + Fix use underscore (not dash) in internal variable
+ + Ignore only debian changelog and copyright-related files by
+ default in copyright-check.mk
+ + Correct and update copyright hints of the snippets themselves
+ * Add licensing info to debian/rules.
+ * Update debian/copyright and copyright hints:
+ + Add info on debian files (new owners, no new licenses)
+ + Tighten references to files and licenses
+ + Bump to version 420 of new format
+
+ -- Jonas Smedegaard Sun, 28 Dec 2008 15:28:40 +0100
+
+unicap (0.9.3-2) unstable; urgency=low
+
+ * Fix install docs.
+
+ -- Jonas Smedegaard Mon, 08 Dec 2008 06:34:29 +0100
+
+unicap (0.9.3-1) unstable; urgency=low
+
+ [ Jonas Smedegaard ]
+ * Initial release. Closes: bug#491220.
+ * Add patch 1005 to fix po/POTFILES.in to allow running build tests.
+
+ [ Miriam Ruiz ]
+ * Add patch 1001-1004 fixing various compiler issues.
+ * Provide compile options to avoid unnecessary linking.
+
+ -- Jonas Smedegaard Mon, 08 Dec 2008 05:44:20 +0100
--- unicap-0.9.5.orig/debian/libunicapgtk-docs.install
+++ unicap-0.9.5/debian/libunicapgtk-docs.install
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/libunicapgtk
--- unicap-0.9.5.orig/debian/libucil-docs.install
+++ unicap-0.9.5/debian/libucil-docs.install
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/libucil
--- unicap-0.9.5.orig/debian/cdbs/1/rules/upstream-tarball.mk
+++ unicap-0.9.5/debian/cdbs/1/rules/upstream-tarball.mk
@@ -0,0 +1,150 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2007-2008 Jonas Smedegaard
+# Description: Convenience rules for dealing with upstream tarballs
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_upstream_tarball
+_cdbs_rules_upstream_tarball := 1
+
+include $(_cdbs_rules_path)/buildvars.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.39)
+
+# Prefix for upstream location of all upstream tarballs (mandatory!)
+#DEB_UPSTREAM_URL =
+
+DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE)
+DEB_UPSTREAM_TARBALL_VERSION = $(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_VERSION:$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG)=),$(DEB_UPSTREAM_VERSION))
+DEB_UPSTREAM_TARBALL_EXTENSION = tar.gz
+# Checksum to ensure integrity of downloadeds using get-orig-source (optional)
+#DEB_UPSTREAM_TARBALL_MD5 =
+
+DEB_UPSTREAM_WORKDIR = ../tarballs
+
+# Base filename (without extension) as used in upstream URL
+DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_PACKAGE)-$(DEB_UPSTREAM_TARBALL_VERSION)
+
+# Perl regexp to change locally used string into that in upstream URL and srcdir
+#DEB_UPSTREAM_TARBALL_BASENAME_MANGLE =
+
+# Base directory within tarball
+DEB_UPSTREAM_TARBALL_SRCDIR = $(cdbs_upstream_tarball_basename)
+
+# Space-delimited list of directories and files to strip (optional)
+#DEB_UPSTREAM_REPACKAGE_EXCLUDE = CVS .cvsignore doc/rfc*.txt doc/draft*.txt
+DEB_UPSTREAM_REPACKAGE_TAG = dfsg
+DEB_UPSTREAM_REPACKAGE_DELIMITER = ~
+
+# TODO: Move this to buildcore.mk
+cdbs_findargs-path-or-name = $(if $(findstring /,$(firstword $(1))),-path './$(patsubst ./%,%,$(firstword $(1)))',-name '$(firstword $(1))') $(foreach obj,$(wordlist 2,$(words $(1)),$(1)),-or $(if $(findstring /,$(obj)),-path './$(obj:./%=%)',-name '$(obj)'))
+
+cdbs_upstream_tarball_basename = $(if $(strip $(DEB_UPSTREAM_TARBALL_BASENAME_MANGLE)),$(shell echo '$(DEB_UPSTREAM_TARBALL_BASENAME)' | perl -pe '$(DEB_UPSTREAM_TARBALL_BASENAME_MANGLE)'),$(DEB_UPSTREAM_TARBALL_BASENAME))
+cdbs_upstream_tarball = $(cdbs_upstream_tarball_basename).$(DEB_UPSTREAM_TARBALL_EXTENSION)
+cdbs_upstream_received_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).orig.$(if $(findstring $(DEB_UPSTREAM_TARBALL_EXTENSION),tgz),tar.gz,$(DEB_UPSTREAM_TARBALL_EXTENSION))
+cdbs_upstream_local_basename = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION)$(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG))
+cdbs_upstream_local_srcdir = $(cdbs_upstream_tarball_basename)$(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG))
+
+# # These variables are deprecated
+_cdbs_deprecated_vars += DEB_UPSTREAM_TARBALL DEB_UPSTREAM_LOCAL_TARBALL DEB_UPSTREAM_REPACKAGE_TARBALL DEB_UPSTREAM_TARBALL_VERSION_MANGLE
+_cdbs_deprecated_vars += DEB_UPSTREAM_REPACKAGE_EXCLUDES
+DEB_UPSTREAM_REPACKAGE_EXCLUDE += $(DEB_UPSTREAM_REPACKAGE_EXCLUDES)
+
+print-version:
+ @@echo "Debian version: $(DEB_VERSION)"
+ @@echo "Upstream version: $(DEB_UPSTREAM_TARBALL_VERSION)"
+
+get-orig-source:
+ @@dh_testdir
+ @@mkdir -p "$(DEB_UPSTREAM_WORKDIR)"
+
+ @if [ ! -s "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ] ; then \
+ if [ -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ] ; then \
+ rm "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ; \
+ fi ; \
+ echo "Downloading $(cdbs_upstream_received_tarball) from $(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball) ..." ; \
+ wget -nv -T10 -t3 -O "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" "$(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball)" ; \
+ else \
+ echo "Upstream source tarball have been already downloaded: $(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ; \
+ fi
+
+ @md5current=`md5sum "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" | sed -e 's/ .*//'`; \
+ if [ -n "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \
+ if [ "$$md5current" != "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \
+ echo "Expecting upstream tarball md5sum $(DEB_UPSTREAM_TARBALL_MD5), but $$md5current found" ; \
+ echo "Upstream tarball md5sum is NOT trusted! Possible upstream tarball forge!" ; \
+ echo "Purging downloaded file. Try new download." ; \
+ rm -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ; \
+ false ; \
+ else \
+ echo "Upstream tarball is trusted!" ; \
+ fi; \
+ else \
+ echo "Upstream tarball NOT trusted (current md5sum is $$md5current)!" ; \
+ fi
+
+# TODO: Rewrite using make variables like cdbs_upstream_unpack_cmd and
+# DEB_UPSTREAM_SUPPORTED_COMPRESSIONS (recent dpkg supports bz2)
+# TODO: Add .orig suffix to top folder inside tarball when only
+# recompressing (when $uncompress set and ...REPACKAGE_EXCLUDE unset)
+ @untar="tar -x -C"; \
+ case "$(cdbs_upstream_received_tarball)" in \
+ *.tar.gz) unpack="gunzip -c";; \
+ *.tar.bz2) unpack="bunzip2 -c"; uncompress="bunzip2";; \
+ *.tar.Z) unpack="uncompress -c"; uncompress="uncompress";; \
+ *.zip) unpack="unzip -q"; uncompress="false"; untar="-d"; nopipe="true";; \
+ *.tar) unpack="cat"; uncompress="true";; \
+ *) echo "Unknown extension for upstream tarball $(cdbs_upstream_received_tarball)"; false;; \
+ esac && \
+ if [ -n "$(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE))" ] || [ "$$uncompress" = "false" ]; then \
+ echo "Repackaging tarball ..." && \
+ mkdir -p "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" && \
+ if [ -n "$$nopipe" ]; then \
+ $$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" \
+ $$untar "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)); \
+ else \
+ $$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" \
+ | $$untar "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)); \
+ fi && \
+ if [ "$(DEB_UPSTREAM_TARBALL_SRCDIR)" != "$(cdbs_upstream_local_srcdir)" ]; then \
+ mv -T "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)/$(DEB_UPSTREAM_TARBALL_SRCDIR)" "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)/$(cdbs_upstream_local_srcdir)"; \
+ fi && \
+ GZIP=-9 tar -b1 -czf "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_basename).orig.tar.gz" -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" "$(cdbs_upstream_local_srcdir)" && \
+ echo "Cleaning up" && \
+ rm -rf "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)"; \
+ elif [ -n "$$uncompress" ]; then \
+ echo "Recompressing tarball ..." && \
+ $$uncompress "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)"; \
+ gzip -9 "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_basename).orig.tar"; \
+ fi
+
+fail-source-not-repackaged:
+ @if find . $(call cdbs_findargs-path-or-name,$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)) | grep '.*'; then \
+ echo; \
+ echo 'ERROR: Source contains the files/paths listed above'; \
+ echo ' which was intended to not be distributed with the source.'; \
+ echo ' Please repackage source with these items stripped!'; \
+ echo ' (get-orig-source target can automate this - see README.source)'; \
+ exit 1; \
+ fi
+
+DEB_PHONY_RULES += print-version get-orig-source fail-source-not-repackaged
+
+endif
--- unicap-0.9.5.orig/debian/cdbs/1/rules/package-relations.mk
+++ unicap-0.9.5/debian/cdbs/1/rules/package-relations.mk
@@ -0,0 +1,76 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2008 Jonas Smedegaard
+# Description: Resolve, cleanup and apply package relationships
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_package_relations
+_cdbs_rules_package_relations = 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+# Merge build-dependencies on same packages
+# TODO: rewrite (in perl, probably) to be more generic
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.43)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\|0.4.27\|0.4.39\)) *,* */, /g')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\|0.4.27\)) *,* */, /g')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.27)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\)) *,* */, /g')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 7.0.1)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\|5\|5.0.37.2\|5.0.44\|6\)) *,* */, /g')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 6)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\|5\|5.0.37.2\|5.0.44\)) *,* */, /g')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 5.0.44)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\|5\|5.0.37.2\)) *,* */, /g')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 5.0.37.2)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\|5\)) *,* */, /g')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 5)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\)) *,* */, /g')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 4.2.28)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\|4.2.21\)) *,* */, /g')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 4.2.21)/ s/ *,* *\bdebhelper (>= \(4.1.60\|4.2.0\)) *,* */, /g')
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 4.2.0)/ s/ *,* *\bdebhelper (>= \(4.1.60\)) *,* */, /g')
+
+# Cleanup superfluous commas
+CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//')
+
+# Apply CDBS-declared dependencies to binary packages
+$(patsubst %,binary-predeb/%,$(DEB_PACKAGES)) :: binary-predeb/%:
+ echo 'cdbs:Depends=$(CDBS_DEPENDS_ALL), $(or $(CDBS_DEPENDS_$(cdbs_curpkg)),$(CDBS_DEPENDS))' \
+ | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//' \
+ >> debian/$(cdbs_curpkg).substvars
+ echo 'cdbs:Pre-Depends=$(CDBS_PREDEPENDS_ALL), $(or $(CDBS_PREDEPENDS_$(cdbs_curpkg)),$(CDBS_PREDEPENDS))' \
+ | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//' \
+ >> debian/$(cdbs_curpkg).substvars
+ echo 'cdbs:Recommends=$(CDBS_RECOMMENDS_ALL), $(or $(CDBS_RECOMMENDS_$(cdbs_curpkg)),$(CDBS_RECOMMENDS))' \
+ | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//' \
+ >> debian/$(cdbs_curpkg).substvars
+ echo 'cdbs:Suggests=$(CDBS_SUGGESTS_ALL), $(or $(CDBS_SUGGESTS_$(cdbs_curpkg)),$(CDBS_SUGGESTS))' \
+ | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//' \
+ >> debian/$(cdbs_curpkg).substvars
+ echo 'cdbs:Breaks=$(CDBS_BREAKS_ALL), $(or $(CDBS_BREAKS_$(cdbs_curpkg)),$(CDBS_BREAKS))' \
+ | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//' \
+ >> debian/$(cdbs_curpkg).substvars
+ echo 'cdbs:Provides=$(CDBS_PROVIDES_ALL), $(or $(CDBS_PROVIDES_$(cdbs_curpkg)),$(CDBS_PROVIDES))' \
+ | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//' \
+ >> debian/$(cdbs_curpkg).substvars
+ echo 'cdbs:Replaces=$(CDBS_REPLACES_ALL), $(or $(CDBS_REPLACES_$(cdbs_curpkg)),$(CDBS_REPLACES))' \
+ | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//' \
+ >> debian/$(cdbs_curpkg).substvars
+ echo 'cdbs:Conflicts=$(CDBS_CONFLICTS_ALL), $(or $(CDBS_CONFLICTS_$(cdbs_curpkg)),$(CDBS_CONFLICTS))' \
+ | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//' \
+ >> debian/$(cdbs_curpkg).substvars
+ echo 'cdbs:Enhances=$(CDBS_ENHANCES_ALL), $(or $(CDBS_ENHANCES_$(cdbs_curpkg)),$(CDBS_ENHANCES))' \
+ | sed -e 's/ *,/,/g' -e 's/^ *, *//' -e 's/ *, *$$//' \
+ >> debian/$(cdbs_curpkg).substvars
+
+endif
--- unicap-0.9.5.orig/debian/cdbs/1/rules/buildinfo.mk
+++ unicap-0.9.5/debian/cdbs/1/rules/buildinfo.mk
@@ -0,0 +1,40 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2004-2007 Jonas Smedegaard
+# Description: Generate and include build information
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_buildinfo
+_cdbs_rules_buildinfo = 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), dh-buildinfo
+
+common-install-arch common-install-indep:: debian/stamp-buildinfo
+
+debian/stamp-buildinfo:
+ dh_buildinfo
+ touch debian/stamp-buildinfo
+
+clean::
+ rm -f debian/stamp-buildinfo
+
+endif
--- unicap-0.9.5.orig/debian/cdbs/1/rules/copyright-check.mk
+++ unicap-0.9.5/debian/cdbs/1/rules/copyright-check.mk
@@ -0,0 +1,113 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2005-2008 Jonas Smedegaard
+# Description: Check for changes to copyright notices in source
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_rules_copyright_check
+_cdbs_rules_copyright_check := 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), devscripts (>= 2.10.7)
+
+# Set to yes to fail on changed/new hints are found
+#DEB_COPYRIGHT_CHECK_STRICT := yes
+
+# Single regular expression for files to include or ignore
+DEB_COPYRIGHT_CHECK_REGEX = .*
+#DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(debian/.*|(.*/)?config\.(guess|sub|rpath)(\..*)?)$
+DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^debian/(changelog|copyright(|_hints|_newhints))$
+
+pre-build:: debian/stamp-copyright-check
+
+debian/stamp-copyright-check:
+ @echo 'Scanning upstream source for new/changed copyright notices...'
+ @echo licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \
+ "| some-output-filtering..."
+
+# Perl in shell in make requires extra care:
+# * Single-quoting ('...') protects against shell expansion
+# * Double-dollar ($$) expands to plain dollar ($) in make
+ @licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \
+ | LC_ALL=C perl -e \
+ 'print "Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION\n";'\
+ 'print "Name: Untrusted draft - double-check copyrights yourself!\n\n";'\
+ '$$n=0; while (<>) {'\
+ ' s/[^[:print:]]//g;'\
+ ' if (/^([^:\s][^:]+):[\s]+(\S.*?)\s*$$/) {'\
+ ' $$files[$$n]{name}=$$1;'\
+ ' $$files[$$n]{license}=$$2;'\
+ ' };'\
+ ' if (/^\s*\[Copyright:\s*(\S.*?)\s*\]/) {'\
+ ' $$files[$$n]{copyright}=$$1;'\
+ ' };'\
+ ' /^$$/ and $$n++;'\
+ '};'\
+ 'foreach $$file (@files) {'\
+ ' $$file->{license} =~ s/\s*\(with incorrect FSF address\)//;'\
+ ' $$file->{license} =~ s/\s+\(v([^)]+) or later\)/-$$1+/;'\
+ ' $$file->{license} =~ s/\s+\(v([^)]+)\)/-$$1/;'\
+ ' $$file->{license} =~ s/\s*(\*No copyright\*)\s*// and $$file->{copyright} = $$1;'\
+ ' $$file->{license} =~ s/^\s*(GENERATED FILE)/UNKNOWN ($$1)/;'\
+ ' $$file->{license} =~ s/\s+(GENERATED FILE)/ ($$1)/;'\
+ ' $$file->{copyright} =~ s/(?<=(\b\d{4}))(?{$$y=$$^N})\s*[,-]\s*((??{$$y+1}))\b/-$$2/g;'\
+ ' $$file->{copyright} =~ s/(?<=\b\d{4})\s*-\s*\d{4}(?=\s*-\s*(\d{4})\b)//g;'\
+ ' $$file->{copyright} =~ s/\b(\d{4})\s+([\S^\d])/$$1, $$2/g;'\
+ ' $$file->{copyright} =~ s/^\W*\s+\/\s+//g;'\
+ ' $$file->{copyright} =~ s/\s+\/\s+\W*$$//;'\
+ ' $$file->{copyright} =~ s/\s+\/\s+/\n\t/g;'\
+ ' $$pattern = "$$file->{license} [$$file->{copyright}]";'\
+ ' push @{ $$patternfiles{"$$pattern"} }, $$file->{name};'\
+ '};'\
+ 'foreach $$pattern ( sort {'\
+ ' @{$$patternfiles{$$b}} <=> @{$$patternfiles{$$a}}'\
+ ' ||'\
+ ' $$a cmp $$b'\
+ ' } keys %patternfiles ) {'\
+ ' ($$license, $$copyright) = $$pattern =~ /(.*) \[(.*)\]/s;'\
+ ' print "Files: ", join("\n\t", sort @{ $$patternfiles{$$pattern} }), "\n";'\
+ ' print "Copyright: $$copyright\n";'\
+ ' print "License: $$license\n\n";'\
+ '};'\
+ > debian/copyright_newhints
+ @patterncount="`cat debian/copyright_newhints | sed 's/^[^:]*://' | LANG=C sort -u | grep . -c -`"; \
+ echo "Found $$patterncount different copyright and licensing combinations."
+ @if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi
+ @newstrings=`diff -u debian/copyright_hints debian/copyright_newhints | sed '1,2d' | egrep '^\+' - | sed 's/^\+//'`; \
+ if [ -n "$$newstrings" ]; then \
+ echo "$(if $(DEB_COPYRIGHT_CHECK_STRICT),ERROR,WARNING): The following new or changed copyright notices discovered:"; \
+ echo; \
+ echo "$$newstrings"; \
+ echo; \
+ echo "To fix the situation please do the following:"; \
+ echo " 1) Investigate the above changes and update debian/copyright as needed"; \
+ echo " 2) Replace debian/copyright_hints with debian/copyright_newhints"; \
+ $(if $(DEB_COPYRIGHT_CHECK_STRICT),exit 1,:); \
+ else \
+ echo 'No new copyright notices found - assuming no news is good news...'; \
+ rm -f debian/copyright_newhints; \
+ fi
+ touch $@
+
+clean::
+ rm -f debian/stamp-copyright-check
+
+endif
--- unicap-0.9.5.orig/debian/patches/1006_fix_ffmpeg_headers.patch
+++ unicap-0.9.5/debian/patches/1006_fix_ffmpeg_headers.patch
@@ -0,0 +1,38 @@
+diff --git a/examples/c/avcodec/recordvideo.c b/examples/c/avcodec/recordvideo.c
+--- a/examples/c/avcodec/recordvideo.c
++++ b/examples/c/avcodec/recordvideo.c
+@@ -21,7 +21,7 @@
+ #undef HAVE_AV_CONFIG_H
+ #endif
+
+-#include
++#include
+
+ int PixelFormatBPP[] = {
+ //PIX_FMT_NONE= -1,
+diff --git a/libucil/colorspace.c b/libucil/colorspace.c
+--- a/libucil/colorspace.c
++++ b/libucil/colorspace.c
+@@ -20,8 +20,8 @@
+ #include "config.h"
+
+ #if HAVE_AVCODEC
+-#include
+-#include
++#include
++#include
+ #endif //HAVE_AVCODEC
+
+ #include
+diff --git a/libucil/ucil_avc_avi.c b/libucil/ucil_avc_avi.c
+--- a/libucil/ucil_avc_avi.c
++++ b/libucil/ucil_avc_avi.c
+@@ -31,7 +31,7 @@
+ #include
+ #include
+ #include
+-#include
++#include
+ #include
+ #include "avi.h"
+ #include "ucil_avc_avi.h"
--- unicap-0.9.5.orig/debian/patches/2002_disable_v4l.patch
+++ unicap-0.9.5/debian/patches/2002_disable_v4l.patch
@@ -0,0 +1,16 @@
+## Description: add some description
+## Origin/Author: add some origin or author
+## Bug: bug URL
+Index: unicap-0.9.5/cpi/v4l2cpi/uvcvideo.h
+===================================================================
+--- unicap-0.9.5.orig/cpi/v4l2cpi/uvcvideo.h 2011-04-07 23:18:56.778984641 +0200
++++ unicap-0.9.5/cpi/v4l2cpi/uvcvideo.h 2011-04-07 23:18:54.759095553 +0200
+@@ -2,7 +2,7 @@
+ #define _USB_VIDEO_H_
+
+ #include
+-#include
++/* #include */
+
+ #include "uvc_compat.h"
+
--- unicap-0.9.5.orig/debian/patches/1008_gspca.patch
+++ unicap-0.9.5/debian/patches/1008_gspca.patch
@@ -0,0 +1,23 @@
+Author: Petr Baudis
+Description: enable unicap to work with the gspca webcam driver
+diff -ruN a/cpi/v4l2cpi/v4l2.c b/cpi/v4l2cpi/v4l2.c
+--- a/cpi/v4l2cpi/v4l2.c
++++ b/cpi/v4l2cpi/v4l2.c
+@@ -2011,6 +2011,17 @@
+ handle->free_buffers[i] = 1;
+
+ }
++
++ struct v4l2_buffer v4l2_buffer;
++ memset( &v4l2_buffer, 0x0, sizeof( v4l2_buffer ) );
++ v4l2_buffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
++ v4l2_buffer.memory = V4L2_MEMORY_MMAP;
++ for( i = 0; i < handle->buffer_count; i++ )
++ {
++ v4l2_buffer.index = i;
++ IOCTL( handle->fd, VIDIOC_QBUF, &v4l2_buffer );
++ }
++
+ if( IOCTL( handle->fd, VIDIOC_STREAMON, &type ) < 0 )
+ {
+ int j;
--- unicap-0.9.5.orig/debian/patches/1004_fix_unicapgtk.patch
+++ unicap-0.9.5/debian/patches/1004_fix_unicapgtk.patch
@@ -0,0 +1,102 @@
+# Copyright (C) 2008 by Miriam Ruiz
+# Distributed under the same license as the software. See debian/copyright
+
+Index: unicap-0.9.3/libunicapgtk/unicapgtk_property_dialog.c
+===================================================================
+--- unicap-0.9.3.orig/libunicapgtk/unicapgtk_property_dialog.c 2008-12-03 00:16:46.000000000 +0100
++++ unicap-0.9.3/libunicapgtk/unicapgtk_property_dialog.c 2008-12-03 02:24:46.000000000 +0100
+@@ -55,7 +55,10 @@
+ GtkWidget *widget;
+ };
+
+-
++struct timeout_data
++{
++ guint id;
++};
+
+ static void unicapgtk_property_dialog_class_init (UnicapgtkPropertyDialogClass *klass);
+ static void unicapgtk_property_dialog_init (UnicapgtkPropertyDialog *ugtk);
+@@ -224,14 +227,19 @@
+ {
+ struct ppty_relation *rel;
+ guint timeout_id = 0;
+-
++ struct timeout_data *timeout = NULL;
++
+ rel = (struct ppty_relation *) entry->data;
+
+-
+- timeout_id = (guint)g_object_get_data( G_OBJECT( rel->widget ), "update lock" );
+- if( timeout_id )
++ timeout = (struct timeout_data *)g_object_get_data( G_OBJECT( rel->widget ), "update lock" );
++ if( timeout )
+ {
+- g_source_remove( timeout_id );
++ timeout_id = timeout->id;
++ if( timeout_id )
++ {
++ g_source_remove( timeout_id );
++ }
++ free(timeout);
+ }
+
+ g_free( entry->data );
+@@ -320,18 +328,28 @@
+ {
+ int i;
+ guint timeout_id = 0;
++ struct timeout_data *timeout = NULL;
+
+- timeout_id = (guint)g_object_get_data( G_OBJECT( widget ), "update lock" );
+- if( timeout_id )
++ timeout = (struct timeout_data *)g_object_get_data( G_OBJECT( widget ), "update lock" );
++ if( timeout )
+ {
+- g_source_remove( timeout_id );
++ timeout_id = timeout->id;
++ if( timeout_id )
++ {
++ g_source_remove( timeout_id );
++ }
++ free(timeout);
+ }
+
++ timeout = (struct timeout_data*)malloc(sizeof(struct timeout_data));
++ memset(timeout, 0, sizeof(struct timeout_data));
++
+ // block the update of this property for the next 5 seconds to
+ // avoid confusion when the property takes some time to reflect the
+ // new setting ( eg. zoom )
+ timeout_id = g_timeout_add( 5000, (GSourceFunc)remove_update_lock_timeout_cb, widget );
+- g_object_set_data_full( G_OBJECT( widget ), "update lock", (gpointer)timeout_id, update_lock_destroy_cb );
++ timeout->id = timeout_id;
++ g_object_set_data_full( G_OBJECT( widget ), "update lock", (gpointer)timeout, update_lock_destroy_cb );
+
+ unicap_set_property( ugtk->unicap_handle, property );
+
+@@ -738,14 +756,19 @@
+ {
+ struct ppty_relation *rel;
+ guint timeout_id = 0;
++ struct timeout_data *timeout = NULL;
+
+- rel = (struct ppty_relation *) entry->data;
+-
++ rel = (struct ppty_relation *) entry->data;
+
+- timeout_id = (guint)g_object_get_data( G_OBJECT( rel->widget ), "update lock" );
+- if( timeout_id )
++ timeout = (struct timeout_data *)g_object_get_data( G_OBJECT( rel->widget ), "update lock" );
++ if( timeout )
+ {
+- g_source_remove( timeout_id );
++ timeout_id = timeout->id;
++ if( timeout_id )
++ {
++ g_source_remove( timeout_id );
++ }
++ free(timeout);
+ }
+ g_free( entry->data );
+ }
--- unicap-0.9.5.orig/debian/patches/2001_ignore_patched_gettextized_file.patch
+++ unicap-0.9.5/debian/patches/2001_ignore_patched_gettextized_file.patch
@@ -0,0 +1,5 @@
+--- a/po/POTFILES.skip
++++ b/po/POTFILES.skip
+@@ -0,0 +1,2 @@
++.pc/1004_fix_unicapgtk.patch/libunicapgtk/unicapgtk_property_dialog.c
++.pc/1008_gspca.patch/cpi/v4l2cpi/v4l2.c
--- unicap-0.9.5.orig/debian/patches/README
+++ unicap-0.9.5/debian/patches/README
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
--- unicap-0.9.5.orig/debian/patches/1003_vid21394_pointer.patch
+++ unicap-0.9.5/debian/patches/1003_vid21394_pointer.patch
@@ -0,0 +1,17 @@
+# Copyright (C) 2008 by Miriam Ruiz
+# Distributed under the same license as the software. See debian/copyright
+
+Index: unicap-0.9.3/cpi/vid21394/vid21394_base.c
+===================================================================
+--- unicap-0.9.3.orig/cpi/vid21394/vid21394_base.c 2008-12-02 23:26:10.000000000 +0100
++++ unicap-0.9.3/cpi/vid21394/vid21394_base.c 2008-12-02 23:31:43.000000000 +0100
+@@ -1333,7 +1333,8 @@
+
+ /* TRACE( "rs232io fcp: %08llx out_data_length: %d, in_data_length: %d\n", fcp, out_data_length, in_data_length ); */
+
+- return( _vid21394_send_fcp_command_new( vid21394handle, fcp, bit, out_data, out_data_length, in_data, (unsigned int *)&in_data_length ) );
++ size_t in_data_length_sz = in_data_length;
++ return( _vid21394_send_fcp_command_new( vid21394handle, fcp, bit, out_data, out_data_length, in_data, &in_data_length_sz ) );
+ }
+
+ unicap_status_t vid21394_read_rs232( vid21394handle_t vid21394handle,
--- unicap-0.9.5.orig/debian/patches/series
+++ unicap-0.9.5/debian/patches/series
@@ -0,0 +1,10 @@
+1001_printf_warning.patch
+1002_ucil_fourcc.patch
+1003_vid21394_pointer.patch
+1004_fix_unicapgtk.patch
+1005_fix_POTFILES.patch
+1006_fix_ffmpeg_headers.patch
+1007_drop_ffmpeg_compat.patch
+1008_gspca.patch
+2001_ignore_patched_gettextized_file.patch
+2002_disable_v4l.patch
--- unicap-0.9.5.orig/debian/patches/1001_printf_warning.patch
+++ unicap-0.9.5/debian/patches/1001_printf_warning.patch
@@ -0,0 +1,25 @@
+# Copyright (C) 2008 by Miriam Ruiz
+# Distributed under the same license as the software. See debian/copyright
+
+Index: unicap-0.9.3/libunicap/unicap_helpers.c
+===================================================================
+--- unicap-0.9.3.orig/libunicap/unicap_helpers.c 2008-12-02 23:34:43.000000000 +0100
++++ unicap-0.9.3/libunicap/unicap_helpers.c 2008-12-02 23:38:39.000000000 +0100
+@@ -284,7 +284,7 @@
+ "range: min: %g\n"\
+ " max: %g\n"\
+ "stepping: %g\n"\
+- "property data size: %d\n",
++ "property data size: %ld\n",
+ property->identifier,
+ property->category,
+ property->unit,
+@@ -292,7 +292,7 @@
+ property->range.min,
+ property->range.max,
+ property->stepping,
+- property->property_data_size );
++ (long int)property->property_data_size );
+
+ strncpy( buffer, tmp_buffer, *buffer_size );
+
--- unicap-0.9.5.orig/debian/patches/1005_fix_POTFILES.patch
+++ unicap-0.9.5/debian/patches/1005_fix_POTFILES.patch
@@ -0,0 +1,18 @@
+--- a/po/POTFILES.in.orig
++++ b/po/POTFILES.in
+@@ -1,10 +1,11 @@
+ # List of source files which contain translatable strings.
+ libucil/ucil_theora.c
+ libunicapgtk/unicapgtk_device_property.c
++libunicapgtk/unicapgtk_priv.h
+ libunicapgtk/unicapgtk_property_dialog.c
+-cpi/v4l2/v4l2.c
+-cpi/v4l2/v4l2_i18n_strings.h
+-cpi/v4l2/tiseuvccam.c
+-cpi/v4l2/tisuvccam.c
++cpi/v4l2cpi/v4l2.c
++cpi/v4l2cpi/v4l2_i18n_strings.h
++cpi/v4l2cpi/tiseuvccam.c
++cpi/v4l2cpi/tisuvccam.c
+ cpi/dcam/dcam_property_table.h
+
--- unicap-0.9.5.orig/debian/patches/1007_drop_ffmpeg_compat.patch
+++ unicap-0.9.5/debian/patches/1007_drop_ffmpeg_compat.patch
@@ -0,0 +1,15 @@
+Author: Petr Baudis
+diff -ruN a/libucil/colorspace.c b/libucil/colorspace.c
+--- a/libucil/colorspace.c
++++ b/libucil/colorspace.c
+@@ -1438,10 +1438,6 @@ static xfm_info_t conversions[] =
+
+ /* for compatibility with older versions of libavcodec */
+
+-#ifndef PIX_FMT_YUYV422
+-#define PIX_FMT_YUYV422 PIX_FMT_YUV422
+-#endif
+-
+ #ifndef PIX_FMT_RGB32
+ #define PIX_FMT_RGB32 PIX_FMT_RGBA32
+ #endif
--- unicap-0.9.5.orig/debian/patches/1002_ucil_fourcc.patch
+++ unicap-0.9.5/debian/patches/1002_ucil_fourcc.patch
@@ -0,0 +1,16 @@
+# Copyright (C) 2008 by Miriam Ruiz
+# Distributed under the same license as the software. See debian/copyright
+
+Index: unicap-0.9.3/libucil/ucil_avc_avi.c
+===================================================================
+--- unicap-0.9.3.orig/libucil/ucil_avc_avi.c 2008-12-02 23:15:59.000000000 +0100
++++ unicap-0.9.3/libucil/ucil_avc_avi.c 2008-12-02 23:23:59.000000000 +0100
+@@ -583,7 +584,7 @@
+ entry = malloc( sizeof( struct _unicap_queue ) );
+ data_buffer = malloc( sizeof( unicap_data_buffer_t ) );
+ unicap_copy_format( &data_buffer->format, format );
+- data_buffer->format.fourcc = UCIL_FOURC( 'Y', '4', '2', '0' );
++ data_buffer->format.fourcc = UCIL_FOURCC( 'Y', '4', '2', '0' );
+ data_buffer->format.bpp = 12;
+ data_buffer->format.buffer_size = data_buffer->format.size.width * data_buffer->format.size.height * data_buffer->format.bpp / 8;
+