Package a libmagick++-enabled version of cuneiform

Bug #654767 reported by FriedChicken
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cuneiform (Ubuntu)
Fix Released
Medium
Stefano Rivera
Lucid
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: cuneiform

Without libmagick++-support (libmagick++-dev has to be installed at compile time) cuneiform will only perform on bmp files.

This wouldn't be such a big problem if it wanted the BMP files in a very special way. A simple "convert"-command is not enough:
   $ convert blop.jpg blop.bmp
   $ cuneiform -l ger -f smarttext /tmp/blop.bmp
   Cuneiform for Linux 0.7.0
   /tmp/blop.bmpis a compressed BMP. Only uncompressed BMP files are supported.
   Please convert your BMP to uncompressed V3 format and try again.
   $ convert blop.jpg BMP3:blop.bmp
   $ cuneiform -l ger -f smarttext /tmp/blop.bmp
   Cuneiform for Linux 0.7.0
   /tmp/blop.bmpis a compressed BMP. Only uncompressed BMP files are supported.
   Please convert your BMP to uncompressed V3 format and try again.

So I guess it would be the best (and easiest) to enable libmagick++ and let cuneiform do the conversion job.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: cuneiform 0.7.0+dfsg-5
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Mon Oct 4 20:35:41 2010
InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron:
 LANGUAGE=
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: cuneiform

Revision history for this message
FriedChicken (domlyons) wrote :
Revision history for this message
FriedChicken (domlyons) wrote :

As I found ou on http://www.imagemagick.org/Usage/formats/#bmp the conversion can be done using
 $ convert blop.jpg ppm:- | convert - BMP3:image.bpm

Now cuneiform takes the BMP file. But I guess that's not an usual workaround a normal user who just wants to OCR a few documents will try... So the problem persists.

Revision history for this message
Stefano Rivera (stefanor) wrote :

This appears to have been caused by a missing pkg-config during the lucid build. A rebuild / sync on maverick will solve it, and an SRU with pkg-config added to BD should sort out lucid.

Changed in cuneiform (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
importance: Undecided → Medium
status: New → Triaged
Changed in cuneiform (Ubuntu Lucid):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Stefano Rivera (stefanor) wrote :

Maverick sync tracked in LP: #654819

SRU Patch attached.

Changed in cuneiform (Ubuntu Lucid):
status: Triaged → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

I synced the new package into maverick.

Changed in cuneiform (Ubuntu):
status: Triaged → Fix Released
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted cuneiform into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Stefano Rivera (stefanor) wrote :

Looks good to me. Build logs show linking against libmagick++ and it can now OCR PNGs

tags: added: verification-done
removed: verification-needed
Revision history for this message
FriedChicken (domlyons) wrote :

Yes, works in maverick, too. Tank you!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cuneiform - 0.7.0+dfsg-5ubuntu0.1

---------------
cuneiform (0.7.0+dfsg-5ubuntu0.1) lucid-proposed; urgency=low

  * Build-Depend on pkg-config (LP: #654767)
 -- Stefano Rivera <email address hidden> Mon, 04 Oct 2010 22:42:07 +0200

Changed in cuneiform (Ubuntu Lucid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.