--- v4l2ucp-2.0.1.orig/debian/compat +++ v4l2ucp-2.0.1/debian/compat @@ -0,0 +1 @@ +7 --- v4l2ucp-2.0.1.orig/debian/watch +++ v4l2ucp-2.0.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/v4l2ucp/v4l2ucp-(.*)\.tar\.gz --- v4l2ucp-2.0.1.orig/debian/docs +++ v4l2ucp-2.0.1/debian/docs @@ -0,0 +1 @@ +README --- v4l2ucp-2.0.1.orig/debian/README.source +++ v4l2ucp-2.0.1/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- v4l2ucp-2.0.1.orig/debian/v4l2ucp.manpages +++ v4l2ucp-2.0.1/debian/v4l2ucp.manpages @@ -0,0 +1 @@ +debian/manpages/* --- v4l2ucp-2.0.1.orig/debian/rules +++ v4l2ucp-2.0.1/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh --with quilt $@ --- v4l2ucp-2.0.1.orig/debian/copyright +++ v4l2ucp-2.0.1/debian/copyright @@ -0,0 +1,58 @@ +Format-Specification: http://dep.debian.net/deps/dep5/ +Name: Video for Linux 2 Universal Control Panel +Maintainer: Scott J. Bertin +Source: http://sourceforge.net/projects/v4l2ucp/files/ + +Files: src/mainWindow.cpp +Copyright: + 2005, 2009, Scott J. Bertin + 2009, Vasily Khoruzhick +License: GPL-2 + +Files: src/mainWindow.h, src/v4l2controls.*, src/v4l2ucp.cpp +Copyright: + 2005, Scott J. Bertin + 2009, Vasily Khoruzhick +License: GPL-2 + +Files: src/v4l2ctrl.c +Copyright: + 2008-2009, Scott J. Bertin +License: GPL-2 + +Files: images/* +Copyright: 2009, Scott J. Bertin +License: GFDL-1.3 + +Files: debian/* +Copyright: 2009, Alessio Treglia +License: GPL-2 + +License: GPL-2 + 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 of the License, 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., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +X-Comment: On Debian GNU/Linux systems, the complete text of the GNU + General Public License can be found in /usr/share/common-licenses/GPL-2. + +License: GFDL-1.3 + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.3 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled "GNU + Free Documentation License". + +X-Comment: On Debian GNU/Linux systems, the complete text of the GNU Free + Documentation License can be found in /usr/share/common-licenses/GFDL-1.3. --- v4l2ucp-2.0.1.orig/debian/control +++ v4l2ucp-2.0.1/debian/control @@ -0,0 +1,20 @@ +Source: v4l2ucp +Section: x11 +Priority: extra +Maintainer: Alessio Treglia +Build-Depends: debhelper (>= 7), libqt4-dev, cmake, quilt (>= 0.46-7) +Standards-Version: 3.8.3 +Homepage: http://v4l2ucp.sourceforge.net + +Package: v4l2ucp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Video for Linux 2 Universal Control Panel + V4L2UCP is an universal control panel for Linux Two (V4L2) devices. It + reads a description of the controls that the V4L2 device supports from the + device, and presents the user with a graphical means for adjusting those + controls; it allows for controlling multiple devices. + . + Controls can be updated with the device status either manually, or + periodically. There is an easy way to reset one or all the controls to their + default state. --- v4l2ucp-2.0.1.orig/debian/v4l2ucp.lintian-overrides +++ v4l2ucp-2.0.1/debian/v4l2ucp.lintian-overrides @@ -0,0 +1 @@ +v4l2ucp: no-upstream-changelog --- v4l2ucp-2.0.1.orig/debian/changelog +++ v4l2ucp-2.0.1/debian/changelog @@ -0,0 +1,18 @@ +v4l2ucp (2.0.1-1) unstable; urgency=low + + * New upstream release. + * Update debian/copyright. + * Remove debian/patches/01-video0_as_default.diff, adopted by upstream. + * debian/patches/01-desktop_file.patch: + - Adjust desktop file according to Freeedesktop.org's spec. + + -- Alessio Treglia Wed, 04 Nov 2009 19:21:48 +0100 + +v4l2ucp (2.0.0-1) unstable; urgency=low + + * Initial release (Closes: #545707). + * debian/patches/01-video0_as_default.diff: Set /dev/video0 as the + default device. + * Add manpages in debian/manpages. + + -- Alessio Treglia Tue, 13 Oct 2009 13:13:17 +0200 --- v4l2ucp-2.0.1.orig/debian/menu +++ v4l2ucp-2.0.1/debian/menu @@ -0,0 +1,4 @@ +?package(v4l2ucp): needs="x11"\ + section="Applications/System/Hardware"\ + title="v4l2ucp"\ + command="/usr/bin/v4l2ucp" --- v4l2ucp-2.0.1.orig/debian/manpages/v4l2ucp.1 +++ v4l2ucp-2.0.1/debian/manpages/v4l2ucp.1 @@ -0,0 +1,28 @@ +.TH V4L2UCP 1 "May 13, 2009" +.SH "NAME" +v4l2ucp \- An universal control panel for all Video for Linux Two devices. +.SH "SYNOPSIS" +.B v4l2ucp +.RI " files" ... +.SH "DESCRIPTION" +.PP +.B v4l2ucp +reads a description of the controls that the V4L2 device supports \ +from the device, and presents the user with a graphical means for adjusting \ +those controls. +.PP +A list of device files can be given on the command line. If no files are \ +given, the program will check the V4L2UCP_DEV environment variable. If it \ +is set, that file will be opened. Finally, it will try to open /dev/video \ +if nothing else was specified. If no devices can be opened, the program will \ +exit. +.SH "OPTIONS" +In addition to the standard Qt arguments, v4l2ucp will also recognize \-h \ +and \-\-help. These will print a brief usage summary and exit. +.SH "SEE ALSO" +.BR v4l2ctrl (1), +.SH "AUTHOR" +v4l2ucp was written by Scott J. Bertin . +.PP +This manual page was written by Alessio Treglia , +for the Ubuntu project (and may be used by others). --- v4l2ucp-2.0.1.orig/debian/manpages/v4l2ctrl.1 +++ v4l2ucp-2.0.1/debian/manpages/v4l2ctrl.1 @@ -0,0 +1,34 @@ +.TH V4L2CTRL 1 "May 13, 2009" +.SH "NAME" +v4l2ctrl \- manage settings for Video for Linux Two devices. +.SH SYNOPSIS +.B v4l2ctrl +.RI [ options ] +.RI files +.br +.SH "DESCRIPTION" +\fBv4l2ctrl\fP can be used for saving and loading settings for +.B v4l2ucp +.SH "OPTIONS" +.TP +.B \-d +Specify the device name to use. Defaults to /dev/video0. +.TP +.B \-s +Save settings to filename. +.TP +.B \-l +Load settings from filename. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH "SEE ALSO" +.BR v4l2ucp (1). +.SH "AUTHOR" +v4l2ctrl was written by Scott J. Bertin . +.PP +This manual page was written by Alessio Treglia , +for the Ubuntu project (and may be used by others). --- v4l2ucp-2.0.1.orig/debian/patches/series +++ v4l2ucp-2.0.1/debian/patches/series @@ -0,0 +1 @@ +01-desktop_file.patch --- v4l2ucp-2.0.1.orig/debian/patches/01-desktop_file.patch +++ v4l2ucp-2.0.1/debian/patches/01-desktop_file.patch @@ -0,0 +1,17 @@ +Author: Alessio Treglia +Description: Fix desktop file as per-spec. +--- + v4l2ucp-desktop.sh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- v4l2ucp-2.0.1.orig/v4l2ucp-desktop.sh ++++ v4l2ucp-2.0.1/v4l2ucp-desktop.sh +@@ -7,6 +7,6 @@ Name=v4l2ucp + GenericName=V4L2 control panel + Comment=A universal control panel for V4L2 devices + Exec=$1/bin/v4l2ucp +-Categiroies=Application;Video; +-Icon=$1/share/icons/v4l2ucp.png ++Categories=Utility;HardwareSettings; ++Icon=v4l2ucp + EOF