Description of problem: libleptonica is build without tiff,gif,png,zlib support; making it quite useless. (tesseract is non functional for example) due to missing statements in spec file (so, the needed devel libs are not triggered in automated package build) solution: add following lines to spec file: BuildRequires: tiff-devel BuildRequires: jpeg-devel BuildRequires: png-devel BuildRequires: libgif-devel BuildRequires: zlib-devel I tested regenerating the pacakge locally with the libs present, it built ok and the functionality was in ok. Reproducible: Steps to Reproduce:
Blocks: (none) => 10403
CC: (none) => pablo
Welcome back Pablo :-) Just fixed in Cauldron.
CC: (none) => thierry.vignaud
(it's nice to be back :) ) The cauldron rpm fixes the issue. IMHO a quick update for mga3 should be done (linked with libpng15), as the current version in mga3 makes it completly unfunctional. I did a simple rpm rebuild on mga3 (with all the needed *-devel installed) and the resulting rpm worked ok.
Would you like to become a contributor?
Keywords: (none) => TriagedAssignee: bugsquad => zen25000
Update Advisory The following have been submitted to 3/core/updates_testing to fix this bug. libleptonica3-1.69-2.1.mga3.i586.rpm libleptonica-devel-1.69-2.1.mga3.i586.rpm leptonica-debuginfo-1.69-2.1.mga3.i586.rpm from leptonica-1.69-2.1.mga3.src.rpm
Keywords: (none) => validated_updateAssignee: zen25000 => qa-bugsCC: (none) => sysadmin-bugs
Only QA can set validated_update
Keywords: validated_update => (none)CC: (none) => tmb
Testing mga3 64 Before ------ $ tesseract Pictures/BuzzwordBingo.jpg tess Tesseract Open Source OCR Engine v3.02.02 with Leptonica Error in pixReadStreamJpeg: function not present Error in pixReadStream: jpeg: no pix returned Error in pixRead: pix not read Unsupported image type. $ tesseract Pictures/mapoftheinternet.png tess Tesseract Open Source OCR Engine v3.02.02 with Leptonica Error in pixReadStreamPng: function not present Error in pixReadStream: png: no pix returned Error in pixRead: pix not read Unsupported image type. $ tesseract Pictures/tile-alien.gif tess Tesseract Open Source OCR Engine v3.02.02 with Leptonica Error in pixReadStreamGif: function not present Error in pixReadStream: gif: no pix returned Error in pixRead: pix not read Unsupported image type. After ----- Will test as soon as my mirror updates, having ISP problems this week.
(In reply to Thomas Backlund from comment #5) > Only QA can set validated_update Yes of course - I don't understand why you made that comment, did I do something wrong?
CC: (none) => zen25000
Ah OK now I see it in email - I have no idea how that got changed though, I certainly did not set that intentionally - baffled :\ Thinking back I tried to use Manuel's Greasemonkey script to change the assignee to qa (using the QA button) but it did not do what I expected. I thought I had reverted all it's changes but maybe that did it. I will not touch the QA button again ;)
Use it all you like Barry, I think you owe us some testing though ;)
Testing complete mga3 64 $ tesseract Pictures/BuzzwordBingo.jpg tess Tesseract Open Source OCR Engine v3.02.02 with Leptonica $ less tess.txt $ tesseract Pictures/mapoftheinternet.png tess Tesseract Open Source OCR Engine v3.02.02 with Leptonica $ less tess.txt $ tesseract Pictures/tile-alien.gif tess Tesseract Open Source OCR Engine v3.02.02 with Leptonica Empty page!! Empty page!!
Whiteboard: (none) => has_procedure mga3-64-ok
(In reply to Barry Jackson from comment #8) > Ah OK now I see it in email - I have no idea how that got changed though, I > certainly did not set that intentionally - baffled :\ > > Thinking back I tried to use Manuel's Greasemonkey script to change the > assignee to qa (using the QA button) but it did not do what I expected. I > thought I had reverted all it's changes but maybe that did it. > > I will not touch the QA button again ;) Fixed in some way in the version 0.8.9
Testing complete mga3 i586 Trested with tesseract using png, gif, jpeg, tif input format, both with English and French OCR. Works nicely. Once again, QA lets me discover a nice piece of software \o/ -- Validating update. Please commit the advisory and push the update. Update advisory (based on comment 4 and comment 0): =============== libleptonica was built without tiff, gif, png, jpeg and zlib support; making it quite useless. As an example, tesseract was non functional because of this (mga#10403). RPMs ==== libleptonica3-1.69-2.1.mga3.i586.rpm libleptonica-devel-1.69-2.1.mga3.i586.rpm leptonica-debuginfo-1.69-2.1.mga3.i586.rpm SRPM ==== leptonica-1.69-2.1.mga3.src.rpm
Keywords: (none) => validated_updateCC: (none) => remiWhiteboard: has_procedure mga3-64-ok => has_procedure mga3-64-ok mga3-32-ok
MGA3-32-OK [Confirmation of other tests, copy ex bug 10403] Installed 'release' tesseract, basic fault re-produced. Updated tesseract-3.02.02-3.1.mga3.i586.rpm libtesseract3-3.02.02-3.1.mga3.i586.rpm tesseract-eng-3.02.02-3.1.mga3.noarch.rpm tesseract-fra-3.02.02-3.1.mga3.noarch.rpm libleptonica3-1.69-2.1.mga3.i586.rpm De-coded successfully (relatively) an English TIF with various font sizes incl italic; and a French JPEG landscape double-page. Not sure to what extent libleptonica3 was involved in this.
CC: (none) => lewyssmith
Advisory uploaded
http://advisories.mageia.org/MGAA-2013-0040.html
Status: NEW => RESOLVEDCC: (none) => boklmResolution: (none) => FIXED
CC: boklm => (none)