Package: gscan2pdf
Version: 2.10.1-1
Severity: Important
Tags: patch
Quack,
At startup I got this warning:
Warning: missing packages
Save image requires libtiff
And indeed I can scan but not save.
I looked in the code how the detection work and found out that `tiffcp
-h` is now outputting to stdout and this breaks the detection; I have
libtiff-tools 4.1.0+git201212-1 installed. The following patch fixes the
situation:
--- /usr/bin/gscan2pdf.orig 2020-12-16 14:05:41.744444021 +0900
+++ /usr/bin/gscan2pdf 2020-12-16 14:05:49.604293788 +0900
@@ -935,7 +935,7 @@
'djvu', 'stderr', qr/DjVuLibre-([\d.]+)/xsm, [ 'cjb2',
'--version' ]
],
[
- 'libtiff', 'stderr',
+ 'libtiff', 'stdout',
qr/LIBTIFF,\sVersion\s([\d.]+)/xsm, [ 'tiffcp', '-h' ]
],
Regards.
\_o<
--
Marc Dequènes