update to 0.2.0.hg20100701 [release 0.2.0.hg20100701-1mamba;Thu Jul 01 2010]

This commit is contained in:
Silvan Calarco 2024-01-05 17:20:52 +01:00
parent 5e28312376
commit f517dad39d
3 changed files with 87 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# r5u87x-firmware # r5u87x-firmware
Firmware and userspace tools to help manage cameras based on Ricoh R5U87x chipsets.

View File

@ -0,0 +1,22 @@
diff -Nru r5u87x-0.2.0.hg20091126.orig/loader.h r5u87x-0.2.0.hg20091126/loader.h
--- r5u87x-0.2.0.hg20091126.orig/loader.h 2009-11-26 13:24:53.000000000 +0100
+++ r5u87x-0.2.0.hg20091126/loader.h 2009-11-26 13:33:18.427942280 +0100
@@ -63,15 +63,9 @@
{ 0x05CA, 0x183a, 0x0111, 0, 0 },
{ 0x05CA, 0x183b, 0x0131, 0, 0 },
{ 0x05CA, 0x183e, 0x0100, 0, 0 },
- { 0x05CA, 0x1841, 0x0103, 1, 1 },
-
- /*
- * These have been commented out because we don't have the routines
- * to determine which is which yet.
- *
- * { 0x05CA, 0x1870, 0x0100, 0, 0 }, // Used for HP Webcam 1000 (1870_1.fw)
- * { 0x05CA, 0x1870, 0x0112, 0, 0 }, // Used for HP Pavilion dv1xxxx (1870.fw)
- */
+ { 0x05CA, 0x1841, 0x0103, 1, 1 },
+ { 0x05CA, 0x1870, 0x0100, 0, 0 }, // Used for HP Webcam 1000 (1870_1.fw)
+ { 0x05CA, 0x1870, 0x0112, 0, 0 }, // Used for HP Pavilion dv1xxxx (1870.fw)
{ }
};

63
r5u87x-firmware.spec Normal file
View File

@ -0,0 +1,63 @@
Name: r5u87x-firmware
Version: 0.2.0.hg20100701
Release: 1mamba
Summary: Firmware and usespace tools to help manage cameras based on Ricoh R5U87x chipsets
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://bitbucket.org/ahixon/r5u87x/
# hg clone http://bitbucket.org/ahixon/r5u87x/
Source: http://bitbucket.org/ahixon/r5u87x/r5u87x-%{version}.tar.bz2
Patch0: r5u87x-0.2.0.hg20091126-1870_device.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libusb-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Firmware and userspace tools to help manage cameras based on Ricoh R5U87x chipsets.
%prep
%setup -q -n r5u87x-%{version}
%patch0 -p1
#sed -i "s|firmdir=.*|firmdir=/lib/firmware/r5u87x/|" Makefile
%build
%make PREFIX=/ firmdir=/lib/firmware/r5u87x/
%make rules firmdir=/lib/firmware/r5u87x/
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=/ firmdir=/lib/firmware/r5u87x/ INSTALL_PATH=%{buildroot}
ln -s r5u87x/r5u87x-05ca-1870.fw %{buildroot}/lib/firmware/r5u870_1870.fw
ln -s r5u87x/r5u87x-05ca-1870_1.fw %{buildroot}/lib/firmware/r5u870_1870_1.fw
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sysconfdir}/udev/rules.d/90-r5u87x-loader.rules
/lib/firmware/r5u87x/r5u87x-*.fw
/lib/firmware/r5u870_1870.fw
/lib/firmware/r5u870_1870_1.fw
/sbin/r5u87x-loader
%doc README
%changelog
* Thu Jul 01 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0.hg20100701-1mamba
- update to 0.2.0.hg20100701
* Thu Nov 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0.hg20091126-2mamba
- added symlinks for compatibility with r5u870 driver
* Thu Nov 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0.hg20091126-1mamba
- update to 0.11.2.svn20091126
- fixed firmware path in loader
* Sat Jun 20 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0.hg20090620-1mamba
- package created by autospec