--- uvccapture-0.5.orig/v4l2uvc.c +++ uvccapture-0.5/v4l2uvc.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include #include "v4l2uvc.h" --- uvccapture-0.5.orig/uvccapture.c +++ uvccapture-0.5/uvccapture.c @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include "v4l2uvc.h" --- uvccapture-0.5.orig/debian/control +++ uvccapture-0.5/debian/control @@ -0,0 +1,19 @@ +Source: uvccapture +Section: graphics +Priority: optional +Maintainer: Krzysztof Burghardt +Build-Depends: debhelper (>= 5), libjpeg-dev +Standards-Version: 3.8.0 +Homepage: http://linux-uvc.berlios.de/ + +Package: uvccapture +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: USB UVC Video Class snapshot software + The purpose of this software is to capture an image from a USB webcam at a + specified interval, and save it to a JPEG file, no other formats are supported. + . + Right now this software is really a hack, since still image support is not yet + available in the UVC driver. The program continually polls the UVC driver in + MJPEG mode, and at a specified interval writes a JPEG header and a single frame + to file, creating a JPEG image. --- uvccapture-0.5.orig/debian/dirs +++ uvccapture-0.5/debian/dirs @@ -0,0 +1 @@ +usr/bin --- uvccapture-0.5.orig/debian/copyright +++ uvccapture-0.5/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Krzysztof Burghardt on +Fri, 28 Mar 2008 18:56:03 +0100. + +It was downloaded from + +Upstream Authors: + + Gabriel A. Devenyi + +Copyright: + + Copyright (C) 2006 Gabriel A. Devenyi + Copyright (C) 2005, 2006 Laurent Pinchart and Michel Xhaard + +License: + + This package 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 of the License, or + (at your option) any later version. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2008, Krzysztof Burghardt +and is licensed under the GPL, see above. --- uvccapture-0.5.orig/debian/changelog +++ uvccapture-0.5/debian/changelog @@ -0,0 +1,38 @@ +uvccapture (0.5-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Build-Depends on libjpeg-dev, not libjpeg62-dev. Closes: #644969. + + -- Didier Raboud Mon, 21 Nov 2011 10:02:58 +0100 + +uvccapture (0.5-1.1) unstable; urgency=low + + * Non-maintainer upload. + * uvccapture.c, v4l2uvc.c: Include linux/videodev2.h. Closes: #621963. + + -- Bart Martens Sun, 02 Oct 2011 22:04:40 +0200 + +uvccapture (0.5-1) unstable; urgency=low + + * New upstream release, all Debian patches merged + + -- Krzysztof Burghardt Sun, 03 Aug 2008 22:02:38 +0200 + +uvccapture (0.4-2) unstable; urgency=low + + * Add patch submited by Arno van Amersfoort to prevent double call to + close_v4l2() (Closes: #491155) + * Add patch from Sebastian Holtermann that fixes problems with implicit + declaration of function ‘difftime’ + * "Standards-Version:" bumped to 3.8.0 (no changes needed) + * This package is licensed on GPL v2 or above, so it is + more customary to point to /usr/share/common-licenses/GPL + and not (only) to GPL-2 (debian/copyright fixed). + + -- Krzysztof Burghardt Sun, 03 Aug 2008 21:52:54 +0200 + +uvccapture (0.4-1) unstable; urgency=low + + * Initial release (Closes: #473153) + + -- Krzysztof Burghardt Fri, 28 Mar 2008 19:13:23 +0100 --- uvccapture-0.5.orig/debian/docs +++ uvccapture-0.5/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- uvccapture-0.5.orig/debian/uvccapture.1 +++ uvccapture-0.5/debian/uvccapture.1 @@ -0,0 +1,71 @@ +.\" -*- nroff -*- +.TH UVCCAPTURE 1 "28th March, 2008" +.SH NAME +uvccapture \- USB UVC Video Class snapshot software +.SH SYNOPSIS +.B uvccapture +.RI [ options ] +.SH DESCRIPTION +This manual page documents briefly the +.B uvccapture +command. +.PP +The purpose of \fBuvccapture\fP is to capture an image from a USB webcam at a +specified interval, and save it to a JPEG file, no other formats are supported, +imagemagick can handle anything else you might need. +.SH OPTIONS +A summary of options is included below. +.TP +.B \-h +Show summary of options. +.TP +.B \-v +Verbose output. +.TP +.B \-o +Output filename (default is snap.jpg) +.TP +.B \-d +V4L2 Device (default is /dev/video0) +.TP +.B \-x +Image Width (must be supported by device) (>960 activates YUYV capture) +.TP +.B \-y +Image Height (must be supported by device) (>720 activates YUYV capture) +.TP +.B \-c +Command to run after each image capture (executed as ) +.TP +.B \-t +Take continuous shots with seconds between them (0 for single shot) +.TP +.B \-q +JPEG Quality Compression Level (activates YUYV capture) +.TP +.B \-r +Use read instead of mmap for image capture +.TP +.B \-w +Wait for capture command to finish before starting next capture +.TP +.B \-m +Toggles capture mode to YUYV capture +.TP +.B \-B +Brightness +.TP +.B \-C +Contrast +.TP +.B \-S +Saturation +.SH SEE ALSO +.BR http://linux-uvc.berlios.de/ +.SH AUTHOR +uvccapture was written by Gabriel A. Devenyi . +This software is based of the package luvcview by Laurent Pinchart and Michel +Xhaard. +.PP +This manual page was written by Krzysztof Burghardt , +for the Debian project (but may be used by others). --- uvccapture-0.5.orig/debian/rules +++ uvccapture-0.5/debian/rules @@ -0,0 +1,51 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp + +build-stamp: + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) PREFIX=$(CURDIR)/debian/uvccapture/usr/bin install + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installman debian/uvccapture.1 + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- uvccapture-0.5.orig/debian/watch +++ uvccapture-0.5/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://staticwave.ca/source/uvccapture/uvccapture-(.*)\.tar\.bz2 --- uvccapture-0.5.orig/debian/compat +++ uvccapture-0.5/debian/compat @@ -0,0 +1 @@ +5