--- libvideo-capture-v4l-perl-0.901.orig/VBI/Makefile.PL +++ libvideo-capture-v4l-perl-0.901/VBI/Makefile.PL @@ -3,4 +3,5 @@ WriteMakefile( 'NAME' => 'Video::Capture::VBI', 'VERSION_FROM' => 'VBI.pm', + CCFLAGS => '-fPIC', ); --- libvideo-capture-v4l-perl-0.901.orig/VBI/VBI.xs +++ libvideo-capture-v4l-perl-0.901/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.901.orig/debian/control +++ libvideo-capture-v4l-perl-0.901/debian/control @@ -0,0 +1,25 @@ +Source: libvideo-capture-v4l-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Zak B. Elep , Carlo Segre , Joey Hess +Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.0-7) +Standards-Version: 3.7.2 +XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libvideo-capture-v4l-perl/ +XS-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.901.orig/debian/compat +++ libvideo-capture-v4l-perl-0.901/debian/compat @@ -0,0 +1 @@ +5 --- libvideo-capture-v4l-perl-0.901.orig/debian/watch +++ libvideo-capture-v4l-perl-0.901/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/Video/Video-Capture-V4l-([\d\.]+)\.tar\.gz --- libvideo-capture-v4l-perl-0.901.orig/debian/changelog +++ libvideo-capture-v4l-perl-0.901/debian/changelog @@ -0,0 +1,69 @@ +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.901.orig/debian/copyright +++ libvideo-capture-v4l-perl-0.901/debian/copyright @@ -0,0 +1,31 @@ +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 . + +The upstream author is: +Marc Lehmann . + +The README file states: + LICENSE + 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. + + +The RTjpeg encoder which is included in this package is (C) 1998 Justin +Schoeman (justin@suntiger.ee.up.ac.za). The RTjpeg/codec/README file states: + + License+Disclaimer + ================== + 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. + + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- libvideo-capture-v4l-perl-0.901.orig/debian/rules +++ libvideo-capture-v4l-perl-0.901/debian/rules @@ -0,0 +1,101 @@ +#!/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 + +# 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 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +# Allow disabling build optimation 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: + dh_testdir + + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + # Add commands to clean up after the build process here + if [ -e Makefile ]; then $(MAKE) realclean; fi + + dh_clean build-stamp install-stamp RTjpeg/codec/RTjpeg.c + +install: install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + + # Add here commands to install the package into debian/tmp. + #$(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture dependent package, we are not supposed to install + # stuff to /usr/share/perl5. MakeMaker creates the dirs, we delete them from + # the deb: + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 + + touch install-stamp + +# 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_installdocs TODO README RTjpeg/codec/README + dh_installexamples examples/* + find debian/libvideo-capture-v4l-perl -name SCCS -print0 -prune | \ + xargs -0r rm -rf +# dh_installmenu +# dh_installcron +# dh_installman + dh_installchangelogs Changes + dh_link +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + dh_strip +endif + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libvideo-capture-v4l-perl-0.901.orig/RTjpeg/codec/modules/RTb2s_raw.c +++ libvideo-capture-v4l-perl-0.901/RTjpeg/codec/modules/RTb2s_raw.c @@ -2,7 +2,7 @@ { int ci=1, co=1, tmp; - (u8)strm[0]=(u8)(data[RTjpeg_ZZ[0]]>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) --- libvideo-capture-v4l-perl-0.901.orig/RTjpeg/codec/modules/RTb2s.c +++ libvideo-capture-v4l-perl-0.901/RTjpeg/codec/modules/RTb2s.c @@ -2,7 +2,7 @@ { int ci=1, co=1, tmp; - (u8)strm[0]=(u8)(data[RTjpeg_ZZ[0]]>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<=bt8; ci++) if(data[RTjpeg_ZZ[ci]]>0) --- libvideo-capture-v4l-perl-0.901.orig/RTjpeg/Makefile.PL +++ libvideo-capture-v4l-perl-0.901/RTjpeg/Makefile.PL @@ -3,14 +3,15 @@ WriteMakefile( NAME => 'Video::RTjpeg', VERSION_FROM => 'RTjpeg.pm', + CCFLAGS => '-fPIC', OBJECT => '$(BASEEXT)$(OBJ_EXT) codec/RTjpeg.o', ); sub MY::postamble { < 'Video::Capture::V4l', 'VERSION_FROM' => 'V4l.pm', + CCFLAGS => '-fPIC', LIBS => '-lpthread', ); --- libvideo-capture-v4l-perl-0.901.orig/Makefile.PL +++ libvideo-capture-v4l-perl-0.901/Makefile.PL @@ -9,6 +9,7 @@ 'NAME' => 'Video::Frequencies', DISTNAME => 'Video-Capture-V4l', 'VERSION_FROM' => 'V4l/V4l.pm', + CCFLAGS => '-fPIC', linkext => {LINKTYPE => ''}, DIR => ['V4l','VBI','RTjpeg'], );