commit 5ac9bbb7f05e0780e3e8851493cbf21769ceb6a4a98f59fd2fa0bc8480ff4cf9 Author: Adrian Schröter Date: Fri May 3 15:44:57 2024 +0200 Sync from SUSE:SLFO:Main libraw1394 revision ecaf8e2700e6eeb507a9e7789a344c9d diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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..f407708 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,6 @@ +libraw1394-11 + obsoletes "libraw1394- <= " + provides "libraw1394- = " +libraw1394-devel + requires -libraw1394- + requires "libraw1394-11- = " diff --git a/libraw1394-2.1.2.tar.sign b/libraw1394-2.1.2.tar.sign new file mode 100644 index 0000000..b3fa9cc --- /dev/null +++ b/libraw1394-2.1.2.tar.sign @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAABCAAGBQJXAS4VAAoJEHnzb7JUXXnQeLcQAOQE/BvJg2ODhsXxIaah2EqO +4MZ2xYN+UO+I1y/ij6EMHpFSZqdkFo4EphytY3jRl628KEZRBbQVn9hcvZgmLH6b +uIgrxBPATrBz20AWNTreb7cURJYf+5o3u5dps5Xf3SQjFING3I2sPueNkTqI11aM +lYu0/ggD8nAGLQDV43xahgr6f+f6/VvwViGb873yQCuaF/6uhaTHDzTrh0H5fpgC +ilWxGSuE6fuStPCOoxALpC1uILEQq6UGD+RVkF0fDV4Ri2RMJ5K9Ve1SFq/CatUO +lAsjXpezDXC15KyYVoM+XSf8sj8C6z5jvqBpIGkwBSxRqfto2xkXDJWRWvA3twxy +rdX8YA30P4vhjAExpKle4MivMhwN2NWILzSnZEqSP6xNEyKdgLNGRWo5AsZ/Jc/F +inH1gOHibFjdAWL3d6x//t5Paf7axgCZwMqH7msYLheuWxZWIuxP2sxXc7jEbl2Z +Y1BUEknjUA9W0WhJ/PgwFdBjhY0p+93ozDGXX+JSem2EjCC3TrUNHGsk9HRAzTA8 +TnW/ifASvpMx8bNf7p6D5P1V9nD3bsWXDG8W61VUrEnkVYMqp0iGxGes0DD9wwpt +ShD9tMxy/FuMAaKANiKmaXQLR0v9CYURS5lz/lRDfGBEYxTu6Fy84BGH6MRBjf+/ +WrRWelXOXel3zqJgOhb8 +=i6Af +-----END PGP SIGNATURE----- diff --git a/libraw1394-2.1.2.tar.xz b/libraw1394-2.1.2.tar.xz new file mode 100644 index 0000000..5c555dc --- /dev/null +++ b/libraw1394-2.1.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03ccc69761d22c7deb1127fc301010dd13e70e44bb7134b8ff0d07590259a55e +size 313120 diff --git a/libraw1394-exports.patch b/libraw1394-exports.patch new file mode 100644 index 0000000..7400081 --- /dev/null +++ b/libraw1394-exports.patch @@ -0,0 +1,16 @@ +--- + src/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +Index: libraw1394-2.1.1/src/Makefile.am +=================================================================== +--- libraw1394-2.1.1.orig/src/Makefile.am ++++ libraw1394-2.1.1/src/Makefile.am +@@ -5,6 +5,7 @@ MAINTAINERCLEANFILES = Makefile.in + lib_LTLIBRARIES = libraw1394.la + + libraw1394_la_LDFLAGS = -version-info @lt_major@:@lt_revision@:@lt_age@ ++libraw1394_la_LDFLAGS += -export-symbols-regex '^raw1394_' -no-undefined + + libraw1394_la_SOURCES = \ + main.c \ diff --git a/libraw1394.changes b/libraw1394.changes new file mode 100644 index 0000000..822df5d --- /dev/null +++ b/libraw1394.changes @@ -0,0 +1,230 @@ +------------------------------------------------------------------- +Sun Aug 16 00:59:00 UTC 2020 - Dirk Mueller + +- update to 2.1.2 + - Fix build with some alternative C libraries and with some older + build environments. No functional changes. + +------------------------------------------------------------------- +Sat Nov 14 15:14:55 UTC 2015 - jengelh@inai.de + +- Update to new upstream release 2.2.1 +* Align fw_handle buffer for 64-bit access +* Prevent requests for previously provided ISO TX packets +* Save and restore errno in raw1394_new_handle{,_on_port} for + legacy applications +- Store and use gpg key to verify. Trim description and update it + for the contemporary Firewire stack. +- Make libraw1394-exports.patch simpler by avoiding ^- lines. +- Drop redundant --with-pic; it is only used for static libs (which + we do not build), and always on anyway for shared libraires. +- Name the utility package -tools as with many other pkgs. +- Remove non-library packages from baselibs.conf. + +------------------------------------------------------------------- +Sat Mar 21 07:56:45 UTC 2015 - mpluskal@suse.com + +- Cleanup spec file with spec-cleaner +- Remove obsolete ppc provides/obsoletes + +------------------------------------------------------------------- +Thu Sep 4 18:51:55 UTC 2014 - crrodriguez@opensuse.org + +- libraw1394-exports.patch: Only symbols prefixed with + raw1394_ are part of the public API, everything else + is private. + +------------------------------------------------------------------- +Sat Mar 23 13:57:19 UTC 2013 - zaitor@opensuse.org + +- Update to version 2.1.0: + + Behavior changes of the backend to firewire-core: + - The isochronous reception buffer is now mapped read/writable + rather than read-only. + - 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. + - 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, CLOCK_MONOTONIC, or + CLOCK_MONOTONIC_RAW. + - raw1394_get_speed(): Returns the speed code of the maximum + possible transmission speed between a given node and the + local node. + - 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. +- Changes from version 2.0.9: + + Fix that raw1394_iso_recv_flush() did not have any effect when + running on firewire-core alias juju kernel drivers. + This fix needs kernel 3.4 or later at runtime. + + Remove build-time dependency on linux-headers. + + Remove --with-fw-dir configure switch which is no longer useful + + Janitorial fixes. +- Changes from version 2.0.8: + + Performance improvement: Configuration ROM access via + raw1394_read() is dramatically faster and very robust now. + + Interoperability fix: Internally retry + raw1394_read/write/lock/lock64() after ack-busy response. + + Small bug fixes. + +------------------------------------------------------------------- +Tue Jul 26 12:04:28 UTC 2011 - aj@suse.de + +- Update to version 2.0.7: + * Fixes playback to some audio devices based on the DICE chipset. + * Several fixes for using libraw1394 on top of the firewire-core + kernel driver (as opposed to raw1394 which was removed in kernel + 2.6.37). +------------------------------------------------------------------- +Sat Oct 16 15:18:39 CEST 2010 - jslaby@suse.de + +- convert Summary(pt_BR) to UTF-8 + +------------------------------------------------------------------- +Thu Sep 30 10:42:46 UTC 2010 - davejplater@gmail.com + +- Update to version 2.0.5 +- See https://ieee1394.wiki.kernel.org/index.php/Release_Notes_-_Libraries + for changes since 1.3.0 +- Upstream urls changed as http://www.linux1394.org/ is up for sale + and no longer in use. +- Removed patch libraw1394.eventloop-return.patch, already integrated. +- Removed mpg1394grab.patch and mpg1394grab-beautify.patch as the upstream + maintainer says that streaming video support is now integrated. + +------------------------------------------------------------------- +Sat Apr 24 09:09:20 UTC 2010 - coolo@novell.com + +- buildrequire pkg-config to provide the correct symbols + +------------------------------------------------------------------- +Fri Dec 18 13:27:25 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Wed Jan 7 12:34:56 CET 2009 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + +------------------------------------------------------------------- +Wed Jun 25 11:49:35 CEST 2008 - olh@suse.de + +- eventloop.c: fix to retry read when failed with EINTR. + +------------------------------------------------------------------- +Wed May 21 20:35:47 CEST 2008 - cthiel@suse.de + +- fix baselibs.conf + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Tue Mar 18 20:58:03 CET 2008 - crrodriguez@suse.de + +- remove pointless libtool archive with empty dependency_libs +- remove static libraries +- update to version 1.3.0 + * added raw1394_read_cycle_timer() as used by FFADO project. + * added support for environment variable RAW1394DEV to override default device node /dev/raw1394. + * added --with-valgrind to configure script. other optimizations and bugfixes - see ChangeLog. + +------------------------------------------------------------------- +Sat Aug 4 17:22:06 CEST 2007 - olh@suse.de + +- remove isodump.5 man page + split libraw1394-8 package which contains only libraries + +------------------------------------------------------------------- +Mon Jan 29 12:56:37 CET 2007 - olh@suse.de + +- add mpg1394grab (#236537) + +------------------------------------------------------------------- +Tue Jul 18 07:43:33 CEST 2006 - olh@suse.de + +- update to version 1.2.1 + generate compiler warnings on deprecated functions (legacy isochronous). + bugfixes and optimizations. + +------------------------------------------------------------------- +Wed Jan 25 21:37:42 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Jul 1 16:09:14 CEST 2005 - olh@suse.de + +- update to version 1.2.0 + add bugfix stalling on iso transmission underflow + +------------------------------------------------------------------- +Tue Jan 11 19:32:11 CET 2005 - olh@suse.de + +- update to version 1.1.0 + +------------------------------------------------------------------- +Mon Mar 8 17:46:36 CET 2004 - lmuelle@suse.de + +- update to version 0.10.1 + +------------------------------------------------------------------- +Fri Feb 20 17:44:55 CET 2004 - kkaempf@suse.de + +- adapt aclocal definitions to automake 1.8.x (#34793) + +------------------------------------------------------------------- +Sun Jan 11 09:35:38 CET 2004 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Mon Jan 27 13:57:16 CET 2003 - kukuk@suse.de + +- Move .so symlinks into -devel package [Bug #22382] + +------------------------------------------------------------------- +Sun Jan 12 21:55:44 CET 2003 - aj@suse.de + +- Fix multiline strings. + +------------------------------------------------------------------- +Thu Jun 20 00:39:42 CEST 2002 - ro@suse.de + +- run autoreconf + +------------------------------------------------------------------- +Thu Jun 6 22:10:51 CEST 2002 - bk@suse.de + +- fix defattr properly(for perms of includedir, mandir, docdir) +- never ever include %{_mandir}/* (dirs!) into package filelist +- fix rpm license tag to LGPL and add URL tag und use optflags + +------------------------------------------------------------------- +Tue May 28 02:47:33 CEST 2002 - lmuelle@suse.de + +- fixed directory permissions of includedir + +------------------------------------------------------------------- +Tue Feb 26 16:28:26 CET 2002 - kraxel@suse.de + +- added automake m4 file to devel package file list +- fixed s390x build failure + +------------------------------------------------------------------- +Sat Sep 22 00:11:37 CEST 2001 - bjacke@suse.de + +- initial build: version 0.9.0 + diff --git a/libraw1394.keyring b/libraw1394.keyring new file mode 100644 index 0000000..f8fe0b4 --- /dev/null +++ b/libraw1394.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----- + +mQINBE6hV44BEADusgHdn5C12xzEiqaDlqmidfFN8PSD3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TJEhe3oQON4894QOx8aTBQM+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/libraw1394.no-isodump.patch b/libraw1394.no-isodump.patch new file mode 100644 index 0000000..ae1fef0 --- /dev/null +++ b/libraw1394.no-isodump.patch @@ -0,0 +1,17 @@ +--- + doc/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -1,8 +1,8 @@ +-EXTRA_DIST = testlibraw.1.in sendiso.1.in dumpiso.1.in isodump.5.in \ ++EXTRA_DIST = testlibraw.1.in sendiso.1.in dumpiso.1.in \ + libraw1394.sgml + + # man files for testlibraw +-man_MANS = testlibraw.1 sendiso.1 dumpiso.1 isodump.5 ++man_MANS = testlibraw.1 sendiso.1 dumpiso.1 + + # libraw1394 docbook documentation + diff --git a/libraw1394.spec b/libraw1394.spec new file mode 100644 index 0000000..3376cf8 --- /dev/null +++ b/libraw1394.spec @@ -0,0 +1,119 @@ +# +# spec file for package libraw1394 +# +# Copyright (c) 2020 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +Name: libraw1394 +Version: 2.1.2 +Release: 0 +Summary: A Firewire Interface library +License: LGPL-2.1-or-later +Group: Development/Libraries/C and C++ +URL: http://www.dennedy.org/libraw1394/ +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 +Patch0: libraw1394.no-isodump.patch +Patch1: libraw1394-exports.patch +BuildRequires: libtool +BuildRequires: openjade-devel +BuildRequires: pkgconfig +BuildRequires: xz + +%description +libraw1394 provides direct access to the connected 1394 buses to +userspace. Through this library, applications can directly send to +and receive from other nodes without requiring a kernel driver for +the protocol in question. + +%package 11 +Summary: A Firewire Interface library +Group: System/Libraries + +%description 11 +libraw1394 provides direct access to the connected 1394 buses to +userspace. Through this library, applications can directly send to +and receive from other nodes without requiring a kernel driver for +the protocol in question. + +libraw1394 abstracts the interface that is used to communicate with +the kernel. It works with both the Juju stack (firewire-core.ko; +/dev/fw*; present since Linux kernel 2.6.22) and the old Linux1394 +(raw1394.ko; /dev/raw1394; present until 2.6.36). + +%package devel +Summary: Development files for libraw1394 +Group: Development/Libraries/C and C++ +Summary(pt_BR): Arquivos de desenvolvimento e cabeçalhos para o libraw1394 +Requires: %{name}-11 = %{version} +Requires: glibc-devel + +%description devel +libraw1394 provides direct access to the connected 1394 buses to +userspace. Through this library, applications can directly send to +and receive from other nodes without requiring a kernel driver for +the protocol in question. + +This subpackage contains the library links and headers for +libraw1394. + +%package tools +Summary: Command-line utilties to manipulate IEEE1394 devices +# added on 2015-11-14 +Group: Hardware/Other +Obsoletes: %{name} < %{version}-%{release} +Provides: %{name} = %{version}-%{release} + +%description tools +Command-line utilities to inspect and send IEEE 1394 isochronous +packets, and to test the basic functionality of raw1394. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 + +%build +autoreconf --force --install +%configure --disable-static +%make_build all + +%install +%make_install +# empty dependency libs +rm -f %{buildroot}%{_libdir}/libraw1394.la + +%post 11 -p /sbin/ldconfig +%postun 11 -p /sbin/ldconfig + +%files tools +%license COPYING* +%doc AUTHORS NEWS README +%{_bindir}/testlibraw +%{_bindir}/dumpiso +%{_bindir}/sendiso +%{_mandir}/man1/* + +%files 11 +%{_libdir}/libraw1394.so.11* + +%files devel +%{_includedir}/libraw1394 +%{_libdir}/libraw1394.so +%{_libdir}/pkgconfig/libraw1394.pc + +%changelog