From bd9cb072fc4881487cf420c185d3613faa48627c Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 15 Aug 2007 06:49:41 +0000 Subject: [PATCH] enable support for Epson CX-5000 --- sane-backends-1.0.18-epson-cx5000.patch | 24 ++++++++++++++++++++++++ sane-backends.spec | 7 ++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 sane-backends-1.0.18-epson-cx5000.patch diff --git a/sane-backends-1.0.18-epson-cx5000.patch b/sane-backends-1.0.18-epson-cx5000.patch new file mode 100644 index 0000000..0b4610b --- /dev/null +++ b/sane-backends-1.0.18-epson-cx5000.patch @@ -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 " */ + }; diff --git a/sane-backends.spec b/sane-backends.spec index 06630cb..91d522f 100644 --- a/sane-backends.spec +++ b/sane-backends.spec @@ -24,7 +24,7 @@ Summary: Scanner access software Name: sane-backends Version: 1.0.18 -Release: 14%{?dist} +Release: 15%{?dist} License: GPL (programs), relaxed LGPL (libraries), and public domain (docs) Group: System Environment/Libraries 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 Patch8: sane-backends-1.0.18-udev-098.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 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%__id_u -n) BuildRequires: tetex-latex libusb-devel libieee1284-devel libjpeg-devel @@ -130,6 +131,7 @@ want to access digital cameras. %endif %patch9 -p1 -b .glibc-2.7 +%patch10 -p1 -b .epson-cx5000 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_" @@ -249,6 +251,9 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/sane-backends.pc %changelog +* Wed Aug 15 2007 Nils Philippsen - 1.0.18-15 +- enable support for Epson CX-5000 + * Wed Aug 08 2007 Nils Philippsen - 1.0.18-14 - make udev rules more robust (#243953) - bring code in shape for glibc-2.7