Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 180781
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Patrick McLean <chutzpah@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Juan Aguado <juantxorena@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tesseract-1.04b.ebuild tesseract-1.04b.ebuild text/plain Evgeniy Kliymovich 2007-06-03 21:41 0000 1.24 KB Details
tesseract-1.04b.xterm-path.patch tesseract-1.04b.xterm-path.patch patch Evgeniy Kliymovich 2007-06-03 21:42 0000 525 bytes Details | Diff
tesseract-1.04b-globals.patch tesseract-1.04b-globals.patch patch Evgeniy Kliymovich 2007-06-03 21:43 0000 1.67 KB Details | Diff
tesseract-1.04b.ebuild tesseract-1.04b.ebuild text/plain Evgeniy Kliymovich 2007-06-07 02:47 0000 1.41 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 180781 depends on: Show dependency tree
Bug 180781 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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:

------- Comment #1 From Evgeniy Kliymovich 2007-06-03 21:41:32 0000 -------
Created an attachment (id=121072) [details]
tesseract-1.04b.ebuild

New ebuild

------- Comment #2 From Evgeniy Kliymovich 2007-06-03 21:42:49 0000 -------
Created an attachment (id=121076) [details]
tesseract-1.04b.xterm-path.patch

xterm patch

------- Comment #3 From Evgeniy Kliymovich 2007-06-03 21:43:44 0000 -------
Created an attachment (id=121077) [details]
tesseract-1.04b-globals.patch

globals patch

------- Comment #4 From Evgeniy Kliymovich 2007-06-03 21:44:48 0000 -------
It work for my AMD64

------- Comment #5 From valli 2007-06-06 13:58:06 0000 -------
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

------- Comment #6 From valli 2007-06-06 14:36:15 0000 -------
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

------- Comment #7 From Evgeniy Kliymovich 2007-06-07 01:50:25 0000 -------
(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 ?

------- Comment #8 From Evgeniy Kliymovich 2007-06-07 02:47:30 0000 -------
Created an attachment (id=121370) [details]
tesseract-1.04b.ebuild

Try this new ebuild, it must work.

------- Comment #9 From valli 2007-06-07 08:24:48 0000 -------
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

------- Comment #10 From Evgeniy Kliymovich 2007-06-07 11:43:30 0000 -------
(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 ?

------- Comment #11 From valli 2007-06-08 07:53:31 0000 -------
The --datadir=/usr/$(get_libdir)/${PN} option is necessary.
The sed-thing not.

------- Comment #12 From Patrick McLean 2007-07-10 18:32:07 0000 -------
Done.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug