avision: reenable grayscale and lineart modes for AV220 (#700725)

This commit is contained in:
Nils Philippsen 2011-11-18 12:26:04 +01:00
parent c03fc67fa5
commit f682490b25
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From c648a4411e5eacf19da2de726dac06ec07dae302 Mon Sep 17 00:00:00 2001
From: Nils Philippsen <nils@redhat.com>
Date: Fri, 18 Nov 2011 12:17:22 +0100
Subject: [PATCH] avision: reenable grayscale and lineart modes for AV220
See https://bugzilla.redhat.com/show_bug.cgi?id=700725
---
backend/avision.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/avision.c b/backend/avision.c
index 3398e08..426d913 100644
--- a/backend/avision.c
+++ b/backend/avision.c
@@ -248,7 +248,7 @@ static Avision_HWEntry Avision_Device_List [] =
{ NULL, NULL,
0x0638, 0x0A23,
"Avision", "AV220",
- AV_INT_BUTTON,0},
+ AV_INT_BUTTON | AV_GRAY_MODES,0},
/* comment="duplex! sheetfed scanner" */
/* status="complete" */
--
1.7.7.1

View File

@ -8,7 +8,7 @@
Summary: Scanner access software Summary: Scanner access software
Name: sane-backends Name: sane-backends
Version: 1.0.22 Version: 1.0.22
Release: 5%{?dist} Release: 6%{?dist}
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions # lib/ is LGPLv2+, backends are GPLv2+ with exceptions
# Tools are GPLv2+, docs are public domain # Tools are GPLv2+, docs are public domain
# see LICENSE for details # see LICENSE for details
@ -34,6 +34,8 @@ Patch6: sane-backends-1.0.22-v4l.patch
Patch7: sane-backends-1.0.22-xerox_mfp-fix-usb-devices.patch Patch7: sane-backends-1.0.22-xerox_mfp-fix-usb-devices.patch
# backported from upstream 058f423a302e12196028f218dcb2eca7cc8a250a # backported from upstream 058f423a302e12196028f218dcb2eca7cc8a250a
Patch8: sane-backends-1.0.22-epson-stylus-sx125.patch Patch8: sane-backends-1.0.22-epson-stylus-sx125.patch
# submitted upstream: c648a4411e5eacf19da2de726dac06ec07dae302
Patch9: sane-backends-1.0.22-av220-gray-modes.patch
URL: http://www.sane-project.org URL: http://www.sane-project.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%__id_u -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%__id_u -n)
BuildRequires: tetex-latex BuildRequires: tetex-latex
@ -124,6 +126,7 @@ This package contains backend drivers to access digital cameras through SANE.
%patch6 -p1 -b .v4l %patch6 -p1 -b .v4l
%patch7 -p1 -b .xerox_mfp-fix-usb-devices %patch7 -p1 -b .xerox_mfp-fix-usb-devices
%patch8 -p1 -b .epson-stylus-sx125 %patch8 -p1 -b .epson-stylus-sx125
%patch9 -p1 -b .av220-gray-modes
%build %build
# use PIC/PIE because SANE-enabled software is likely to deal with data coming # use PIC/PIE because SANE-enabled software is likely to deal with data coming
@ -203,6 +206,9 @@ rm -rf %{buildroot}
%{_libdir}/sane/*gphoto2.so.* %{_libdir}/sane/*gphoto2.so.*
%changelog %changelog
* Fri Nov 18 2011 Nils Philippsen <nils@redhat.com> - 1.0.22-6
- avision: reenable grayscale and lineart modes for AV220 (#700725)
* Mon Oct 10 2011 Nils Philippsen <nils@redhat.com> - 1.0.22-5 * Mon Oct 10 2011 Nils Philippsen <nils@redhat.com> - 1.0.22-5
- multilib: let -devel depend on -drivers-* on F-16 and earlier (#740992) - multilib: let -devel depend on -drivers-* on F-16 and earlier (#740992)
- multilib: make -drivers-scanners obsolete old -libs as well - multilib: make -drivers-scanners obsolete old -libs as well