Skip to contentSkip to conversation

tesseract: update to 4.1.0

PATCH In review Oleksandr Kravchuk 2 participants 3 messages Sep 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 tesseract: update to 4.1.0

License-Update: file that mentioned licencing information was replaced with an actual license file

---
 .../{tesseract_git.bb => tesseract_4.1.0.bb}          | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-graphics/tesseract/{tesseract_git.bb => tesseract_4.1.0.bb} (57%)
meta-oe/recipes-graphics/tesseract/tesseract_4.1.0.bb renamed from meta-oe/recipes-graphics/tesseract/tesseract_git.bb +6 -5
similarity index 57%
rename from meta-oe/recipes-graphics/tesseract/tesseract_git.bb
rename to meta-oe/recipes-graphics/tesseract/tesseract_4.1.0.bb
index 89d09a0f5..fde3bc180 100644
@@ -1,19 +1,20 @@
 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://COPYING;md5=7ea4f9a43aba9d3c849fe5c203a0ed40"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-BRANCH = "3.05"
-PV = "${BRANCH}.01+git${SRCPV}"
-SRCREV = "215866151e774972c9502282111b998d7a053562"
+BRANCH = "4.1"
+SRCREV = "5280bbcade4e2dec5eef439a6e189504c2eadcd9"
 SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=${BRANCH}"
+
 S = "${WORKDIR}/git"
 
 DEPENDS = "leptonica"
 
 EXTRA_OECONF += "LIBLEPT_HEADERSDIR=${STAGING_INCDIR}/leptonica"
 
-
 inherit autotools pkgconfig
 
 FILES_${PN} += "${datadir}/tessdata"
Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 2/2 tesseract-lang: update to 4.0.0

---
 .../{tesseract-lang_git.bb => tesseract-lang_4.0.0.bb}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-graphics/tesseract/{tesseract-lang_git.bb => tesseract-lang_4.0.0.bb} (82%)
meta-oe/recipes-graphics/tesseract/tesseract-lang_4.0.0.bb renamed from meta-oe/recipes-graphics/tesseract/tesseract-lang_git.bb +3 -3
similarity index 82%
rename from meta-oe/recipes-graphics/tesseract/tesseract-lang_git.bb
rename to meta-oe/recipes-graphics/tesseract/tesseract-lang_4.0.0.bb
index ac36a91a3..75c2bc00e 100644
@@ -3,16 +3,16 @@ SUMMARY = "tesseract-ocr language files"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=9648bd7af63bd3cc4f5ac046d12c49e4"
 
-PV = "3.04.00+git${SRCPV}"
-SRCREV = "3cf1e2df1fe1d1da29295c9ef0983796c7958b7d"
+SRCREV = "590567f20dc044f6948a8e2c61afc714c360ad0e"
 SRC_URI = "git://github.com/tesseract-ocr/tessdata.git"
+
 S = "${WORKDIR}/git"
 
 inherit allarch
 
 do_install() {
     install -d ${D}${datadir}/tessdata
-    cp -R --no-dereference --preserve=mode,links -v ${S}/*.traineddata ${S}/*.cube.* ${S}/*.tesseract_cube.* ${D}${datadir}/tessdata
+    cp -R --no-dereference --preserve=mode,links -v ${S}/*.traineddata ${D}${datadir}/tessdata
 }
 
 python populate_packages_prepend () {
Signature · 1 line
2.17.1
#2 lore raw

Re: [PATCH v2][meta-oe 2/2] tesseract-lang: update to 4.0.0

Fails on musl

https://errors.yoctoproject.org/Errors/Details/272006/

Quoted 42 lines · Oleksandr Kravchuk
---
 .../{tesseract-lang_git.bb => tesseract-lang_4.0.0.bb}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-graphics/tesseract/{tesseract-lang_git.bb => tesseract-lang_4.0.0.bb} (82%)
meta-oe/recipes-graphics/tesseract/tesseract-lang_4.0.0.bb renamed from meta-oe/recipes-graphics/tesseract/tesseract-lang_git.bb +3 -4
similarity index 82%
rename from meta-oe/recipes-graphics/tesseract/tesseract-lang_git.bb
rename to meta-oe/recipes-graphics/tesseract/tesseract-lang_4.0.0.bb
index ac36a91a3..75c2bc00e 100644
@@ -3,16 +3,16 @@ SUMMARY = "tesseract-ocr language files"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=9648bd7af63bd3cc4f5ac046d12c49e4"
 
-PV = "3.04.00+git${SRCPV}"
-SRCREV = "3cf1e2df1fe1d1da29295c9ef0983796c7958b7d"
+SRCREV = "590567f20dc044f6948a8e2c61afc714c360ad0e"
 SRC_URI = "git://github.com/tesseract-ocr/tessdata.git"
+
 S = "${WORKDIR}/git"
 
 inherit allarch
 
 do_install() {
     install -d ${D}${datadir}/tessdata
-    cp -R --no-dereference --preserve=mode,links -v ${S}/*.traineddata ${S}/*.cube.* ${S}/*.tesseract_cube.* ${D}${datadir}/tessdata
+    cp -R --no-dereference --preserve=mode,links -v ${S}/*.traineddata ${D}${datadir}/tessdata
 }
 
 python populate_packages_prepend () {
--

2.17.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel