Summary: | app-text/tesseract - Enhancements to build shared libs with libtool | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Le Cuirot <chewi> |
Component: | Current packages | Assignee: | Patrick McLean <chutzpah> |
Status: | RESOLVED UPSTREAM | ||
Severity: | enhancement | CC: | tux_gentoo, volkmar |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://code.google.com/p/tesseract-ocr/issues/detail?id=174 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
tesseract-2.04-r1.ebuild
tesseract-pic.patch |
Description
James Le Cuirot
![]() Created attachment 213489 [details]
tesseract-2.04-r1.ebuild
The ebuild. See the given URL for details upstream.
I may try to create an ebuild for Audiveris, the program I'm using with Tesseract, but it's written in Java and has many dependencies. Could be tricky.
I've managed to package Audiveris and am now ready to commit it to java-overlay. I don't want to have to commit a copy of Tesseract to the overlay if it can be helped so I'd appreciate it if this could be looked at. I'm not sure that kind of stuff should be added by Gentoo. IMO, upstream should accept your patches before Gentoo use them. Upstream hasn't made a single commit and hasn't commented on a single issue since August. That's a worrying sign on a project as big as this. It looks to me as though someone from Google took up the project, got it working as well as they needed to, and moved on. Without this, a package for Audiveris literally will not build on amd64, among others, due to the PIC issues. This is nothing special about Tesseract, it's a fix we would apply to any library. I agree that upstream being dead is an issue but none of the other OCR libraries on Linux are close to being as good as this one. If it helps, maybe we could get someone who really knows about PIC and autotools (e.g. flameeyes) to take a look at it. I should add that I'd like to package Audiveris for other distros too (or at least Ubuntu) so I'll be approaching them about this issue as well. Created attachment 232787 [details, diff]
tesseract-pic.patch
I've decided to change tack on this slightly. In the past few days, there have been new commits upstream but I still feel that getting this stuff committed for 2.04 would be a stretch. The upcoming 3.0 seems like a safer bet.
I still want to use 2.04 for now though and I've also noticed that Ubuntu's amd64 Tesseract package has been built with -fPIC, allowing its static libraries to be linked into shared libraries.
I therefore propose that you apply the attached patch and build with -fPIC on amd64.
3.0 has now been given the libtool treatment in SVN, which is great, but I'd still like the simple ebuild patch applied for 2.04. Please, I can't make it any easier! Hello.
When I make "ebuild tesseract-2.04-r1.ebuild digest" , it can't find the file "tesseract-2.04-autotools.tar.gz"
>>>
!!! Couldn't download 'tesseract-2.04-autotools.tar.gz'. Aborting.
!!! Fetch failed for tesseract-2.04-autotools.tar.gz, can't update Manifest
<<<
So what I must do for make the digest of this package please?
When I'm going to url in the ebuild, I don't see and find this file...
I have tucan installed but he want the last tesseract with the linguas_en IUSE.. So I'm disappointing.
Thnaks a lot.
gentooexperimental.org has been down for months and I don't know if it'll ever return. This should probably be closed now because version 3 has been released with libtool support. (In reply to comment #9) > gentooexperimental.org has been down for months and I don't know if it'll ever > return. This should probably be closed now because version 3 has been released > with libtool support. > OK thats good , i had found the file on the "dev.gentooexperimental.org" server. 2 hours ago the server was down but now it's working. Sorry for the useless post. Tesseract 3 was released a good while back and as well as supporting shared libraries, it's just much better so I'm closing this now. |