From 1b50f7bf2b7985f415f8be09d2d2c18f51bf8f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 14 Oct 2024 14:59:37 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 libiec61883 revision cdfe909ffe22a65794551d8c430c5dd1 --- .gitattributes | 23 +++++++ baselibs.conf | 1 + libiec61883-1.2.0.tar.sign | 17 +++++ libiec61883-1.2.0.tar.xz | 3 + libiec61883.changes | 104 ++++++++++++++++++++++++++++++ libiec61883.keyring | 56 ++++++++++++++++ libiec61883.spec | 129 +++++++++++++++++++++++++++++++++++++ 7 files changed, 333 insertions(+) create mode 100644 .gitattributes create mode 100644 baselibs.conf create mode 100644 libiec61883-1.2.0.tar.sign create mode 100644 libiec61883-1.2.0.tar.xz create mode 100644 libiec61883.changes create mode 100644 libiec61883.keyring create mode 100644 libiec61883.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..bafe0d9 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libiec61883-0 diff --git a/libiec61883-1.2.0.tar.sign b/libiec61883-1.2.0.tar.sign new file mode 100644 index 0000000..e7882b8 --- /dev/null +++ b/libiec61883-1.2.0.tar.sign @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQIcBAABAgAGBQJPAEYAAAoJEHnzb7JUXXnQStkQALZ4274TvRbMfMFudBm/Vk9/ +TDENcx1DCVjzj4pnIlpFddc8leYRfl9Xjdl4MI0y32DLjiKeaaxbpEO+p6w7yFKL +hMoUzsR3G7lP7p5B0tDW7Ewhflb9sg5hmxCtDmV+mC2Yi2t++DHNpzHe9e7+UyTf +fdRYozQjIqiEVafpHjzueGKQ4y6KKf0OY76S67uHJnC+A5ibs+Opc8WSHg/Xkdzs +4ZT/WV110K4K/6tjV2dWZcSgZe8vVh58Up5mrbyqPnHiUUIaWJ2EgbNvIvxCGSdI +30oUDL0p0pMPWT1p4R+elbshI9P0YQZf6kRy74Eu1Mbg/IY/KOfWHtH0TeFEWsYw +5HjuiFHr3LuJzXNPhvvfni7eu7j37T36P10JDOqnYAk4ISk+FUlzT+Si9yxJ7tKq +RjtiRiP8LfHao2OVV4w146PYUrRE3IMHBLVR6VmppIeROA9gDMXb56ZlvHWGAxO3 +b72RGft65V3zAf0SxVs5Vf+q/sUKBdTy/RgWjjSfYor4O+OBUFJxKJMLLi0Uc9KY +aPcT7i7T7GFQV8OYsmdiDi1QfV/ZppEOJA+OzdSRWVTqRdD82EY83rSfddBwV4Et +kCG2YO9j0Km6hQJjC4c+SsRJOCpFMKwKJj2xoSRw9y9TSB7MQiax2eM8epL3/D5g +iJwYsXZ8AE2FlYuPsmh/ +=xvJ/ +-----END PGP SIGNATURE----- diff --git a/libiec61883-1.2.0.tar.xz b/libiec61883-1.2.0.tar.xz new file mode 100644 index 0000000..6d9e3c5 --- /dev/null +++ b/libiec61883-1.2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1e02c7e276fac37313a2f8c1c33d7a9e19282ff16f32e72435428ff5121f09e +size 233640 diff --git a/libiec61883.changes b/libiec61883.changes new file mode 100644 index 0000000..53bdbe4 --- /dev/null +++ b/libiec61883.changes @@ -0,0 +1,104 @@ +------------------------------------------------------------------- +Sat Nov 14 14:49:25 UTC 2015 - jengelh@inai.de + +- Use new homepage URL, URL for source archive location, and do + gpgkey verification. Set RPM groups to more appropriate values. +- Heed shared library packaging guideline, spell out license + differences. +- Remove unused --with-pic; we build no static libs, and the + shared library always gets it implicitly anyway. +- Name the utility package -tools as with many other pkgs. + +------------------------------------------------------------------- +Wed Jan 2 11:17:33 UTC 2013 - p.drouand@gmail.com + +- Fix a typo mistake on devel Requires package + +------------------------------------------------------------------- +Sat Dec 29 16:25:28 UTC 2012 - p.drouand@gmail.com + +- Update to 1.2.0 version: + * Behavior changes of the backend to firewire-core: + - The isochronous reception buffer is now mapped read/writable rather + than read-only. The raw1394 backend already maps the buffer + read/writable too. Note that writing into the buffer will go + wrong on architectures without cache-coherent DMA if the CPU + and the OHCI write within the same cacheline region, so use this + feature with caution. + - Decrease memory footprint of IR and IT buffers by avoiding some internal rounding up of the buffer size. + * New APIs in : + - raw1394_add_config_rom_descriptor(): + - Add contents to the Configuration ROM of the local node(s). At + runtime, this API is only available if running on top of firewire-core. + It could probably also be implemented with the raw1394 kernel driver if + anybody cared. + - raw1394_remove_config_rom_descriptor(): + - Counterpart to raw1394_add_config_rom_descriptor(). + - raw1394_read_cycle_timer_and_clock(): + - Like the existing raw1394_read_cycle_timer(), but lets the caller choose + between CLOCK_REALTIME (which the former call is always using), + CLOCK_MONOTONIC, or CLOCK_MONOTONIC_RAW. + For example, this enables libffado's audio streaming to run undisturbed + by resets of CLOCK_REALTIME. + At runtime, this call requires firewire-core underneath. + - raw1394_get_speed(): + - Returns the speed code of the maximum possible transmission speed between + a given node and the local node. This takes maximum speeds of all participating + PHYs and the two links into account. This can be used to configure the speed + of isochronous streams. + - At runtime, this call requires firewire-core underneath. + - enum raw1394_iso_speed was extended by RAW1394_ISO_SPEED_800, _1600, and _3200. + * New APIs in : + - Added preprocessor constants L1394_SPEED_BETA, L1394_SPEED_800, _1600, and _3200. + * testlibraw1394: + - Added unit tests of the new APIs. +- Removed patchs: fixed on upstream release: + * libiec61883-1.1.0-lfs.patch + +------------------------------------------------------------------- +Sat Nov 19 20:34:43 UTC 2011 - coolo@suse.com + +- remove source URL, which is no longer valid + +------------------------------------------------------------------- +Sat Nov 19 20:33:23 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Fri Dec 18 13:29:01 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Fri Sep 12 23:12:47 CEST 2008 - crrodriguez@suse.de + +- remove "la" files and static libraries +- use AC_SYS_LARGEFILE to detect the need of _FILE_OFFSET_BITS=64 + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Sun Jan 27 15:35:01 CET 2008 - aj@suse.de + +- Do not install libtool wrapper. + +------------------------------------------------------------------- +Tue Jan 30 18:24:34 CET 2007 - jw@suse.de + +- fixed dependencies, support files > 2GB. + +------------------------------------------------------------------- +Fri Jan 26 17:00:50 CET 2007 - ro@suse.de + +- added test-mpeg2 to filelist + +------------------------------------------------------------------- +Mon Oct 16 01:33:20 CEST 2006 - ro@suse.de + +- created package (version 1.1.0) + diff --git a/libiec61883.keyring b/libiec61883.keyring new file mode 100644 index 0000000..7fdd191 --- /dev/null +++ b/libiec61883.keyring @@ -0,0 +1,56 @@ +pub 4096R/0x79F36FB2545D79D0 2011-10-21 + Key fingerprint = 955C 0098 E5C4 6EF9 A152 4814 79F3 6FB2 545D 79D0 +uid [ unknown] Stefan Richter +sub 4096R/0x8243C1F5D30851B0 2011-10-21 + +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBE6hV44BEADusgHdn5C12xzEiqaDlqmidfFN8PSD3pgIq5rDDd8neAwkaVrd +7KVBY4HL3BYKKcWMjdZMdR+0axhcuRQOp74w3F722nUlZna5U9sMbAxbkMvYQbKl +vIkvk+ZR1RpzMLSmiVknD8tsYRtPJjleUV2MZ6FltTghDhXSj/jvdC8hImHpZhjp +lk6gFyUqqdsGXE2xJf6n/PAaZnZnsDnKyUl9tEK1b/HoaZ/jzQVgkm0ErdwsGEOV +jhBedHCTZvYWEvzFm/TSRdWsVwMGv+ugtTpzMYF6WF1WhX2Np2rO3OHZT4odK8xm +5fi5YYw05VIrI6XjxPHXDpa0XMhzeXIvfBL/cijgShp6sm9df8MvRMqk7Vwv14lG +zY32Fh5W+nqbXkIiPR+HPc8g5qBI9S1CxHpjVPSIxAMsHJBABAlxvp5ch71/iEtR +uSF1soulww7xFOKQwyHKhcwWrcpUSUglElMXEcSkElw9mRUWk+bwjQKRlIBLwvKk +qLXROFHl+00XqOxPRh6hYVC+lQusF6uxQChWg5ir9b45F9/EhxlFkUIVnpAG5+ky +Uywaq//1dUR0a+PB8eVxFbOn3wHenw+LUnRdsujuqt8oqt+1oN63sUsIcdGU2AXz +sq4ywwovJ5AN3AusnCP1+7FaFp8wQgoIW1i+91+dvNmyGLeoZ1KgUZRhTQARAQAB +tCpTdGVmYW4gUmljaHRlciA8c3RlZmFuckBzNXI2LmluLWJlcmxpbi5kZT6JAjgE +EwECACIFAk6hV44CGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJEHnzb7JU +XXnQjLgQAJQ2PX8p6mAwFOVGd7GGNWS8MPgXgAljHfN8jT1sOrX+6NdcspM3Fef3 +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XzOwvoAXTw +I//wJjgQ8jt2evBd9+MVn1fXkvkEJC8w1lQZZj2MRUX/qR02s9ZlObBQXsvsFUSI +VGMuI21e5MUvaep08bE23a72cUpziN73rhgCMx1LhCMqtiEcWfujUcKNby0xPZme +C1EN1pkY/Ip6QJsqKJV/6gQidHui9K7w0bkfyPpZKqv+MwFpiRUHx/y/LRbnGg4N +t5NQzR61TJEhe3oQON4894QOx8aTBQM+5YZAhaqItvj3eQARAQABiQIfBBgBAgAJ +BQJOoVeOAhsMAAoJEHnzb7JUXXnQNs0P/3nr5sBzpa2mS4YKm5LN77xwMegvZYqQ +TphDYLK2BVRCMYv40s2ummrhPgkwE1A6JiHai3HewfbkbEFQh08TjOZUTr+DxO/r +5gp9Q7CLjer8eJIv23N/qD/1TJStc3o5XlIB+X0k3FyPAoseP9ucWmZGUMJDtgPi +m0z5yiUt7GbQLjB6HhNCnS1k5LoyumNfdzORVlqqKyoGdJIM3Yiq5tdpqJC2nF8M +nDn93Ryv4aN3bSzuhQhelL9CvokpDoLG+xcFeww7Ytx7ZkFWteZJOnH7rUt82/39 +TO9xiqX8mxTm6Y0YIZc9/zcW9LVIAtflmdWsk7f05abWIR8ER8n4B2NM6Cmcr0U3 +eAN1uWsm1CSSTKvwgD26YyTS6bp7ih4bWJjO72X4SQc971bv+vqNVzPWyt1lo2ai +Qs7JU0EbLlWfTJkzi47Sc6DxwEs9k7eSR07lWnZBaEPWsKIblDKp6gAkUyO7JyD2 +dJDqb6vBlZuNcpZdMQ0FA08JN5URWDt1NP0AFeQWXkr8iws1P34M6POyaRcgGf8X +W7GIsKk4StftefzA/zo4+shuztSocfukl6ZOlJZI97OkXO9HiY/4VbTr18CDtsSL +wyWCSFixcYxO5YGwWEuaR+Yy5ohxVeU96SzYCXwr9y5ayFzLTDScNY91ZRyELDK7 +8fwWIvw2x3j0 +=iBf9 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/libiec61883.spec b/libiec61883.spec new file mode 100644 index 0000000..2508a98 --- /dev/null +++ b/libiec61883.spec @@ -0,0 +1,129 @@ +# +# spec file for package libiec61883 +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: libiec61883 +Version: 1.2.0 +Release: 0 +Summary: Implementation of IEC 61883 +License: GPL-2.0+ and LGPL-2.1+ +Group: Hardware/Other +Url: https://ieee1394.wiki.kernel.org/index.php/Main_Page + +#Git-Web: https://git.kernel.org/cgit/libs/ieee1394/libiec61883.git +#Git-Clone: git://git.kernel.org/pub/scm/libs/ieee1394/libiec61883 +Source: https://www.kernel.org/pub/linux/libs/ieee1394/%name-%version.tar.xz +Source2: https://www.kernel.org/pub/linux/libs/ieee1394/%name-%version.tar.sign +Source3: %name.keyring +Source4: baselibs.conf +BuildRequires: libraw1394-devel +BuildRequires: libtool +BuildRequires: pkg-config +BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This library is an implementation of IEC 61883, part 1 (CIP, plug +registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6 +(AMDTP). Outside of IIDC, nearly all FireWire multimedia devices use +IEC 61883 protocols. + +%package -n libiec61883-0 +Summary: Library implementing IEC 61883 +License: LGPL-2.1+ +Group: System/Libraries + +%description -n libiec61883-0 +This library is an implementation of IEC 61883, part 1 (CIP, plug +registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6 +(AMDTP). Outside of IIDC, nearly all FireWire multimedia devices use +IEC 61883 protocols. + +The libiec61883 library provides a higher level API for streaming DV, +MPEG-2 and audio over Linux IEEE 1394. This includes both reception and +transmission. It uses the new "rawiso" API of libraw1394, which +transparently provides mmap-ed DMA for efficient data transfer. It also +represents the third generation of I/O technology for Linux 1394 for +these media types thereby removing the complexities of additional +kernel modules, /dev nodes, and procfs. It also consolidates features +for plug control registers and connection management that previously +existed in experimental form in an unreleased version of libavc1394. + +%package devel +Summary: Development files for libiec61883 +License: LGPL-2.1+ +Group: Development/Libraries/C and C++ +Requires: libiec61883-0 = %version +%if 0%{?suse_version} && 0%{?suse_version} < 1140 +# already autoderived from libiec61883.pc in new-enough rpm +Requires: libraw1394-devel +%endif + +%description devel +This library is an implementation of IEC 61883, part 1 (CIP, plug +registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6 +(AMDTP). Outside of IIDC, nearly all FireWire multimedia devices use +IEC 61883 protocols. + +The libiec61883 library provides a higher level API for streaming DV, +MPEG-2 and audio over Linux IEEE 1394. + +%package tools +Summary: Command-line utilities for IEC 61883 devices +License: GPL-2.0+ and LGPL-2.1+ +Group: Hardware/Other +# added on 2015-11-14 +Obsoletes: %name < %version-%release +Provides: %name = %version-%release + +%description tools +Utilities to inspect and control IEC 61883 hardware. + +%prep +%setup -q + +%build +export CFLAGS="%optflags -fno-strict-aliasing" +%configure --disable-static +make %{?_smp_mflags} all + +%install +%make_install +libtool --mode=install install -m 755 examples/test-mpeg2 %{buildroot}%{_bindir} +rm -f %{buildroot}%{_libdir}/*.la + +%post -n libiec61883-0 -p /sbin/ldconfig +%postun -n libiec61883-0 -p /sbin/ldconfig + +%files tools +%defattr(-,root,root) +%doc AUTHORS NEWS README +%{_bindir}/* +%doc %{_mandir}/man1/*%{?ext_man} + +%files -n libiec61883-0 +%defattr(-,root,root) +%doc COPYING* +%{_libdir}/libiec61883.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/libiec61883 +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/*.pc + +%changelog