Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tesseract-ocr: update to 5.3.3 #46124

Merged
merged 4 commits into from
Jan 7, 2024
Merged

Conversation

chrysos349
Copy link
Contributor

@newbluemoon
ccextractor was updated to the latest version, because it had to be rebuilt for tesseract-ocr-5.3.2 anyway.

@Piraty
arcan was revbumped for tesseract-ocr-5.3.2 .

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, (x86_64)
  • I built this PR locally for these architectures (if supported. mark crossbuilds):
    • i686
    • aarch64
    • armv7l
    • x86_64-musl
    • armv6l-musl
    • aarch64-musl

@chrysos349
Copy link
Contributor Author

chrysos349 commented Sep 19, 2023

Test boxa3_reg failed in two cases (others are being checked at the moment). I guess I'll have to remove this test from prog/Makefile.am for leptonica to pass, or add make_check=no if there are more problematic tests to be found later.

P.S. All the tests were passed on my local machine.

EDIT
The check build succeeded, except for x86_64{,musl} archs.

Here goes the attempt 2. I removed the failing test in leptonica template.

@newbluemoon
Copy link
Contributor

Did you test if ccextractor works with -hardsubx? Because it segfaulted and that was for me the show stopper to update. If I have a few spare minutes I'll try and test it. Hopefully it works now :)

@chrysos349
Copy link
Contributor Author

@newbluemoon

Did you test if ccextractor works with -hardsubx?

Good catch! I didn't. All I did was fix compilation errors. Anyway, even after adding 'tesseract 5 support', it still didn't work:

Job 1, 'ccextractor -hardsubx video.mp4' terminated by signal SIGSEGV (Address boundary error)

ccextractor-0.94 is too problematic for my tastes. I wasted enough time as it is on it.

So I reverted back to ccextractor-0.93, fixed the compilation error, and added 'tesseract 5 support'. It worked fine in my tests.

I hope my work is done here.

@newbluemoon
Copy link
Contributor

@chrysos349 Thank you! :)

Copy link

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label Dec 19, 2023
@chrysos349
Copy link
Contributor Author

bump

@github-actions github-actions bot removed the Stale label Dec 27, 2023
@Piraty
Copy link
Member

Piraty commented Dec 27, 2023

by now

leptonica-1.82.0 -> leptonica-1.84.0

tesseract-ocr-4.1.1 -> tesseract-ocr-5.3.3

srcpkgs/arcan/template Outdated Show resolved Hide resolved
@chrysos349
Copy link
Contributor Author

leptonica update to 1.84.0
tesseract-ocr updated to 5.3.3
arcan and ccextractor revbumped and rebuilt for tesseract-5.3.3

@chrysos349 chrysos349 changed the title tesseract-ocr: update to 5.3.2 tesseract-ocr: update to 5.3.3 Dec 29, 2023
@Piraty Piraty merged commit ef1371a into void-linux:master Jan 7, 2024
8 checks passed
@chrysos349 chrysos349 deleted the tesseract-ocr branch January 12, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants