From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 8 02:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEFCEF8C for ; Thu, 8 May 2014 02:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 952C6A63 for ; Thu, 8 May 2014 02:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s482001K002023 for ; Thu, 8 May 2014 02:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s48200rF002022; Thu, 8 May 2014 02:00:00 GMT (envelope-from gnats) Resent-Date: Thu, 8 May 2014 02:00:00 GMT Resent-Message-Id: <201405080200.s48200rF002022@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hiroto Kagotani Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A61FCF6 for ; Thu, 8 May 2014 01:51:17 +0000 (UTC) Received: from moodle.ec.okayama-u.ac.jp (moodle.ec.okayama-u.ac.jp [150.46.138.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 974D1A22 for ; Thu, 8 May 2014 01:51:15 +0000 (UTC) Received: from luna5.infsys.cne.okayama-u.ac.jp ([172.28.233.27]) by moodle.ec.okayama-u.ac.jp (8.14.7/8.14.7) with ESMTP id s481hv8U096267 for ; Thu, 8 May 2014 10:43:57 +0900 (JST) (envelope-from kagotani@luna5.infsys.cne.okayama-u.ac.jp) Received: from luna5.infsys.cne.okayama-u.ac.jp (localhost [127.0.0.1]) by luna5.infsys.cne.okayama-u.ac.jp (8.14.7/8.14.7) with ESMTP id s481hqM1041409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 8 May 2014 10:43:52 +0900 (JST) (envelope-from kagotani@luna5.infsys.cne.okayama-u.ac.jp) Received: (from root@localhost) by luna5.infsys.cne.okayama-u.ac.jp (8.14.7/8.14.7/Submit) id s481hpPl041408; Thu, 8 May 2014 10:43:51 +0900 (JST) (envelope-from kagotani) Message-Id: <201405080143.s481hpPl041408@luna5.infsys.cne.okayama-u.ac.jp> Date: Thu, 8 May 2014 10:43:51 +0900 (JST) From: Hiroto Kagotani To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/189452: [MAINTAINER] japanese/nhocr: update to 0.21 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2014 02:00:00 -0000 >Number: 189452 >Category: ports >Synopsis: [MAINTAINER] japanese/nhocr: update to 0.21 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu May 08 02:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Hiroto Kagotani >Release: FreeBSD 10.0-RELEASE-p2 amd64 >Organization: >Environment: System: FreeBSD myhost.mydomain 10.0-RELEASE-p2 FreeBSD 10.0-RELEASE-p2 #0: Tue Apr 29 17:06:01 UTC 2014 >Description: - Update to 0.21 - Support staging Generated with FreeBSD Port Tools 1.02 (mode: update, diff: suffix) >How-To-Repeat: >Fix: --- ja-nhocr-0.21.patch begins here --- diff -ruN ../nhocr.orig/Makefile ./Makefile --- ../nhocr.orig/Makefile 2013-09-21 03:47:54.000000000 +0900 +++ ./Makefile 2014-05-08 10:00:40.000000000 +0900 @@ -2,22 +2,24 @@ # $FreeBSD: head/japanese/nhocr/Makefile 327737 2013-09-20 18:47:54Z bapt $ PORTNAME= nhocr -PORTVERSION= 0.16 +PORTVERSION= 0.21 CATEGORIES= japanese graphics MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= hiroto.kagotani@gmail.com COMMENT= OCR engine for Japanese language +LICENSE= APACHE20 + BUILD_DEPENDS= ${LOCALBASE}/lib/libsip.a:${PORTSDIR}/graphics/O2-tools +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-O2tools=${LOCALBASE} --datadir=${DATADIR} -NO_STAGE= yes post-install: - ${MKDIR} ${PREFIX}/share/ocropus/scripts - ${INSTALL_DATA} ${WRKSRC}/ocropus/rec-nhocr-0.3.lua ${PREFIX}/share/ocropus/scripts/rec-nhocr.lua + ${MKDIR} ${STAGEDIR}${PREFIX}/share/ocropus/scripts + ${INSTALL_DATA} ${WRKSRC}/ocropus/rec-nhocr-0.3.lua ${STAGEDIR}${PREFIX}/share/ocropus/scripts/rec-nhocr.lua @${CAT} ${PKGMESSAGE} .include diff -ruN ../nhocr.orig/distinfo ./distinfo --- ../nhocr.orig/distinfo 2014-01-23 00:30:13.000000000 +0900 +++ ./distinfo 2014-05-07 20:42:35.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (nhocr-0.16.tar.gz) = 68369747a0f5989df5a69969f3933e919d70ddd4e8dbdd70629bb06512d459f2 -SIZE (nhocr-0.16.tar.gz) = 5775971 +SHA256 (nhocr-0.21.tar.gz) = b862391deb1d2b0bf54e316cf7037018c370c9c835dcea61a047be2c8ea6e9f8 +SIZE (nhocr-0.21.tar.gz) = 6234716 diff -ruN ../nhocr.orig/files/patch-libnhocr__nhrec.cpp ./files/patch-libnhocr__nhrec.cpp --- ../nhocr.orig/files/patch-libnhocr__nhrec.cpp 2014-01-23 02:40:44.000000000 +0900 +++ ./files/patch-libnhocr__nhrec.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- ./libnhocr/nhrec.cpp.orig 2009-05-10 23:56:11.000000000 +0900 -+++ ./libnhocr/nhrec.cpp 2009-05-19 19:24:48.000000000 +0900 -@@ -45,7 +45,7 @@ - - - // default file/path names --static char *nhocrlibdir0 = "/opt/nhocr/share"; -+static char *nhocrlibdir0 = "/usr/local/share/nhocr"; - static char *cctablefile0 = "cctable.utf-8"; - static char *dicfile0 = "PLM.dic"; - diff -ruN ../nhocr.orig/files/patch-libnhocr__ocrbase.cpp ./files/patch-libnhocr__ocrbase.cpp --- ../nhocr.orig/files/patch-libnhocr__ocrbase.cpp 2014-01-23 02:40:44.000000000 +0900 +++ ./files/patch-libnhocr__ocrbase.cpp 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- ./libnhocr/ocrbase.cpp.orig 2009-05-15 15:55:20.000000000 +0900 -+++ ./libnhocr/ocrbase.cpp 2009-05-19 19:24:48.000000000 +0900 -@@ -9,7 +9,7 @@ - #include - #include - #include --#include -+#include - - #if defined (__SVR4) && defined (__sun) - #include diff -ruN ../nhocr.orig/files/patch-makechar__Makefile.in ./files/patch-makechar__Makefile.in --- ../nhocr.orig/files/patch-makechar__Makefile.in 1970-01-01 09:00:00.000000000 +0900 +++ ./files/patch-makechar__Makefile.in 2014-05-07 20:53:45.000000000 +0900 @@ -0,0 +1,13 @@ +--- ./makechar/Makefile.in.orig 2013-05-04 00:52:33.306113000 +0900 ++++ ./makechar/Makefile.in 2014-05-07 20:53:43.000000000 +0900 +@@ -178,8 +178,8 @@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + makechar_SOURCES = makechar.cpp +-AM_CXXFLAGS = -I/usr/include/freetype2 -I/usr/sfw/include/freetype2 -I../libnhocr +-makechar_LDADD = -L/usr/sfw/lib -L../libnhocr -lm -lfreetype -lnhocr -lufp -lsip ++AM_CXXFLAGS = -I$(LOCALBASE)/include/freetype2 -I../libnhocr ++makechar_LDADD = -L$(LOCALBASE)/lib -L../libnhocr -lm -lfreetype -lnhocr -lufp -lsip + all: all-am + + .SUFFIXES: diff -ruN ../nhocr.orig/files/patch-ocropus__rec-nhocr-0.3.lua ./files/patch-ocropus__rec-nhocr-0.3.lua --- ../nhocr.orig/files/patch-ocropus__rec-nhocr-0.3.lua 2014-01-23 02:40:44.000000000 +0900 +++ ./files/patch-ocropus__rec-nhocr-0.3.lua 2014-05-07 20:53:45.000000000 +0900 @@ -1,5 +1,5 @@ --- ./ocropus/rec-nhocr-0.3.lua.orig 2009-05-15 17:17:07.000000000 +0900 -+++ ./ocropus/rec-nhocr-0.3.lua 2009-05-19 19:34:47.000000000 +0900 ++++ ./ocropus/rec-nhocr-0.3.lua 2014-05-07 20:53:43.000000000 +0900 @@ -41,6 +41,6 @@ for i = 1,regions:length()-1 do regions:extract(line_image,page_image,i,1) diff -ruN ../nhocr.orig/pkg-plist ./pkg-plist --- ../nhocr.orig/pkg-plist 2014-01-23 00:16:56.000000000 +0900 +++ ./pkg-plist 2014-05-07 21:02:06.000000000 +0900 @@ -1,11 +1,17 @@ bin/nhocr -%%DATADIR%%/PLM.dic -%%DATADIR%%/cctable.utf-8 +include/codelist.h +include/gramdclient.h include/nhocr.h include/ocrbase.h -include/codelist.h lib/libnhocr.a +sbin/makechar +sbin/makedic +sbin/makevec +%%DATADIR%%/PLM-ascii+.dic +%%DATADIR%%/PLM-jpn.dic +%%DATADIR%%/cctable-ascii+ +%%DATADIR%%/cctable-jpn share/ocropus/scripts/rec-nhocr.lua -@dirrm %%DATADIR%% @dirrmtry share/ocropus/scripts @dirrmtry share/ocropus +@dirrm %%DATADIR%% --- ja-nhocr-0.21.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: