diff options
author | Thomas Kahle <tomka@gentoo.org> | 2015-12-06 21:24:55 +0100 |
---|---|---|
committer | Thomas Kahle <tomka@gentoo.org> | 2015-12-06 21:25:08 +0100 |
commit | 882c9a1a8cde041a0bcde4babdcccd7d13cfe469 (patch) | |
tree | 296e1ef34ff36b29317946ed087125aefa3348fc /app-text | |
parent | app-text/tesseract: Add math USE for scanning equations. (diff) | |
download | gentoo-882c9a1a8cde041a0bcde4babdcccd7d13cfe469.tar.gz gentoo-882c9a1a8cde041a0bcde4babdcccd7d13cfe469.tar.bz2 gentoo-882c9a1a8cde041a0bcde4babdcccd7d13cfe469.zip |
app-text/tesseract: Remove old ebuilds.
Package-Manager: portage-2.2.24
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/tesseract/Manifest | 12 | ||||
-rw-r--r-- | app-text/tesseract/files/tesseract-2.04-gcc44.patch | 15 | ||||
-rw-r--r-- | app-text/tesseract/tesseract-2.04-r1.ebuild | 71 | ||||
-rw-r--r-- | app-text/tesseract/tesseract-3.03_rc1-r1.ebuild | 108 | ||||
-rw-r--r-- | app-text/tesseract/tesseract-3.04.00-r1.ebuild | 110 | ||||
-rw-r--r-- | app-text/tesseract/tesseract-3.04.00.ebuild | 107 |
6 files changed, 0 insertions, 423 deletions
diff --git a/app-text/tesseract/Manifest b/app-text/tesseract/Manifest index 67f1bc7addb1..6ec6df624bf0 100644 --- a/app-text/tesseract/Manifest +++ b/app-text/tesseract/Manifest @@ -1,4 +1,3 @@ -DIST 3.04.00.tar.gz 2264427 SHA256 7e6e48b625e1fba9bc825a4ef8c39f12c60aae1084939133b3c6a00f8f8dc38c SHA512 60c31bad40b4c01395782fb98b3326407e75ebdbda962de4fb0e878824efb05140bdcb139dcf7d4f699ae5350e81a00320ebe7fbec083a0d374952488cc59e25 WHIRLPOOL 81b685e4d50d94056a4f99ce6beb4c73983e9449e1eed07a69d4649b0a8231b17fede430a8c181b37216a55e9f6102a578c85d84b2bbe6e9643ca98f16ae3260 DIST ara.traineddata-3.04.00 6315068 SHA256 21c98aaf7aeba2271ac0cc4a363d364d806649d7cb0bcab85d4b9a385f49645a SHA512 7fba780ec9061148c01dafee1227f8e338c1cf199a5c2869d58703123ea89f2279551e15159ab37038ec8ebc755076ede6ef049cc8a6e6764aa66d81c72a259b WHIRLPOOL d258d6eecb01feca9f0de5c973ab4a3c952db764b624ba98732e58af18a88332daa746e19194bcee8ed6fe1abe2a8d42b0b8976f0c9bde66e9831482b389f038 DIST bul.traineddata-3.04.00 6026234 SHA256 ca0bd253b4ab6202db5e8b2cecbc4219b4f725e51468cabf5bc99338e2c3de33 SHA512 5115b4f92359344a17ee43b298c5c012569d77325e440bbe079ce7734ed087cbbe7ffb2b2dcb831e522fde2cde556e5de630f9ca85c141e9282e951e008e156c WHIRLPOOL 1bc19032224a6d4f94aae67fd8f5caabbcc00c00b0329513bf23c7a978f01269edec965e6090564b345862dc8810c2bc9c6fd04c736b7f4180998dd0cb8cb8fa DIST bul.traineddata.gz 848731 SHA256 fc3c650568d014f2337052658e9ddd8efaff6ac74c9a90952d740eafdf400e2d SHA512 69dca9b285da3985142fc3e8d2a75d7fb217308c077114004c274972491c8cd8aebd60e27ffb26c9906a6ae78e05e19bbc5fd24ab97b961df5882cbd295f747a WHIRLPOOL a331336952140946bae38c59f9005d131dc9f7976358ff06a4458311ac0e5e10102868d0c37a41eae3f73a27d6a9a253c599e53167dbdf6c7c086ba8418f0624 @@ -69,17 +68,6 @@ DIST srp.traineddata.gz 977674 SHA256 542b83f62389ff8cc34746dd765345566ab368b63d DIST swe-frak.traineddata.gz 1503568 SHA256 2cf1a0e1eb8a0e3f8477ebcde44d99a9229f2c20b2d96ecb1ca6c25db5c6fdec SHA512 ad23fb3b4088a6e3c706ac54c940399b502d1e5e0a822f671e7e0682709323380eba6ae2e6a138702393450fea9ec3473c977d5bd9aa7550081a8c0aaeb3ae58 WHIRLPOOL b8e217a419cab817424f977a5a3650587afc91d9ddc5a929f89568c60930f61bd219305b36d7f84a9b07aae489e1f896f8e300fa474c098de03f03df92b8b2f7 DIST swe.traineddata-3.04.00 9460295 SHA256 2a6407bbf187eb1fcfd1633fae9abffcd6220e7ab74e05e65bf16426ac8f2050 SHA512 d69c916daa5946d11129e5401f0b8d9b8965df7fa2223e78c8e607e2bcc102a91c875a86e6a737612b61823ebd7f331c3d4c5db28ee35d1fb830beb9414bd167 WHIRLPOOL c95f12b64b1563d195b38cd8ad169f91e7608ba72c2e93fb49aebd7ec6bd065431b8ee892621cdd7d01922b99e71f52d1f1e5023b3af682eb2125419f0d529cd DIST swe.traineddata.gz 959911 SHA256 25331ca1f41378a86336604476049810a0c5350417205e300cb2d11048cec2c1 SHA512 e38fe9fd7d26420ee1aab3db7f700d58210dbfaef45d03114679d2671bc1942d7b031499e763204e15ebeadafa2f8f063f78941f2299b2c74f635425ddce856a WHIRLPOOL db1225d47e2e3b26372689f96164d8286701dbb2e0f1a82368c784c8d127a0d11248924936abd05d0092ba8ad5ce222b6d113ceb0f440b85faaca37396781480 -DIST tesseract-2.00.deu.tar.gz 1373777 SHA256 6083f16373689ef55651f4dd7773426ab4c32a12ebf7f398af982ac2971fe404 SHA512 e1792055d666c6090c4094b032d0143fd6bd5545c2d2e926f71bb360c6628ae5550f158df8efe47b69c987ac9cef8bd914fedcad2bd5b79901a41506ad8a60f2 WHIRLPOOL 77322db4454bddffa9f7b08bf8336ecddb0a71be9b7463427a7aa87e49716dc1aea4c8bb85ad836716bba03519827c051229a5cc37149d96558cdfe83ffc3445 -DIST tesseract-2.00.eng.tar.gz 1013090 SHA256 2fbd50a6cb352f847ebf3deadc914bbc12592539d4c368f7f7cff0a71f7d48e7 SHA512 f2aa2e1aa8f20c59faa664675f85ca8c1dcc922803f17cc00519f84a01c0c98ba431915ba5765d5de75200d828687507846af7e9e0096f3a4fdf1163e54cb83d WHIRLPOOL 178baaa6c73169a8b3e9276927bcf67bdd80fe114c8c3635aacd765cf9198dce2599c4f5493577b2ba9b1538ca8da69e6b2117fc7c9bb6451c129ee2efb71efe -DIST tesseract-2.00.fra.tar.gz 1007776 SHA256 1201229bb8b377ab3d92255e0b0642a36304b99415091fb059f423c814cecd25 SHA512 46686d6296446c59d020731e2d36e015717a750f6a41401c38794e7e8067dbd0299b838260a9ea9d5da3ddc289e0320ed71437f67ea99f93e79895e4aaf9cdc8 WHIRLPOOL 9cb290cf260c40272223c75f1b575361cea2d51f462a10f4f82e20518531cbe1b908473b4d6a11f08c7461c4fbc8bd31256555964d39502676b035dc753da97a -DIST tesseract-2.00.ita.tar.gz 977683 SHA256 3a1b9323ddfcda327780aba94ef724f35690d3cfdf8ef832c5709721b7e2999a SHA512 75cb670c1fe202878c220029d113e0795844f94901a6a0e31201c43d5694e1995c11760229ef6dc5222ff1fe49ee87ee1cdf073e80347e2862e71f045ce4a2db WHIRLPOOL c57ad7d994abc0c030ba68efff6c27eca8af9c78878f166d0fdad6564f916b6c30c1882c7447ce38752817489054bbed71ec49b07de70d1cf5e96080646fba2e -DIST tesseract-2.00.nld.tar.gz 1408071 SHA256 26b9f7d80c4cfe19074c3c5dc55a37b489d89b6f7b13c026f9c2dc265120d859 SHA512 0a2b7f13d784d210f5284de1a02c9b3849c4b36a27cf6276b5d9d444607bf52b909f8edfa07b5b1e0ee6bf59504bb9c92a47297ce31efa351aaa6b81c038b0ef WHIRLPOOL 5c60260832af157cf4f07b79105187be6a1f9d5bd2bf4d8d0a0c8f43c36da3271225114e6d5d1e1b83e53e47bf67e0e8ec89ed0f22ba6c48c620c0c22da854d2 -DIST tesseract-2.00.spa.tar.gz 1365863 SHA256 b4b83e46be4602a361279c131da2c7f3ba8c51ac26c0e108f958406db6ae320e SHA512 a7efb46c5cc3812789f3dacf151e547007c3de1eed3d4a6a5c55cc18d4e1794377f34b55fd9e6a416f91a0ff62a66c0825a1993029ce4656ea64fcc18b9fa3fe WHIRLPOOL b6d474cf1bb9015cfe42214b3ca87e8f4c2ff193443a71fd0c1fd973a5a7683e4501e975354929f91c446a2bfb449f2cb535ca70f26ec35b527458450f0a8ee9 -DIST tesseract-2.01.deu-f.tar.gz 1312785 SHA256 410143cf5029b10d274909439de2c407706e4d601cd5e1bb1309dbd46288757e SHA512 76cc7da4f3a21581705bbae1975ae9a458ca61fa2691645f5b9f64d61ff0222e2c721ecd0c069c3540a65974129f58ae1a08b0d38c3f4d1f45f31d5969d63fb8 WHIRLPOOL 456e7d7f446c1cfca9e483dd85f5bf62c1b24c44535a0dd8600a6188096a1692484a60502bc6537262222cd94c8caae378a2bb698d3628a4223d15e559ad8cfd -DIST tesseract-2.01.por.tar.gz 2107696 SHA256 0dc30b76814a7694246ca347ccb402bcd40e5e6f3bf70cca31e6d3ca06210baa SHA512 a7d2b3eb206f0cb9e8eee18f55476f8778a8839b3daaa9e10a8d77fec07ce3e37de58017b8fb09b90a4aef026f94df4a15ce77b4db9d6a12815353ee60fcadc7 WHIRLPOOL f15cf92aae31a28ae4c56a9730d6a8af6d87675b5a4eba5dbeadbd65fa609213fb919bb8334c7c430fe0907bbce3107a7d0efed3733487e00ae6b1282d6001d6 -DIST tesseract-2.01.vie.tar.gz 964277 SHA256 8026240029341d45a6142cfccf6f0f98e5b1f35cae5725f8379ac4a8de34283f SHA512 568b91ffa79ca57b613d6548504adf37677fa04a7226d366bc7d4548d1480dc00b397b76f42ef96a2ca0d78b6ffc635fa5586b0cd251d54cf22eb960ab3c920e WHIRLPOOL c32c5e8a5b62f688df43a94a69f0d1326179866e6a9674b625d984ceed26b085764c9b7cd3980507546e23c567f350f9a0ccb3d2d4b2c8d2efe1a1a9ef98d430 -DIST tesseract-2.04.eus.tar.gz 1207994 SHA256 19aa30dda8049fb03e125e3b17d05ae402544e9ec81adcb18964d4a7b125a2fe SHA512 613fedb033f3c678a15d71a7346ad7d2da7d0908f18b0450bc4c198b19e3671fdab025e44a4f6f73257848f626af58c144464ce349a3e5c4b91eebc8b4018c1f WHIRLPOOL 7c0f5556ff2acbc4aac3b60885dc15db22385135c43ea57ad8d4b4226b603e6aad6a346d57099429d3c92bffeda9c9604e621c8d9bc2c98c4b770634250d17e1 -DIST tesseract-2.04.tar.gz 1118386 SHA256 62866f283916553e02cebdeb1b485856c6a790f5f8bf86c30b87c6304374bef8 SHA512 c095407910235f7f914aa6a51feedade3f0b33108c7801b88c5ade26f2b75d1756b034d9ac32ad362a326ee468f97b69476978102ef0cefcc1b5c93be2342d42 WHIRLPOOL 2ce585c295477d17de265bac563d50c249b036301058b98e552b79f040829facea778cfc7692ae06299fc6b55bf2d890e511300c9746be525f9439d0d93d1280 DIST tesseract-3.03-rc1.tar.gz 12812907 SHA256 d244956236f7491d74d7f342895f611a6c46c45fa9900173d5b7625d8461d2ea SHA512 4acd6a3c0db5568bd6cb199776a52fbf1643692cf2d9da7449644662461c0c3ef7e5941bb49be94135433a90de400413df062edd612ce9ec9c06e9206a57113f WHIRLPOOL 93f33f62aeb5a9f65a7642bc282138622076989618f787a044ad79463ab9cd9a9ebaeb5e34e52cf5c95c569b01fc552a44d2eda24e697d0c9a045fb626b9aa77 DIST tesseract-3.04.00.tar.gz 2264427 SHA256 7e6e48b625e1fba9bc825a4ef8c39f12c60aae1084939133b3c6a00f8f8dc38c SHA512 60c31bad40b4c01395782fb98b3326407e75ebdbda962de4fb0e878824efb05140bdcb139dcf7d4f699ae5350e81a00320ebe7fbec083a0d374952488cc59e25 WHIRLPOOL 81b685e4d50d94056a4f99ce6beb4c73983e9449e1eed07a69d4649b0a8231b17fede430a8c181b37216a55e9f6102a578c85d84b2bbe6e9643ca98f16ae3260 DIST tesseract-ocr-3.01.heb-com.tar.gz 270977 SHA256 20a9d53172a8dbf1a4bbd7f7e9e3a523a9435c47c751533642e8a9becc8584ff SHA512 378dc49da535f70c860c29b9a43cae478f6d8403c93a623b1781194c02aad3ea12345f9ea6ebbac4fb2033179964d23fb075e6aa206ec79530b41947d5d44411 WHIRLPOOL cc6463928c05d5904af71ea6170e946e601639761eaab317f0570275e0eaee81cba2c0636dc5dec40f8ba6d16ad498e7177a0c2bf5a886f2598c99568f151fd6 diff --git a/app-text/tesseract/files/tesseract-2.04-gcc44.patch b/app-text/tesseract/files/tesseract-2.04-gcc44.patch deleted file mode 100644 index 7d1f61c19acd..000000000000 --- a/app-text/tesseract/files/tesseract-2.04-gcc44.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -NrU5 tesseract-2.04.original/viewer/svutil.cpp tesseract-2.04/viewer/svutil.cpp ---- tesseract-2.04.original/viewer/svutil.cpp 2009-07-25 21:03:18.000000000 +0000 -+++ tesseract-2.04/viewer/svutil.cpp 2009-07-25 21:05:54.000000000 +0000 -@@ -41,10 +41,11 @@ - #include <sys/prctl.h> - #endif - #endif - - #include <iostream> -+#include <cstdio> - - const int kBufferSize = 65536; - const int kMaxMsgSize = 4096; - - // Signals a thread to exit. diff --git a/app-text/tesseract/tesseract-2.04-r1.ebuild b/app-text/tesseract/tesseract-2.04-r1.ebuild deleted file mode 100644 index adcaca916cf1..000000000000 --- a/app-text/tesseract/tesseract-2.04-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="2" - -inherit eutils - -DESCRIPTION="An OCR Engine that was developed at HP and now at Google" -HOMEPAGE="https://code.google.com/p/tesseract-ocr/" -SRC_URI="https://tesseract-ocr.googlecode.com/files/${P}.tar.gz - https://tesseract-ocr.googlecode.com/files/${PN}-2.00.eng.tar.gz - linguas_de? ( - https://tesseract-ocr.googlecode.com/files/${PN}-2.00.deu.tar.gz - https://tesseract-ocr.googlecode.com/files/${PN}-2.01.deu-f.tar.gz - ) - linguas_eu? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.04.eus.tar.gz ) - linguas_es? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.spa.tar.gz ) - linguas_fr? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.fra.tar.gz ) - linguas_it? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.ita.tar.gz ) - linguas_nl? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.nld.tar.gz ) - linguas_pt_BR? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.01.por.tar.gz ) - linguas_vi? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.01.vie.tar.gz )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="alpha amd64 ~arm ~mips ppc ppc64 sparc x86" -IUSE="examples tiff linguas_de linguas_eu linguas_es linguas_fr linguas_it linguas_nl linguas_pt_BR linguas_vi" - -DEPEND="tiff? ( media-libs/tiff )" -RDEPEND="${DEPEND}" - -# NOTES: -# english language files are always installed because they are used by default -# that is a tesseract bug and if possible this workaround should be avoided -# see bug 287373 -# deu-f corresponds to an old german graphic style named fraktur -# that's the same language (german, de) -# stuff in directory java/ seems useless... -# in testing/, there is a way to test accuracy, not usable for src_test() -# app-ocr/ would be a better category - -src_prepare() { - # move language files to have them installed - mv "${WORKDIR}"/tessdata/* tessdata/ || die "move language files failed" - - # remove obsolete makefile, install target only in uppercase Makefile - rm "${S}/java/makefile" || die "remove obsolete java makefile failed" - - # fix gcc-4.4 compilation, bug 269320 - # fix gcc-4.7 compilation, bug 413937 - epatch \ - "${FILESDIR}"/${P}-gcc44.patch \ - "${FILESDIR}"/${P}-gcc47.patch -} - -src_configure() { - econf $(use_with tiff libtiff) \ - --disable-dependency-tracking -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - dodoc AUTHORS ChangeLog NEWS README ReleaseNotes || die "dodoc failed" - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins eurotext.tif phototest.tif || die "doins failed" - fi -} diff --git a/app-text/tesseract/tesseract-3.03_rc1-r1.ebuild b/app-text/tesseract/tesseract-3.03_rc1-r1.ebuild deleted file mode 100644 index f80a9c527331..000000000000 --- a/app-text/tesseract/tesseract-3.03_rc1-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -MY_PN="${PN}-ocr" -DL_P="${MY_PN}-3.02" -URI_PREFIX="https://${MY_PN}.googlecode.com/files" - -inherit eutils autotools autotools-utils versionator - -S="${WORKDIR}/${PN}-$(get_version_component_range 1-2 )" - -DESCRIPTION="An OCR Engine that was developed at HP and now at Google" -HOMEPAGE="https://code.google.com/p/tesseract-ocr/" -SRC_URI="https://dev.gentoo.org/~tomka/files/${PN}-3.03-rc1.tar.gz - ${URI_PREFIX}/${DL_P}.eng.tar.gz - doc? ( ${URI_PREFIX}/${DL_P}.02-doc-html.tar.gz ) - linguas_ar? ( ${URI_PREFIX}/${DL_P}.ara.tar.gz ) - linguas_bg? ( ${URI_PREFIX}/bul.traineddata.gz ) - linguas_ca? ( ${URI_PREFIX}/cat.traineddata.gz ) - linguas_chr? ( ${URI_PREFIX}/chr.traineddata.gz ) - linguas_cs? ( ${URI_PREFIX}/ces.traineddata.gz ) - linguas_de? ( ${URI_PREFIX}/deu.traineddata.gz - ${URI_PREFIX}/deu-frak.traineddata.gz ) - linguas_da? ( ${URI_PREFIX}/dan.traineddata.gz - ${URI_PREFIX}/dan-frak.traineddata.gz ) - linguas_el? ( ${URI_PREFIX}/ell.traineddata.gz ) - linguas_es? ( ${URI_PREFIX}/spa.traineddata.gz ) - linguas_fi? ( ${URI_PREFIX}/fin.traineddata.gz ) - linguas_fr? ( ${URI_PREFIX}/fra.traineddata.gz ) - linguas_he? ( ${URI_PREFIX}/${DL_P}.heb.tar.gz - ${URI_PREFIX}/${MY_PN}-3.01.heb-com.tar.gz ) - linguas_hi? ( ${URI_PREFIX}/${DL_P}.hin.tar.gz ) - linguas_hu? ( ${URI_PREFIX}/hun.traineddata.gz ) - linguas_id? ( ${URI_PREFIX}/ind.traineddata.gz ) - linguas_it? ( ${URI_PREFIX}/ita.traineddata.gz ) - linguas_jp? ( ${URI_PREFIX}/jpn.traineddata.gz ) - linguas_ko? ( ${URI_PREFIX}/kor.traineddata.gz ) - linguas_lt? ( ${URI_PREFIX}/lit.traineddata.gz ) - linguas_lv? ( ${URI_PREFIX}/lav.traineddata.gz ) - linguas_nl? ( ${URI_PREFIX}/nld.traineddata.gz ) - linguas_no? ( ${URI_PREFIX}/nor.traineddata.gz ) - linguas_pl? ( ${URI_PREFIX}/pol.traineddata.gz ) - linguas_pt? ( ${URI_PREFIX}/por.traineddata.gz ) - linguas_ro? ( ${URI_PREFIX}/ron.traineddata.gz ) - linguas_ru? ( ${URI_PREFIX}/rus.traineddata.gz ) - linguas_sk? ( ${URI_PREFIX}/slk.traineddata.gz - ${URI_PREFIX}/${MY_PN}-3.01.slk-frak.tar.gz ) - linguas_sl? ( ${URI_PREFIX}/slv.traineddata.gz ) - linguas_sr? ( ${URI_PREFIX}/srp.traineddata.gz ) - linguas_sv? ( ${URI_PREFIX}/swe.traineddata.gz - ${URI_PREFIX}/swe-frak.traineddata.gz ) - linguas_th? ( ${URI_PREFIX}/${DL_P}.tha.tar.gz ) - linguas_tl? ( ${URI_PREFIX}/tgl.traineddata.gz ) - linguas_tr? ( ${URI_PREFIX}/tur.traineddata.gz ) - linguas_uk? ( ${URI_PREFIX}/ukr.traineddata.gz ) - linguas_vi? ( ${URI_PREFIX}/vie.traineddata.gz ) - linguas_zh_CN? ( ${URI_PREFIX}/chi_sim.traineddata.gz ) - linguas_zh_TW? ( ${URI_PREFIX}/chi_tra.traineddata.gz ) - osd? ( ${URI_PREFIX}/${MY_PN}-3.01.osd.tar.gz ) -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" - -IUSE="doc examples jpeg opencl osd png +scrollview static-libs tiff -webp linguas_ar linguas_bg linguas_ca linguas_chr linguas_cs linguas_de linguas_da linguas_el linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_jp linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW" - -# With opencl tiff is necessary regardless of leptonica status -DEPEND=">=media-libs/leptonica-1.70[zlib,tiff?,jpeg?,png?,webp?] - opencl? ( virtual/opencl - media-libs/tiff:0 )" -RDEPEND="${DEPEND}" - -DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes ) - -PATCHES=( - "${FILESDIR}/tesseract-2.04-gcc47.patch" -) - -src_configure() { - local myeconfargs=( - $(use_enable opencl) \ - $(use_enable scrollview graphics) \ - --disable-dependency-tracking - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins eurotext.tif phototest.tif - fi - - if use doc; then - dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/* - fi - - # install language files - insinto /usr/share/tessdata - find "${WORKDIR}" -maxdepth 1 -type f -name "*.traineddata" -exec doins '{}' + - doins "${WORKDIR}"/"${MY_PN}"/tessdata/* -} diff --git a/app-text/tesseract/tesseract-3.04.00-r1.ebuild b/app-text/tesseract/tesseract-3.04.00-r1.ebuild deleted file mode 100644 index fa1e08ae22f0..000000000000 --- a/app-text/tesseract/tesseract-3.04.00-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -MY_PN="tesseract-ocr" -URI_PREFIX="https://github.com/${MY_PN}/tessdata/raw/${PV}/" - -inherit eutils autotools autotools-utils - -DESCRIPTION="An OCR Engine, orginally developed at HP, now open source." -HOMEPAGE="https://github.com/tesseract-ocr" -SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - ${URI_PREFIX}eng.traineddata -> eng.traineddata-${PV} - doc? ( https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02-doc-html.tar.gz ) - linguas_ar? ( ${URI_PREFIX}ara.traineddata -> ara.traineddata-${PV} ) - linguas_bg? ( ${URI_PREFIX}bul.traineddata -> bul.traineddata-${PV} ) - linguas_ca? ( ${URI_PREFIX}cat.traineddata -> cat.traineddata-${PV} ) - linguas_chr? ( ${URI_PREFIX}chr.traineddata -> chr.traineddata-${PV} ) - linguas_cs? ( ${URI_PREFIX}ces.traineddata -> ces.traineddata-${PV} ) - linguas_de? ( ${URI_PREFIX}deu.traineddata -> deu.traineddata-${PV} - ${URI_PREFIX}deu_frak.traineddata -> deu_frak.traineddata-${PV} ) - linguas_da? ( ${URI_PREFIX}dan.traineddata -> dan.traineddata-${PV} - ${URI_PREFIX}dan_frak.traineddata -> dan_frak.traineddata-${PV} ) - linguas_el? ( ${URI_PREFIX}ell.traineddata -> ell.traineddata-${PV} ) - linguas_es? ( ${URI_PREFIX}spa.traineddata -> spa.traineddata-${PV} ) - linguas_fi? ( ${URI_PREFIX}fin.traineddata -> fin.traineddata-${PV} ) - linguas_fr? ( ${URI_PREFIX}fra.traineddata -> fra.traineddata-${PV} ) - linguas_he? ( ${URI_PREFIX}heb.traineddata -> heb.traineddata-${PV} ) - linguas_hi? ( ${URI_PREFIX}hin.traineddata -> hin.traineddata-${PV} ) - linguas_hu? ( ${URI_PREFIX}hun.traineddata -> hun.traineddata-${PV} ) - linguas_id? ( ${URI_PREFIX}ind.traineddata -> ind.traineddata-${PV} ) - linguas_it? ( ${URI_PREFIX}ita.traineddata -> ita.traineddata-${PV} ) - linguas_jp? ( ${URI_PREFIX}jpn.traineddata -> jpn.traineddata-${PV} ) - linguas_ko? ( ${URI_PREFIX}kor.traineddata -> kor.traineddata-${PV} ) - linguas_lt? ( ${URI_PREFIX}lit.traineddata -> lit.traineddata-${PV} ) - linguas_lv? ( ${URI_PREFIX}lav.traineddata -> lav.traineddata-${PV} ) - linguas_nl? ( ${URI_PREFIX}nld.traineddata -> nld.traineddata-${PV} ) - linguas_no? ( ${URI_PREFIX}nor.traineddata -> nor.traineddata-${PV} ) - linguas_pl? ( ${URI_PREFIX}pol.traineddata -> pol.traineddata-${PV} ) - linguas_pt? ( ${URI_PREFIX}por.traineddata -> por.traineddata-${PV} ) - linguas_ro? ( ${URI_PREFIX}ron.traineddata -> ron.traineddata-${PV} ) - linguas_ru? ( ${URI_PREFIX}rus.traineddata -> rus.traineddata-${PV} ) - linguas_sk? ( ${URI_PREFIX}slk.traineddata -> slk.traineddata-${PV} - ${URI_PREFIX}slk_frak.traineddata -> slk_frak.traineddata-${PV} ) - linguas_sl? ( ${URI_PREFIX}slv.traineddata -> slv.traineddata-${PV} ) - linguas_sr? ( ${URI_PREFIX}srp.traineddata -> srp.traineddata-${PV} ) - linguas_sv? ( ${URI_PREFIX}swe.traineddata -> swe.traineddata-${PV} ) - linguas_th? ( ${URI_PREFIX}tha.traineddata -> tha.traineddata-${PV} ) - linguas_tl? ( ${URI_PREFIX}tgl.traineddata -> tgl.traineddata-${PV} ) - linguas_tr? ( ${URI_PREFIX}tur.traineddata -> tur.traineddata-${PV} ) - linguas_uk? ( ${URI_PREFIX}ukr.traineddata -> ukr.traineddata-${PV} ) - linguas_vi? ( ${URI_PREFIX}vie.traineddata -> vie.traineddata-${PV} ) - linguas_zh_CN? ( ${URI_PREFIX}chi_sim.traineddata -> chi_sim.traineddata-${PV} ) - linguas_zh_TW? ( ${URI_PREFIX}chi_tra.traineddata -> chi_tra.traineddata-${PV} ) - osd? ( ${URI_PREFIX}osd.traineddata -> osd.traineddata-${PV} ) -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" - -IUSE="doc examples jpeg opencl osd png +scrollview static-libs tiff -webp linguas_ar linguas_bg linguas_ca linguas_chr linguas_cs linguas_de linguas_da linguas_el linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_jp linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW" - -# With opencl tiff is necessary regardless of leptonica status <-- Check this -DEPEND=">=media-libs/leptonica-1.71[zlib,tiff?,jpeg?,png?,webp?] - opencl? ( virtual/opencl - media-libs/tiff:0 )" -RDEPEND="${DEPEND}" - -DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes ) - -PATCHES=( - "${FILESDIR}/tesseract-2.04-gcc47.patch" - "${FILESDIR}/${P}-fix-scrollview-disabled.patch" -) - -src_unpack() { - unpack ${P}.tar.gz - use doc && unpack tesseract-ocr-3.02.02-doc-html.tar.gz - find "${DISTDIR}/" -name "*traineddata-${PV}" \ - -execdir sh -c 'cp -- "$0" "${S}/tessdata/${0%-*}"' '{}' ';' || die -} - -src_configure() { - local myeconfargs=( - $(use_enable opencl) \ - $(use_enable scrollview graphics) \ - --disable-dependency-tracking - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins testing/eurotext.tif testing/phototest.tif - fi - - if use doc; then - dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/* - fi - - # install language files - insinto /usr/share/tessdata - doins "${S}"/tessdata/*traineddata* -} diff --git a/app-text/tesseract/tesseract-3.04.00.ebuild b/app-text/tesseract/tesseract-3.04.00.ebuild deleted file mode 100644 index 6303c2db72fd..000000000000 --- a/app-text/tesseract/tesseract-3.04.00.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -MY_PN="${PN}-ocr" -DL_P="${MY_PN}-3.02" -URI_PREFIX="https://${MY_PN}.googlecode.com/files" - -inherit eutils autotools autotools-utils - -DESCRIPTION="An OCR Engine, orginally developed at HP, now open source." -HOMEPAGE="https://github.com/tesseract-ocr" -SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${PV}.tar.gz - ${URI_PREFIX}/${DL_P}.eng.tar.gz - doc? ( ${URI_PREFIX}/${DL_P}.02-doc-html.tar.gz ) - linguas_ar? ( ${URI_PREFIX}/${DL_P}.ara.tar.gz ) - linguas_bg? ( ${URI_PREFIX}/bul.traineddata.gz ) - linguas_ca? ( ${URI_PREFIX}/cat.traineddata.gz ) - linguas_chr? ( ${URI_PREFIX}/chr.traineddata.gz ) - linguas_cs? ( ${URI_PREFIX}/ces.traineddata.gz ) - linguas_de? ( ${URI_PREFIX}/deu.traineddata.gz - ${URI_PREFIX}/deu-frak.traineddata.gz ) - linguas_da? ( ${URI_PREFIX}/dan.traineddata.gz - ${URI_PREFIX}/dan-frak.traineddata.gz ) - linguas_el? ( ${URI_PREFIX}/ell.traineddata.gz ) - linguas_es? ( ${URI_PREFIX}/spa.traineddata.gz ) - linguas_fi? ( ${URI_PREFIX}/fin.traineddata.gz ) - linguas_fr? ( ${URI_PREFIX}/fra.traineddata.gz ) - linguas_he? ( ${URI_PREFIX}/${DL_P}.heb.tar.gz - ${URI_PREFIX}/${MY_PN}-3.01.heb-com.tar.gz ) - linguas_hi? ( ${URI_PREFIX}/${DL_P}.hin.tar.gz ) - linguas_hu? ( ${URI_PREFIX}/hun.traineddata.gz ) - linguas_id? ( ${URI_PREFIX}/ind.traineddata.gz ) - linguas_it? ( ${URI_PREFIX}/ita.traineddata.gz ) - linguas_jp? ( ${URI_PREFIX}/jpn.traineddata.gz ) - linguas_ko? ( ${URI_PREFIX}/kor.traineddata.gz ) - linguas_lt? ( ${URI_PREFIX}/lit.traineddata.gz ) - linguas_lv? ( ${URI_PREFIX}/lav.traineddata.gz ) - linguas_nl? ( ${URI_PREFIX}/nld.traineddata.gz ) - linguas_no? ( ${URI_PREFIX}/nor.traineddata.gz ) - linguas_pl? ( ${URI_PREFIX}/pol.traineddata.gz ) - linguas_pt? ( ${URI_PREFIX}/por.traineddata.gz ) - linguas_ro? ( ${URI_PREFIX}/ron.traineddata.gz ) - linguas_ru? ( ${URI_PREFIX}/rus.traineddata.gz ) - linguas_sk? ( ${URI_PREFIX}/slk.traineddata.gz - ${URI_PREFIX}/${MY_PN}-3.01.slk-frak.tar.gz ) - linguas_sl? ( ${URI_PREFIX}/slv.traineddata.gz ) - linguas_sr? ( ${URI_PREFIX}/srp.traineddata.gz ) - linguas_sv? ( ${URI_PREFIX}/swe.traineddata.gz - ${URI_PREFIX}/swe-frak.traineddata.gz ) - linguas_th? ( ${URI_PREFIX}/${DL_P}.tha.tar.gz ) - linguas_tl? ( ${URI_PREFIX}/tgl.traineddata.gz ) - linguas_tr? ( ${URI_PREFIX}/tur.traineddata.gz ) - linguas_uk? ( ${URI_PREFIX}/ukr.traineddata.gz ) - linguas_vi? ( ${URI_PREFIX}/vie.traineddata.gz ) - linguas_zh_CN? ( ${URI_PREFIX}/chi_sim.traineddata.gz ) - linguas_zh_TW? ( ${URI_PREFIX}/chi_tra.traineddata.gz ) - osd? ( ${URI_PREFIX}/${MY_PN}-3.01.osd.tar.gz ) -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" - -IUSE="doc examples jpeg opencl osd png +scrollview static-libs tiff -webp linguas_ar linguas_bg linguas_ca linguas_chr linguas_cs linguas_de linguas_da linguas_el linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_jp linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW" - -# With opencl tiff is necessary regardless of leptonica status <-- Check this -DEPEND=">=media-libs/leptonica-1.71[zlib,tiff?,jpeg?,png?,webp?] - opencl? ( virtual/opencl - media-libs/tiff:0 )" -RDEPEND="${DEPEND}" - -DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes ) - -PATCHES=( - "${FILESDIR}/tesseract-2.04-gcc47.patch" - "${FILESDIR}/${P}-fix-scrollview-disabled.patch" -) - -src_configure() { - local myeconfargs=( - $(use_enable opencl) \ - $(use_enable scrollview graphics) \ - --disable-dependency-tracking - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins testing/eurotext.tif testing/phototest.tif - fi - - if use doc; then - dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/* - fi - - # install language files - insinto /usr/share/tessdata - find "${WORKDIR}" -maxdepth 1 -type f -name "*.traineddata" -exec doins '{}' + - doins "${WORKDIR}"/"${MY_PN}"/tessdata/* -} |