1760916 - Samsung C460 does not have JPEG support
This commit is contained in:
parent
7d3dd91734
commit
62dc8e3ea6
@ -57,6 +57,8 @@ Patch2: sane-backends-1.0.23-sane-config-multilib.patch
|
||||
Patch3: sane-backends-saned-manpage.patch
|
||||
# several canoscan models did not work due genesys backend rewritten, taken from upstream
|
||||
Patch4: 0001-genesys-Make-sure-calib_reg-are-available-before-wri.patch
|
||||
# blacklist Samsung C460 for JPEG, #1760916
|
||||
Patch5: sane-xerox-mfp-blacklist-C460-for-JPEG.patch
|
||||
|
||||
URL: http://www.sane-project.org
|
||||
|
||||
@ -193,6 +195,7 @@ access image acquisition devices available on the local host.
|
||||
%patch2 -p1 -b .sane-config-multilib
|
||||
%patch3 -p1 -b .saned-manpage
|
||||
%patch4 -p1 -b .genesys-regression
|
||||
%patch5 -p1 -b .c460-blacklist-for-jpeg
|
||||
|
||||
%build
|
||||
CFLAGS="%optflags -fno-strict-aliasing"
|
||||
@ -454,6 +457,7 @@ exit 0
|
||||
* Thu Oct 17 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.28-2
|
||||
- 1761145, 1761001, 1761051, 1761234 - genesys backend now needs gcc-c++, it is not built otherwise
|
||||
- 1758886 - CanoScan LiDE scanners supported by genesys backend are not detected
|
||||
- 1760916 - Samsung C460 does not have JPEG support
|
||||
|
||||
* Mon Sep 30 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.28-1
|
||||
- 1.0.28
|
||||
|
12
sane-xerox-mfp-blacklist-C460-for-JPEG.patch
Normal file
12
sane-xerox-mfp-blacklist-C460-for-JPEG.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/backend/xerox_mfp.c b/backend/xerox_mfp.c
|
||||
index b7fcbee..2cb73ee 100644
|
||||
--- a/backend/xerox_mfp.c
|
||||
+++ b/backend/xerox_mfp.c
|
||||
@@ -209,6 +209,7 @@ static int isSupportedDevice(struct device __sane_unused__ *dev)
|
||||
if (dev->compressionTypes & (1 << 6)) {
|
||||
/* blacklist malfunctioning device(s) */
|
||||
if (!strncmp(dev->sane.model, "SCX-4500W", 9) ||
|
||||
+ !strncmp(dev->sane.model, "C460", 4) ||
|
||||
!strncmp(dev->sane.model, "M288x", 5))
|
||||
return 0;
|
||||
return 1;
|
Loading…
Reference in New Issue
Block a user