Hello community,
here is the log from the commit of package libavc1394 for openSUSE:Factory
checked in at Thu Oct 7 22:37:37 CEST 2010.
--------
--- libavc1394/libavc1394.changes 2009-12-18 13:26:16.000000000 +0100
+++ /mounts/work_src_done/STABLE/libavc1394/libavc1394.changes 2010-10-03 18:36:29.000000000 +0200
@@ -1,0 +2,8 @@
+Sun Oct 3 16:31:50 UTC 2010 - davejplater@gmail.com
+
+- Update to version 0.5.4
+- Upstream changes :
+ panelctl.[c1]: apply patch from Jerry Fiddler to add options --guid,
+ --specid, --swversion, and --commands.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
libavc1394-0.5.3.tar.bz2
New:
----
libavc1394-0.5.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libavc1394.spec ++++++
--- /var/tmp/diff_new_pack.SUnPPX/_old 2010-10-07 22:37:08.000000000 +0200
+++ /var/tmp/diff_new_pack.SUnPPX/_new 2010-10-07 22:37:08.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package libavc1394 (Version 0.5.3)
+# spec file for package libavc1394 (Version 0.5.4)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,8 +23,8 @@
License: LGPLv2.1+
Group: Development/Libraries/C and C++
AutoReqProv: on
-Version: 0.5.3
-Release: 133
+Version: 0.5.4
+Release: 1
Summary: Libavc1394--Programming Interface to the AV/C Specification
Url: http://sourceforge.net/projects/libavc1394/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -51,6 +51,23 @@
Jason Howard
Man page by Daniel Kobras
+Libavc1394 is a programming interface to the AV/C specification from
+the 1394 Trade Association. AV/C stands for Audio/Video Control.
+Currently, applications use the library to control the tape transport
+mechanism on DV camcorders. However, there are many devices and device
+functions that can be controlled via AV/C. Eventually, the library will
+be expanded to implement more of the specification and to provide a
+high level interface to various devices.
+
+
+
+Authors:
+--------
+ Dan Dennedy
+ Andreas Micklei
+ Jason Howard
+ Man page by Daniel Kobras
+
%package 0
License: LGPLv2.1+
Summary: Libavc1394--Programming Interface to the AV/C Specification
@@ -79,6 +96,23 @@
Jason Howard
Man page by Daniel Kobras
+Libavc1394 is a programming interface to the AV/C specification from
+the 1394 Trade Association. AV/C stands for Audio/Video Control.
+Currently, applications use the library to control the tape transport
+mechanism on DV camcorders. However, there are many devices and device
+functions that can be controlled via AV/C. Eventually, the library will
+be expanded to implement more of the specification and to provide a
+high level interface to various devices.
+
+
+
+Authors:
+--------
+ Dan Dennedy
+ Andreas Micklei
+ Jason Howard
+ Man page by Daniel Kobras
+
%package devel
License: LGPLv2.1+
Summary: libavc1394 is a programming interface to the AV/C specification
++++++ libavc1394-0.5.3.tar.bz2 -> libavc1394-0.5.4.tar.bz2 ++++++
++++ 63259 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libavc1394-0.5.3/ChangeLog new/libavc1394-0.5.4/ChangeLog
--- old/libavc1394-0.5.3/ChangeLog 2006-05-22 02:20:09.000000000 +0200
+++ new/libavc1394-0.5.4/ChangeLog 2010-08-03 07:34:30.000000000 +0200
@@ -1,5 +1,11 @@
libavc1394 ChangeLog
+0.5.4 release
+
+2010-08-02 Dan Dennedy
+ * panelctl.[c1]: apply patch from Jerry Fiddler to add options --guid,
+ --specid, --swversion, and --commands.
+
0.5.3 release
2006-05-21 Dan Dennedy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libavc1394-0.5.3/INSTALL new/libavc1394-0.5.4/INSTALL
--- old/libavc1394-0.5.3/INSTALL 2006-04-13 18:22:15.000000000 +0200
+++ new/libavc1394-0.5.4/INSTALL 2010-07-28 06:36:38.000000000 +0200
@@ -1,16 +1,25 @@
Installation Instructions
*************************
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
-Software Foundation, Inc.
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
+2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-This file is free documentation; the Free Software Foundation gives
-unlimited permission to copy, distribute and modify it.
+ Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved. This file is offered as-is,
+without warranty of any kind.
Basic Installation
==================
-These are generic installation instructions.
+ Briefly, the shell commands `./configure; make; make install' should
+configure, build, and install this package. The following
+more-detailed instructions are generic; see the `README' file for
+instructions specific to this package. Some packages provide this
+`INSTALL' file but do not implement all of the features documented
+below. The lack of an optional feature in a given package is not
+necessarily a bug. More recommendations for GNU packages can be found
+in *note Makefile Conventions: (standards)Makefile Conventions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
@@ -23,9 +32,9 @@
It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
-the results of its tests to speed up reconfiguring. (Caching is
+the results of its tests to speed up reconfiguring. Caching is
disabled by default to prevent problems with accidental use of stale
-cache files.)
+cache files.
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
@@ -35,30 +44,37 @@
may remove or edit it.
The file `configure.ac' (or `configure.in') is used to create
-`configure' by a program called `autoconf'. You only need
-`configure.ac' if you want to change it or regenerate `configure' using
-a newer version of `autoconf'.
+`configure' by a program called `autoconf'. You need `configure.ac' if
+you want to change it or regenerate `configure' using a newer version
+of `autoconf'.
-The simplest way to compile this package is:
+ The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
- `./configure' to configure the package for your system. If you're
- using `csh' on an old version of System V, you might need to type
- `sh ./configure' instead to prevent `csh' from trying to execute
- `configure' itself.
+ `./configure' to configure the package for your system.
- Running `configure' takes awhile. While running, it prints some
- messages telling which features it is checking for.
+ Running `configure' might take a while. While running, it prints
+ some messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
- the package.
+ the package, generally using the just-built uninstalled binaries.
4. Type `make install' to install the programs and any data files and
- documentation.
+ documentation. When installing into a prefix owned by root, it is
+ recommended that the package be configured and built as a regular
+ user, and only the `make install' phase executed with root
+ privileges.
+
+ 5. Optionally, type `make installcheck' to repeat any self-tests, but
+ this time using the binaries in their final installed location.
+ This target does not install anything. Running this target as a
+ regular user, particularly if the prior `make install' required
+ root privileges, verifies that the installation completed
+ correctly.
- 5. You can remove the program binaries and object files from the
+ 6. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
@@ -67,45 +83,69 @@
all sorts of other programs in order to regenerate files that came
with the distribution.
+ 7. Often, you can also type `make uninstall' to remove the installed
+ files again. In practice, not all packages have tested that
+ uninstallation works correctly, even though it is required by the
+ GNU Coding Standards.
+
+ 8. Some packages, particularly those that use Automake, provide `make
+ distcheck', which can by used by developers to test that all other
+ targets like `make install' and `make uninstall' work correctly.
+ This target is generally not run by end users.
+
Compilers and Options
=====================
-Some systems require unusual options for compilation or linking that the
-`configure' script does not know about. Run `./configure --help' for
-details on some of the pertinent environment variables.
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. Run `./configure --help'
+for details on some of the pertinent environment variables.
You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment. Here
is an example:
- ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
*Note Defining Variables::, for more details.
Compiling For Multiple Architectures
====================================
-You can compile the package for more than one kind of computer at the
+ You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
-own directory. To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'. `cd' to the
+own directory. To do this, you can use GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
+source code in the directory that `configure' is in and in `..'. This
+is known as a "VPATH" build.
- If you have to use a `make' that does not support the `VPATH'
-variable, you have to compile the package for one architecture at a
-time in the source code directory. After you have installed the
-package for one architecture, use `make distclean' before reconfiguring
-for another architecture.
+ With a non-GNU `make', it is safer to compile the package for one
+architecture at a time in the source code directory. After you have
+installed the package for one architecture, use `make distclean' before
+reconfiguring for another architecture.
+
+ On MacOS X 10.5 and later systems, you can create libraries and
+executables that work on multiple system types--known as "fat" or
+"universal" binaries--by specifying multiple `-arch' options to the
+compiler but only a single `-arch' option to the preprocessor. Like
+this:
+
+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CPP="gcc -E" CXXCPP="g++ -E"
+
+ This is not guaranteed to produce working output in all cases, you
+may have to build one architecture at a time and combine the results
+using the `lipo' tool if you have problems.
Installation Names
==================
-By default, `make install' installs the package's commands under
+ By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
-`configure' the option `--prefix=PREFIX'.
+`configure' the option `--prefix=PREFIX', where PREFIX must be an
+absolute file name.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
@@ -116,16 +156,47 @@
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
-you can set and what kinds of files go in them.
+you can set and what kinds of files go in them. In general, the
+default for these options is expressed in terms of `${prefix}', so that
+specifying just `--prefix' will affect all of the other directory
+specifications that were not explicitly provided.
+
+ The most portable way to affect installation locations is to pass the
+correct locations to `configure'; however, many packages provide one or
+both of the following shortcuts of passing variable assignments to the
+`make install' command line to change installation locations without
+having to reconfigure or recompile.
+
+ The first method involves providing an override variable for each
+affected directory. For example, `make install
+prefix=/alternate/directory' will choose an alternate location for all
+directory configuration variables that were expressed in terms of
+`${prefix}'. Any directories that were specified during `configure',
+but not in terms of `${prefix}', must each be overridden at install
+time for the entire installation to be relocated. The approach of
+makefile variable overrides for each directory variable is required by
+the GNU Coding Standards, and ideally causes no recompilation.
+However, some platforms have known limitations with the semantics of
+shared libraries that end up requiring recompilation when using this
+method, particularly noticeable in packages that use GNU Libtool.
+
+ The second method involves providing the `DESTDIR' variable. For
+example, `make install DESTDIR=/alternate/directory' will prepend
+`/alternate/directory' before all installation names. The approach of
+`DESTDIR' overrides is not required by the GNU Coding Standards, and
+does not work on platforms that have drive letters. On the other hand,
+it does better at avoiding recompilation issues, and works well even
+when some directory options were not specified in terms of `${prefix}'
+at `configure' time.
+
+Optional Features
+=================
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
-Optional Features
-=================
-
-Some packages pay attention to `--enable-FEATURE' options to
+ Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
@@ -137,14 +208,53 @@
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
+ Some packages offer the ability to configure how verbose the
+execution of `make' will be. For these packages, running `./configure
+--enable-silent-rules' sets the default to minimal output, which can be
+overridden with `make V=1'; while running `./configure
+--disable-silent-rules' sets the default to verbose, which can be
+overridden with `make V=0'.
+
+Particular systems
+==================
+
+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
+CC is not installed, it is recommended to use the following options in
+order to use an ANSI C compiler:
+
+ ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
+
+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
+
+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
+parse its `' header file. The option `-nodtk' can be used as
+a workaround. If GNU CC is not installed, it is therefore recommended
+to try
+
+ ./configure CC="cc"
+
+and if that doesn't work, try
+
+ ./configure CC="cc -nodtk"
+
+ On Solaris, don't put `/usr/ucb' early in your `PATH'. This
+directory contains several dysfunctional programs; working variants of
+these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
+in your `PATH', put it _after_ `/usr/bin'.
+
+ On Haiku, software installed for all users goes in `/boot/common',
+not `/usr/local'. It is recommended to use the following options:
+
+ ./configure --prefix=/boot/common
+
Specifying the System Type
==========================
-There may be some features `configure' cannot figure out automatically,
-but needs to determine by the type of machine the package will run on.
-Usually, assuming the package is built to be run on the _same_
-architectures, `configure' can figure that out, but if it prints a
-message saying it cannot guess the machine type, give it the
+ There may be some features `configure' cannot figure out
+automatically, but needs to determine by the type of machine the package
+will run on. Usually, assuming the package is built to be run on the
+_same_ architectures, `configure' can figure that out, but if it prints
+a message saying it cannot guess the machine type, give it the
`--build=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name which has the form:
@@ -152,7 +262,8 @@
where SYSTEM can have one of these forms:
- OS KERNEL-OS
+ OS
+ KERNEL-OS
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
@@ -170,9 +281,9 @@
Sharing Defaults
================
-If you want to set default values for `configure' scripts to share, you
-can create a site shell script called `config.site' that gives default
-values for variables like `CC', `cache_file', and `prefix'.
+ If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
@@ -181,7 +292,7 @@
Defining Variables
==================
-Variables not defined in a site shell script can be set in the
+ Variables not defined in a site shell script can be set in the
environment passed to `configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
@@ -190,21 +301,29 @@
./configure CC=/usr/local2/bin/gcc
causes the specified `gcc' to be used as the C compiler (unless it is
-overridden in the site shell script). Here is a another example:
+overridden in the site shell script).
- /bin/bash ./configure CONFIG_SHELL=/bin/bash
+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
+an Autoconf bug. Until the bug is fixed you can use this workaround:
-Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
-configuration-related scripts to be executed by `/bin/bash'.
+ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
`configure' Invocation
======================
-`configure' recognizes the following options to control how it operates.
+ `configure' recognizes the following options to control how it
+operates.
`--help'
`-h'
- Print a summary of the options to `configure', and exit.
+ Print a summary of all of the options to `configure', and exit.
+
+`--help=short'
+`--help=recursive'
+ Print a summary of the options unique to this package's
+ `configure', and exit. The `short' variant lists options used
+ only in the top level, while the `recursive' variant lists options
+ also present in any nested packages.
`--version'
`-V'
@@ -231,6 +350,16 @@
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
+`--prefix=DIR'
+ Use DIR as the installation prefix. *note Installation Names::
+ for more details, including other options available for fine-tuning
+ the installation locations.
+
+`--no-create'
+`-n'
+ Run the configure checks, but stop before creating any output
+ files.
+
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libavc1394-0.5.3/NEWS new/libavc1394-0.5.4/NEWS
--- old/libavc1394-0.5.3/NEWS 2006-05-22 02:37:30.000000000 +0200
+++ new/libavc1394-0.5.4/NEWS 2010-08-03 07:36:30.000000000 +0200
@@ -1,5 +1,9 @@
libavc1394 Release Notes
+Version 0.5.4:
+The only thing in this release is a new version of panelctl that accepts
+options to make it usable against more models of set-top boxes.
+
Version 0.5.3:
- bugfixes
- new avc1394_transaction_block2() function that returns the length of the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libavc1394-0.5.3/config.h.in new/libavc1394-0.5.4/config.h.in
--- old/libavc1394-0.5.3/config.h.in 2006-05-22 02:25:05.000000000 +0200
+++ new/libavc1394-0.5.4/config.h.in 2010-08-03 07:40:23.000000000 +0200
@@ -41,6 +41,10 @@
/* Define to 1 if you have the header file. */
#undef HAVE_UNISTD_H
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#undef LT_OBJDIR
+
/* Name of package */
#undef PACKAGE
@@ -56,6 +60,9 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
/* Define to the version of this package. */
#undef PACKAGE_VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libavc1394-0.5.3/configure.in new/libavc1394-0.5.4/configure.in
--- old/libavc1394-0.5.3/configure.in 2006-04-21 09:58:00.000000000 +0200
+++ new/libavc1394-0.5.4/configure.in 2010-08-03 07:34:51.000000000 +0200
@@ -1,5 +1,5 @@
AC_INIT(Makefile.am)
-AM_INIT_AUTOMAKE(libavc1394, 0.5.3)
+AM_INIT_AUTOMAKE(libavc1394, 0.5.4)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libavc1394-0.5.3/libavc1394.pc new/libavc1394-0.5.4/libavc1394.pc
--- old/libavc1394-0.5.3/libavc1394.pc 2006-05-22 02:25:30.000000000 +0200
+++ new/libavc1394-0.5.4/libavc1394.pc 2010-08-03 07:40:35.000000000 +0200
@@ -5,7 +5,7 @@
Name: libavc1394
Description: AV/C protocol library for IEEE 1394.
-Version: 0.5.3
+Version: 0.5.4
Requires: libraw1394
Libs: -L${libdir} -lavc1394 -lrom1394
Cflags: -I${includedir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libavc1394-0.5.3/libavc1394.spec new/libavc1394-0.5.4/libavc1394.spec
--- old/libavc1394-0.5.3/libavc1394.spec 2006-05-22 02:25:30.000000000 +0200
+++ new/libavc1394-0.5.4/libavc1394.spec 2010-08-03 07:40:35.000000000 +0200
@@ -1,5 +1,5 @@
Name: libavc1394
-Version: 0.5.3
+Version: 0.5.4
Release: 1
Copyright: GPL
Group: Multimedia
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libavc1394-0.5.3/missing new/libavc1394-0.5.4/missing
--- old/libavc1394-0.5.3/missing 2006-04-13 18:22:14.000000000 +0200
+++ new/libavc1394-0.5.4/missing 2010-07-28 06:36:38.000000000 +0200
@@ -1,10 +1,10 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2005-06-08.21
+scriptversion=2009-04-28.21; # UTC
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
+# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard , 1996.
# This program is free software; you can redistribute it and/or modify
@@ -18,9 +18,7 @@
# 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.
+# along with this program. If not, see http://www.gnu.org/licenses/.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@ -33,6 +31,8 @@
fi
run=:
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
# In the cases where this matters, `missing' is being run in the
# srcdir already.
@@ -44,7 +44,7 @@
msg="missing on your system"
-case "$1" in
+case $1 in
--run)
# Try to run requested program, and just exit if it succeeds.
run=
@@ -77,6 +77,7 @@
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
+ autom4te touch the output file, or create a stub one
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
@@ -86,6 +87,9 @@
tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
+\`g' are ignored when checking the name.
+
Send bug reports to ."
exit $?
;;
@@ -103,15 +107,22 @@
esac
+# normalize program name to check for.
+program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
# Now exit if we have it, but it failed. Also exit now if we
# don't have it and --version was passed (most likely to detect
-# the program).
-case "$1" in
- lex|yacc)
+# the program). This is about non-GNU programs, so use $1 not
+# $program.
+case $1 in
+ lex*|yacc*)
# Not GNU programs, they don't have --version.
;;
- tar)
+ tar*)
if test -n "$run"; then
echo 1>&2 "ERROR: \`tar' requires --run"
exit 1
@@ -135,7 +146,7 @@
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
-case "$1" in
+case $program in
aclocal*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
@@ -145,7 +156,7 @@
touch aclocal.m4
;;
- autoconf)
+ autoconf*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`${configure_ac}'. You might want to install the
@@ -154,7 +165,7 @@
touch configure
;;
- autoheader)
+ autoheader*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`acconfig.h' or \`${configure_ac}'. You might want
@@ -164,7 +175,7 @@
test -z "$files" && files="config.h"
touch_files=
for f in $files; do
- case "$f" in
+ case $f in
*:*) touch_files="$touch_files "`echo "$f" |
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
*) touch_files="$touch_files $f.in";;
@@ -184,7 +195,7 @@
while read f; do touch "$f"; done
;;
- autom4te)
+ autom4te*)
echo 1>&2 "\
WARNING: \`$1' is needed, but is $msg.
You might have modified some files without having the
@@ -192,8 +203,8 @@
You can get \`$1' as part of \`Autoconf' from any GNU
archive site."
- file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
- test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -f "$file"; then
touch $file
else
@@ -207,80 +218,78 @@
fi
;;
- bison|yacc)
+ bison*|yacc*)
echo 1>&2 "\
WARNING: \`$1' $msg. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
- if [ $# -ne 1 ]; then
+ if test $# -ne 1; then
eval LASTARG="\${$#}"
- case "$LASTARG" in
+ case $LASTARG in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
- if [ ! -f y.tab.h ]; then
+ if test ! -f y.tab.h; then
echo >y.tab.h
fi
- if [ ! -f y.tab.c ]; then
+ if test ! -f y.tab.c; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
- lex|flex)
+ lex*|flex*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
- if [ $# -ne 1 ]; then
+ if test $# -ne 1; then
eval LASTARG="\${$#}"
- case "$LASTARG" in
+ case $LASTARG in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
- if [ ! -f lex.yy.c ]; then
+ if test ! -f lex.yy.c; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
- help2man)
+ help2man*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a dependency of a manual page. You may need the
\`Help2man' package in order for those modifications to take
effect. You can get \`Help2man' from any GNU archive site."
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
- if test -z "$file"; then
- file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
- fi
- if [ -f "$file" ]; then
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+ if test -f "$file"; then
touch $file
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
- exit 1
+ exit $?
fi
;;
- makeinfo)
+ makeinfo*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
@@ -289,11 +298,17 @@
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
# The file to touch is that specified with -o ...
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -z "$file"; then
# ... or it is the one specified with @setfilename ...
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
+ file=`sed -n '
+ /^@setfilename/{
+ s/.* \([^ ]*\) *$/\1/
+ p
+ q
+ }' $infile`
# ... or it is derived from the source name (dir/f.texi becomes f.info)
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
fi
@@ -303,7 +318,7 @@
touch $file
;;
- tar)
+ tar*)
shift
# We have already tried tar in the generic part.
@@ -317,13 +332,13 @@
fi
firstarg="$1"
if shift; then
- case "$firstarg" in
+ case $firstarg in
*o*)
firstarg=`echo "$firstarg" | sed s/o//`
tar "$firstarg" "$@" && exit 0
;;
esac
- case "$firstarg" in
+ case $firstarg in
*h*)
firstarg=`echo "$firstarg" | sed s/h//`
tar "$firstarg" "$@" && exit 0
@@ -356,5 +371,6 @@
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-end: "$"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
# End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libavc1394-0.5.3/test/panelctl.1 new/libavc1394-0.5.4/test/panelctl.1
--- old/libavc1394-0.5.3/test/panelctl.1 2006-05-22 01:40:12.000000000 +0200
+++ new/libavc1394-0.5.4/test/panelctl.1 2010-07-28 06:35:02.000000000 +0200
@@ -1,132 +1,68 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
-.TH PANELCTL "1" "April 2006" "panelctl (libavc1394) 0.1" "User Commands"
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
+.TH PANELCTL "1" "November 2009" "panelctl 0.2" "User Commands"
.SH NAME
-panelctl \- manual page for panelctl (libavc1394) 0.1
+panelctl \- manual page for panelctl 0.2
.SH SYNOPSIS
.B panelctl
-[\fIOPTION\fR] \fI\fR
+[\fIOPTION\fR...] \fI\fR
.SH DESCRIPTION
-
-.B panelctl
-is a command line tool to send control commands via an IEEE1394
-link to an AV/C Panel such as the Motorola Digital Consumer Terminal (DCT)
-series. Or for the non-techies:
-.B panelctl
-lets you remote control your digital cable box via a Firewire cable.
-.SH OPTIONS
-.TP
-\fB\-d\fR, \fB\-\-debug\fR
-Display debug information
-.TP
-\fB\-h\fR, \fB\-\-help\fR
-Display this help and exit
-.TP
-\fB\-v\fR, \fB\-\-version\fR
-Output version information and exit
-.SS "Channels:"
-.TP
-.B 001 \- 999
-Tune directly to a specific channel
-.SS "Commands:"
-.TP
-.B ok
-Select the highlighted item
-.TP
-.B up
-Move up in the menu or guide
-.TP
-.B down
-Move down in the menu or guide
-.TP
-.B left
-Move left in the menu or guide
+AV/C panelctl \- change channels on, or issue commands to, a firewire AV device
.TP
-.B right
-Move right in the menu or guide
+\fB\-c\fR, \fB\-\-commands\fR
+Print command list (requires a dummy argument)
.TP
-.B menu
-Enter or Exit the Main Menu
-.TP
-.B lock
-Bring up Parental Control screen
-.TP
-.B guide
-Bring up Listings By Time screen
-.TP
-.B favorite
-Scan through just your favorite channels
-.TP
-.B exit
-Return to live TV from the menu or guide
-.TP
-.B enter
-Enter the digital Music menu
-.TP
-.B channelup
-Change channel up
-.TP
-.B channeldown
-Change channel down
-.TP
-.B last
-Return to the previous menu or channel
+\fB\-d\fR, \fB\-\-debug\fR
+Debug mode
.TP
+\fB\-g\fR, \fB\-\-guid\fR=\fIGUID\fR
+Specify GUID for the STB to control
+.HP
+\fB\-n\fR, \fB\-\-swversion\fR=\fISW_VERSION\fR Specify sofware version of STB
+.TP
+\fB\-s\fR, \fB\-\-specid\fR=\fISPEC_ID\fR
+Specify spec_id of STB to control
+.TP
+\fB\-v\fR, \fB\-\-verbose\fR
+Produce verbose output
+.TP
+\-?, \fB\-\-help\fR
+Give this help list
+.TP
+\fB\-\-usage\fR
+Give a short usage message
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+Print program version
+.PP
+Mandatory or optional arguments to long options are also mandatory or optional
+for any corresponding short options.
+.PP
+This program is mostly useful for a firewire tuner or set\-top box with an AV
+interface. Use it to issue a command (panelctl <command>) or to change channels
+on the tuner (panelctl <channel>).
+To get a list of legal commands, use the \fB\-\-commands\fR switch.
+.PP
+By default, panelctl will control the first Motorola STB on the firewire chain.
+This will only work with some Motorola STBs. To control any other STB, or to
+control multiple STBs, specify the GUID or both the spec_id and software
+version for the desired STB. This can be found out by running "panelctl \fB\-v\fR \fB\-g\fR 1
+1". Because there won't be a STV with GUID of 1, it will run through all
+possible devices and print the info for each one. Once the GUID, or the spec_id
+and sw_version of the desired device has been learned, it can be used in
+following commands, e.g. "panelctl \fB\-g\fR 0x123456 666". Generally, it will be a
+better approach to use guid, since this will be unique to each STB.
+.PP
+By: Stacey D. Son, John Woodell, Dan Dennedy, and Jerry Fiddler
+Copyright (C) 2004\-2009
+.SH "SEE ALSO"
+The full documentation for
+.B panelctl
+is maintained as a Texinfo manual. If the
.B info
-See a description of the current show
-.TP
-.B help
-See helpful information
-.TP
-.B pageup
-Move up one page in the menu or guide
-.TP
-.B pagedown
-Move down one page in the menu or guide
-.TP
-.B power
-Toggle the device on or off
-.TP
-.B volumeup
-Change volume up
-.TP
-.B volumedown
-Change volume down
-.TP
-.B mute
-Toggle sound on or off
-.TP
-.B play
-Play DVR or On\-Demand content
-.TP
-.B stop
-Stop DVR or On\-Demand content
-.TP
-.B pause
-Pause DVR or On\-Demand content
-.TP
-.B record
-Record content on the DVR
-.TP
-.B rewind
-Rewind DVR or On\-Demand content
-.TP
-.B fastforward
-Fast Forward DVR or On\-Demand content
-.TP
-.B soundoff
-Turn sound off
-.TP
-.B soundon
-Turn sound on
-.TP
-.B num0 \- num9
-Emulate a number key pressed
-.SH AUTHOR
-.TP
-Written by Stacey Son, John Woodell, and Dan Dennedy.
-.SH COPYRIGHT
-.TP
-Copyright (C) 2004\-2006
-.SH SEE ALSO
-.TP
-.B dvcont
+and
+.B panelctl
+programs are properly installed at your site, the command
+.IP
+.B info panelctl
+.PP
+should give you access to the complete manual.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libavc1394-0.5.3/test/panelctl.c new/libavc1394-0.5.4/test/panelctl.c
--- old/libavc1394-0.5.3/test/panelctl.c 2006-05-22 02:22:36.000000000 +0200
+++ new/libavc1394-0.5.4/test/panelctl.c 2010-07-28 06:35:02.000000000 +0200
@@ -27,18 +27,122 @@
#include
#include
#include
+#include
#include
#include
#include
#include
#include
-#define version "0.1"
-
// Motorola DCT-6x00 IDs
#define MOTDCT_SPEC_ID 0x00005068
#define MOTDCT_SW_VERSION 0x00010101
+const char *argp_program_version =
+"panelctl 0.2";
+
+char *input; /* the argument passed to the program */
+int verbose; /* The -v flag */
+int debug; /* -d flag */
+int printcommands; /* -c flag */
+unsigned ctl_guid; /* non-zero if -g flag is specified */
+unsigned ctl_spec_id;
+unsigned ctl_sw_version;
+
+/*
+ OPTIONS. Field 1 in ARGP.
+ Order of fields: {NAME, KEY, ARG, FLAGS, DOC}.
+*/
+static struct argp_option options[] =
+{
+ {"verbose", 'v', 0, 0, "Produce verbose output"},
+ {"debug", 'd', 0, 0, "Debug mode"},
+ {"commands", 'c', 0, 0, "Print command list (requires a dummy argument)"},
+ {"guid", 'g', "GUID", 0, "Specify GUID for the STB to control"},
+ {"specid", 's', "SPEC_ID", 0, "Specify spec_id of STB to control"},
+ {"swversion", 'n', "SW_VERSION", 0, "Specify sofware version of STB"},
+ {0}
+};
+
+
+/*
+ PARSER. Field 2 in ARGP.
+ Order of parameters: KEY, ARG, STATE.
+*/
+static error_t
+parse_opt (int key, char *arg, struct argp_state *state)
+{
+ switch (key)
+ {
+ case 'v':
+ verbose = 1;
+ break;
+ case 'd':
+ debug = 1;
+ break;
+ case 'c' :
+ printcommands = 1;
+ break;
+ case 'g':
+ sscanf (arg, "%x", &ctl_guid);
+ break;
+ case 's':
+ sscanf (arg, "%x", &ctl_spec_id);
+ break;
+ case 'n' :
+ sscanf (arg, "%x", &ctl_sw_version);
+ break;
+ case ARGP_KEY_ARG:
+ if (state->arg_num != 0)
+ {
+ argp_usage(state);
+ }
+ input = arg;
+ break;
+ case ARGP_KEY_END:
+ if (state->arg_num != 1)
+ {
+ argp_usage (state);
+ }
+ break;
+ default:
+ return ARGP_ERR_UNKNOWN;
+ }
+ return 0;
+}
+
+/*
+ ARGS_DOC. Field 3 in ARGP.
+ A description of the non-option command-line arguments
+ that we accept.
+*/
+static char args_doc[] = "";
+
+/*
+ DOC. Field 4 in ARGP.
+ Program documentation.
+*/
+static char doc[] =
+"AV/C panelctl - change channels on, or issue commands to, a firewire AV device\v\
+This program is mostly useful for a firewire tuner or set-top box with an AV interface. \
+Use it to issue a command (panelctl <command>) or to change channels on the tuner (panelctl <channel>). \
+\nTo get a list of legal commands, use the --commands switch. \
+\n\n\
+By default, panelctl will control the first Motorola STB on the firewire chain. This will only work \
+with some Motorola STBs. To control any other STB, or to control multiple STBs, specify the GUID or both the \
+spec_id and software version for the desired \
+STB. This can be found out by running \"panelctl -v -g 1 1\". Because there won\'t be a STV with GUID of 1, \
+it will run through all possible devices and print the info for each one. Once the GUID, or the spec_id and sw_version of the \
+desired device has been learned, it can be used in following commands, e.g. \"panelctl -g 0x123456 666\". Generally, it will \
+be a better approach to use guid, since this will be unique to each STB. \
+\n\n\
+By: Stacey D. Son, John Woodell, Dan Dennedy, and Jerry Fiddler\n\
+Copyright (C) 2004-2009\n";
+
+/*
+ The ARGP structure itself.
+*/
+static struct argp argp = {options, parse_opt, args_doc, doc};
#define CTL_CMD_PRESS AVC1394_CTYPE_CONTROL | AVC1394_SUBUNIT_TYPE_PANEL | \
AVC1394_SUBUNIT_ID_0 | AVC1394_PANEL_COMMAND_PASS_THROUGH | \
@@ -130,35 +234,16 @@
exit(1);
}
-void ver()
-{
- printf("panelctl (libavc1394) %s\n\n", version);
- printf("AV/C Panel control program\n"
- "By: Stacey D. Son, John Woodell, and Dan Dennedy\n"
- "Copyright (C) 2004-2006\n"
- );
- exit(1);
-}
-void usage()
+void doprintcommands()
{
- printf("Usage: panelctl [OPTION] \n"
- "Send control commands via IEEE1394 (firewire),\n"
- "to an AV/C Panel, e.g. Motorola DCT (digital cable box).\n\n"
- "Options:\n"
- " -d, --debug Display debug information\n"
- //" -s, --status Display status of device and exit\n"
- " -h, --help Display this help and exit\n"
- " -v, --version Output version information and exit\n\n"
- "Channels:\n"
- " 001 - 999 Tune directly to a specific channel\n\n"
- "Commands:\n"
+ printf("Panelctl commands:\n"
);
int i;
for (i = 0; 0 != command_table[i].string; ++i) {
two_col(command_table[i].string, command_table[i].desc);
}
- printf(" num0 - num9 Emulate a number key pressed\n\n");
+ printf(" num0 - num9 Emulate a number key pressed\n");
exit(1);
}
@@ -166,25 +251,32 @@
{
rom1394_directory dir;
int device = UNKNOWN;
- int debug = 0;
+
quadlet_t cmd[2];
- char *input = NULL;
int channel;
+ int guid;
- if (argc == 1) {
- usage();
- } else if (argc > 1 && argv[1][0] == '-' && (argv[1][1] == 'h' || argv[1][2] == 'h')) {
- usage();
- } else if (argc > 1 && argv[1][0] == '-' && (argv[1][1] == 'v' || argv[1][2] == 'v')) {
- ver();
- } else if (argc > 1 && argv[1][0] == '-' && (argv[1][1] == 's' || argv[1][2] == 's')) {
- status();
- } else if (argc == 3 && argv[1][0] == '-' && argv[1][1] == 'd') {
- debug = 1;
- input = argv[2];
- } else {
- input = argv[1];
- }
+
+ /* Set default argument defaults */
+ input = NULL;
+ verbose = 0;
+ ctl_guid = 0;
+ ctl_spec_id = MOTDCT_SPEC_ID;
+ ctl_sw_version = MOTDCT_SW_VERSION;
+
+ /* Get the switches and argument */
+ argp_parse (&argp, argc, argv, 0, 0, 0);
+
+ if (printcommands) {
+ doprintcommands ();
+ exit (0);
+ }
+
+ if (debug != 0) {
+ /* Print argument values */
+ printf ("verbose = %d. guid = 0x%x\n", verbose, ctl_guid);
+ printf ("ARG = %s\n", input);
+ }
raw1394handle_t handle = raw1394_new_handle_on_port(0);
@@ -205,13 +297,18 @@
fprintf(stderr,"error reading config rom directory for node %d\n", i);
continue;
}
+ guid = rom1394_get_guid(handle, i);
+ if (verbose)
+ printf("node %d: vendor_id=0x%x, model_id=0x%x, spec_id=0x%x, sw_version=0x%x, node_capabilities=0x%x, guid=0x%x.\n",
+ i, dir.vendor_id, dir.model_id, dir.unit_spec_id, dir.unit_sw_version, dir.node_capabilities, guid);
- if (debug)
- printf("node %d: vendor_id = 0x%08x model_id = 0x%08x\n",
- i, dir.vendor_id, dir.model_id);
+ if (guid == ctl_guid) {
+ device = i;
+ break;
+ }
- if ( dir.unit_spec_id == MOTDCT_SPEC_ID &&
- dir.unit_sw_version == MOTDCT_SW_VERSION) {
+ if ( ctl_guid == 0 && dir.unit_spec_id == ctl_spec_id &&
+ dir.unit_sw_version == ctl_sw_version) {
device = i;
break;
}
@@ -233,6 +330,8 @@
digit[1] = (channel % 100) / 10;
digit[0] = (channel % 1000) / 100;
+ if (verbose)
+ printf ("Changing to channel %d on node %d.\n", channel, device);
if (debug)
printf("AV/C Command: %d%d%d = Op1=0x%08X Op2=0x%08X Op3=0x%08X\n",
digit[0], digit[1], digit[2],
@@ -261,6 +360,8 @@
if (value == UNKNOWN) {
fprintf(stderr, "Sorry, that command is unknown.\n");
} else {
+ if (verbose)
+ printf ("Issuing command %s to node %d.\n", input, device);
if (debug) {
printf("AV/C Press Command: Op1=0x%08X\n", CTL_CMD_PRESS | value );
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org