Import Debian changes 0.5.4-ok1

libavc1394 (0.5.4-ok1) yangtze; urgency=medium

  * Build for openKylin.
This commit is contained in:
openKylinBot 2022-04-25 22:03:04 +08:00
parent dcc745de11
commit eccfa7370b
18 changed files with 350 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libavc1394 (0.5.4-ok1) yangtze; urgency=medium
* Build for openKylin.
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
11

66
debian/control vendored Normal file
View File

@ -0,0 +1,66 @@
Source: libavc1394
Section: libs
Priority: optional
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Uploaders:
Sebastian Ramacher <sramacher@debian.org>
Build-Depends:
debhelper (>= 11),
libraw1394-dev (>= 0.10.1),
pkg-config
Standards-Version: 4.1.4
Homepage: http://sourceforge.net/projects/libavc1394/
Vcs-Git: https://salsa.debian.org/multimedia-team/libavc1394.git
Vcs-Browser: https://salsa.debian.org/multimedia-team/libavc1394
Package: libavc1394-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends:
libavc1394-0 (= ${binary:Version}),
${misc:Depends},
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
Architecture: any
Multi-Arch: same
Depends:
${misc: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.
Package: libavc1394-tools
Section: utils
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends}
Description: control IEEE 1394 audio/video devices (utilities)
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 provides 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.

56
debian/copyright vendored Normal file
View File

@ -0,0 +1,56 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libavc1394
Upstream-Contact:
Dan Dennedy <dan@dennedy.org>
Jason Howard <jason@spectsoft.com>
Source: http://sf.net/projects/libavc1394/files/
Files: *
Copyright: 2003 Dan Dennedy <dan@dennedy.org>
License: LGPL-2.1+
Files: test/*
Copyright:
2004-2006 by Stacey D. Son <mythdev@son.org>
2001-2003 Dan Dennedy <dan@dennedy.org>
License: GPL-2+
Files: debian/*
Copyright:
2012-2016 Alessio Treglia <alessio@debian.org>
2001-2006 Daniel Kobras <kobras@debian.org>
License: LGPL-2.1+
License: LGPL-2.1+
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.
Comment:
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'.
.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
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.
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'.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

2
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,2 @@
[DEFAULT]
pristine-tar = True

1
debian/libavc1394-0.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/*/lib*.so.*

67
debian/libavc1394-0.symbols vendored Normal file
View File

@ -0,0 +1,67 @@
libavc1394.so.0 libavc1394-0 #MINVER#
avc1394_check_subunit_type@Base 0.5.3
avc1394_close_descriptor@Base 0.5.3
avc1394_close_target@Base 0.5.3
avc1394_init_target@Base 0.5.3
avc1394_open_descriptor@Base 0.5.4
avc1394_read_descriptor@Base 0.5.3
avc1394_send_command@Base 0.5.3
avc1394_send_command_block@Base 0.5.3
avc1394_subunit_info@Base 0.5.3
avc1394_transaction@Base 0.5.3
avc1394_transaction_block2@Base 0.5.3
avc1394_transaction_block@Base 0.5.3
avc1394_transaction_block_close@Base 0.5.3
avc1394_unit_info@Base 0.5.3
avc1394_vcr_decode_status@Base 0.5.3
avc1394_vcr_eject@Base 0.5.3
avc1394_vcr_forward@Base 0.5.3
avc1394_vcr_get_timecode2@Base 0.5.3
avc1394_vcr_get_timecode@Base 0.5.3
avc1394_vcr_is_playing@Base 0.5.3
avc1394_vcr_is_recording@Base 0.5.3
avc1394_vcr_next@Base 0.5.3
avc1394_vcr_next_index@Base 0.5.3
avc1394_vcr_pause@Base 0.5.3
avc1394_vcr_play@Base 0.5.3
avc1394_vcr_previous@Base 0.5.3
avc1394_vcr_previous_index@Base 0.5.3
avc1394_vcr_record@Base 0.5.3
avc1394_vcr_reverse@Base 0.5.3
avc1394_vcr_rewind@Base 0.5.3
avc1394_vcr_seek_timecode@Base 0.5.3
avc1394_vcr_status@Base 0.5.3
avc1394_vcr_stop@Base 0.5.3
avc1394_vcr_trick_play@Base 0.5.3
(optional)avc_fcp_handler@Base 0.5.3
(optional)cooked1394_read@Base 0.5.3
(optional)cooked1394_write@Base 0.5.3
(optional)decode_ctype@Base 0.5.3
(optional)decode_response@Base 0.5.3
(optional)g_command_handler@Base 0.5.3
(optional)htonl_block@Base 0.5.3
(optional)init_avc_response_handler@Base 0.5.3
(optional)ntohl_block@Base 0.5.3
(optional)stop_avc_response_handler@Base 0.5.3
(optional)target_fcp_handler@Base 0.5.3
librom1394.so.0 libavc1394-0 #MINVER#
(optional)add_textual_leaf@Base 0.5.3
(optional)cooked1394_read@Base 0.5.3
(optional)cooked1394_write@Base 0.5.3
(optional)get_leaf_size@Base 0.5.3
(optional)get_unit_size@Base 0.5.3
(optional)make_crc@Base 0.5.3
(optional)proc_directory@Base 0.5.3
(optional)read_textual_leaf@Base 0.5.3
rom1394_add_unit@Base 0.5.3
rom1394_free_directory@Base 0.5.3
rom1394_get_bus_id@Base 0.5.3
rom1394_get_bus_info_block_length@Base 0.5.3
rom1394_get_bus_options@Base 0.5.3
rom1394_get_directory@Base 0.5.3
rom1394_get_guid@Base 0.5.3
rom1394_get_node_type@Base 0.5.3
rom1394_get_size@Base 0.5.3
rom1394_set_directory@Base 0.5.3
(optional)set_textual_leaf@Base 0.5.3
(optional)set_unit_directory@Base 0.5.3

