1540370 - Black vertical band in color and gray images with Canon LIDE 100 scanner
This commit is contained in:
parent
beafde52d5
commit
81e72b92bb
17
sane-backends-canon-lide-100.patch
Normal file
17
sane-backends-canon-lide-100.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff -up sane-backends-1.0.27/backend/genesys.c.canon-lide-100 sane-backends-1.0.27/backend/genesys.c
|
||||
--- sane-backends-1.0.27/backend/genesys.c.canon-lide-100 2018-02-01 10:37:26.160044539 +0100
|
||||
+++ sane-backends-1.0.27/backend/genesys.c 2018-02-01 10:45:44.616653277 +0100
|
||||
@@ -2070,11 +2070,9 @@ genesys_white_shading_calibration (Genes
|
||||
dev->model->cmd_set->set_lamp_power (dev, dev->calib_reg, SANE_TRUE);
|
||||
dev->model->cmd_set->set_motor_power (dev->calib_reg, motor);
|
||||
|
||||
- /* if needed, go back before doin next scan, by using rewind, registers and
|
||||
- * slopes table are kept intact from previous scan */
|
||||
- if (dev->model->flags & GENESYS_FLAG_SHADING_REPARK && dev->model->cmd_set->rewind)
|
||||
+ if (dev->model->flags & GENESYS_FLAG_SHADING_REPARK)
|
||||
{
|
||||
- status = dev->model->cmd_set->rewind (dev);
|
||||
+ status = dev->model->cmd_set->slow_back_home (dev, SANE_TRUE);
|
||||
}
|
||||
|
||||
status =
|
@ -33,7 +33,7 @@
|
||||
Summary: Scanner access software
|
||||
Name: sane-backends
|
||||
Version: 1.0.27
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
||||
# Tools are GPLv2+, docs are public domain
|
||||
# see LICENSE for details
|
||||
@ -54,6 +54,8 @@ Patch1: sane-backends-1.0.23-soname.patch
|
||||
Patch2: sane-backends-1.0.23-sane-config-multilib.patch
|
||||
# saned manpage incomplete and exists when saned is not installed (#1515762)
|
||||
Patch3: sane-backends-saned-manpage.patch
|
||||
# Black vertical band in color and gray images with Canon LIDE 100 scanner (bug #1540370)
|
||||
Patch4: sane-backends-canon-lide-100.patch
|
||||
|
||||
URL: http://www.sane-project.org
|
||||
|
||||
@ -184,6 +186,7 @@ access image acquisition devices available on the local host.
|
||||
%patch1 -p1 -b .soname
|
||||
%patch2 -p1 -b .sane-config-multilib
|
||||
%patch3 -p1 -b .saned-manpage
|
||||
%patch4 -p1 -b .canon-lide-100
|
||||
|
||||
%build
|
||||
CFLAGS="%optflags -fno-strict-aliasing"
|
||||
@ -337,6 +340,9 @@ exit 0
|
||||
%{_unitdir}/saned@.service
|
||||
|
||||
%changelog
|
||||
* Wed Feb 14 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-12
|
||||
- 1540370 - Black vertical band in color and gray images with Canon LIDE 100 scanner
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.27-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user