pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/tesseract Add language-specific data sets dis...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5f56cb6004ad
branches: trunk
changeset: 562133:5f56cb6004ad
user: brook <brook%pkgsrc.org@localhost>
date: Tue Jul 21 16:00:19 2009 +0000
description:
Add language-specific data sets distributed by the project. The tesseract
distribution itself just creates dummy, placeholder data sets that cannot
be used.
diffstat:
graphics/tesseract/Makefile | 9 +++++++--
graphics/tesseract/distinfo | 20 +++++++++++++++++++-
2 files changed, 26 insertions(+), 3 deletions(-)
diffs (63 lines):
diff -r 097b89233092 -r 5f56cb6004ad graphics/tesseract/Makefile
--- a/graphics/tesseract/Makefile Tue Jul 21 15:03:29 2009 +0000
+++ b/graphics/tesseract/Makefile Tue Jul 21 16:00:19 2009 +0000
@@ -1,9 +1,13 @@
-# $NetBSD: Makefile,v 1.5 2008/10/30 22:12:59 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2009/07/21 16:00:19 brook Exp $
#
DISTNAME= tesseract-2.03
CATEGORIES= graphics
MASTER_SITES= http://tesseract-ocr.googlecode.com/files/
+DISTFILES+= ${DISTNAME}.tar.gz
+.for l in deu eng fra ita nld spa
+DISTFILES+= tesseract-2.00.$l.tar.gz
+.endfor
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://code.google.com/p/tesseract-ocr/
@@ -13,7 +17,7 @@
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
-USE_TOOLS+= gmake
+USE_TOOLS+= gmake pax
post-extract:
${RM} ${WRKSRC}/java/makefile
@@ -30,6 +34,7 @@
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/tesseract
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/tesseract
${INSTALL_DATA} ${WRKSRC}/phototest.tif ${DESTDIR}${PREFIX}/share/tesseract
+ cd ${WRKDIR}/tessdata && ${PAX} -rw * ${DESTDIR}${PREFIX}/share/tessdata
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 097b89233092 -r 5f56cb6004ad graphics/tesseract/distinfo
--- a/graphics/tesseract/distinfo Tue Jul 21 15:03:29 2009 +0000
+++ b/graphics/tesseract/distinfo Tue Jul 21 16:00:19 2009 +0000
@@ -1,5 +1,23 @@
-$NetBSD: distinfo,v 1.5 2008/10/30 22:12:59 wiz Exp $
+$NetBSD: distinfo,v 1.6 2009/07/21 16:00:19 brook Exp $
+SHA1 (tesseract-2.00.deu.tar.gz) = d8d89e2681421a144f3a1ec61ee0c530686f5096
+RMD160 (tesseract-2.00.deu.tar.gz) = c7e6755e94084114fb1a1be8e9308c8dddd2fdda
+Size (tesseract-2.00.deu.tar.gz) = 1373777 bytes
+SHA1 (tesseract-2.00.eng.tar.gz) = 40292c8d206090c4ab342f6b7814ea41c075abce
+RMD160 (tesseract-2.00.eng.tar.gz) = 4a8090729504c216b3988f189ea79a5a5e223173
+Size (tesseract-2.00.eng.tar.gz) = 1013090 bytes
+SHA1 (tesseract-2.00.fra.tar.gz) = 24f58cab2b1418816ba09e6f28e33aee34605889
+RMD160 (tesseract-2.00.fra.tar.gz) = 96bf4e6bfca6ac2b9a3ec03b545a4fd12d8f343e
+Size (tesseract-2.00.fra.tar.gz) = 1007776 bytes
+SHA1 (tesseract-2.00.ita.tar.gz) = 8ac6c41708950660fd66789f5925068577fb89b1
+RMD160 (tesseract-2.00.ita.tar.gz) = 05e739d684ab138b5bb032526e019bfa01e1a2f6
+Size (tesseract-2.00.ita.tar.gz) = 977683 bytes
+SHA1 (tesseract-2.00.nld.tar.gz) = 8bc0a5877c1992ab10a9e124643fd9006ff30350
+RMD160 (tesseract-2.00.nld.tar.gz) = ce16fbf17d4ce544269b37f5c07d5239fad22bff
+Size (tesseract-2.00.nld.tar.gz) = 1408071 bytes
+SHA1 (tesseract-2.00.spa.tar.gz) = 49206b79407cb23bc23b1cd95bee02544f2fcf9b
+RMD160 (tesseract-2.00.spa.tar.gz) = 0e1fcb5739b95d4131efeea440d353f5638bb57d
+Size (tesseract-2.00.spa.tar.gz) = 1365863 bytes
SHA1 (tesseract-2.03.tar.gz) = b7859278ff98a8b64bf98b5a519688e1559cec57
RMD160 (tesseract-2.03.tar.gz) = 7519e7f4d876444bd3264d599dbf423e22443311
Size (tesseract-2.03.tar.gz) = 1075509 bytes
Home |
Main Index |
Thread Index |
Old Index