Source: tesseract
Version: 3.02.01-4
Severity: important
Justification: shared library policy
Tags: patch
Blocked-by: 664176

Hi,

Please depend on liblept3 (instead of using a versioned dependency on
libleptonica) once the leptonlib package learns to build it
(bug#664176).  The shlibs system will make the right dependency
automatically so this just means removing the hardcoded versioned
dependency on libleptonica.

The patch below should take care of it.  I tested it with 1.69-3.1
in place of 1.69-4~ and it worked fine for me.

Since this is a (small) transition it requires coordination with the
release team.  If you have any questions, please don't hesitate to
ask.

Thanks,
Jonathan

 debian/changelog |    9 +++++++++
 debian/control   |    4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index df8a2512..1e0d1a3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+tesseract (3.02.01-4.1) local; urgency=low
+
+  * Depend on libleptonica-dev (>= 1.69-4~) at build time for
+    the fix to #664176.
+  * Depend on liblept3 using the shlibs facility instead of a
+    hardcoded libleptonica dependency.
+
+ -- Jonathan Nieder <jrnie...@gmail.com>  Sat, 07 Jul 2012 01:40:08 -0500
+
 tesseract (3.02.01-4) unstable; urgency=low
 
   * Create dummy transition package (closes: #658478)
diff --git a/debian/control b/debian/control
index b0d412b2..a543cddd 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: graphics
 Priority: optional
 Maintainer: Jeffrey Ratcliffe <jeffrey.ratcli...@gmail.com>
 Uploaders: Jeff Breidenbach <j...@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), libleptonica-dev (>= 1.69~), automake, 
libtool
+Build-Depends: debhelper (>= 7.0.50~), libleptonica-dev (>= 1.69-4~), 
automake, libtool
 Standards-Version: 3.9.2
 Homepage: http://code.google.com/p/tesseract-ocr/
 
@@ -32,7 +32,7 @@ Package: libtesseract3
 Breaks: tesseract-ocr (<< 3.01~), ocropus (<< 0.4.0~)
 Replaces: tesseract-ocr (<< 3.01~)
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libleptonica (>= 1.69~)
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Command line OCR tool
  The Tesseract OCR engine was one of the top 3 engines in the 1995
  UNLV Accuracy test. Between 1995 and 2006 it had little work done on
-- 
1.7.10.4




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to