2007-01-15 23:21:36 +00:00
|
|
|
#
|
2008-06-25 18:45:42 +00:00
|
|
|
# spec file for package libdc1394 (Version MACRO)
|
2007-01-15 23:21:36 +00:00
|
|
|
#
|
2008-01-15 04:47:57 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:21:36 +00:00
|
|
|
#
|
2008-10-06 15:58:32 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:21:36 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-12 18:49:25 +00:00
|
|
|
|
2007-01-15 23:21:36 +00:00
|
|
|
Name: libdc1394
|
2007-08-05 15:34:34 +00:00
|
|
|
%define libdc1394_12_version 1.2.2
|
2008-06-25 18:45:42 +00:00
|
|
|
%define libdc1394_version 2.0.2
|
2008-01-24 20:28:01 +00:00
|
|
|
BuildRequires: libraw1394-devel
|
2008-01-15 04:47:57 +00:00
|
|
|
License: LGPL v2.1 or later
|
2007-07-13 20:38:40 +00:00
|
|
|
Group: Hardware/Camera
|
2008-01-15 04:47:57 +00:00
|
|
|
AutoReqProv: on
|
2007-08-05 15:34:34 +00:00
|
|
|
Version: %{libdc1394_version}
|
2008-10-06 15:58:32 +00:00
|
|
|
Release: 10
|
2008-01-15 04:47:57 +00:00
|
|
|
Url: http://sourceforge.net/projects/libdc1394/
|
2007-01-15 23:21:36 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: 1394-Based Digital Camera Control Library
|
2007-08-05 15:34:34 +00:00
|
|
|
Source1: libdc1394-%{libdc1394_12_version}.tar.bz2
|
2008-01-15 04:47:57 +00:00
|
|
|
Source2: libdc1394-%{libdc1394_version}.tar.bz2
|
2008-06-25 18:45:42 +00:00
|
|
|
Source3: %{name}-rpmlintrc
|
2008-01-24 20:28:01 +00:00
|
|
|
Patch0: libdc1394.no-x11.patch
|
2008-04-12 18:49:25 +00:00
|
|
|
Patch1: libdc1394.ac.patch
|
2008-06-25 18:45:42 +00:00
|
|
|
Patch2: libdc1394-swab_fix.patch
|
2008-10-06 15:58:32 +00:00
|
|
|
Patch3: libdc1394.raw1394_set_iso_handler.patch
|
2007-01-15 23:21:36 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This library provides functionality for controlling any camera that
|
2008-01-16 16:15:22 +00:00
|
|
|
conforms to the 1394-Based Digital Camera Specification. It utilizes
|
|
|
|
the low-level functionality provided by libraw1394 to communicate with
|
|
|
|
the camera.
|
2007-01-15 23:21:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-05 15:34:34 +00:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gord Peters <GordPeters@smarttech.com>
|
|
|
|
Per Dalgas Jakobsen <pdj@maridan.dk>
|
|
|
|
Chris Urmson <curmson@ri.cmu.edu>
|
|
|
|
Damien Douxchamps <douxchamps@ieee.org>
|
|
|
|
Dan Dennedy <dan@dennedy.org>
|
|
|
|
David Moore <david@startbox.com>
|
|
|
|
John Stanley <stanley@peak.org>
|
|
|
|
|
|
|
|
%package -n libdc1394_control12
|
2008-04-12 18:49:25 +00:00
|
|
|
License: LGPL v2.1 or later
|
2007-08-05 15:34:34 +00:00
|
|
|
Summary: 1394-Based Digital Camera Control Library
|
|
|
|
Group: Hardware/Camera
|
|
|
|
Version: %{libdc1394_12_version}
|
2008-10-06 15:58:32 +00:00
|
|
|
Release: 8
|
2007-08-05 15:34:34 +00:00
|
|
|
|
|
|
|
%description -n libdc1394_control12
|
|
|
|
This library provides functionality for controlling any camera that
|
|
|
|
conforms to the 1394-Based Digital Camera Specification (which can be
|
|
|
|
found at
|
|
|
|
http://www.1394ta.org/Download/Technology/Specifications/Camera120.pdf)
|
|
|
|
. It utilizes the low-level functionality provided by libraw1394 to
|
|
|
|
communicate with the camera.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gord Peters <GordPeters@smarttech.com>
|
|
|
|
Per Dalgas Jakobsen <pdj@maridan.dk>
|
|
|
|
Chris Urmson <curmson@ri.cmu.edu>
|
|
|
|
Damien Douxchamps <douxchamps@ieee.org>
|
|
|
|
Dan Dennedy <dan@dennedy.org>
|
|
|
|
David Moore <david@startbox.com>
|
|
|
|
John Stanley <stanley@peak.org>
|
|
|
|
|
|
|
|
%package -n libdc1394_control12-devel
|
2008-04-12 18:49:25 +00:00
|
|
|
License: LGPL v2.1 or later
|
2007-08-05 15:34:34 +00:00
|
|
|
Summary: 1394-Based Digital Camera Control Library
|
2008-06-25 18:45:42 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-08-05 15:34:34 +00:00
|
|
|
Version: %{libdc1394_12_version}
|
2008-10-06 15:58:32 +00:00
|
|
|
Release: 8
|
2007-08-16 16:15:18 +00:00
|
|
|
Requires: libdc1394_control12 = %{libdc1394_12_version} libraw1394-devel
|
2007-08-05 15:34:34 +00:00
|
|
|
|
|
|
|
%description -n libdc1394_control12-devel
|
|
|
|
This library provides functionality for controlling any camera that
|
|
|
|
conforms to the 1394-Based Digital Camera Specification (which can be
|
|
|
|
found at
|
|
|
|
http://www.1394ta.org/Download/Technology/Specifications/Camera120.pdf)
|
|
|
|
. It utilizes the low-level functionality provided by libraw1394 to
|
|
|
|
communicate with the camera.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gord Peters <GordPeters@smarttech.com>
|
|
|
|
Per Dalgas Jakobsen <pdj@maridan.dk>
|
|
|
|
Chris Urmson <curmson@ri.cmu.edu>
|
|
|
|
Damien Douxchamps <douxchamps@ieee.org>
|
|
|
|
Dan Dennedy <dan@dennedy.org>
|
|
|
|
David Moore <david@startbox.com>
|
|
|
|
John Stanley <stanley@peak.org>
|
|
|
|
|
2008-01-15 04:47:57 +00:00
|
|
|
%package 22
|
2008-04-12 18:49:25 +00:00
|
|
|
License: LGPL v2.1 or later
|
2007-08-05 15:34:34 +00:00
|
|
|
Summary: 1394-Based Digital Camera Control Library
|
|
|
|
Group: Hardware/Camera
|
|
|
|
|
2008-01-15 04:47:57 +00:00
|
|
|
%description 22
|
2007-08-05 15:34:34 +00:00
|
|
|
This library provides functionality for controlling any camera that
|
|
|
|
conforms to the 1394-Based Digital Camera Specification (which can be
|
|
|
|
found at
|
|
|
|
http://www.1394ta.org/Download/Technology/Specifications/Camera120.pdf)
|
|
|
|
. It utilizes the low-level functionality provided by libraw1394 to
|
|
|
|
communicate with the camera.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 23:21:36 +00:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gord Peters <GordPeters@smarttech.com>
|
|
|
|
Per Dalgas Jakobsen <pdj@maridan.dk>
|
|
|
|
Chris Urmson <curmson@ri.cmu.edu>
|
|
|
|
Damien Douxchamps <douxchamps@ieee.org>
|
|
|
|
Dan Dennedy <dan@dennedy.org>
|
|
|
|
David Moore <david@startbox.com>
|
|
|
|
John Stanley <stanley@peak.org>
|
|
|
|
|
|
|
|
%package devel
|
2008-04-12 18:49:25 +00:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-15 23:21:36 +00:00
|
|
|
Summary: Development libraries and header files for dc1394
|
|
|
|
Group: Development/Libraries/C and C++
|
2008-01-16 16:15:22 +00:00
|
|
|
Requires: libdc1394-22 = %{libdc1394_version}
|
2007-01-15 23:21:36 +00:00
|
|
|
Requires: libraw1394-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the header files and libraries for building
|
|
|
|
programs using the dc1394 library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Gord Peters <GordPeters@smarttech.com>
|
|
|
|
Per Dalgas Jakobsen <pdj@maridan.dk>
|
|
|
|
Chris Urmson <curmson@ri.cmu.edu>
|
|
|
|
Damien Douxchamps <douxchamps@ieee.org>
|
|
|
|
Dan Dennedy <dan@dennedy.org>
|
|
|
|
David Moore <david@startbox.com>
|
|
|
|
John Stanley <stanley@peak.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -T -c -a 1 -a 2
|
2008-01-24 20:28:01 +00:00
|
|
|
%patch0 -p1
|
2008-10-06 15:58:32 +00:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
2007-01-15 23:21:36 +00:00
|
|
|
|
|
|
|
%build
|
2008-10-06 15:58:32 +00:00
|
|
|
doit() {
|
|
|
|
if pushd "$1" ; then
|
|
|
|
autoreconf --force --install
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
%{configure} --disable-xv
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
popd
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
doit libdc1394-%{libdc1394_12_version}
|
|
|
|
doit libdc1394-%{libdc1394_version}
|
2007-01-15 23:21:36 +00:00
|
|
|
|
|
|
|
%install
|
2008-10-06 15:58:32 +00:00
|
|
|
doit() {
|
|
|
|
if pushd "$1" ; then
|
|
|
|
%{__make} DESTDIR=${RPM_BUILD_ROOT} install
|
|
|
|
popd
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
doit libdc1394-%{libdc1394_12_version}
|
|
|
|
doit libdc1394-%{libdc1394_version}
|
2008-06-25 18:45:42 +00:00
|
|
|
rm -f %{buildroot}%{_bindir}/dc1394_vloopback %{buildroot}%{_mandir}/man1/dc1394_vloopback.1*
|
2007-01-15 23:21:36 +00:00
|
|
|
|
2007-08-05 15:34:34 +00:00
|
|
|
%post -n libdc1394_control12 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libdc1394_control12 -p /sbin/ldconfig
|
|
|
|
|
2008-01-15 04:47:57 +00:00
|
|
|
%post 22 -p /sbin/ldconfig
|
2007-07-13 20:38:40 +00:00
|
|
|
|
2008-01-15 04:47:57 +00:00
|
|
|
%postun 22 -p /sbin/ldconfig
|
2007-01-15 23:21:36 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-10-06 15:58:32 +00:00
|
|
|
%doc libdc1394-%{libdc1394_version}/{AUTHORS,COPYING,ChangeLog,NEWS,README}
|
2007-07-13 20:38:40 +00:00
|
|
|
%_bindir/dc1394_reset_bus
|
2008-06-25 18:45:42 +00:00
|
|
|
%{_mandir}/man1/dc1394_reset_bus.1*
|
2007-08-05 15:34:34 +00:00
|
|
|
|
2008-01-15 04:47:57 +00:00
|
|
|
%files 22
|
2007-08-05 15:34:34 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libdc1394.so.*
|
|
|
|
|
|
|
|
%files -n libdc1394_control12
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libdc1394_control.so.*
|
|
|
|
|
|
|
|
%files -n libdc1394_control12-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/libdc1394
|
|
|
|
%_libdir/libdc1394_control*.la
|
|
|
|
%_libdir/libdc1394_control*.a
|
|
|
|
%_libdir/libdc1394_control*.so
|
2007-01-15 23:21:36 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2007-08-05 15:34:34 +00:00
|
|
|
%_includedir/dc1394
|
|
|
|
%_libdir/libdc1394.la
|
|
|
|
%_libdir/libdc1394.a
|
|
|
|
%_libdir/libdc1394.so
|
2007-07-13 20:38:40 +00:00
|
|
|
%_libdir/pkgconfig/*.pc
|
2007-01-15 23:21:36 +00:00
|
|
|
|
2007-07-13 20:38:40 +00:00
|
|
|
%changelog
|
2008-10-06 15:58:32 +00:00
|
|
|
* Mon Oct 06 2008 olh@suse.de
|
|
|
|
- fix ordered comparison of pointer with integer zero (bnc#431916)
|
2008-06-25 18:45:42 +00:00
|
|
|
* Thu Jun 19 2008 pth@suse.de
|
|
|
|
- Include unistd.h to get prototype for swab.
|
|
|
|
- Update to 2.0.2. Changes since 2.0.0:
|
|
|
|
- New functions on all platforms:
|
|
|
|
dc1394_camera_get_node
|
|
|
|
dc1394_capture_is_frame_corrupt
|
|
|
|
- New function on Linux video1394 only:
|
|
|
|
dc1394_camera_get_linux_port
|
|
|
|
- New example program to capture PVN sequences.
|
|
|
|
- Bug fixes on Linux Juju:
|
|
|
|
- Better retry timeouts
|
|
|
|
- Fix manual isochronous channel allocation
|
|
|
|
- Bug fixes on Mac OS:
|
|
|
|
- Auto detection of bad or skipped packets (used for
|
|
|
|
dc1394_capture_is_frame_corrupt)
|
|
|
|
- Bug fixes on Linux video1394:
|
|
|
|
- Fix select() with multiple cameras on the same controller
|
|
|
|
- Handle EINTR return code properly in dc1394_capture_dequeue
|
|
|
|
- Better error detection if camera enumeration fails
|
|
|
|
- Documentation improvements
|
|
|
|
-- 2.0.1:
|
|
|
|
- Fixed broken dc1394/dc1394.h include file when compiling externally.
|
|
|
|
- Removed the "edge-sense" bayer demosaic algorithm out of patent concern.
|
2008-04-12 18:49:25 +00:00
|
|
|
* Fri Apr 11 2008 schwab@suse.de
|
|
|
|
- Fix configure script.
|
2008-01-24 20:28:01 +00:00
|
|
|
* Thu Jan 24 2008 olh@suse.de
|
|
|
|
- remove buildrequires for xorg-x11-devel
|
|
|
|
* Tue Jan 15 2008 olh@suse.de
|
2008-01-16 16:15:22 +00:00
|
|
|
- libdc1394-devel requires libdc1394-22
|
2008-01-24 20:28:01 +00:00
|
|
|
* Mon Jan 14 2008 olh@suse.de
|
2008-01-15 04:47:57 +00:00
|
|
|
- update to 2.0.0 final
|
|
|
|
rename libdc1394-20 to libdc1394-22 due to SONAME change
|
2008-01-24 20:28:01 +00:00
|
|
|
* Thu Aug 16 2007 olh@suse.de
|
2007-08-16 16:15:18 +00:00
|
|
|
- libdc1394_control12-devel needs libraw1394-devel
|
2008-01-24 20:28:01 +00:00
|
|
|
* Thu Aug 16 2007 olh@suse.de
|
2007-08-16 16:15:18 +00:00
|
|
|
- remove inclusion of code which is labeled as GPL (298152)
|
|
|
|
removes topology.h, cooked1394_read() and others
|
|
|
|
remove dc1394_vloopback binary
|
2008-01-24 20:28:01 +00:00
|
|
|
* Sun Aug 05 2007 olh@suse.de
|
2007-08-05 15:34:34 +00:00
|
|
|
- split libdc1394-20 package which contains only libraries
|
|
|
|
split libdc1394_control12 and libdc1394_control12-devel
|
|
|
|
upgrade to 1.2.2, color filter fix
|
2008-04-12 18:49:25 +00:00
|
|
|
* Sat Jul 14 2007 olh@suse.de
|
2007-07-13 20:38:40 +00:00
|
|
|
- update to 2.0.0-rc7
|
|
|
|
API fixes
|
2008-01-24 20:28:01 +00:00
|
|
|
* Tue Aug 15 2006 olh@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- update to 2.0.0-rc3 (#198102)
|
|
|
|
all new API
|
|
|
|
- keep old library version until every app is converted
|
2008-01-24 20:28:01 +00:00
|
|
|
* Wed Jul 19 2006 olh@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- update to 1.2.1
|
|
|
|
replaced camera version detection in dc1394_is_camera() by a
|
|
|
|
proper call to dc1394_get_sw_version().
|
|
|
|
fixed compilation warnings due to mixed signedness in the whole code.
|
|
|
|
fixed a serious bug in the camera detection.
|
|
|
|
updated TRIGGER_MODE_NUM definition
|
2008-01-24 20:28:01 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-01-24 20:28:01 +00:00
|
|
|
* Fri Oct 21 2005 olh@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- correct usage of CLK_TCK
|
|
|
|
- update to current cvs
|
|
|
|
fixed memory leak in capture functions (dma device name not freed)
|
|
|
|
fixed trigger capabilities detection (Markus Niebel)
|
|
|
|
fixed some confusion between raw1394_new_handle and dc1394_create_handle
|
|
|
|
(Thanks to Thorondor)
|
2008-04-12 18:49:25 +00:00
|
|
|
* Tue Sep 27 2005 mls@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- make devel package require base package
|
2008-01-24 20:28:01 +00:00
|
|
|
* Tue Jul 05 2005 olh@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- go back to version 1, version 2 still needs some time
|
2008-01-24 20:28:01 +00:00
|
|
|
* Fri Jul 01 2005 olh@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- update to version 2.0.0-pre3
|
2008-01-24 20:28:01 +00:00
|
|
|
* Fri Jul 01 2005 olh@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- update to version 1.1.0
|
2008-01-24 20:28:01 +00:00
|
|
|
* Thu Jan 13 2005 olh@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- update to version 1.0.0, cvs status 2004-11-12
|
2008-01-24 20:28:01 +00:00
|
|
|
* Tue Jan 11 2005 olh@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- update to version 1.0.0
|
2008-01-24 20:28:01 +00:00
|
|
|
* Mon Mar 08 2004 lmuelle@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- update to version 0.9.3
|
|
|
|
- create devel sub package
|
2008-01-24 20:28:01 +00:00
|
|
|
* Wed Jan 07 2004 lmuelle@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- update to version 0.9.2
|
2008-01-24 20:28:01 +00:00
|
|
|
* Mon Jul 28 2003 adrian@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- fix lib filename suffix
|
2008-01-24 20:28:01 +00:00
|
|
|
* Fri Jul 25 2003 adrian@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- update to version 0.9.1
|
|
|
|
- use BuildRoot
|
|
|
|
- add %%run_ldconfig
|
2008-01-24 20:28:01 +00:00
|
|
|
* Fri Sep 27 2002 uli@suse.de
|
2007-01-15 23:21:36 +00:00
|
|
|
- initial package
|