enable support for Epson CX-5000

This commit is contained in:
Nils Philippsen 2007-08-15 06:49:41 +00:00
parent 95bbfba5d2
commit bd9cb072fc
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,24 @@
--- sane-backends-1.0.18/doc/descriptions/epson.desc.epson-cx5000 2006-06-22 20:21:08.000000000 +0200
+++ sane-backends-1.0.18/doc/descriptions/epson.desc 2007-08-15 08:43:19.000000000 +0200
@@ -207,6 +207,11 @@
:usbid "0x04b8" "0x0819"
:status :good
+:model "CX-5000"
+:interface "USB"
+:usbid "0x04b8" "0x082b"
+:status :good
+
:model "CX-5200"
:interface "USB"
:usbid "0x04b8" "0x0801"
--- sane-backends-1.0.18/backend/epson_usb.c.epson-cx5000 2006-06-11 22:24:19.000000000 +0200
+++ sane-backends-1.0.18/backend/epson_usb.c 2007-08-15 08:46:01.000000000 +0200
@@ -39,6 +39,7 @@ SANE_Word sanei_epson_usb_product_ids[]
0x815, /* LP-A500 / AcuLaser CX11 */
0x819, /* CX4800 */
0x820, /* CX4200 */
+ 0x82b, /* CX5000 */
0 /* last entry - this is used for devices that are specified
in the config file as "usb <vendor> <product>" */
};

View File

@ -24,7 +24,7 @@
Summary: Scanner access software Summary: Scanner access software
Name: sane-backends Name: sane-backends
Version: 1.0.18 Version: 1.0.18
Release: 14%{?dist} Release: 15%{?dist}
License: GPL (programs), relaxed LGPL (libraries), and public domain (docs) License: GPL (programs), relaxed LGPL (libraries), and public domain (docs)
Group: System Environment/Libraries Group: System Environment/Libraries
Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz
@ -38,6 +38,7 @@ Patch6: sane-backends-1.0.18-usb_reset.patch
Patch7: sane-backends-1.0.18-udev-symlink.patch Patch7: sane-backends-1.0.18-udev-symlink.patch
Patch8: sane-backends-1.0.18-udev-098.patch Patch8: sane-backends-1.0.18-udev-098.patch
Patch9: sane-backends-1.0.18-glibc-2.7.patch Patch9: sane-backends-1.0.18-glibc-2.7.patch
Patch10: sane-backends-1.0.18-epson-cx5000.patch
URL: http://www.sane-project.org URL: http://www.sane-project.org
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%__id_u -n) BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%__id_u -n)
BuildRequires: tetex-latex libusb-devel libieee1284-devel libjpeg-devel BuildRequires: tetex-latex libusb-devel libieee1284-devel libjpeg-devel
@ -130,6 +131,7 @@ want to access digital cameras.
%endif %endif
%patch9 -p1 -b .glibc-2.7 %patch9 -p1 -b .glibc-2.7
%patch10 -p1 -b .epson-cx5000
for i in agfafocus avision coolscan2 umax_pp; do for i in agfafocus avision coolscan2 umax_pp; do
iconv -f iso-8859-1 -t utf-8 < "doc/sane-$i.man" > "doc/sane-$i.man_" iconv -f iso-8859-1 -t utf-8 < "doc/sane-$i.man" > "doc/sane-$i.man_"
@ -249,6 +251,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/sane-backends.pc %{_libdir}/pkgconfig/sane-backends.pc
%changelog %changelog
* Wed Aug 15 2007 Nils Philippsen <nphilipp@redhat.com> - 1.0.18-15
- enable support for Epson CX-5000
* Wed Aug 08 2007 Nils Philippsen <nphilipp@redhat.com> - 1.0.18-14 * Wed Aug 08 2007 Nils Philippsen <nphilipp@redhat.com> - 1.0.18-14
- make udev rules more robust (#243953) - make udev rules more robust (#243953)
- bring code in shape for glibc-2.7 - bring code in shape for glibc-2.7