summaryrefslogtreecommitdiff
path: root/debian/patches/0155-genesys_gl847.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-15 22:52:37 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-15 22:52:37 +0100
commit3e527f54331db2896ca1a60247a96830f6ca79e1 (patch)
tree04d2c055bb4f32185cdafe5550198e0f1f95bc27 /debian/patches/0155-genesys_gl847.patch
parentab0254d049c7f870a0cf4971a310166271181e87 (diff)
Remove unused files and patches
Diffstat (limited to 'debian/patches/0155-genesys_gl847.patch')
-rw-r--r--debian/patches/0155-genesys_gl847.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/debian/patches/0155-genesys_gl847.patch b/debian/patches/0155-genesys_gl847.patch
deleted file mode 100644
index 27d6b2b..0000000
--- a/debian/patches/0155-genesys_gl847.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-Description: Restore slow_back_home use, disable rewind for gl847
-Origin: upstream, https://gitlab.com/sane-project/backends/commit/4354fc7f6da2ee65cbe940a715f11abecdad3f49
-Bug: https://gitlab.com/sane-project/backends/issues/7
-Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912603
-Forwarded: not-needed
-Last-Update: 2019-04-28
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: trunk/backend/genesys.c
-===================================================================
---- trunk.orig/backend/genesys.c
-+++ trunk/backend/genesys.c
-@@ -2070,11 +2070,17 @@ 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 needed, go back before doing next scan */
-+ if (dev->model->flags & GENESYS_FLAG_SHADING_REPARK)
-+
- {
-- status = dev->model->cmd_set->rewind (dev);
-+ /* rewind keeps registers and slopes table intact from previous
-+ scan but is not available on all supported chipsets (or may
-+ cause scan artifacts, see #7) */
-+ status = (dev->model->cmd_set->rewind
-+ ? dev->model->cmd_set->rewind (dev)
-+ : dev->model->cmd_set->slow_back_home (dev, SANE_TRUE));
-+
- }
-
- status =
-Index: trunk/backend/genesys_gl847.c
-===================================================================
---- trunk.orig/backend/genesys_gl847.c
-+++ trunk/backend/genesys_gl847.c
-@@ -1934,6 +1934,7 @@ gl847_end_scan (Genesys_Device * dev, Ge
- * @param dev device to rewind
- * @returns SANE_STATUS_GOOD on success
- */
-+#if 0
- GENESYS_STATIC
- SANE_Status gl847_rewind(Genesys_Device * dev)
- {
-@@ -1965,6 +1966,7 @@ SANE_Status gl847_rewind(Genesys_Device
- DBGCOMPLETED;
- return SANE_STATUS_GOOD;
- }
-+#endif
-
- /** Park head
- * Moves the slider to the home (top) position slowly
-@@ -3793,7 +3795,7 @@ static Genesys_Command_Set gl847_cmd_set
- gl847_led_calibration,
-
- gl847_slow_back_home,
-- gl847_rewind,
-+ NULL, /* disable gl847_rewind, see #7 */
-
- sanei_genesys_bulk_write_register,
- NULL,