tags 612032 + patch tags 612032 + pending thanks Dear maintainer,
I've prepared an NMU for tesseract (versioned as 2.04-2.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer.
This xterm-based debug window feature looked very awkward to me, is undocumented and not used by default; so I went ahead and disabled it entirely.
-- Jakub Wilk
diffstat for tesseract_2.04-2 tesseract_2.04-2.1 debian/patches/debugwin-xterm | 20 ++++++++++++++++++++ tesseract-2.04/debian/changelog | 9 +++++++++ tesseract-2.04/debian/control | 2 +- tesseract-2.04/debian/patches/series | 1 + 4 files changed, 31 insertions(+), 1 deletion(-) diff -u tesseract-2.04/debian/changelog tesseract-2.04/debian/changelog --- tesseract-2.04/debian/changelog +++ tesseract-2.04/debian/changelog @@ -1,3 +1,12 @@ +tesseract (2.04-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Bump build-dependency on quilt to >= 0.46-7~. + * Disable xterm-based debug windows (closes: #612032, LP: #607297). Thanks + to Kees Cook for the bug report. + + -- Jakub Wilk <jw...@debian.org> Thu, 10 Feb 2011 16:35:45 +0100 + tesseract (2.04-2) unstable; urgency=low * Fix FTBFS with gcc4.4 (Closes: #504885) diff -u tesseract-2.04/debian/control tesseract-2.04/debian/control --- tesseract-2.04/debian/control +++ tesseract-2.04/debian/control @@ -2,7 +2,7 @@ Section: graphics Priority: optional Maintainer: Jeffrey Ratcliffe <jeffrey.ratcli...@gmail.com> -Build-Depends: debhelper (>= 7.0.50~), libtiff4-dev, quilt (>= 0.40) +Build-Depends: debhelper (>= 7.0.50~), libtiff4-dev, quilt (>= 0.46-7~) Standards-Version: 3.8.3 Homepage: http://code.google.com/p/tesseract-ocr/ DM-Upload-Allowed: yes diff -u tesseract-2.04/debian/patches/series tesseract-2.04/debian/patches/series --- tesseract-2.04/debian/patches/series +++ tesseract-2.04/debian/patches/series @@ -2,0 +3 @@ +debugwin-xterm only in patch2: unchanged: --- tesseract-2.04.orig/debian/patches/debugwin-xterm +++ tesseract-2.04/debian/patches/debugwin-xterm @@ -0,0 +1,20 @@ +Description: Disable xterm-based debug windows. +Author: Jakub Wilk <jw...@debian.org> +Bug-Debian: http://bugs.debian.org/612032 +Bug-Ubuntu: http://launchpad.net/bugs/607297 +Bug: http://code.google.com/p/tesseract-ocr/issues/detail?id=448 +Forwarded: no +Last-Update: 2011-02-10 + +--- a/ccutil/debugwin.cpp ++++ b/ccutil/debugwin.cpp +@@ -23,7 +23,8 @@ + + DLLSYM INT_VAR (debug_lines, 256, "Number of lines in debug window"); + +-#ifndef GRAPHICS_DISABLED ++#if 0 ++/* Disabled for Debian */ + + #ifdef __MAC__ + #include <ltextedit.h>