--- libavc1394-0.5.3.orig/debian/patches/00list
+++ libavc1394-0.5.3/debian/patches/00list
@@ -0,0 +1 @@
+10_plugs_are_devel_only
--- libavc1394-0.5.3.orig/debian/patches/10_plugs_are_devel_only.dpatch
+++ libavc1394-0.5.3/debian/patches/10_plugs_are_devel_only.dpatch
@@ -0,0 +1,40 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_plugs_are_devel_only.dpatch by Daniel Kobras <kobras@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Update documentation to clarify that pluginfo option is not meant
+## DP: to be understood by non-developers.
+
+@DPATCH@
+--- libavc1394-0.5.0.orig/test/dvcont.1
++++ libavc1394-0.5.0/test/dvcont.1
+@@ -18,7 +18,7 @@
+ .\" This manual page was written especially for Debian Linux. It is based
+ .\" on dvcont's help output using help2man and manual hacking.
+ .\"
+-.TH DVCONT 1 "September 2002"
++.TH DVCONT 1 "October 2002" "dvcont"
+ .SH NAME
+ dvcont \- send control commands to DV cameras
+ .SH SYNOPSIS
+@@ -95,7 +95,8 @@
+ Report the status of the device.
+ .TP
+ .B pluginfo
+-Report available plugs.
++Report available plugs. (This option is mainly intended for internal
++development.)
+ .TP
+ .B verbose
+ Tell the program to tell you debug info.
+--- libavc1394-0.5.0.orig/test/dvcont.c
++++ libavc1394-0.5.0/test/dvcont.c
+@@ -65,7 +65,7 @@
+ printf("\ntimecode - Report the timecode from the tape (HH:MM:SS:FF)");
+ printf("\nseek - Tell the camera to go to the <timecode> (HH:MM:SS:FF)");
+ printf("\nstatus - Report the status of the device");
+-printf("\npluginfo - Report available plugs");
++printf("\npluginfo - Report available plugs (developers only)");
+ printf("\nverbose - Tell the program to tell you debug info.");
+ printf("\nversion - Tell the program to tell you the program version.");
+ printf("\nhelp - Tell the program to show you this screen");
--- libavc1394-0.5.3.orig/debian/changelog
+++ libavc1394-0.5.3/debian/changelog
@@ -0,0 +1,134 @@
+libavc1394 (0.5.3-1) unstable; urgency=low
+
+ * New upstream version.
+ + Adds new API/ABI functions avc1394_transaction_block2() and
+ avc1394_transaction_block_close().
+ + Adds new macros for panel subunit commands and operands to API.
+ * debian/rules: Bump shlibs version to 0.5.3 because of ABI additions.
+ * debian/libavc1394-dev.manpages: Add manpages for new utilities mkrfc2734
+ and panelctl.
+ * debian/control: Complies with version 3.7.2 of Debian policy. Adjust
+ Standards-Version accordingly.
+ * debian/control: Add information about panelctl to long description of
+ libavc1394-dev.
+ * debian/copyright: Include license information for new utilities mkrfc2734
+ and panelctl, and update FSF address.
+
+ -- Daniel Kobras <kobras@debian.org> Mon, 22 May 2006 12:03:24 +0200
+
+libavc1394 (0.5.1-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Daniel Kobras <kobras@debian.org> Tue, 5 Jul 2005 19:56:19 +0200
+
+libavc1394 (0.5.0-2) unstable; urgency=low
+
+ * Move new upstream version from experimental to unstable.
+
+ -- Daniel Kobras <kobras@debian.org> Sun, 12 Jun 2005 16:52:15 +0200
+
+libavc1394 (0.5.0-1) experimental; urgency=low
+
+ * New upstream version.
+ * Added patches:
+ + [10_plugs_are_devel_only] Converted from previous diff.gz.
+ Clarify that pluginfo option in dvcont is not meant to be
+ understood by non-developers.
+ * debian/control: libavc1394 now ships with a .pc file, so suggest
+ pkg-config in -dev package.
+ * debian/control: Build-depend on pkg-config for new libraw check.
+ * debian/control: Build-depend on dpatch.
+ * debian/control: New minimum version of libraw1394 is 1.0.0,
+ corresponding to version 0.10.1 in Debian. (No idea why version
+ schemes differ.) Adjust build dependencies accordingly.
+ * debian/control: Add description for new binary mkrfc2734.
+ * debian/rules: Introduce shlibs version because of new timecode
+ API functions added in this release.
+ * debian/rules: Add hooks for dpatch system.
+
+ -- Daniel Kobras <kobras@debian.org> Thu, 17 Feb 2005 17:44:45 +0100
+
+libavc1394 (0.4.1-2) unstable; urgency=low
+
+ * test/dvcont.1: Fix section number in man page. Closes: #219549
+ * debian/control: Fix punctuation in short description.
+ * debian/control: Change section of -dev package to libdevel.
+ * debian/control: Bump standards version to 3.6.1.
+
+ -- Daniel Kobras <kobras@debian.org> Fri, 7 Nov 2003 17:47:33 +0100
+
+libavc1394 (0.4.1-1) unstable; urgency=low
+
+ * New upstream version.
+ * debian/rules: Revert symlink hack--build sequence is sane again.
+ * test/dvcont.c, test/dvcont.1: 'pluginfo' option is not intended for
+ general use.
+
+ -- Daniel Kobras <kobras@debian.org> Wed, 2 Oct 2002 10:06:51 +0200
+
+libavc1394 (0.4.0-2) unstable; urgency=low
+
+ * debian/rules: Add a symlink so build sequence does not require librom
+ headers to be installed already.
+
+ -- Daniel Kobras <kobras@debian.org> Thu, 26 Sep 2002 22:36:16 +0200
+
+libavc1394 (0.4.0-1) unstable; urgency=low
+
+ * New upstream version. Fixes occasional lockups in applications.
+ * test/dvcont.c, test/dvcont.1: Add help for new options 'seek' and
+ 'pluginfo'.
+ * debian/rules, debian/control: Update to debhelper 4, and standards
+ version 3.5.7.
+
+ -- Daniel Kobras <kobras@debian.org> Thu, 26 Sep 2002 11:20:39 +0200
+
+libavc1394 (0.3.1-4) unstable; urgency=low
+
+ * Move dvcont binary to -dev package as per policy.
+
+ -- Daniel Kobras <kobras@debian.org> Tue, 7 May 2002 09:46:37 +0200
+
+libavc1394 (0.3.1-3) unstable; urgency=low
+
+ * Change Arch line back to any. As long as libraw1394 gets build on
+ all archs, there's really no point in keeping this lib out.
+
+ -- Daniel Kobras <kobras@debian.org> Sun, 21 Apr 2002 17:49:37 +0200
+
+libavc1394 (0.3.1-2) unstable; urgency=low
+
+ * Added s390 back to archs. (Request by Gerhard Tonn.)
+ * ieee -> IEEE spelling fix. Closes: #124893, #124894
+
+ -- Daniel Kobras <kobras@debian.org> Tue, 18 Dec 2001 12:14:37 +0100
+
+libavc1394 (0.3.1-1) unstable; urgency=low
+
+ * New upstream version. Closes: #114430
+
+ -- Daniel Kobras <kobras@debian.org> Fri, 5 Oct 2001 12:59:12 +0200
+
+libavc1394 (0.3.0-1) unstable; urgency=low
+
+ * New upstream version
+ * dvcont man page now included upstream. Removed Debian version.
+ * Backup/restore upstream version of config.{guess,sub}.
+
+ -- Daniel Kobras <kobras@debian.org> Thu, 6 Sep 2001 16:37:17 +0200
+
+libavc1394 (0.2.2-2) unstable; urgency=low
+
+ * Update build deps to make sure autobuilders don't pull in a buggy
+ libraw1394. Closes: #105132
+ * Exclude m68k and s/390 from target architectures. Closes: #101090
+
+ -- Daniel Kobras <kobras@debian.org> Mon, 16 Jul 2001 14:50:04 +0200
+
+libavc1394 (0.2.2-1) unstable; urgency=low
+
+ * Initial release. Closes: #100706
+ * Added man page for dvcont(1).
+
+ -- Daniel Kobras <kobras@debian.org> Wed, 13 Jun 2001 16:08:35 +0200
--- libavc1394-0.5.3.orig/debian/control
+++ libavc1394-0.5.3/debian/control
@@ -0,0 +1,39 @@
+Source: libavc1394
+Section: libs
+Priority: extra
+Maintainer: Daniel Kobras <kobras@debian.org>
+Build-Depends: debhelper (>> 4.0.0), libraw1394-dev (>= 0.10.1), pkg-config, autotools-dev, dpatch
+Standards-Version: 3.7.2
+
+Package: libavc1394-dev
+Section: libdevel
+Architecture: any
+Depends: libavc1394-0 (= ${Source-Version}), libc6-dev
+Suggests: pkg-config
+Conflicts: libavc1394-0 (<= 0.3.1-3)
+Replaces: libavc1394-0 (<= 0.3.1-3)
+Description: control IEEE 1394 audio/video devices (development files)
+ libavc1394 is a programming interface for the 1394 Trade Association AV/C
+ (Audio/Video Control) Digital Interface Command Set. It allows you to
+ remote control camcorders and similar devices connected to your computer
+ via an IEEE 1394 (aka Firewire) link.
+ .
+ This package includes the libraries and header files needed to compile
+ programs using libavc1394, as well as the command line tool dvcont that
+ acts as a simple remote control, the tool mkrfc2734 that is needed
+ to advertise IP over IEEE 1394 (RFC 2734) capabilities with the Linux
+ 2.4 kernel series, and the utility panelctl, a remote control for
+ set-top boxes.
+
+Package: libavc1394-0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: control IEEE 1394 audio/video devices
+ libavc1394 is a programming interface for the 1394 Trade Association AV/C
+ (Audio/Video Control) Digital Interface Command Set. It allows you to
+ remote control camcorders and similar devices connected to your computer
+ via an IEEE 1394 (aka Firewire) link.
+ .
+ This package includes the libraries needed to run executables using
+ libavc1394.
--- libavc1394-0.5.3.orig/debian/copyright
+++ libavc1394-0.5.3/debian/copyright
@@ -0,0 +1,51 @@
+This package was debianized by Daniel Kobras <kobras@debian.org> on
+Wed, 13 Jun 2001 13:01:13 +0200.
+
+It was downloaded from http://prdownloads.sourceforge.net/libavc1394/
+
+Upstream Authors: Dan Dennedy <dan@dennedy.org>
+ Andreas Micklei <andreas.micklei@ivistar.de>
+ Jason Howard <jason@spectsoft.com>
+
+Copyright:
+
+The library itself, and the executable mkrfc2734 are covered by the GNU
+Lesser General Public License, version 2.1 or later:
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser 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 GNU/Linux systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+The executables dvcont and panelctl are covered by the GNU General Public
+License, version 2 or later:
+
+ 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 St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- libavc1394-0.5.3.orig/debian/libavc1394-0.docs
+++ libavc1394-0.5.3/debian/libavc1394-0.docs
@@ -0,0 +1,4 @@
+AUTHORS
+NEWS
+README
+TODO
--- libavc1394-0.5.3.orig/debian/libavc1394-0.files
+++ libavc1394-0.5.3/debian/libavc1394-0.files
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
--- libavc1394-0.5.3.orig/debian/libavc1394-dev.dirs
+++ libavc1394-0.5.3/debian/libavc1394-dev.dirs
@@ -0,0 +1 @@
+usr/share/doc
--- libavc1394-0.5.3.orig/debian/libavc1394-dev.manpages
+++ libavc1394-0.5.3/debian/libavc1394-dev.manpages
@@ -0,0 +1,4 @@
+test/dvcont.1
+test/mkrfc2734.1
+test/panelctl.1
+
--- libavc1394-0.5.3.orig/debian/rules
+++ libavc1394-0.5.3/debian/rules
@@ -0,0 +1,103 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+
+include /usr/share/dpatch/dpatch.make
+
+# shared library versions, option 1
+#version=2.0.5
+#major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+version=`ls libavc1394/.libs/lib*.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+major=`ls libavc1394/.libs/lib*.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Make sure we use the latest autotools helpers.
+ if test -f config.sub; then \
+ mv config.sub config.sub.debsave; \
+ fi
+ if test -f config.guess; then \
+ mv config.guess config.guess.debsave; \
+ fi
+ ln -sf /usr/share/misc/config.sub .
+ ln -sf /usr/share/misc/config.guess .
+
+ ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+ touch configure-stamp
+
+build: build-stamp
+build-stamp: patch-stamp configure-stamp
+ dh_testdir
+
+ $(MAKE)
+
+ touch build-stamp
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ -$(MAKE) distclean
+
+ if test -L config.sub -a -e config.sub.debsave; then \
+ rm config.sub && mv config.sub.debsave config.sub; \
+ fi
+ if test -L config.guess -a -e config.guess.debsave; then \
+ rm config.guess && mv config.guess.debsave config.guess; \
+ fi
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/libavc1394-dev
+
+
+# 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_movefiles --sourcedir=debian/libavc1394-dev -plibavc1394-$(major)
+
+ # Act on _all_ packages. Docs in -dev will be removed later on, but
+ # we want dh_installdocs to create the /usr/doc postinst.
+ dh_installdocs
+ dh_installchangelogs -plibavc1394-$(major) ChangeLog
+
+ rm -rf debian/libavc1394-dev/usr/share/doc/libavc1394-dev
+ ln -s libavc1394-$(major) \
+ debian/libavc1394-dev/usr/share/doc/libavc1394-dev \
+
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs -V 'libavc1394-0 (>= 0.5.3)'
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch