--- libvideo-capture-v4l-perl-0.902.orig/debian/control +++ libvideo-capture-v4l-perl-0.902/debian/control @@ -0,0 +1,27 @@ +Source: libvideo-capture-v4l-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Carlo Segre , + gregor herrmann +Build-Depends: debhelper (>= 6), perl (>= 5.8.0-7), quilt +Standards-Version: 3.8.0 +Homepage: http://search.cpan.org/dist/Video-Capture-V4l/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libvideo-capture-v4l-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libvideo-capture-v4l-perl/ + +Package: libvideo-capture-v4l-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends} +Description: Perl interface to the Video4linux framegrabber interface + This package contains Perl modules which interface to + the Video4linux frame grabber. + . + The following Perl modules are included in this package: + . + * Video::Capture::V4l - Video4linux framegrabber interface + * Video::Capture::VBI - Functions to manipulate vbi fields & lines + * Video::Frequencies - Many, many frequency constants and lists + * Video::RTjpeg - Real time, jpeg-like video compression + * Video::XawTV - read, create and edit .xawtvrc files + --- libvideo-capture-v4l-perl-0.902.orig/debian/copyright +++ libvideo-capture-v4l-perl-0.902/debian/copyright @@ -0,0 +1,102 @@ +This is the debian package for the Video-Capture-V4l module. +It was created by Matthias Urlichs using dh-make-perl. +It is now maintained by Zak B. Elep and the Debian Perl +Group. + + +Upstream author: Marc Lehmann +Upstream source location: http://search.cpan.org/dist/Video-Capture-V4l/ + + +Files: * +Copyright: Marc Lehmann +License: GPL-2 + This module is available under GPL only (see the file COPYING for + details), if you want an exception please contact the author, who + might grant exceptions freely ;) + +The file COPYING contains a verbatim copy of version 2 of the GNU +General Public License. + + +Files: VBI/VBI.xs +Copyright: Marc Lehmann +License: GPL-2 + +The code contains the following note: + + vtx decoding routines taken from videotext-0.6.971023, + Copyright (c) 1994-96 Martin Buck + +The mentioned tarball can be found at +http://elektra.e-technik.uni-ulm.de/~mbuck/download/videotext-0.6.971023.tar.gz +vtxdecode.h contains: + +Copyright: (c) 1994-96 Martin Buck +License: GPL-2 + Read COPYING for more information + +README contains: + + This program is free software and can be used and distributed under the + terms of the GNU General Public License (file COPYING). I can't guarantee + that it will work or doesn't do bad things[tm] to your machine. + +The file COPYING contains a verbatim copy of version 2 of the GNU +General Public License. + + +Files: RTjpeg/codec/ +Copyright: (C) 1998 Justin Schoeman (justin@suntiger.ee.up.ac.za) +License: GPL-2 + This code is distributed under GPLv2 (in other words, do what you like with + it, but don't sell it, and give credit if you use it). + THIS SOFTWARE IS IN NO WAY GUARANTEED TO WORK. IF YOU USE IT AND IT DOESN'T + WORK, OR MESSES UP YOUR COMPUTER, IT'S YOUR OWN PROBLEM. + . + This is still a rather developmental real time compressor. It is based on + the jpeg compressor by the IJG (see LICENSE.jpeg for license details). + +Quote from LICENSE.jpeg: + + The authors make NO WARRANTY or representation, either express or implied, + with respect to this software, its quality, accuracy, merchantability, or + fitness for a particular purpose. This software is provided "AS IS", and you, + its user, assume the entire risk as to its quality and accuracy. + . + This software is copyright (C) 1991-1996, Thomas G. Lane. + All Rights Reserved except as specified below. + . + Permission is hereby granted to use, copy, modify, and distribute this + software (or portions thereof) for any purpose, without fee, subject to these + conditions: + (1) If any part of the source code for this software is distributed, then this + README file must be included, with this copyright and no-warranty notice + unaltered; and any additions, deletions, or changes to the original files + must be clearly indicated in accompanying documentation. + (2) If only executable code is distributed, then the accompanying + documentation must state that "this software is based in part on the work of + the Independent JPEG Group". + (3) Permission for use of this software is granted only if the user accepts + full responsibility for any undesirable consequences; the authors accept + NO LIABILITY for damages of any kind. + + +Files: gppport.h +Copyright: Copyright (C) 1999, Kenneth Albanowski. +License: GPL-1+ | Artistic + This code may be used and distributed under the same license as any version + of Perl. + + +Files: debian/* +Copyright: + (c) 2004-2006, Matthias Urlichs + (c) 2006-2008, various members of the Debian Perl Group, cf. debian/changelog +Licens: GPL-2 + + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License Version 2 can be found in `/usr/share/common-licenses/GPL-2'. +On Debian GNU/Linux systems, the complete text of the Artistic +License can be found in `/usr/share/common-licenses/Artistic'. --- libvideo-capture-v4l-perl-0.902.orig/debian/watch +++ libvideo-capture-v4l-perl-0.902/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Video-Capture-V4l/ .*/Video-Capture-V4l-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libvideo-capture-v4l-perl-0.902.orig/debian/compat +++ libvideo-capture-v4l-perl-0.902/debian/compat @@ -0,0 +1 @@ +6 --- libvideo-capture-v4l-perl-0.902.orig/debian/README.source +++ libvideo-capture-v4l-perl-0.902/debian/README.source @@ -0,0 +1,6 @@ +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. + +See /usr/share/doc/quilt/README.source for a detailed explanation. + --- libvideo-capture-v4l-perl-0.902.orig/debian/changelog +++ libvideo-capture-v4l-perl-0.902/debian/changelog @@ -0,0 +1,112 @@ +libvideo-capture-v4l-perl (0.902-1) unstable; urgency=low + + * New upstream release. + * Set Standards-Version to 3.8.0; add debian/README.source to document + quilt usage. + * Refresh compile-failure.patch (parts of the patch are adopted upstreams). + + -- gregor herrmann Sat, 26 Jul 2008 17:13:52 +0200 + +libvideo-capture-v4l-perl (0.901-4) unstable; urgency=low + + * debian/rules: touch Makefile in clean target after unpatching + Makefile.PL to prevent it from being re-built; allows building twice + in a row. + * Refresh debian/rules in general. + * Add /me to Uploaders. + + -- gregor herrmann Wed, 30 Apr 2008 22:35:27 +0200 + +libvideo-capture-v4l-perl (0.901-3) unstable; urgency=low + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * debian/rules: delete /usr/share/perl5 only if it exists. + * Set Standards-Level to 3.7.3 (no changes needed). + * Set debhelper compatibility level to 6. + * debian/copyright: + - add additional copyright holders and licenses + - convert to new format + + [ Frank Lichtenheld ] + * debian/rules: let dh_strip handle nostrip support internally + + [ Damyan Ivanov ] + * debian/watch: use dist-based URL. + * put changes to upstream source in quilt patches + * do not install redundant README + * remove unused debhelper calls + + -- Roberto C. Sanchez Sat, 26 Jan 2008 14:49:50 -0500 + +libvideo-capture-v4l-perl (0.901-2) unstable; urgency=low + + * Fix bashism: dash requires path to file in "." when sourcing it. + Closes: #374151 + * Add self to uploaders. + * Remove generated file RTjpeg/codec/RTjpeg.c in clean. + * Don't ignore make realclean errors. + + -- Joey Hess Sat, 11 Aug 2007 21:15:46 -0400 + +libvideo-capture-v4l-perl (0.901-1) unstable; urgency=low + + * New upstream release + * New maintainer (in response to Matthias' mail, see + http://lists.debian.org/debian-devel/2006/05/msg02947.html) + Debian Perl Group + via Zak B. Elep + * debian/control: + + Bump Standards-Version. + + Bump debhelper to version 5; set debian/compat accordingly. + * debian/copyright: + + Update maintenance notes. + * Added debian/watch . + + -- Zak B. Elep Thu, 29 Jun 2006 13:50:30 +0800 + +libvideo-capture-v4l-perl (0.225-1) unstable; urgency=low + + * New Upstream version. + * Fix FTBFS. Closes:#318547. + + -- Matthias Urlichs Mon, 23 Jan 2006 11:03:18 +0100 + +libvideo-capture-v4l-perl (0.224-5) unstable; urgency=low + + * Missed a -fPIC in a sub-Makefile, minor compile fixes. + - Closes: #258991, #259440 + * Don't nest examples/ directories. + + -- Matthias Urlichs Thu, 15 Jul 2004 10:24:22 +0200 + +libvideo-capture-v4l-perl (0.224-4) unstable; urgency=low + + * Makefile.PL: CFLAGS => CCFLAGS + + -- Matthias Urlichs Mon, 12 Jul 2004 18:21:16 +0200 + +libvideo-capture-v4l-perl (0.224-2) unstable; urgency=low + + * Use -fPIC. + - Closes: #258680 + - Thanks to Goswin Brederlow . + + -- Matthias Urlichs Sun, 11 Jul 2004 07:14:51 +0200 + +libvideo-capture-v4l-perl (0.224-1) unstable; urgency=low + + * New Upstream version. + - minor updates + + -- Matthias Urlichs Wed, 7 Jul 2004 22:14:35 +0200 + +libvideo-capture-v4l-perl (0.222-1) unstable; urgency=low + + * Initial Release. + - Closes: #256806 (ITP) + + -- Matthias Urlichs Tue, 29 Jun 2004 09:57:09 +0200 + --- libvideo-capture-v4l-perl-0.902.orig/debian/rules +++ libvideo-capture-v4l-perl-0.902/debian/rules @@ -0,0 +1,76 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +# Allow disabling build optimisation by setting noopt in +# $DEB_BUILD_OPTIONS +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp RTjpeg/codec/RTjpeg.c + [ ! -f Makefile ] || ( touch Makefile && $(MAKE) realclean ) + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/share/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/share/perl5 + touch $@ + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do here for an architecture-dependent package + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installexamples examples/* + dh_installdocs TODO RTjpeg/codec/README + dh_installchangelogs Changes + dh_shlibdeps + dh_strip + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libvideo-capture-v4l-perl-0.902.orig/debian/patches/bashism.patch +++ libvideo-capture-v4l-perl-0.902/debian/patches/bashism.patch @@ -0,0 +1,11 @@ +--- a/RTjpeg/Makefile.PL ++++ b/RTjpeg/Makefile.PL +@@ -8,7 +8,7 @@ WriteMakefile( + + sub MY::postamble { <254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); ++ strm[0]=(u8)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); + + for(ci=1; ci<=63; ci++) + if(data[RTjpeg_ZZ[ci]]>0) +--- a/VBI/VBI.xs ++++ b/VBI/VBI.xs +@@ -482,7 +482,7 @@ + case 0x55: + break; + default: +- ; /* no teletext page */ ++ break; /* no teletext page */ + } + + if (data[1] == 0x55) --- libvideo-capture-v4l-perl-0.902.orig/debian/patches/compile_with_-fPIC.patch +++ libvideo-capture-v4l-perl-0.902/debian/patches/compile_with_-fPIC.patch @@ -0,0 +1,28 @@ +--- a/RTjpeg/Makefile.PL ++++ b/RTjpeg/Makefile.PL +@@ -3,6 +3,7 @@ use ExtUtils::MakeMaker; + WriteMakefile( + NAME => 'Video::RTjpeg', + VERSION_FROM => 'RTjpeg.pm', ++ CCFLAGS => '-fPIC', + OBJECT => '$(BASEEXT)$(OBJ_EXT) codec/RTjpeg.o', + ); + +@@ -11,6 +12,6 @@ codec/RTjpeg.c: codec/compose.sh + cd codec && . ./compose.sh + + codec/RTjpeg.o: codec/RTjpeg.c codec/RTjpeg.h +- \$(CCCMD) \$(CCCDLFLAGS) -o \$@ \$< ++ \$(CCCMD) \$(CCCDLFLAGS) -fPIC -o \$@ \$< + EOF + } +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -9,6 +9,7 @@ WriteMakefile( + 'NAME' => 'Video::Frequencies', + DISTNAME => 'Video-Capture-V4l', + 'VERSION_FROM' => 'V4l/V4l.pm', ++ CCFLAGS => '-fPIC', + linkext => {LINKTYPE => ''}, + DIR => ['V4l','VBI','RTjpeg'], + ); --- libvideo-capture-v4l-perl-0.902.orig/debian/patches/series +++ libvideo-capture-v4l-perl-0.902/debian/patches/series @@ -0,0 +1,3 @@ +bashism.patch +compile-failure.patch +compile_with_-fPIC.patch