Bug 180781 - version bump: app-text/tesseract-1.04b
|
Bug#:
180781
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: chutzpah@gentoo.org
|
Reported By: juantxorena@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
http://code.google.com/p/tesseract-ocr/
|
|
Summary: version bump: app-text/tesseract-1.04b
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-06-03 19:10 0000
|
A new version of tesseract has been released some days ago, 1.04b (the "b"
doesn't stands for "beta", is a bugfix upgrade over the 1.04 version).
Also the webpage of the project has finally changed to the one in the URL
field, this should be changed in the ebuild also (in the new one and maybe in
the older ones).
Excuse me for not providing an update ebuild, I have no time now for this kind
of things. I write this bugreport in hope than someone with more experience and
time can do it.
Reproducible: Always
Steps to Reproduce:
I receive the following error on my x86:
Error: Unable to open unicharset!
Fatal error: No error trap defined!
Signal_termination_handler called with signal 3000
Signal_exit 30 SIGNAL ABORT. LocCode: 3 SignalCode: 3
Found the reason for the unicharset problem (via strace):
Tesseract tries to open the following file:
/usr/share/tessdata/eng.unicharset
... but this file will be installed by the ebuild in
/usr/lib/tesseract/tessdata/eng.unicharset
(In reply to comment #6)
> Found the reason for the unicharset problem (via strace):
>
> Tesseract tries to open the following file:
> /usr/share/tessdata/eng.unicharset
>
> ... but this file will be installed by the ebuild in
> /usr/lib/tesseract/tessdata/eng.unicharset
>
Can you post command which you run when received this error ?
Hello Evgeniy,
First the command which I run:
> tesseract phototest.tif testout
(the image phototest.tif is in the tesseract tarball)
The new ebuild works fine, even withou the following line in src_unpack():
sed -i -e "s/datadir = \${prefix}\/share\/tessdata/datadir =
\${prefix}\/$(get_libdir)\/${PN}/" ${WORKDIR}/tesseract-1.04/tessdata/Makefile
I think this isn't necessary.
Thanx
(In reply to comment #9)
> Hello Evgeniy,
> First the command which I run:
> > tesseract phototest.tif testout
> (the image phototest.tif is in the tesseract tarball)
>
> The new ebuild works fine, even withou the following line in src_unpack():
> sed -i -e "s/datadir = \${prefix}\/share\/tessdata/datadir =
> \${prefix}\/$(get_libdir)\/${PN}/" ${WORKDIR}/tesseract-1.04/tessdata/Makefile
>
> I think this isn't necessary.
>
> Thanx
>
Without --datadir=/usr/$(get_libdir)/${PN} option on econf line ?
The --datadir=/usr/$(get_libdir)/${PN} option is necessary.
The sed-thing not.