From 4640900864a89f73680dc423bb1b1bfb4e63e19e Mon Sep 17 00:00:00 2001 From: wangmy Date: Mon, 22 Nov 2021 23:04:18 +0800 Subject: tesseract: upgrade 4.1.1 -> 4.1.3 Fix broken autoconf build (https://github.com/tesseract-ocr/tesseract/issues/3642) Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-graphics/tesseract/tesseract_4.1.1.bb | 24 ---------------------- .../recipes-graphics/tesseract/tesseract_4.1.3.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta-oe/recipes-graphics/tesseract/tesseract_4.1.1.bb create mode 100644 meta-oe/recipes-graphics/tesseract/tesseract_4.1.3.bb diff --git a/meta-oe/recipes-graphics/tesseract/tesseract_4.1.1.bb b/meta-oe/recipes-graphics/tesseract/tesseract_4.1.1.bb deleted file mode 100644 index 0c21685b19..0000000000 --- a/meta-oe/recipes-graphics/tesseract/tesseract_4.1.1.bb +++ /dev/null @@ -1,24 +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" - -BRANCH = "4.1" -SRCREV = "f4ef2f2050f4c25b28bdbf0063b7d2eb30f41cf7" -SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=${BRANCH};protocol=https \ - file://0001-include-sys-time.h.patch \ - " - -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_4.1.3.bb b/meta-oe/recipes-graphics/tesseract/tesseract_4.1.3.bb new file mode 100644 index 0000000000..6f92679682 --- /dev/null +++ b/meta-oe/recipes-graphics/tesseract/tesseract_4.1.3.bb @@ -0,0 +1,24 @@ +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" + +BRANCH = "4.1" +SRCREV = "f38e7a7ba850b668d4505dd4c712238d7ec63ca8" +SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=${BRANCH};protocol=https \ + file://0001-include-sys-time.h.patch \ + " + +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