From 72735574e2dcd3adfe3992349de502d3384911d4 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 27 Dec 2022 14:47:29 +0800 Subject: tesseract: upgrade 5.2.0 -> 5.3.0 Changelog: ========= * Fix the training tools for the legacy OCR engine (fix issue #3925). * PDF renderer: Ignore non-text blocks (fix issue #3957). * Remove colormap before thresholding (fix issue #3940). * Fix a number of performance issues reported by Coverity Scan. * Training tools: Replace call of exit function by return statement in main function. * Fix double free in function vigorous_noise_removal (fix issue #3876). * Create to_win if needed in Textord::make_spline_rows (fix issue #3875). * Bug fixes for ScrollView viewer: * Fix memory issues in ScrollView::MessageReceiver. * Catch potential nullptr in SVNetwork::SVNetwork. * Move svpaint.cpp from src/viewer to src/. * Add rule for svpaint executable in Autotools. * Bug fixes and improvements for build tools: * Fix AMD64 detection with autobuild on FreeBSD (fix issue #3964). * Fix tesseract.pc generated from CMake to match Autotools. * Detect availability of AVX512-VNNI. * configure.ac: fix build on aarch64_be. * Drop CI for old versions of macOS and Ubuntu. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-graphics/tesseract/tesseract_5.2.0.bb | 22 ---------------------- .../recipes-graphics/tesseract/tesseract_5.3.0.bb | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 meta-oe/recipes-graphics/tesseract/tesseract_5.2.0.bb create mode 100644 meta-oe/recipes-graphics/tesseract/tesseract_5.3.0.bb (limited to 'meta-oe/recipes-graphics/tesseract') diff --git a/meta-oe/recipes-graphics/tesseract/tesseract_5.2.0.bb b/meta-oe/recipes-graphics/tesseract/tesseract_5.2.0.bb deleted file mode 100644 index 8eb2073563..0000000000 --- a/meta-oe/recipes-graphics/tesseract/tesseract_5.2.0.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "A commercial quality OCR engine " -HOMEPAGE = "https://github.com/tesseract-ocr/tesseract" -BUGTRACKER = "https://github.com/tesseract-ocr/tesseract/issues" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRCREV = "5ad5325a0aa8effc47ca033625b6a51682f82767" -SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https \ - " - -S = "${WORKDIR}/git" - -DEPENDS = "leptonica" - -EXTRA_OECONF += "LIBLEPT_HEADERSDIR=${STAGING_INCDIR}/leptonica" - -inherit autotools pkgconfig - -FILES:${PN} += "${datadir}/tessdata" - -RRECOMMENDS:${PN} += "tesseract-lang-eng" diff --git a/meta-oe/recipes-graphics/tesseract/tesseract_5.3.0.bb b/meta-oe/recipes-graphics/tesseract/tesseract_5.3.0.bb new file mode 100644 index 0000000000..f791ad546b --- /dev/null +++ b/meta-oe/recipes-graphics/tesseract/tesseract_5.3.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "A commercial quality OCR engine " +HOMEPAGE = "https://github.com/tesseract-ocr/tesseract" +BUGTRACKER = "https://github.com/tesseract-ocr/tesseract/issues" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRCREV = "080da83cc51c4ef8b324a7e03146fe0bd7e0944b" +SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https \ + " + +S = "${WORKDIR}/git" + +DEPENDS = "leptonica" + +EXTRA_OECONF += "LIBLEPT_HEADERSDIR=${STAGING_INCDIR}/leptonica" + +inherit autotools pkgconfig + +FILES:${PN} += "${datadir}/tessdata" + +RRECOMMENDS:${PN} += "tesseract-lang-eng" -- cgit v1.2.3-54-g00ecf