[sane-backends] avision: reenable grayscale and lineart modes for AV220 (#700725)

Nils Philippsen nphilipp at fedoraproject.org
Fri Nov 18 11:27:05 UTC 2011


commit f682490b25a758a54021a403b2a9cb1f61936e22
Author: Nils Philippsen <nils at redhat.com>
Date:   Fri Nov 18 12:26:04 2011 +0100

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

 sane-backends-1.0.22-av220-gray-modes.patch |   26 ++++++++++++++++++++++++++
 sane-backends.spec                          |    8 +++++++-
 2 files changed, 33 insertions(+), 1 deletions(-)
---
diff --git a/sane-backends-1.0.22-av220-gray-modes.patch b/sane-backends-1.0.22-av220-gray-modes.patch
new file mode 100644
index 0000000..aa6b796
--- /dev/null
+++ b/sane-backends-1.0.22-av220-gray-modes.patch
@@ -0,0 +1,26 @@
+From c648a4411e5eacf19da2de726dac06ec07dae302 Mon Sep 17 00:00:00 2001
+From: Nils Philippsen <nils at 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
+
diff --git a/sane-backends.spec b/sane-backends.spec
index bbd1c7c..76238f1 100644
--- a/sane-backends.spec
+++ b/sane-backends.spec
@@ -8,7 +8,7 @@
 Summary: Scanner access software
 Name: sane-backends
 Version: 1.0.22
-Release: 5%{?dist}
+Release: 6%{?dist}
 # lib/ is LGPLv2+, backends are GPLv2+ with exceptions
 # Tools are GPLv2+, docs are public domain
 # 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
 # backported from upstream 058f423a302e12196028f218dcb2eca7cc8a250a
 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
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%__id_u -n)
 BuildRequires: tetex-latex
@@ -124,6 +126,7 @@ This package contains backend drivers to access digital cameras through SANE.
 %patch6 -p1 -b .v4l
 %patch7 -p1 -b .xerox_mfp-fix-usb-devices
 %patch8 -p1 -b .epson-stylus-sx125
+%patch9 -p1 -b .av220-gray-modes
 
 %build
 # 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.*
 
 %changelog
+* Fri Nov 18 2011 Nils Philippsen <nils at redhat.com> - 1.0.22-6
+- avision: reenable grayscale and lineart modes for AV220 (#700725)
+
 * Mon Oct 10 2011 Nils Philippsen <nils at redhat.com> - 1.0.22-5
 - multilib: let -devel depend on -drivers-* on F-16 and earlier (#740992)
 - multilib: make -drivers-scanners obsolete old -libs as well


More information about the scm-commits mailing list