3
debian/libavc1394-dev.install vendored Normal file
View File

@ -0,0 +1,3 @@
usr/include
usr/lib/*/*.so
usr/lib/*/pkgconfig

1
debian/libavc1394-tools.docs vendored Normal file
View File

@ -0,0 +1 @@
README

1
debian/libavc1394-tools.install vendored Normal file
View File

@ -0,0 +1 @@
usr/bin

4
debian/libavc1394-tools.manpages vendored Normal file
View File

@ -0,0 +1,4 @@
test/dvcont.1
test/mkrfc2734.1
test/panelctl.1

View File

@ -0,0 +1,40 @@
Author: Daniel Kobras <kobras@debian.org>
Description: Update documentation to clarify that pluginfo option is not meant
to be understood by non-developers.
---
test/dvcont.1 | 5 +++--
test/dvcont.c | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
--- libavc1394.orig/test/dvcont.1
+++ libavc1394/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 @@ given in format HH:MM:SS:FF as above.
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.orig/test/dvcont.c
+++ libavc1394/test/dvcont.c
@@ -65,7 +65,7 @@ printf("\neject - Tell the camera to eje
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");

View File

@ -0,0 +1,32 @@
Description: Several improvements to the manpages.
- Set an useful whatis-entry to panelctl's manpage.
- Fix use of hyphen as minus sign.
Author: Alessio Treglia <alessio@debian.org>
Forwarded: no
---
test/dvcont.1 | 2 +-
test/panelctl.1 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- libavc1394.orig/test/panelctl.1
+++ libavc1394/test/panelctl.1
@@ -1,7 +1,7 @@
.\" 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 0.2
+panelctl \- remote control for set-top boxes
.SH SYNOPSIS
.B panelctl
[\fIOPTION\fR...] \fI<channel|command>\fR
--- libavc1394.orig/test/dvcont.1
+++ libavc1394/test/dvcont.1
@@ -48,7 +48,7 @@ Tell the camera to play in reverse. If a
.TP
.B trickplay < -14 to +14 >
Tell the camera to play at various speeds.
-0 = forward play, -14 = fastest reverse, -8 = 1X reverse, -1 = slowest reverse,
+0 = forward play, \-14 = fastest reverse, \-8 = 1X reverse, \-1 = slowest reverse,
1 = slowest forward, 8 = 1X forward, 14 = fastest forward.
(Not supported by all cameras.)
.TP

54
debian/patches/0003-misspellings.patch vendored Normal file
View File

@ -0,0 +1,54 @@
Description: Fix various misspellings.
Author: Alessio Treglia <alessio@debian.org>
Forwarded: no
---
libavc1394/avc1394_internal.c | 2 +-
test/dvcont.c | 2 +-
test/panelctl.c | 2 +-
test/romtest.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
--- libavc1394.orig/test/dvcont.c
+++ libavc1394/test/dvcont.c
@@ -100,7 +100,7 @@ int main (int argc, char *argv[])
{
if (!errno)
{
- fprintf(stderr, "Not Compatable!\n");
+ fprintf(stderr, "Not Compatible!\n");
} else {
perror("Couldn't get 1394 handle");
fprintf(stderr, "Is ieee1394, driver, and raw1394 loaded?\n");
--- libavc1394.orig/test/panelctl.c
+++ libavc1394/test/panelctl.c
@@ -282,7 +282,7 @@ int main (int argc, char *argv[])
if (!handle) {
if (!errno) {
- fprintf(stderr, "Not Compatable!\n");
+ fprintf(stderr, "Not Compatible!\n");
} else {
perror("Could not get 1394 handle");
fprintf(stderr, "Is ieee1394, driver, and raw1394 loaded?\n");
--- libavc1394.orig/test/romtest.c
+++ libavc1394/test/romtest.c
@@ -43,7 +43,7 @@ int main (int argc, char *argv[])
#endif
if (!handle) {
if (!errno) {
- printf("Not Compatable!\n");
+ printf("Not Compatible!\n");
} else {
printf("\ncouldn't get handle\n");
printf("Not Loaded!\n");
--- libavc1394.orig/libavc1394/avc1394_internal.c
+++ libavc1394/libavc1394/avc1394_internal.c
@@ -76,7 +76,7 @@ char *decode_ctype(quadlet_t command)
return "NOTIFY";
if (resp == AVC1394_CTYPE_GENERAL_INQUIRY)
return "GENERAL INQUIRY";
- return "UNKOWN CTYPE";
+ return "UNKNOWN CTYPE";
}
int avc_fcp_handler(raw1394handle_t handle, nodeid_t nodeid, int response,

3
debian/patches/series vendored Normal file
View File

@ -0,0 +1,3 @@
0001-plugs_are_devel_only.patch
0002-manpages_improvements.patch
0003-misspellings.patch

11
debian/rules vendored Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- --enable-static=no

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=3
http://sf.net/libavc1394/libavc1394-(.*)\.tar\.gz