Source: tesseract Version: 4.0.0-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
tesseract fails to cross build from source, because it fails running tests even when one sets DEB_BUILD_OPTIONS=nocheck. The attached patch adds support for nocheck. Please consider applying it. Helmut
diff --minimal -Nru tesseract-4.0.0/debian/changelog tesseract-4.0.0/debian/changelog --- tesseract-4.0.0/debian/changelog 2018-11-06 17:51:59.000000000 +0100 +++ tesseract-4.0.0/debian/changelog 2019-01-19 20:26:33.000000000 +0100 @@ -1,3 +1,10 @@ +tesseract (4.0.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 19 Jan 2019 20:26:33 +0100 + tesseract (4.0.0-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru tesseract-4.0.0/debian/rules tesseract-4.0.0/debian/rules --- tesseract-4.0.0/debian/rules 2018-10-29 17:51:59.000000000 +0100 +++ tesseract-4.0.0/debian/rules 2019-01-19 20:26:31.000000000 +0100 @@ -32,8 +32,10 @@ $(MAKE) DESTDIR=$$(pwd)/debian/tmp prefix=/usr training-install override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ./src/api/tesseract -v ./src/api/tesseract ./test/testing/phototest.tif - +endif override_dh_auto_clean: dh_auto_clean