Source: tesseract Version: 4.1.1-2 Tags: patch User: [email protected] Usertags: rebootstrap
tesseract participates in dependency loops relevant to architecture bootstrap. Rather than look into such a difficult problem, I looked for easily droppable dependencies. It turns out that tesseract does not actually use libtiff-dev nor libjpeg-dev directly. In only uses them via leptonica. Thus these dependencies can be dropped. git is only used to discover the version from the git history in configure. Since the git history is not included, git can be dropped. Please consider applying the attached patch. Helmut
diff --minimal -Nru tesseract-4.1.1/debian/changelog tesseract-4.1.1/debian/changelog --- tesseract-4.1.1/debian/changelog 2020-01-19 06:48:59.000000000 +0100 +++ tesseract-4.1.1/debian/changelog 2021-01-25 06:39:45.000000000 +0100 @@ -1,3 +1,13 @@ +tesseract (4.1.1-3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Reduce Build-Depends: (Closes: #-1) + + Drop unused libjpeg-dev and libtiff-dev dependencies. tesseract does not + uses these directly. It only uses them via leptonica. + + Drop dependency on git. The source does not include git history. + + -- Helmut Grohne <[email protected]> Mon, 25 Jan 2021 06:39:45 +0100 + tesseract (4.1.1-2) unstable; urgency=medium * Update debian/control: diff --minimal -Nru tesseract-4.1.1/debian/control tesseract-4.1.1/debian/control --- tesseract-4.1.1/debian/control 2020-01-19 06:47:02.000000000 +0100 +++ tesseract-4.1.1/debian/control 2021-01-25 06:39:43.000000000 +0100 @@ -4,8 +4,8 @@ Maintainer: Alexander Pozdnyakov <[email protected]> Build-Depends: debhelper (>= 9), libleptonica-dev (>= 1.75.3), automake, libtool, libarchive-dev, libpango1.0-dev, libcairo2-dev, libicu-dev, - libpng-dev, libjpeg-dev, libtiff-dev, zlib1g-dev, git, autoconf-archive, asciidoc, - xsltproc, docbook-xsl, docbook-xml, tesseract-ocr-eng (>= 4.00~) + libpng-dev, zlib1g-dev, autoconf-archive, asciidoc, + xsltproc, docbook-xsl, docbook-xml, tesseract-ocr-eng (>= 4.00~) <!nocheck> Standards-Version: 4.4.1 Homepage: https://github.com/tesseract-ocr/ Vcs-Git: https://github.com/AlexanderP/tesseract-debian.git

