From 74c516a83ada7f2a7d6ab234c5aa95f661b8ea1a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 30 2019 13:01:52 +0000 Subject: import dvgrab-3.5-9.el7 --- diff --git a/.dvgrab.metadata b/.dvgrab.metadata new file mode 100644 index 0000000..f875515 --- /dev/null +++ b/.dvgrab.metadata @@ -0,0 +1 @@ +32246559731c4ec7d3a1d66aa2c58cf5e31416f7 SOURCES/dvgrab-3.5.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1840a72 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dvgrab-3.5.tar.gz diff --git a/SOURCES/dvgrab-3.5-aliasing.patch b/SOURCES/dvgrab-3.5-aliasing.patch new file mode 100644 index 0000000..ff182e9 --- /dev/null +++ b/SOURCES/dvgrab-3.5-aliasing.patch @@ -0,0 +1,41 @@ +--- dvgrab-3.5/filehandler.cc.orig 2013-11-06 15:45:54.000000000 -0500 ++++ dvgrab-3.5/filehandler.cc 2013-11-06 15:45:57.000000000 -0500 +@@ -639,6 +639,12 @@ AVIHandler::~AVIHandler() + Close(); + } + ++static DWORD pack_to_dword(Pack *p) { ++ DWORD ret; ++ ++ ret = p->data[1] | ((DWORD)p->data[2]<<8) | ((DWORD)p->data[3]<<16) | ((DWORD)p->data[4]<<24); ++ return ret; ++} + + void AVIHandler::SetSampleFrame( DVFrame *sample ) + { +@@ -648,19 +654,19 @@ void AVIHandler::SetSampleFrame( DVFrame + sample->GetVideoInfo( videoInfo ); + + sample->GetAAUXPack( 0x50, pack ); +- dvinfo.dwDVAAuxSrc = *( DWORD* ) ( pack.data + 1 ); ++ dvinfo.dwDVAAuxSrc = pack_to_dword(&pack); + sample->GetAAUXPack( 0x51, pack ); +- dvinfo.dwDVAAuxCtl = *( DWORD* ) ( pack.data + 1 ); ++ dvinfo.dwDVAAuxCtl = pack_to_dword(&pack); + + sample->GetAAUXPack( 0x52, pack ); +- dvinfo.dwDVAAuxSrc1 = *( DWORD* ) ( pack.data + 1 ); ++ dvinfo.dwDVAAuxSrc1 = pack_to_dword(&pack); + sample->GetAAUXPack( 0x53, pack ); +- dvinfo.dwDVAAuxCtl1 = *( DWORD* ) ( pack.data + 1 ); ++ dvinfo.dwDVAAuxCtl1 = pack_to_dword(&pack); + + sample->GetVAUXPack( 0x60, pack ); +- dvinfo.dwDVVAuxSrc = *( DWORD* ) ( pack.data + 1 ); ++ dvinfo.dwDVVAuxSrc = pack_to_dword(&pack); + sample->GetVAUXPack( 0x61, pack ); +- dvinfo.dwDVVAuxCtl = *( DWORD* ) ( pack.data + 1 ); ++ dvinfo.dwDVVAuxCtl = pack_to_dword(&pack); + + #ifdef WITH_LIBDV + diff --git a/SPECS/dvgrab.spec b/SPECS/dvgrab.spec new file mode 100644 index 0000000..01da8e1 --- /dev/null +++ b/SPECS/dvgrab.spec @@ -0,0 +1,194 @@ +Summary: Utility to capture video from a DV camera +Name: dvgrab +Version: 3.5 +Release: 9%{?dist} +License: GPLv2+ +Group: Applications/Multimedia +URL: http://www.kinodv.org/ +Source: http://downloads.sourceforge.net/project/kino/%{name}/%{version}/%{name}-%{version}.tar.gz +Patch0: dvgrab-3.5-aliasing.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libraw1394-devel libavc1394-devel libdv-devel +BuildRequires: libiec61883-devel libjpeg-devel +ExcludeArch: s390 s390x + +%description +The dvgrab utility will capture digital video from a DV source on the firewire +(IEEE-1394) bus. + +%prep +%setup -q +%patch0 -p1 -b.alias + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,0755) +%doc README COPYING ChangeLog NEWS +%{_bindir}/dvgrab +%{_mandir}/man1/dvgrab.1* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 3.5-9 +- Mass rebuild 2013-12-27 + +* Wed Nov 6 2013 Jay Fenlason - 3.5-8.1 +- Add a patch to shut up some compiler warnings. (and not segfault on + machines that can't do unaligned accesses) + Resolves: rhbz884472 + +* Wed Feb 13 2013 Fedora Release Engineering - 3.5-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jan 18 2013 Adam Tkac - 3.5-7 +- rebuild due to "jpeg8-ABI" feature drop + +* Fri Dec 21 2012 Adam Tkac - 3.5-6 +- rebuild against new libjpeg + +* Wed Jul 18 2012 Fedora Release Engineering - 3.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Feb 28 2012 Fedora Release Engineering - 3.5-4 +- Rebuilt for c++ ABI breakage + +* Fri Jan 13 2012 Fedora Release Engineering - 3.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 11 2010 Jay Fenlason 3.5-1 +- New upstream release, which obsoletes both patches. +- Correct the Source url to point to sourceforge's current path. + +* Fri Jul 24 2009 Fedora Release Engineering - 3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Mar 19 2009 Jarod Wilson - 3.4-2 +- Set retval to 1 if we get an error, to make life easier for folks + who wrap dvgrab to tell if something went wrong (#486061). + +* Tue Feb 24 2009 Jarod Wilson - 3.4-1 +- New upstream release, v3.4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Feb 03 2009 Jarod Wilson - 3.3-1 +- New upstream release, v3.3 +- Fix build w/gcc 4.4 + +* Tue Aug 05 2008 Jarod Wilson - 3.2-1 +- New upstream release + +* Wed Jul 23 2008 Jarod Wilson - 3.1-5 +- Bump and rebuild for libraw1394 v2.0.0 + +* Wed Jul 16 2008 Tom "spot" Callaway - 3.1-4 +- fix license tag + +* Tue Jun 24 2008 Jarod Wilson - 3.1-3 +- Fix segfault when we get bogus timecodes (#370931) + +* Wed Feb 13 2008 Jarod Wilson - 3.1-2 +- Fix build with gcc 4.3 + +* Wed Dec 12 2007 Jarod Wilson - 3.1-1 +- New upstream release +- Drop libpng, libogg and libvorbis BRs, since dvgrab has + long since dropped support for them (circa v2.1) + +* Mon Oct 22 2007 Jarod Wilson - 3.0-2 +- Fix segfault on cleanup (#331271) +- fix pipe output in conjunction with file capture +- fix hang at end of reading from stdin +- fix potential data loss due to short writes + +* Sun Oct 07 2007 Jarod Wilson - 3.0-1 +- New upstream release + +* Sun Feb 04 2007 Jarod Wilson - 2.1-3 +- Minor clean-ups for core/extras merge review (#225713) + +* Tue Jan 23 2007 Jarod Wilson - 2.1-2 +- It helps to set DESTDIR if you nuke makeinstall... + +* Tue Jan 23 2007 Jarod Wilson - 2.1-1 +- New upstream release + +* Wed Jul 12 2006 Jesse Keating - 2.0-1.2.2 +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 2.0-1.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 2.0-1.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Thu Nov 10 2005 Matthias Saou 2.0-1 +- Update to 2.0. + +* Wed Mar 16 2005 Elliot Lee +- rebuilt + +* Mon Feb 28 2005 Warren Togami 1.7-2 +- gcc4 rebuild + +* Sun Feb 06 2005 Warren Togami 1.7-1 +- 1.7 + +* Sun Sep 19 2004 Warren Togami 1.6-1 +- upgrade to 1.6 + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Mon Apr 05 2004 Warren Togami 1.5-2 +- rebuild against new libdv + +* Thu Feb 12 2004 Warren Togami 1.5-1 +- upgrade to 1.5 +- spec cleanups +- remove INSTALL, TODO; Add NEWS +- Now requires libdv, docs say it is much faster and better output than raw1394 +- BuildRequires libraw1394-devel, libavc1394-devel, libdv-devel, libjpeg-devel, + libpng-devel, libogg-devel, libvorbis-devel + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Thu May 22 2003 Jeremy Katz 1.01-9 +- fix build on gcc 3.3 (include ) + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Thu Dec 12 2002 Tim Powers 1.01-7 +- rebuild on all arches + +* Wed Nov 20 2002 Florian La Roche +- exclude on mainframe + +* Sat Aug 10 2002 Elliot Lee +- rebuilt with gcc-3.2 (we hope) + +* Tue Jul 23 2002 Tim Powers +- build using gcc-3.2-0.1 + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Sun Jun 09 2002 Michael Fulbright +- First RPM build +