diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6865316 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libavc1394 (0.5.4-ok1) yangtze; urgency=medium + + * Build for openKylin. + + -- openKylinBot Mon, 25 Apr 2022 22:03:04 +0800 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3dc4967 --- /dev/null +++ b/debian/control @@ -0,0 +1,66 @@ +Source: libavc1394 +Section: libs +Priority: optional +Maintainer: Debian Multimedia Maintainers +Uploaders: + Sebastian Ramacher +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1bb151f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,56 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libavc1394 +Upstream-Contact: + Dan Dennedy + Jason Howard +Source: http://sf.net/projects/libavc1394/files/ + +Files: * +Copyright: 2003 Dan Dennedy +License: LGPL-2.1+ + +Files: test/* +Copyright: + 2004-2006 by Stacey D. Son + 2001-2003 Dan Dennedy +License: GPL-2+ + +Files: debian/* +Copyright: + 2012-2016 Alessio Treglia + 2001-2006 Daniel Kobras +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 . + +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 . diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..cec628c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/debian/libavc1394-0.install b/debian/libavc1394-0.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/debian/libavc1394-0.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/debian/libavc1394-0.symbols b/debian/libavc1394-0.symbols new file mode 100644 index 0000000..de3c998 --- /dev/null +++ b/debian/libavc1394-0.symbols @@ -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 diff --git a/debian/libavc1394-dev.install b/debian/libavc1394-dev.install new file mode 100644 index 0000000..90d8c98 --- /dev/null +++ b/debian/libavc1394-dev.install @@ -0,0 +1,3 @@ +usr/include +usr/lib/*/*.so +usr/lib/*/pkgconfig diff --git a/debian/libavc1394-tools.docs b/debian/libavc1394-tools.docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/libavc1394-tools.docs @@ -0,0 +1 @@ +README diff --git a/debian/libavc1394-tools.install b/debian/libavc1394-tools.install new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/libavc1394-tools.install @@ -0,0 +1 @@ +usr/bin diff --git a/debian/libavc1394-tools.manpages b/debian/libavc1394-tools.manpages new file mode 100644 index 0000000..f74ba51 --- /dev/null +++ b/debian/libavc1394-tools.manpages @@ -0,0 +1,4 @@ +test/dvcont.1 +test/mkrfc2734.1 +test/panelctl.1 + diff --git a/debian/patches/0001-plugs_are_devel_only.patch b/debian/patches/0001-plugs_are_devel_only.patch new file mode 100644 index 0000000..0ebdbea --- /dev/null +++ b/debian/patches/0001-plugs_are_devel_only.patch @@ -0,0 +1,40 @@ +Author: Daniel Kobras +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 (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"); diff --git a/debian/patches/0002-manpages_improvements.patch b/debian/patches/0002-manpages_improvements.patch new file mode 100644 index 0000000..728c470 --- /dev/null +++ b/debian/patches/0002-manpages_improvements.patch @@ -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 +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\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 diff --git a/debian/patches/0003-misspellings.patch b/debian/patches/0003-misspellings.patch new file mode 100644 index 0000000..a2b2c75 --- /dev/null +++ b/debian/patches/0003-misspellings.patch @@ -0,0 +1,54 @@ +Description: Fix various misspellings. +Author: Alessio Treglia +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, diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..ba43544 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +0001-plugs_are_devel_only.patch +0002-manpages_improvements.patch +0003-misspellings.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..46bb4fc --- /dev/null +++ b/debian/rules @@ -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 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..328fb11 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/libavc1394/libavc1394-(.*)\.tar\.gz