Source: ocrmypdf
Version: 4.0.7-1
Severity: normal
Tags: patch
Hi,
currently ocrmypdf build depends and depends on libjpeg8, which is not
the default libjpeg used by basically all the rest of the Debian
archive (which is libjpeg-turbo).
Attached there is a patch to switch to the default libjpeg:
- the libjpeg-dev build dependency will ensure that
- the manual libjpeg8 dependency seems redundant, as python3-pil
already provides a jpeg module, and indeed it depends on the right
jpeg library package (libjpeg62-turbo)
Most probably, since python3-pil is already a build dependency,
libjpeg-dev could be avoided as well.
Thanks,
--
Pino
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
ghostscript (>= 9.18~dfsg),
- libjpeg8,
+ libjpeg-dev,
liblept5,
python3-all,
python3-cffi,
@@ -31,7 +31,6 @@ Vcs-Browser: https://git.spwhitton.name/
Package: ocrmypdf
Architecture: all
Depends: ghostscript (>= 9.18~dfsg),
- libjpeg8,
liblept5,
python3-pil,
python3-reportlab,