Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2003 14:02:50 -0500
From:      Jonathan <j.e.drews@worldnet.att.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54154: Kde program Kooka is missing OCR
Message-ID:  <200307061402.50638.j.e.drews@worldnet.att.net>
Resent-Message-ID: <200307061900.h66J0asr039316@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54154
>Category:       ports
>Synopsis:       program kooka does not load it's OCR package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 06 12:00:36 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD analytic.engine 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Jul 4 
19:22:56 CDT 2003 root@analytic.engine:/usr/obj/usr/src/sys/STABLE_48 i386

>Description:
        The program kooka, which is part of /usr/ports/graphics/kdegraphics3/, 
does not load the gocr software.

How-To-Repeat:
Kooka is a front end to the SANE scanning program. Start Kooka and scan a text 
document. Now try to use the OCR and you will get this message:
        
"The path does not lead to the gocr-binary.
Please check your installation and/or install gocr."

This happens because /usr/ports/graphics/gocr/ is not installed, as a run 
dependency.

>How-To-Repeat:
>Fix:

 Apply the following patch to /usr/ports/graphics/kdegraphics3/Makefile. The 
port was checked with portlint -Av and tested in accordance with section 2.4, 
of the porters handbook. The only warnings were that common dir's used by Kde 
could not be deleted, when doing make deinstall. Kooka and it's OCR were 
tested after the make install and pkg_add. 





--Boundary-00=_aJHC/9Phnmyj8EO
Content-Type: text/x-makefile;
  charset="us-ascii";
  name="Makefile.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="Makefile.diff"

--- /home/bsd/patches/kooka/Makefile	Sat Jul  5 16:48:06 2003
+++ Makefile	Sat Jul  5 19:47:15 2003
@@ -67,6 +67,7 @@
 .if defined(WITH_SANE)
 LIB_DEPENDS+=	sane.1:${PORTSDIR}/graphics/sane-backends
 PLIST_APPEND+=	plist.sane
+RUN_DEPENDS=	${LOCALBASE}/bin/gocr:${PORTSDIR}/graphics/gocr
 .else
 pre-everything::
 	@${ECHO_MSG}

--Boundary-00=_aJHC/9Phnmyj8EO--

>Release-Note:
>Audit-Trail:
>Unformatted:
 --Boundary-00=_aJHC/9Phnmyj8EO
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 From: Jonathan Drews
 Reply-To: j.e.drews@att.net
 Cc:
 X-send-pr-version: 3.113
 X-GNATS-Notify:
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307061402.50638.j.e.drews>