Date: Tue, 16 Aug 2016 14:41:00 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420284 - in head/graphics: tesseract tesseract-data tesseract/files Message-ID: <201608161441.u7GEf0Z2026752@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Tue Aug 16 14:41:00 2016 New Revision: 420284 URL: https://svnweb.freebsd.org/changeset/ports/420284 Log: - Update graphics/tesseract to version 3.04.01 - Add TOOLS option for training tools - Update graphics/tesseract-data to version 3.04.00 - Now hosted on GitHub - Take maintainership of both ports PR: 211799 Submitted by: Piotr Kubaj Added: head/graphics/tesseract/files/ head/graphics/tesseract/files/patch-ccstruct_matrix.h (contents, props changed) Modified: head/graphics/tesseract-data/Makefile head/graphics/tesseract-data/distinfo head/graphics/tesseract-data/pkg-descr head/graphics/tesseract/Makefile head/graphics/tesseract/distinfo head/graphics/tesseract/pkg-plist Modified: head/graphics/tesseract-data/Makefile ============================================================================== --- head/graphics/tesseract-data/Makefile Tue Aug 16 13:58:50 2016 (r420283) +++ head/graphics/tesseract-data/Makefile Tue Aug 16 14:41:00 2016 (r420284) @@ -2,66 +2,41 @@ # $FreeBSD$ PORTNAME= tesseract-data -PORTVERSION= 3.02 -PORTREVISION= 2 +PORTVERSION= 3.04.00 CATEGORIES= graphics -MASTER_SITES= GOOGLE_CODE DISTFILES= ${TESSERACT_LANGS_300:O:u:S|$|.traineddata.gz|} \ ${TESSERACT_LANGS_301:O:u:S|^|tesseract-ocr-3.01.|:S|$|.tar.gz|} \ ${TESSERACT_LANGS_302:O:u:S|^|tesseract-ocr-3.02.|:S|$|.tar.gz|} -EXTRACT_ONLY= #empty +EXTRACT_ONLY= tesseract-ocr-tessdata-${PORTVERSION}_GH0${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= pkubaj@anongoth.pl COMMENT= Trained language data for the Tesseract OCR engine LICENSE= APACHE20 -DIST_SUBDIR= tesseract -PROJECTHOST= tesseract-ocr +USE_GITHUB= yes +GH_ACCOUNT= tesseract-ocr +GH_PROJECT= tessdata NO_BUILD= yes - -LANGS_300= dan-frak deu-frak swe-frak -LANGS_301= osd slk-frak -LANGS_302= afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu \ - ell eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin \ - hrv hun ind isl ita ita_old jpn kan kor lav lit mal mkd mlt \ - msa nld nor pol por ron rus slk slv spa spa_old sqi srp swa \ - swe tam tel tgl tha tur ukr vie - -.if make(makesum) -TESSERACT_LANGS= ${LANGS_300} ${LANGS_301} ${LANGS_302} -.else -TESSERACT_LANGS ?= ${LANGS_300} ${LANGS_301} ${LANGS_302} -.endif - -.for l in ${TESSERACT_LANGS} -.for n in 0 1 2 -.if ${LANGS_30${n}:M${l}} -TESSERACT_LANGS_30${n}+= ${LANGS_30${n}:M${l}} -.endif -.endfor -.endfor +NO_ARCH= yes DATADIR= ${PREFIX}/share/tessdata -PORTDATA= ${TESSERACT_LANGS:O:u:S|$|.traineddata|} +TESSERACT_LANGS?=afr amh ara asm aze aze_cyrl bel ben bod bos bul cat ceb ces \ + chi_sim chi_tra chr cym dan dan_frak deu deu_frak dzo ell eng \ + enm epo equ est eus fas fin fra frk frm gle glg grc guj hat heb \ + hin hrv hun iku ind isl ita ita_old jav jpn kan kat kat_old kaz \ + khm kir kor kur lao lat lav lit mal mar mkd mlt msa mya nep nld \ + nor ori osd pan pol por pus ron rus san sin slk slk_frak slv spa \ + spa_old sqi srp srp_latn swa swe syr tam tel tgk tgl tha tir tur \ + uig ukr urd uzb uzb_cyrl vie yid -pre-fetch: - @${ECHO_MSG} "" - @${ECHO_MSG} "The choice of language data to be installed may" - @${ECHO_MSG} "be overridden by defining TESSERACT_LANGS. " - @${ECHO_MSG} "" +PORTDATA= ${TESSERACT_LANGS:O:u:S|$|.traineddata|} do-install: @${MKDIR} ${STAGEDIR}${DATADIR} -.for l in ${TESSERACT_LANGS_300:O:u:S|$|.traineddata|} - @${GUNZIP_CMD} -c ${_DISTDIR}/${l}.gz > ${STAGEDIR}${DATADIR}/${l} -.endfor -.for n in 1 2 -.for l in ${TESSERACT_LANGS_30${n}:O:u} - @${TAR} --strip-components 2 -C ${STAGEDIR}${DATADIR} \ - -xf ${_DISTDIR}/tesseract-ocr-3.0${n}.${l}.tar.gz *.traineddata -.endfor +.for l in ${PORTDATA} + @${CP} ${WRKSRC}/${l} ${STAGEDIR}${DATADIR}/ .endfor @cd ${STAGEDIR}${DATADIR} ; ${CHMOD} ${BINMODE} ${PORTDATA} Modified: head/graphics/tesseract-data/distinfo ============================================================================== --- head/graphics/tesseract-data/distinfo Tue Aug 16 13:58:50 2016 (r420283) +++ head/graphics/tesseract-data/distinfo Tue Aug 16 14:41:00 2016 (r420284) @@ -1,140 +1,3 @@ -SHA256 (tesseract/dan-frak.traineddata.gz) = ddc9f75b6104618d0682c9c98f5fed1ec52b1b0d5a54d38a20b20f0ab5d9a32b -SIZE (tesseract/dan-frak.traineddata.gz) = 683525 -SHA256 (tesseract/deu-frak.traineddata.gz) = 59f005f735a33039d416f699bff0bae7d42e5ab000dca6e1aae99d99f3776dc5 -SIZE (tesseract/deu-frak.traineddata.gz) = 827836 -SHA256 (tesseract/swe-frak.traineddata.gz) = 2cf1a0e1eb8a0e3f8477ebcde44d99a9229f2c20b2d96ecb1ca6c25db5c6fdec -SIZE (tesseract/swe-frak.traineddata.gz) = 1503568 -SHA256 (tesseract/tesseract-ocr-3.01.osd.tar.gz) = 7861210fd0970ad30503e8c70d7841de6716bd293d8512fd8787a1a07219b7aa -SIZE (tesseract/tesseract-ocr-3.01.osd.tar.gz) = 4320544 -SHA256 (tesseract/tesseract-ocr-3.01.slk-frak.tar.gz) = f35b8a858d509c540a5829d94e8f8800ed25db4c904661000f4c4fa528d5c156 -SIZE (tesseract/tesseract-ocr-3.01.slk-frak.tar.gz) = 292809 -SHA256 (tesseract/tesseract-ocr-3.02.afr.tar.gz) = 371399ce6700f28d04ccfc12e421f315e356e3aa26575b27d06083c06987784d -SIZE (tesseract/tesseract-ocr-3.02.afr.tar.gz) = 1082552 -SHA256 (tesseract/tesseract-ocr-3.02.ara.tar.gz) = 2c7be319c30e93950c121897969c1bc1eb1d6bdceb75f1184ee34a6f01d66b6a -SIZE (tesseract/tesseract-ocr-3.02.ara.tar.gz) = 6613796 -SHA256 (tesseract/tesseract-ocr-3.02.aze.tar.gz) = 0f17a06a163d97ec23db3ab14b91b84a67aeba1e441ca5e53a8632b2110a0e79 -SIZE (tesseract/tesseract-ocr-3.02.aze.tar.gz) = 1418724 -SHA256 (tesseract/tesseract-ocr-3.02.bel.tar.gz) = e59e008c542f786f6f7bd14c6608b2c128c9297d6bede647ae357f7421f7a3e7 -SIZE (tesseract/tesseract-ocr-3.02.bel.tar.gz) = 1278018 -SHA256 (tesseract/tesseract-ocr-3.02.ben.tar.gz) = 14a87e0762dcee0cd95acfd3b370b81fd14a003d39328ed97db0b28c55d31e50 -SIZE (tesseract/tesseract-ocr-3.02.ben.tar.gz) = 6854068 -SHA256 (tesseract/tesseract-ocr-3.02.bul.tar.gz) = 1b8b4d7b12d896cf9f7e60e8e3274d3891886544253d41681dd9b32d6567e3f3 -SIZE (tesseract/tesseract-ocr-3.02.bul.tar.gz) = 1607632 -SHA256 (tesseract/tesseract-ocr-3.02.cat.tar.gz) = 894af4c718e821cdc4ae3ec65838b174ac8a003e5417a08557698e1576ac3a34 -SIZE (tesseract/tesseract-ocr-3.02.cat.tar.gz) = 1651754 -SHA256 (tesseract/tesseract-ocr-3.02.ces.tar.gz) = 843522eddcd0e2059a1c7069183b68c2459d527157bc47833a79b6ff56bb09de -SIZE (tesseract/tesseract-ocr-3.02.ces.tar.gz) = 1045965 -SHA256 (tesseract/tesseract-ocr-3.02.chi_sim.tar.gz) = f5b196b5bea6917bcbbf15131b4c2afe94d34c2d9e21d08c0ca42dfbe5aa1095 -SIZE (tesseract/tesseract-ocr-3.02.chi_sim.tar.gz) = 17920627 -SHA256 (tesseract/tesseract-ocr-3.02.chi_tra.tar.gz) = 78742e273a9ca74a6ab5543414e04bcac90d03a317dd35edc634956beafa3d20 -SIZE (tesseract/tesseract-ocr-3.02.chi_tra.tar.gz) = 24997251 -SHA256 (tesseract/tesseract-ocr-3.02.chr.tar.gz) = 27c917ba39898d63752b2a4ecb0cd8f688772bcbbae2bf430a93d894d328a4c1 -SIZE (tesseract/tesseract-ocr-3.02.chr.tar.gz) = 322002 -SHA256 (tesseract/tesseract-ocr-3.02.dan.tar.gz) = deb93f6326aa8a4d353159201681947a808577662084d4060daea7d644e63eb9 -SIZE (tesseract/tesseract-ocr-3.02.dan.tar.gz) = 2653066 -SHA256 (tesseract/tesseract-ocr-3.02.deu.tar.gz) = d03cdd0b00d368ff49ebaf77b8758bcf2ff1b0d39331368987e622ac261443ca -SIZE (tesseract/tesseract-ocr-3.02.deu.tar.gz) = 1825064 -SHA256 (tesseract/tesseract-ocr-3.02.ell.tar.gz) = 29745ced8fbfb4ec9abebeb99e4b385821cb5eb0ed81fb1870b93543553b8fba -SIZE (tesseract/tesseract-ocr-3.02.ell.tar.gz) = 866284 -SHA256 (tesseract/tesseract-ocr-3.02.eng.tar.gz) = c110029560e7f6d41cb852ca23b66899daa4456d9afeeae9d062204bd271bdf8 -SIZE (tesseract/tesseract-ocr-3.02.eng.tar.gz) = 12641221 -SHA256 (tesseract/tesseract-ocr-3.02.enm.tar.gz) = 19c9bd89c823451655e3f265b7fcd06727cd36ddec01b8fad9900159b688a1e3 -SIZE (tesseract/tesseract-ocr-3.02.enm.tar.gz) = 624909 -SHA256 (tesseract/tesseract-ocr-3.02.epo.tar.gz) = 22ae681c34ee7aa825994115f927c2e1f8ec1a98c97c01218b98d2549af22252 -SIZE (tesseract/tesseract-ocr-3.02.epo.tar.gz) = 1249158 -SHA256 (tesseract/tesseract-ocr-3.02.epo_alt.tar.gz) = e516b8362fa060be720d2768a8abbee9cc965b9162249c5914ef1d8159e03dc2 -SIZE (tesseract/tesseract-ocr-3.02.epo_alt.tar.gz) = 1472508 -SHA256 (tesseract/tesseract-ocr-3.02.equ.tar.gz) = 2010e724686171ef2eb3388df00d8d89ba7e50cb2298b0368b847fffb95d804e -SIZE (tesseract/tesseract-ocr-3.02.equ.tar.gz) = 827909 -SHA256 (tesseract/tesseract-ocr-3.02.est.tar.gz) = d5d6b9d4b567a10e2f63cafd2f60bf5b0c994e415470becafd729b20349e2e80 -SIZE (tesseract/tesseract-ocr-3.02.est.tar.gz) = 1881719 -SHA256 (tesseract/tesseract-ocr-3.02.eus.tar.gz) = 78359d57896623cf8211e17604a9dfa574e2253c9157035f439c5fbe06cd5019 -SIZE (tesseract/tesseract-ocr-3.02.eus.tar.gz) = 1639091 -SHA256 (tesseract/tesseract-ocr-3.02.fin.tar.gz) = e02ff1798960d3af15c0dafafac0de954442cfb13f4eff45c3263c2ff6e59026 -SIZE (tesseract/tesseract-ocr-3.02.fin.tar.gz) = 986093 -SHA256 (tesseract/tesseract-ocr-3.02.fra.tar.gz) = 74592f5f2ab73a6668934922753be0505fc4333ee790543949f8b70f03eab101 -SIZE (tesseract/tesseract-ocr-3.02.fra.tar.gz) = 6474735 -SHA256 (tesseract/tesseract-ocr-3.02.frk.tar.gz) = a9f4219d6b2ef4ed8b76c86be99ae3c9190509df72ba6f0217a77f7205ec52f8 -SIZE (tesseract/tesseract-ocr-3.02.frk.tar.gz) = 5915892 -SHA256 (tesseract/tesseract-ocr-3.02.frm.tar.gz) = f32f774d88e7936f16ff41b832cecfbd71f82c9bf7584330d750da941c07ca79 -SIZE (tesseract/tesseract-ocr-3.02.frm.tar.gz) = 5179468 -SHA256 (tesseract/tesseract-ocr-3.02.glg.tar.gz) = 82ffa27c4de17545fa9d46e0fcd5690b1b59bcce9e93f71c0a41d19afbe869ee -SIZE (tesseract/tesseract-ocr-3.02.glg.tar.gz) = 1668470 -SHA256 (tesseract/tesseract-ocr-3.02.grc.tar.gz) = 586b955eb9fba5a304cfa37bfdd7c89f2db33335d5ae83f2962aed8903266805 -SIZE (tesseract/tesseract-ocr-3.02.grc.tar.gz) = 3417998 -SHA256 (tesseract/tesseract-ocr-3.02.heb.tar.gz) = da47b0cfe241775c9b36339efda6339d59e146fa6143c65a2253eb9f67164811 -SIZE (tesseract/tesseract-ocr-3.02.heb.tar.gz) = 1062155 -SHA256 (tesseract/tesseract-ocr-3.02.hin.tar.gz) = 91f91da5adc73ee71150865d6598df8a50424350480df2753ca9035320b3c78d -SIZE (tesseract/tesseract-ocr-3.02.hin.tar.gz) = 10117234 -SHA256 (tesseract/tesseract-ocr-3.02.hrv.tar.gz) = e20575f5b0ec73ff7f3197c112a8dcc24303b64016910399d9127bda42e7d866 -SIZE (tesseract/tesseract-ocr-3.02.hrv.tar.gz) = 1917626 -SHA256 (tesseract/tesseract-ocr-3.02.hun.tar.gz) = edf5cc42b516b2a18681955167d1964dfc7ff8cda642408ebda91b3c4656f9f1 -SIZE (tesseract/tesseract-ocr-3.02.hun.tar.gz) = 3132378 -SHA256 (tesseract/tesseract-ocr-3.02.ind.tar.gz) = 337ba4400a798c60dee16070071337c96fc67bcb4e2cc1b4676dcbc340fbbcd7 -SIZE (tesseract/tesseract-ocr-3.02.ind.tar.gz) = 1872259 -SHA256 (tesseract/tesseract-ocr-3.02.isl.tar.gz) = 6b226366d8d2d87f859d4099e8b715e3ec3890f9317198e7b8c80fba001055f8 -SIZE (tesseract/tesseract-ocr-3.02.isl.tar.gz) = 1632509 -SHA256 (tesseract/tesseract-ocr-3.02.ita.tar.gz) = 26453b302c108e08f594c7a19597382314529f648e141805417f9af1e4c99ac2 -SIZE (tesseract/tesseract-ocr-3.02.ita.tar.gz) = 7173232 -SHA256 (tesseract/tesseract-ocr-3.02.ita_old.tar.gz) = caf591be6d4eda9e7627397c3c520d58115c660002ecace680749504348ba104 -SIZE (tesseract/tesseract-ocr-3.02.ita_old.tar.gz) = 3458741 -SHA256 (tesseract/tesseract-ocr-3.02.jpn.tar.gz) = 09bf447a29e990c065024b3b720fd70f08d596a7be534312fc9e47d0aabf681f -SIZE (tesseract/tesseract-ocr-3.02.jpn.tar.gz) = 13691665 -SHA256 (tesseract/tesseract-ocr-3.02.kan.tar.gz) = 15851cc22058c08cad9ec6058113f76966409061f21f5cde8c9cc1d214298c22 -SIZE (tesseract/tesseract-ocr-3.02.kan.tar.gz) = 4445839 -SHA256 (tesseract/tesseract-ocr-3.02.kor.tar.gz) = 7c85c4107a781d90d6d4adb001f2189b113f9db6942618b4bc47f4cc80cd126a -SIZE (tesseract/tesseract-ocr-3.02.kor.tar.gz) = 5419147 -SHA256 (tesseract/tesseract-ocr-3.02.lav.tar.gz) = e6a190ee1edf0a58948a9d7b01569fd8a4c05bc678da3a40ad884c0849958c36 -SIZE (tesseract/tesseract-ocr-3.02.lav.tar.gz) = 1826809 -SHA256 (tesseract/tesseract-ocr-3.02.lit.tar.gz) = 350891a182076df2e8067da04b3b2127a77e48782d9905e8339db4f1d6c7a729 -SIZE (tesseract/tesseract-ocr-3.02.lit.tar.gz) = 1762787 -SHA256 (tesseract/tesseract-ocr-3.02.mal.tar.gz) = 72b3b23979ae4a6b63518964bf239beae8bb6c02f35a2695f47262178b3fef34 -SIZE (tesseract/tesseract-ocr-3.02.mal.tar.gz) = 6048861 -SHA256 (tesseract/tesseract-ocr-3.02.mkd.tar.gz) = ea489277e7a588a1b7566a21cbbd647786f16659cae087a4705d4fdabd823ee6 -SIZE (tesseract/tesseract-ocr-3.02.mkd.tar.gz) = 1166336 -SHA256 (tesseract/tesseract-ocr-3.02.mlt.tar.gz) = ba99e8bfc753a274bbea38ef44f5abf81e5f12d09f9d12d267436961270ef2de -SIZE (tesseract/tesseract-ocr-3.02.mlt.tar.gz) = 1454216 -SHA256 (tesseract/tesseract-ocr-3.02.msa.tar.gz) = f34e4950ad9079f92965a234253cc16f92deb66f1ce4e9c9a885ad2695c2d136 -SIZE (tesseract/tesseract-ocr-3.02.msa.tar.gz) = 1664381 -SHA256 (tesseract/tesseract-ocr-3.02.nld.tar.gz) = 5e2e53499a05282968e5a9699aad66ae52a5abf06ae828e2f4cf2c1f6e674a98 -SIZE (tesseract/tesseract-ocr-3.02.nld.tar.gz) = 1139701 -SHA256 (tesseract/tesseract-ocr-3.02.nor.tar.gz) = 6b5c42444595a81b5f6fea859d97999895917bcc2f85a505488ea5c2f4efa01a -SIZE (tesseract/tesseract-ocr-3.02.nor.tar.gz) = 2184462 -SHA256 (tesseract/tesseract-ocr-3.02.pol.tar.gz) = 62999058bfb609d95d53bd519c6de99620d025b3bfbc54d8679a87b10474ccbb -SIZE (tesseract/tesseract-ocr-3.02.pol.tar.gz) = 7067117 -SHA256 (tesseract/tesseract-ocr-3.02.por.tar.gz) = f9b126323757c62da23aab163e2ce5257d137e86be7c37dea13bb0585e1ace3f -SIZE (tesseract/tesseract-ocr-3.02.por.tar.gz) = 920087 -SHA256 (tesseract/tesseract-ocr-3.02.ron.tar.gz) = d7e6454c9cc80c84a654f94283fc06b2df33c5c7fd2d3bff269c3cbdeb0b39e7 -SIZE (tesseract/tesseract-ocr-3.02.ron.tar.gz) = 925855 -SHA256 (tesseract/tesseract-ocr-3.02.rus.tar.gz) = 091cda49489d15f33916263fc78fbf8dcd4e6547012dc7e1a8496a38ab192315 -SIZE (tesseract/tesseract-ocr-3.02.rus.tar.gz) = 9185294 -SHA256 (tesseract/tesseract-ocr-3.02.slk.tar.gz) = cbd5a88e2188ef39ef438c9859dbd7a9b9e2a99c23a823ec310f7f84a012cc82 -SIZE (tesseract/tesseract-ocr-3.02.slk.tar.gz) = 2486120 -SHA256 (tesseract/tesseract-ocr-3.02.slv.tar.gz) = b901507d2901c882f98f6ef5db07dbf74636fba6a1f616c5f094954106791667 -SIZE (tesseract/tesseract-ocr-3.02.slv.tar.gz) = 1610823 -SHA256 (tesseract/tesseract-ocr-3.02.spa.tar.gz) = f40cc264d037b0c71ecb4a8bb6def8b3ec04b647d8da7fd44d0daa558bfa31b1 -SIZE (tesseract/tesseract-ocr-3.02.spa.tar.gz) = 9843970 -SHA256 (tesseract/tesseract-ocr-3.02.spa_old.tar.gz) = 2b980c0eda1572423dd56260b32d748288028fdd45266311c4ab448fcbce5814 -SIZE (tesseract/tesseract-ocr-3.02.spa_old.tar.gz) = 5686163 -SHA256 (tesseract/tesseract-ocr-3.02.sqi.tar.gz) = 99bfcda3e0c471f63b36cd0db7dea596e59a2219c9275c3ba51e59973555c101 -SIZE (tesseract/tesseract-ocr-3.02.sqi.tar.gz) = 1658111 -SHA256 (tesseract/tesseract-ocr-3.02.srp.tar.gz) = b1eeeb2958d0a4e2ba16fb55a98ca4ca8e69fee8b0be8162ff599ba19d0b2404 -SIZE (tesseract/tesseract-ocr-3.02.srp.tar.gz) = 1770663 -SHA256 (tesseract/tesseract-ocr-3.02.swa.tar.gz) = 2681e59f2a9333259a2de42f3deed46aa7dd84b638e6927f40db0409adff143b -SIZE (tesseract/tesseract-ocr-3.02.swa.tar.gz) = 763404 -SHA256 (tesseract/tesseract-ocr-3.02.swe.tar.gz) = ada287d7b64183df906215fe4ca86c3b6fe30dc5121e9a83113c3265ca7fc5ae -SIZE (tesseract/tesseract-ocr-3.02.swe.tar.gz) = 2444131 -SHA256 (tesseract/tesseract-ocr-3.02.tam.tar.gz) = 75f73362421a23eb955212f7aa19c9a3efdc80a4c6761445869148bfd2a6dc62 -SIZE (tesseract/tesseract-ocr-3.02.tam.tar.gz) = 3549042 -SHA256 (tesseract/tesseract-ocr-3.02.tel.tar.gz) = f36af3d5ca9f8ff6e606485fe5db835f96b42e7d2380ac5d61af6b41827834fd -SIZE (tesseract/tesseract-ocr-3.02.tel.tar.gz) = 5866272 -SHA256 (tesseract/tesseract-ocr-3.02.tgl.tar.gz) = 5c515310df83c9b40e557027e49de6df70e33a9bbabeaf1301ca9e8c13558948 -SIZE (tesseract/tesseract-ocr-3.02.tgl.tar.gz) = 1498530 -SHA256 (tesseract/tesseract-ocr-3.02.tha.tar.gz) = 7a98e25e0c61dda48cbdb241f0f53c3dfaa7ef574b81799ab2ddac50da6db4fb -SIZE (tesseract/tesseract-ocr-3.02.tha.tar.gz) = 3872875 -SHA256 (tesseract/tesseract-ocr-3.02.tur.tar.gz) = fe4657ca3455585a06eb3d02b4a0472fda8ca06efe587be75e175662dc6329d7 -SIZE (tesseract/tesseract-ocr-3.02.tur.tar.gz) = 3543917 -SHA256 (tesseract/tesseract-ocr-3.02.ukr.tar.gz) = 7862b10c1ff7e02b41c7a50eec7fccd2c30b8162d965fa1ae00510c6d1210762 -SIZE (tesseract/tesseract-ocr-3.02.ukr.tar.gz) = 946344 -SHA256 (tesseract/tesseract-ocr-3.02.vie.tar.gz) = a113254882eac70168aec00544805e7c9cec20527217b98349ed48f6e2d2611e -SIZE (tesseract/tesseract-ocr-3.02.vie.tar.gz) = 2207972 +TIMESTAMP = 1471022053 +SHA256 (tesseract-ocr-tessdata-3.04.00_GH0.tar.gz) = 5dcb37198336b6953843b461ee535df1401b41008d550fc9e43d0edabca7adb1 +SIZE (tesseract-ocr-tessdata-3.04.00_GH0.tar.gz) = 499088801 Modified: head/graphics/tesseract-data/pkg-descr ============================================================================== --- head/graphics/tesseract-data/pkg-descr Tue Aug 16 13:58:50 2016 (r420283) +++ head/graphics/tesseract-data/pkg-descr Tue Aug 16 14:41:00 2016 (r420284) @@ -1,4 +1,4 @@ This port furnishes various trained language data intended for use with the Tesseract OCR engine. -WWW: http://code.google.com/p/tesseract-ocr/ +WWW: https://github.com/tesseract-ocr/tessdata Modified: head/graphics/tesseract/Makefile ============================================================================== --- head/graphics/tesseract/Makefile Tue Aug 16 13:58:50 2016 (r420283) +++ head/graphics/tesseract/Makefile Tue Aug 16 14:41:00 2016 (r420284) @@ -2,38 +2,38 @@ # $FreeBSD$ PORTNAME= tesseract -PORTVERSION= 3.02.02 -PORTREVISION= 3 +PORTVERSION= 3.04.01 CATEGORIES= graphics -MASTER_SITES= GOOGLE_CODE -DISTFILES= tesseract-ocr-${PORTVERSION}${EXTRACT_SUFX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= pkubaj@anongoth.pl COMMENT= Commercial quality open source OCR engine -OPTIONS_DEFINE= DOCS EXAMPLES - LICENSE= APACHE20 LIB_DEPENDS= liblept.so:graphics/leptonica -DIST_SUBDIR= ${PORTNAME} -PROJECTHOST= tesseract-ocr -WRKSRC= ${WRKDIR}/tesseract-ocr - -USES= libtool +USES= localbase libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= ${PORTNAME}-ocr + CONFIGURE_ENV= LIBLEPT_HEADERSDIR="${LOCALBASE}/include/leptonica" -LIBS+= -L${LOCALBASE}/lib DATADIR= ${PREFIX}/share/tessdata PORTDATA= * -PORTDOCS= AUTHORS ChangeLog README ReleaseNotes html +PORTDOCS= AUTHORS ChangeLog README.md ReleaseNotes PORTEXAMPLES= eurotext.tif phototest.tif +INSTALL_TARGET= install-strip -DOCS_DISTFILES= tesseract-ocr-${PORTVERSION}-doc-html${EXTRACT_SUFX} +OPTIONS_DEFINE= DOCS EXAMPLES TOOLS +OPTIONS_SUB= yes +TOOLS_DESC= Include training tools +TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \ + libfontconfig.so:x11-fonts/fontconfig +TOOLS_USES= pkgconfig +TOOLS_USE= GNOME=cairo,glib20,pango post-patch: @${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure @@ -41,12 +41,17 @@ post-patch: 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/Makefile.in +post-build-TOOLS-on: + @cd ${WRKSRC} && ${MAKE} training + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS:Nhtml} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} testing/eurotext.tif \ + testing/phototest.tif ${STAGEDIR}${EXAMPLESDIR} +post-install-TOOLS-on: + @cd ${WRKSRC} && ${MAKE} DESTDIR=${STAGEDIR} training-install .include <bsd.port.mk> Modified: head/graphics/tesseract/distinfo ============================================================================== --- head/graphics/tesseract/distinfo Tue Aug 16 13:58:50 2016 (r420283) +++ head/graphics/tesseract/distinfo Tue Aug 16 14:41:00 2016 (r420284) @@ -1,4 +1,3 @@ -SHA256 (tesseract/tesseract-ocr-3.02.02.tar.gz) = 26cd39cb3f2a6f6f1bf4050d1cc0aae35edee49eb49a92df3cb7f9487caa013d -SIZE (tesseract/tesseract-ocr-3.02.02.tar.gz) = 3890393 -SHA256 (tesseract/tesseract-ocr-3.02.02-doc-html.tar.gz) = e7ffd3082005345a682268740140bfdde73461528d6f2da019fef29539477a7b -SIZE (tesseract/tesseract-ocr-3.02.02-doc-html.tar.gz) = 10635901 +TIMESTAMP = 1470939746 +SHA256 (tesseract-ocr-tesseract-3.04.01_GH0.tar.gz) = 57f63e1b14ae04c3932a2683e4be4954a2849e17edd638ffe91bc5a2156adc6a +SIZE (tesseract-ocr-tesseract-3.04.01_GH0.tar.gz) = 2269105 Added: head/graphics/tesseract/files/patch-ccstruct_matrix.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/tesseract/files/patch-ccstruct_matrix.h Tue Aug 16 14:41:00 2016 (r420284) @@ -0,0 +1,11 @@ +--- ccstruct/matrix.h.orig 2016-08-11 18:32:41 UTC ++++ ccstruct/matrix.h +@@ -30,7 +30,7 @@ + + class BLOB_CHOICE_LIST; + +-#define NOT_CLASSIFIED reinterpret_cast<BLOB_CHOICE_LIST*>(NULL) ++#define NOT_CLASSIFIED reinterpret_cast<BLOB_CHOICE_LIST*>(0) + + // A generic class to hold a 2-D matrix with entries of type T, but can also + // act as a base class for other implementations, such as a triangular or Modified: head/graphics/tesseract/pkg-plist ============================================================================== --- head/graphics/tesseract/pkg-plist Tue Aug 16 13:58:50 2016 (r420283) +++ head/graphics/tesseract/pkg-plist Tue Aug 16 14:41:00 2016 (r420284) @@ -1,13 +1,15 @@ -bin/ambiguous_words -bin/classifier_tester -bin/cntraining -bin/combine_tessdata -bin/dawg2wordlist -bin/mftraining -bin/shapeclustering +%%TOOLS%%bin/ambiguous_words +%%TOOLS%%bin/classifier_tester +%%TOOLS%%bin/cntraining +%%TOOLS%%bin/combine_tessdata +%%TOOLS%%bin/dawg2wordlist +%%TOOLS%%bin/mftraining +%%TOOLS%%bin/set_unicharset_properties +%%TOOLS%%bin/shapeclustering bin/tesseract -bin/unicharset_extractor -bin/wordlist2dawg +%%TOOLS%%bin/text2image +%%TOOLS%%bin/unicharset_extractor +%%TOOLS%%bin/wordlist2dawg include/tesseract/apitypes.h include/tesseract/baseapi.h include/tesseract/basedir.h @@ -20,10 +22,13 @@ include/tesseract/host.h include/tesseract/ltrresultiterator.h include/tesseract/memry.h include/tesseract/ndminx.h +include/tesseract/ocrclass.h +include/tesseract/osdetect.h include/tesseract/pageiterator.h include/tesseract/params.h include/tesseract/platform.h include/tesseract/publictypes.h +include/tesseract/renderer.h include/tesseract/resultiterator.h include/tesseract/serialis.h include/tesseract/strngs.h @@ -35,7 +40,8 @@ include/tesseract/unicharset.h lib/libtesseract.a lib/libtesseract.so lib/libtesseract.so.3 -lib/libtesseract.so.3.0.2 +lib/libtesseract.so.3.0.4 +libdata/pkgconfig/tesseract.pc man/man1/ambiguous_words.1.gz man/man1/cntraining.1.gz man/man1/combine_tessdata.1.gz @@ -47,4 +53,3 @@ man/man1/unicharset_extractor.1.gz man/man1/wordlist2dawg.1.gz man/man5/unicharambigs.5.gz man/man5/unicharset.5.gz -libdata/pkgconfig/tesseract.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608161441.u7GEf0Z2026752>