1 |
commit: 882c9a1a8cde041a0bcde4babdcccd7d13cfe469 |
2 |
Author: Thomas Kahle <tomka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 6 20:24:55 2015 +0000 |
4 |
Commit: Thomas Kahle <tomka <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 6 20:25:08 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=882c9a1a |
7 |
|
8 |
app-text/tesseract: Remove old ebuilds. |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
app-text/tesseract/Manifest | 12 --- |
13 |
.../tesseract/files/tesseract-2.04-gcc44.patch | 15 --- |
14 |
app-text/tesseract/tesseract-2.04-r1.ebuild | 71 ------------- |
15 |
app-text/tesseract/tesseract-3.03_rc1-r1.ebuild | 108 -------------------- |
16 |
app-text/tesseract/tesseract-3.04.00-r1.ebuild | 110 --------------------- |
17 |
app-text/tesseract/tesseract-3.04.00.ebuild | 107 -------------------- |
18 |
6 files changed, 423 deletions(-) |
19 |
|
20 |
diff --git a/app-text/tesseract/Manifest b/app-text/tesseract/Manifest |
21 |
index 67f1bc7..6ec6df6 100644 |
22 |
--- a/app-text/tesseract/Manifest |
23 |
+++ b/app-text/tesseract/Manifest |
24 |
@@ -1,4 +1,3 @@ |
25 |
-DIST 3.04.00.tar.gz 2264427 SHA256 7e6e48b625e1fba9bc825a4ef8c39f12c60aae1084939133b3c6a00f8f8dc38c SHA512 60c31bad40b4c01395782fb98b3326407e75ebdbda962de4fb0e878824efb05140bdcb139dcf7d4f699ae5350e81a00320ebe7fbec083a0d374952488cc59e25 WHIRLPOOL 81b685e4d50d94056a4f99ce6beb4c73983e9449e1eed07a69d4649b0a8231b17fede430a8c181b37216a55e9f6102a578c85d84b2bbe6e9643ca98f16ae3260 |
26 |
DIST ara.traineddata-3.04.00 6315068 SHA256 21c98aaf7aeba2271ac0cc4a363d364d806649d7cb0bcab85d4b9a385f49645a SHA512 7fba780ec9061148c01dafee1227f8e338c1cf199a5c2869d58703123ea89f2279551e15159ab37038ec8ebc755076ede6ef049cc8a6e6764aa66d81c72a259b WHIRLPOOL d258d6eecb01feca9f0de5c973ab4a3c952db764b624ba98732e58af18a88332daa746e19194bcee8ed6fe1abe2a8d42b0b8976f0c9bde66e9831482b389f038 |
27 |
DIST bul.traineddata-3.04.00 6026234 SHA256 ca0bd253b4ab6202db5e8b2cecbc4219b4f725e51468cabf5bc99338e2c3de33 SHA512 5115b4f92359344a17ee43b298c5c012569d77325e440bbe079ce7734ed087cbbe7ffb2b2dcb831e522fde2cde556e5de630f9ca85c141e9282e951e008e156c WHIRLPOOL 1bc19032224a6d4f94aae67fd8f5caabbcc00c00b0329513bf23c7a978f01269edec965e6090564b345862dc8810c2bc9c6fd04c736b7f4180998dd0cb8cb8fa |
28 |
DIST bul.traineddata.gz 848731 SHA256 fc3c650568d014f2337052658e9ddd8efaff6ac74c9a90952d740eafdf400e2d SHA512 69dca9b285da3985142fc3e8d2a75d7fb217308c077114004c274972491c8cd8aebd60e27ffb26c9906a6ae78e05e19bbc5fd24ab97b961df5882cbd295f747a WHIRLPOOL a331336952140946bae38c59f9005d131dc9f7976358ff06a4458311ac0e5e10102868d0c37a41eae3f73a27d6a9a253c599e53167dbdf6c7c086ba8418f0624 |
29 |
@@ -69,17 +68,6 @@ DIST srp.traineddata.gz 977674 SHA256 542b83f62389ff8cc34746dd765345566ab368b63d |
30 |
DIST swe-frak.traineddata.gz 1503568 SHA256 2cf1a0e1eb8a0e3f8477ebcde44d99a9229f2c20b2d96ecb1ca6c25db5c6fdec SHA512 ad23fb3b4088a6e3c706ac54c940399b502d1e5e0a822f671e7e0682709323380eba6ae2e6a138702393450fea9ec3473c977d5bd9aa7550081a8c0aaeb3ae58 WHIRLPOOL b8e217a419cab817424f977a5a3650587afc91d9ddc5a929f89568c60930f61bd219305b36d7f84a9b07aae489e1f896f8e300fa474c098de03f03df92b8b2f7 |
31 |
DIST swe.traineddata-3.04.00 9460295 SHA256 2a6407bbf187eb1fcfd1633fae9abffcd6220e7ab74e05e65bf16426ac8f2050 SHA512 d69c916daa5946d11129e5401f0b8d9b8965df7fa2223e78c8e607e2bcc102a91c875a86e6a737612b61823ebd7f331c3d4c5db28ee35d1fb830beb9414bd167 WHIRLPOOL c95f12b64b1563d195b38cd8ad169f91e7608ba72c2e93fb49aebd7ec6bd065431b8ee892621cdd7d01922b99e71f52d1f1e5023b3af682eb2125419f0d529cd |
32 |
DIST swe.traineddata.gz 959911 SHA256 25331ca1f41378a86336604476049810a0c5350417205e300cb2d11048cec2c1 SHA512 e38fe9fd7d26420ee1aab3db7f700d58210dbfaef45d03114679d2671bc1942d7b031499e763204e15ebeadafa2f8f063f78941f2299b2c74f635425ddce856a WHIRLPOOL db1225d47e2e3b26372689f96164d8286701dbb2e0f1a82368c784c8d127a0d11248924936abd05d0092ba8ad5ce222b6d113ceb0f440b85faaca37396781480 |
33 |
-DIST tesseract-2.00.deu.tar.gz 1373777 SHA256 6083f16373689ef55651f4dd7773426ab4c32a12ebf7f398af982ac2971fe404 SHA512 e1792055d666c6090c4094b032d0143fd6bd5545c2d2e926f71bb360c6628ae5550f158df8efe47b69c987ac9cef8bd914fedcad2bd5b79901a41506ad8a60f2 WHIRLPOOL 77322db4454bddffa9f7b08bf8336ecddb0a71be9b7463427a7aa87e49716dc1aea4c8bb85ad836716bba03519827c051229a5cc37149d96558cdfe83ffc3445 |
34 |
-DIST tesseract-2.00.eng.tar.gz 1013090 SHA256 2fbd50a6cb352f847ebf3deadc914bbc12592539d4c368f7f7cff0a71f7d48e7 SHA512 f2aa2e1aa8f20c59faa664675f85ca8c1dcc922803f17cc00519f84a01c0c98ba431915ba5765d5de75200d828687507846af7e9e0096f3a4fdf1163e54cb83d WHIRLPOOL 178baaa6c73169a8b3e9276927bcf67bdd80fe114c8c3635aacd765cf9198dce2599c4f5493577b2ba9b1538ca8da69e6b2117fc7c9bb6451c129ee2efb71efe |
35 |
-DIST tesseract-2.00.fra.tar.gz 1007776 SHA256 1201229bb8b377ab3d92255e0b0642a36304b99415091fb059f423c814cecd25 SHA512 46686d6296446c59d020731e2d36e015717a750f6a41401c38794e7e8067dbd0299b838260a9ea9d5da3ddc289e0320ed71437f67ea99f93e79895e4aaf9cdc8 WHIRLPOOL 9cb290cf260c40272223c75f1b575361cea2d51f462a10f4f82e20518531cbe1b908473b4d6a11f08c7461c4fbc8bd31256555964d39502676b035dc753da97a |
36 |
-DIST tesseract-2.00.ita.tar.gz 977683 SHA256 3a1b9323ddfcda327780aba94ef724f35690d3cfdf8ef832c5709721b7e2999a SHA512 75cb670c1fe202878c220029d113e0795844f94901a6a0e31201c43d5694e1995c11760229ef6dc5222ff1fe49ee87ee1cdf073e80347e2862e71f045ce4a2db WHIRLPOOL c57ad7d994abc0c030ba68efff6c27eca8af9c78878f166d0fdad6564f916b6c30c1882c7447ce38752817489054bbed71ec49b07de70d1cf5e96080646fba2e |
37 |
-DIST tesseract-2.00.nld.tar.gz 1408071 SHA256 26b9f7d80c4cfe19074c3c5dc55a37b489d89b6f7b13c026f9c2dc265120d859 SHA512 0a2b7f13d784d210f5284de1a02c9b3849c4b36a27cf6276b5d9d444607bf52b909f8edfa07b5b1e0ee6bf59504bb9c92a47297ce31efa351aaa6b81c038b0ef WHIRLPOOL 5c60260832af157cf4f07b79105187be6a1f9d5bd2bf4d8d0a0c8f43c36da3271225114e6d5d1e1b83e53e47bf67e0e8ec89ed0f22ba6c48c620c0c22da854d2 |
38 |
-DIST tesseract-2.00.spa.tar.gz 1365863 SHA256 b4b83e46be4602a361279c131da2c7f3ba8c51ac26c0e108f958406db6ae320e SHA512 a7efb46c5cc3812789f3dacf151e547007c3de1eed3d4a6a5c55cc18d4e1794377f34b55fd9e6a416f91a0ff62a66c0825a1993029ce4656ea64fcc18b9fa3fe WHIRLPOOL b6d474cf1bb9015cfe42214b3ca87e8f4c2ff193443a71fd0c1fd973a5a7683e4501e975354929f91c446a2bfb449f2cb535ca70f26ec35b527458450f0a8ee9 |
39 |
-DIST tesseract-2.01.deu-f.tar.gz 1312785 SHA256 410143cf5029b10d274909439de2c407706e4d601cd5e1bb1309dbd46288757e SHA512 76cc7da4f3a21581705bbae1975ae9a458ca61fa2691645f5b9f64d61ff0222e2c721ecd0c069c3540a65974129f58ae1a08b0d38c3f4d1f45f31d5969d63fb8 WHIRLPOOL 456e7d7f446c1cfca9e483dd85f5bf62c1b24c44535a0dd8600a6188096a1692484a60502bc6537262222cd94c8caae378a2bb698d3628a4223d15e559ad8cfd |
40 |
-DIST tesseract-2.01.por.tar.gz 2107696 SHA256 0dc30b76814a7694246ca347ccb402bcd40e5e6f3bf70cca31e6d3ca06210baa SHA512 a7d2b3eb206f0cb9e8eee18f55476f8778a8839b3daaa9e10a8d77fec07ce3e37de58017b8fb09b90a4aef026f94df4a15ce77b4db9d6a12815353ee60fcadc7 WHIRLPOOL f15cf92aae31a28ae4c56a9730d6a8af6d87675b5a4eba5dbeadbd65fa609213fb919bb8334c7c430fe0907bbce3107a7d0efed3733487e00ae6b1282d6001d6 |
41 |
-DIST tesseract-2.01.vie.tar.gz 964277 SHA256 8026240029341d45a6142cfccf6f0f98e5b1f35cae5725f8379ac4a8de34283f SHA512 568b91ffa79ca57b613d6548504adf37677fa04a7226d366bc7d4548d1480dc00b397b76f42ef96a2ca0d78b6ffc635fa5586b0cd251d54cf22eb960ab3c920e WHIRLPOOL c32c5e8a5b62f688df43a94a69f0d1326179866e6a9674b625d984ceed26b085764c9b7cd3980507546e23c567f350f9a0ccb3d2d4b2c8d2efe1a1a9ef98d430 |
42 |
-DIST tesseract-2.04.eus.tar.gz 1207994 SHA256 19aa30dda8049fb03e125e3b17d05ae402544e9ec81adcb18964d4a7b125a2fe SHA512 613fedb033f3c678a15d71a7346ad7d2da7d0908f18b0450bc4c198b19e3671fdab025e44a4f6f73257848f626af58c144464ce349a3e5c4b91eebc8b4018c1f WHIRLPOOL 7c0f5556ff2acbc4aac3b60885dc15db22385135c43ea57ad8d4b4226b603e6aad6a346d57099429d3c92bffeda9c9604e621c8d9bc2c98c4b770634250d17e1 |
43 |
-DIST tesseract-2.04.tar.gz 1118386 SHA256 62866f283916553e02cebdeb1b485856c6a790f5f8bf86c30b87c6304374bef8 SHA512 c095407910235f7f914aa6a51feedade3f0b33108c7801b88c5ade26f2b75d1756b034d9ac32ad362a326ee468f97b69476978102ef0cefcc1b5c93be2342d42 WHIRLPOOL 2ce585c295477d17de265bac563d50c249b036301058b98e552b79f040829facea778cfc7692ae06299fc6b55bf2d890e511300c9746be525f9439d0d93d1280 |
44 |
DIST tesseract-3.03-rc1.tar.gz 12812907 SHA256 d244956236f7491d74d7f342895f611a6c46c45fa9900173d5b7625d8461d2ea SHA512 4acd6a3c0db5568bd6cb199776a52fbf1643692cf2d9da7449644662461c0c3ef7e5941bb49be94135433a90de400413df062edd612ce9ec9c06e9206a57113f WHIRLPOOL 93f33f62aeb5a9f65a7642bc282138622076989618f787a044ad79463ab9cd9a9ebaeb5e34e52cf5c95c569b01fc552a44d2eda24e697d0c9a045fb626b9aa77 |
45 |
DIST tesseract-3.04.00.tar.gz 2264427 SHA256 7e6e48b625e1fba9bc825a4ef8c39f12c60aae1084939133b3c6a00f8f8dc38c SHA512 60c31bad40b4c01395782fb98b3326407e75ebdbda962de4fb0e878824efb05140bdcb139dcf7d4f699ae5350e81a00320ebe7fbec083a0d374952488cc59e25 WHIRLPOOL 81b685e4d50d94056a4f99ce6beb4c73983e9449e1eed07a69d4649b0a8231b17fede430a8c181b37216a55e9f6102a578c85d84b2bbe6e9643ca98f16ae3260 |
46 |
DIST tesseract-ocr-3.01.heb-com.tar.gz 270977 SHA256 20a9d53172a8dbf1a4bbd7f7e9e3a523a9435c47c751533642e8a9becc8584ff SHA512 378dc49da535f70c860c29b9a43cae478f6d8403c93a623b1781194c02aad3ea12345f9ea6ebbac4fb2033179964d23fb075e6aa206ec79530b41947d5d44411 WHIRLPOOL cc6463928c05d5904af71ea6170e946e601639761eaab317f0570275e0eaee81cba2c0636dc5dec40f8ba6d16ad498e7177a0c2bf5a886f2598c99568f151fd6 |
47 |
|
48 |
diff --git a/app-text/tesseract/files/tesseract-2.04-gcc44.patch b/app-text/tesseract/files/tesseract-2.04-gcc44.patch |
49 |
deleted file mode 100644 |
50 |
index 7d1f61c..0000000 |
51 |
--- a/app-text/tesseract/files/tesseract-2.04-gcc44.patch |
52 |
+++ /dev/null |
53 |
@@ -1,15 +0,0 @@ |
54 |
-diff -NrU5 tesseract-2.04.original/viewer/svutil.cpp tesseract-2.04/viewer/svutil.cpp |
55 |
---- tesseract-2.04.original/viewer/svutil.cpp 2009-07-25 21:03:18.000000000 +0000 |
56 |
-+++ tesseract-2.04/viewer/svutil.cpp 2009-07-25 21:05:54.000000000 +0000 |
57 |
-@@ -41,10 +41,11 @@ |
58 |
- #include <sys/prctl.h> |
59 |
- #endif |
60 |
- #endif |
61 |
- |
62 |
- #include <iostream> |
63 |
-+#include <cstdio> |
64 |
- |
65 |
- const int kBufferSize = 65536; |
66 |
- const int kMaxMsgSize = 4096; |
67 |
- |
68 |
- // Signals a thread to exit. |
69 |
|
70 |
diff --git a/app-text/tesseract/tesseract-2.04-r1.ebuild b/app-text/tesseract/tesseract-2.04-r1.ebuild |
71 |
deleted file mode 100644 |
72 |
index adcaca9..0000000 |
73 |
--- a/app-text/tesseract/tesseract-2.04-r1.ebuild |
74 |
+++ /dev/null |
75 |
@@ -1,71 +0,0 @@ |
76 |
-# Copyright 1999-2012 Gentoo Foundation |
77 |
-# Distributed under the terms of the GNU General Public License v2 |
78 |
-# $Id$ |
79 |
- |
80 |
-EAPI="2" |
81 |
- |
82 |
-inherit eutils |
83 |
- |
84 |
-DESCRIPTION="An OCR Engine that was developed at HP and now at Google" |
85 |
-HOMEPAGE="https://code.google.com/p/tesseract-ocr/" |
86 |
-SRC_URI="https://tesseract-ocr.googlecode.com/files/${P}.tar.gz |
87 |
- https://tesseract-ocr.googlecode.com/files/${PN}-2.00.eng.tar.gz |
88 |
- linguas_de? ( |
89 |
- https://tesseract-ocr.googlecode.com/files/${PN}-2.00.deu.tar.gz |
90 |
- https://tesseract-ocr.googlecode.com/files/${PN}-2.01.deu-f.tar.gz |
91 |
- ) |
92 |
- linguas_eu? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.04.eus.tar.gz ) |
93 |
- linguas_es? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.spa.tar.gz ) |
94 |
- linguas_fr? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.fra.tar.gz ) |
95 |
- linguas_it? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.ita.tar.gz ) |
96 |
- linguas_nl? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.00.nld.tar.gz ) |
97 |
- linguas_pt_BR? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.01.por.tar.gz ) |
98 |
- linguas_vi? ( https://tesseract-ocr.googlecode.com/files/${PN}-2.01.vie.tar.gz )" |
99 |
- |
100 |
-LICENSE="Apache-2.0" |
101 |
-SLOT="0" |
102 |
-KEYWORDS="alpha amd64 ~arm ~mips ppc ppc64 sparc x86" |
103 |
-IUSE="examples tiff linguas_de linguas_eu linguas_es linguas_fr linguas_it linguas_nl linguas_pt_BR linguas_vi" |
104 |
- |
105 |
-DEPEND="tiff? ( media-libs/tiff )" |
106 |
-RDEPEND="${DEPEND}" |
107 |
- |
108 |
-# NOTES: |
109 |
-# english language files are always installed because they are used by default |
110 |
-# that is a tesseract bug and if possible this workaround should be avoided |
111 |
-# see bug 287373 |
112 |
-# deu-f corresponds to an old german graphic style named fraktur |
113 |
-# that's the same language (german, de) |
114 |
-# stuff in directory java/ seems useless... |
115 |
-# in testing/, there is a way to test accuracy, not usable for src_test() |
116 |
-# app-ocr/ would be a better category |
117 |
- |
118 |
-src_prepare() { |
119 |
- # move language files to have them installed |
120 |
- mv "${WORKDIR}"/tessdata/* tessdata/ || die "move language files failed" |
121 |
- |
122 |
- # remove obsolete makefile, install target only in uppercase Makefile |
123 |
- rm "${S}/java/makefile" || die "remove obsolete java makefile failed" |
124 |
- |
125 |
- # fix gcc-4.4 compilation, bug 269320 |
126 |
- # fix gcc-4.7 compilation, bug 413937 |
127 |
- epatch \ |
128 |
- "${FILESDIR}"/${P}-gcc44.patch \ |
129 |
- "${FILESDIR}"/${P}-gcc47.patch |
130 |
-} |
131 |
- |
132 |
-src_configure() { |
133 |
- econf $(use_with tiff libtiff) \ |
134 |
- --disable-dependency-tracking |
135 |
-} |
136 |
- |
137 |
-src_install() { |
138 |
- emake DESTDIR="${D}" install || die "emake install failed" |
139 |
- |
140 |
- dodoc AUTHORS ChangeLog NEWS README ReleaseNotes || die "dodoc failed" |
141 |
- |
142 |
- if use examples; then |
143 |
- insinto /usr/share/doc/${PF}/examples |
144 |
- doins eurotext.tif phototest.tif || die "doins failed" |
145 |
- fi |
146 |
-} |
147 |
|
148 |
diff --git a/app-text/tesseract/tesseract-3.03_rc1-r1.ebuild b/app-text/tesseract/tesseract-3.03_rc1-r1.ebuild |
149 |
deleted file mode 100644 |
150 |
index f80a9c5..0000000 |
151 |
--- a/app-text/tesseract/tesseract-3.03_rc1-r1.ebuild |
152 |
+++ /dev/null |
153 |
@@ -1,108 +0,0 @@ |
154 |
-# Copyright 1999-2015 Gentoo Foundation |
155 |
-# Distributed under the terms of the GNU General Public License v2 |
156 |
-# $Id$ |
157 |
- |
158 |
-EAPI=5 |
159 |
- |
160 |
-MY_PN="${PN}-ocr" |
161 |
-DL_P="${MY_PN}-3.02" |
162 |
-URI_PREFIX="https://${MY_PN}.googlecode.com/files" |
163 |
- |
164 |
-inherit eutils autotools autotools-utils versionator |
165 |
- |
166 |
-S="${WORKDIR}/${PN}-$(get_version_component_range 1-2 )" |
167 |
- |
168 |
-DESCRIPTION="An OCR Engine that was developed at HP and now at Google" |
169 |
-HOMEPAGE="https://code.google.com/p/tesseract-ocr/" |
170 |
-SRC_URI="https://dev.gentoo.org/~tomka/files/${PN}-3.03-rc1.tar.gz |
171 |
- ${URI_PREFIX}/${DL_P}.eng.tar.gz |
172 |
- doc? ( ${URI_PREFIX}/${DL_P}.02-doc-html.tar.gz ) |
173 |
- linguas_ar? ( ${URI_PREFIX}/${DL_P}.ara.tar.gz ) |
174 |
- linguas_bg? ( ${URI_PREFIX}/bul.traineddata.gz ) |
175 |
- linguas_ca? ( ${URI_PREFIX}/cat.traineddata.gz ) |
176 |
- linguas_chr? ( ${URI_PREFIX}/chr.traineddata.gz ) |
177 |
- linguas_cs? ( ${URI_PREFIX}/ces.traineddata.gz ) |
178 |
- linguas_de? ( ${URI_PREFIX}/deu.traineddata.gz |
179 |
- ${URI_PREFIX}/deu-frak.traineddata.gz ) |
180 |
- linguas_da? ( ${URI_PREFIX}/dan.traineddata.gz |
181 |
- ${URI_PREFIX}/dan-frak.traineddata.gz ) |
182 |
- linguas_el? ( ${URI_PREFIX}/ell.traineddata.gz ) |
183 |
- linguas_es? ( ${URI_PREFIX}/spa.traineddata.gz ) |
184 |
- linguas_fi? ( ${URI_PREFIX}/fin.traineddata.gz ) |
185 |
- linguas_fr? ( ${URI_PREFIX}/fra.traineddata.gz ) |
186 |
- linguas_he? ( ${URI_PREFIX}/${DL_P}.heb.tar.gz |
187 |
- ${URI_PREFIX}/${MY_PN}-3.01.heb-com.tar.gz ) |
188 |
- linguas_hi? ( ${URI_PREFIX}/${DL_P}.hin.tar.gz ) |
189 |
- linguas_hu? ( ${URI_PREFIX}/hun.traineddata.gz ) |
190 |
- linguas_id? ( ${URI_PREFIX}/ind.traineddata.gz ) |
191 |
- linguas_it? ( ${URI_PREFIX}/ita.traineddata.gz ) |
192 |
- linguas_jp? ( ${URI_PREFIX}/jpn.traineddata.gz ) |
193 |
- linguas_ko? ( ${URI_PREFIX}/kor.traineddata.gz ) |
194 |
- linguas_lt? ( ${URI_PREFIX}/lit.traineddata.gz ) |
195 |
- linguas_lv? ( ${URI_PREFIX}/lav.traineddata.gz ) |
196 |
- linguas_nl? ( ${URI_PREFIX}/nld.traineddata.gz ) |
197 |
- linguas_no? ( ${URI_PREFIX}/nor.traineddata.gz ) |
198 |
- linguas_pl? ( ${URI_PREFIX}/pol.traineddata.gz ) |
199 |
- linguas_pt? ( ${URI_PREFIX}/por.traineddata.gz ) |
200 |
- linguas_ro? ( ${URI_PREFIX}/ron.traineddata.gz ) |
201 |
- linguas_ru? ( ${URI_PREFIX}/rus.traineddata.gz ) |
202 |
- linguas_sk? ( ${URI_PREFIX}/slk.traineddata.gz |
203 |
- ${URI_PREFIX}/${MY_PN}-3.01.slk-frak.tar.gz ) |
204 |
- linguas_sl? ( ${URI_PREFIX}/slv.traineddata.gz ) |
205 |
- linguas_sr? ( ${URI_PREFIX}/srp.traineddata.gz ) |
206 |
- linguas_sv? ( ${URI_PREFIX}/swe.traineddata.gz |
207 |
- ${URI_PREFIX}/swe-frak.traineddata.gz ) |
208 |
- linguas_th? ( ${URI_PREFIX}/${DL_P}.tha.tar.gz ) |
209 |
- linguas_tl? ( ${URI_PREFIX}/tgl.traineddata.gz ) |
210 |
- linguas_tr? ( ${URI_PREFIX}/tur.traineddata.gz ) |
211 |
- linguas_uk? ( ${URI_PREFIX}/ukr.traineddata.gz ) |
212 |
- linguas_vi? ( ${URI_PREFIX}/vie.traineddata.gz ) |
213 |
- linguas_zh_CN? ( ${URI_PREFIX}/chi_sim.traineddata.gz ) |
214 |
- linguas_zh_TW? ( ${URI_PREFIX}/chi_tra.traineddata.gz ) |
215 |
- osd? ( ${URI_PREFIX}/${MY_PN}-3.01.osd.tar.gz ) |
216 |
-" |
217 |
- |
218 |
-LICENSE="Apache-2.0" |
219 |
-SLOT="0" |
220 |
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
221 |
- |
222 |
-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" |
223 |
- |
224 |
-# With opencl tiff is necessary regardless of leptonica status |
225 |
-DEPEND=">=media-libs/leptonica-1.70[zlib,tiff?,jpeg?,png?,webp?] |
226 |
- opencl? ( virtual/opencl |
227 |
- media-libs/tiff:0 )" |
228 |
-RDEPEND="${DEPEND}" |
229 |
- |
230 |
-DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes ) |
231 |
- |
232 |
-PATCHES=( |
233 |
- "${FILESDIR}/tesseract-2.04-gcc47.patch" |
234 |
-) |
235 |
- |
236 |
-src_configure() { |
237 |
- local myeconfargs=( |
238 |
- $(use_enable opencl) \ |
239 |
- $(use_enable scrollview graphics) \ |
240 |
- --disable-dependency-tracking |
241 |
- ) |
242 |
- autotools-utils_src_configure |
243 |
-} |
244 |
- |
245 |
-src_install() { |
246 |
- autotools-utils_src_install |
247 |
- |
248 |
- if use examples; then |
249 |
- insinto /usr/share/doc/${PF}/examples |
250 |
- doins eurotext.tif phototest.tif |
251 |
- fi |
252 |
- |
253 |
- if use doc; then |
254 |
- dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/* |
255 |
- fi |
256 |
- |
257 |
- # install language files |
258 |
- insinto /usr/share/tessdata |
259 |
- find "${WORKDIR}" -maxdepth 1 -type f -name "*.traineddata" -exec doins '{}' + |
260 |
- doins "${WORKDIR}"/"${MY_PN}"/tessdata/* |
261 |
-} |
262 |
|
263 |
diff --git a/app-text/tesseract/tesseract-3.04.00-r1.ebuild b/app-text/tesseract/tesseract-3.04.00-r1.ebuild |
264 |
deleted file mode 100644 |
265 |
index fa1e08a..0000000 |
266 |
--- a/app-text/tesseract/tesseract-3.04.00-r1.ebuild |
267 |
+++ /dev/null |
268 |
@@ -1,110 +0,0 @@ |
269 |
-# Copyright 1999-2015 Gentoo Foundation |
270 |
-# Distributed under the terms of the GNU General Public License v2 |
271 |
-# $Id$ |
272 |
- |
273 |
-EAPI=5 |
274 |
- |
275 |
-MY_PN="tesseract-ocr" |
276 |
-URI_PREFIX="https://github.com/${MY_PN}/tessdata/raw/${PV}/" |
277 |
- |
278 |
-inherit eutils autotools autotools-utils |
279 |
- |
280 |
-DESCRIPTION="An OCR Engine, orginally developed at HP, now open source." |
281 |
-HOMEPAGE="https://github.com/tesseract-ocr" |
282 |
-SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz |
283 |
- ${URI_PREFIX}eng.traineddata -> eng.traineddata-${PV} |
284 |
- doc? ( https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02-doc-html.tar.gz ) |
285 |
- linguas_ar? ( ${URI_PREFIX}ara.traineddata -> ara.traineddata-${PV} ) |
286 |
- linguas_bg? ( ${URI_PREFIX}bul.traineddata -> bul.traineddata-${PV} ) |
287 |
- linguas_ca? ( ${URI_PREFIX}cat.traineddata -> cat.traineddata-${PV} ) |
288 |
- linguas_chr? ( ${URI_PREFIX}chr.traineddata -> chr.traineddata-${PV} ) |
289 |
- linguas_cs? ( ${URI_PREFIX}ces.traineddata -> ces.traineddata-${PV} ) |
290 |
- linguas_de? ( ${URI_PREFIX}deu.traineddata -> deu.traineddata-${PV} |
291 |
- ${URI_PREFIX}deu_frak.traineddata -> deu_frak.traineddata-${PV} ) |
292 |
- linguas_da? ( ${URI_PREFIX}dan.traineddata -> dan.traineddata-${PV} |
293 |
- ${URI_PREFIX}dan_frak.traineddata -> dan_frak.traineddata-${PV} ) |
294 |
- linguas_el? ( ${URI_PREFIX}ell.traineddata -> ell.traineddata-${PV} ) |
295 |
- linguas_es? ( ${URI_PREFIX}spa.traineddata -> spa.traineddata-${PV} ) |
296 |
- linguas_fi? ( ${URI_PREFIX}fin.traineddata -> fin.traineddata-${PV} ) |
297 |
- linguas_fr? ( ${URI_PREFIX}fra.traineddata -> fra.traineddata-${PV} ) |
298 |
- linguas_he? ( ${URI_PREFIX}heb.traineddata -> heb.traineddata-${PV} ) |
299 |
- linguas_hi? ( ${URI_PREFIX}hin.traineddata -> hin.traineddata-${PV} ) |
300 |
- linguas_hu? ( ${URI_PREFIX}hun.traineddata -> hun.traineddata-${PV} ) |
301 |
- linguas_id? ( ${URI_PREFIX}ind.traineddata -> ind.traineddata-${PV} ) |
302 |
- linguas_it? ( ${URI_PREFIX}ita.traineddata -> ita.traineddata-${PV} ) |
303 |
- linguas_jp? ( ${URI_PREFIX}jpn.traineddata -> jpn.traineddata-${PV} ) |
304 |
- linguas_ko? ( ${URI_PREFIX}kor.traineddata -> kor.traineddata-${PV} ) |
305 |
- linguas_lt? ( ${URI_PREFIX}lit.traineddata -> lit.traineddata-${PV} ) |
306 |
- linguas_lv? ( ${URI_PREFIX}lav.traineddata -> lav.traineddata-${PV} ) |
307 |
- linguas_nl? ( ${URI_PREFIX}nld.traineddata -> nld.traineddata-${PV} ) |
308 |
- linguas_no? ( ${URI_PREFIX}nor.traineddata -> nor.traineddata-${PV} ) |
309 |
- linguas_pl? ( ${URI_PREFIX}pol.traineddata -> pol.traineddata-${PV} ) |
310 |
- linguas_pt? ( ${URI_PREFIX}por.traineddata -> por.traineddata-${PV} ) |
311 |
- linguas_ro? ( ${URI_PREFIX}ron.traineddata -> ron.traineddata-${PV} ) |
312 |
- linguas_ru? ( ${URI_PREFIX}rus.traineddata -> rus.traineddata-${PV} ) |
313 |
- linguas_sk? ( ${URI_PREFIX}slk.traineddata -> slk.traineddata-${PV} |
314 |
- ${URI_PREFIX}slk_frak.traineddata -> slk_frak.traineddata-${PV} ) |
315 |
- linguas_sl? ( ${URI_PREFIX}slv.traineddata -> slv.traineddata-${PV} ) |
316 |
- linguas_sr? ( ${URI_PREFIX}srp.traineddata -> srp.traineddata-${PV} ) |
317 |
- linguas_sv? ( ${URI_PREFIX}swe.traineddata -> swe.traineddata-${PV} ) |
318 |
- linguas_th? ( ${URI_PREFIX}tha.traineddata -> tha.traineddata-${PV} ) |
319 |
- linguas_tl? ( ${URI_PREFIX}tgl.traineddata -> tgl.traineddata-${PV} ) |
320 |
- linguas_tr? ( ${URI_PREFIX}tur.traineddata -> tur.traineddata-${PV} ) |
321 |
- linguas_uk? ( ${URI_PREFIX}ukr.traineddata -> ukr.traineddata-${PV} ) |
322 |
- linguas_vi? ( ${URI_PREFIX}vie.traineddata -> vie.traineddata-${PV} ) |
323 |
- linguas_zh_CN? ( ${URI_PREFIX}chi_sim.traineddata -> chi_sim.traineddata-${PV} ) |
324 |
- linguas_zh_TW? ( ${URI_PREFIX}chi_tra.traineddata -> chi_tra.traineddata-${PV} ) |
325 |
- osd? ( ${URI_PREFIX}osd.traineddata -> osd.traineddata-${PV} ) |
326 |
-" |
327 |
- |
328 |
-LICENSE="Apache-2.0" |
329 |
-SLOT="0" |
330 |
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
331 |
- |
332 |
-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" |
333 |
- |
334 |
-# With opencl tiff is necessary regardless of leptonica status <-- Check this |
335 |
-DEPEND=">=media-libs/leptonica-1.71[zlib,tiff?,jpeg?,png?,webp?] |
336 |
- opencl? ( virtual/opencl |
337 |
- media-libs/tiff:0 )" |
338 |
-RDEPEND="${DEPEND}" |
339 |
- |
340 |
-DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes ) |
341 |
- |
342 |
-PATCHES=( |
343 |
- "${FILESDIR}/tesseract-2.04-gcc47.patch" |
344 |
- "${FILESDIR}/${P}-fix-scrollview-disabled.patch" |
345 |
-) |
346 |
- |
347 |
-src_unpack() { |
348 |
- unpack ${P}.tar.gz |
349 |
- use doc && unpack tesseract-ocr-3.02.02-doc-html.tar.gz |
350 |
- find "${DISTDIR}/" -name "*traineddata-${PV}" \ |
351 |
- -execdir sh -c 'cp -- "$0" "${S}/tessdata/${0%-*}"' '{}' ';' || die |
352 |
-} |
353 |
- |
354 |
-src_configure() { |
355 |
- local myeconfargs=( |
356 |
- $(use_enable opencl) \ |
357 |
- $(use_enable scrollview graphics) \ |
358 |
- --disable-dependency-tracking |
359 |
- ) |
360 |
- autotools-utils_src_configure |
361 |
-} |
362 |
- |
363 |
-src_install() { |
364 |
- autotools-utils_src_install |
365 |
- |
366 |
- if use examples; then |
367 |
- insinto /usr/share/doc/${PF}/examples |
368 |
- doins testing/eurotext.tif testing/phototest.tif |
369 |
- fi |
370 |
- |
371 |
- if use doc; then |
372 |
- dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/* |
373 |
- fi |
374 |
- |
375 |
- # install language files |
376 |
- insinto /usr/share/tessdata |
377 |
- doins "${S}"/tessdata/*traineddata* |
378 |
-} |
379 |
|
380 |
diff --git a/app-text/tesseract/tesseract-3.04.00.ebuild b/app-text/tesseract/tesseract-3.04.00.ebuild |
381 |
deleted file mode 100644 |
382 |
index 6303c2d..0000000 |
383 |
--- a/app-text/tesseract/tesseract-3.04.00.ebuild |
384 |
+++ /dev/null |
385 |
@@ -1,107 +0,0 @@ |
386 |
-# Copyright 1999-2015 Gentoo Foundation |
387 |
-# Distributed under the terms of the GNU General Public License v2 |
388 |
-# $Id$ |
389 |
- |
390 |
-EAPI=5 |
391 |
- |
392 |
-MY_PN="${PN}-ocr" |
393 |
-DL_P="${MY_PN}-3.02" |
394 |
-URI_PREFIX="https://${MY_PN}.googlecode.com/files" |
395 |
- |
396 |
-inherit eutils autotools autotools-utils |
397 |
- |
398 |
-DESCRIPTION="An OCR Engine, orginally developed at HP, now open source." |
399 |
-HOMEPAGE="https://github.com/tesseract-ocr" |
400 |
-SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${PV}.tar.gz |
401 |
- ${URI_PREFIX}/${DL_P}.eng.tar.gz |
402 |
- doc? ( ${URI_PREFIX}/${DL_P}.02-doc-html.tar.gz ) |
403 |
- linguas_ar? ( ${URI_PREFIX}/${DL_P}.ara.tar.gz ) |
404 |
- linguas_bg? ( ${URI_PREFIX}/bul.traineddata.gz ) |
405 |
- linguas_ca? ( ${URI_PREFIX}/cat.traineddata.gz ) |
406 |
- linguas_chr? ( ${URI_PREFIX}/chr.traineddata.gz ) |
407 |
- linguas_cs? ( ${URI_PREFIX}/ces.traineddata.gz ) |
408 |
- linguas_de? ( ${URI_PREFIX}/deu.traineddata.gz |
409 |
- ${URI_PREFIX}/deu-frak.traineddata.gz ) |
410 |
- linguas_da? ( ${URI_PREFIX}/dan.traineddata.gz |
411 |
- ${URI_PREFIX}/dan-frak.traineddata.gz ) |
412 |
- linguas_el? ( ${URI_PREFIX}/ell.traineddata.gz ) |
413 |
- linguas_es? ( ${URI_PREFIX}/spa.traineddata.gz ) |
414 |
- linguas_fi? ( ${URI_PREFIX}/fin.traineddata.gz ) |
415 |
- linguas_fr? ( ${URI_PREFIX}/fra.traineddata.gz ) |
416 |
- linguas_he? ( ${URI_PREFIX}/${DL_P}.heb.tar.gz |
417 |
- ${URI_PREFIX}/${MY_PN}-3.01.heb-com.tar.gz ) |
418 |
- linguas_hi? ( ${URI_PREFIX}/${DL_P}.hin.tar.gz ) |
419 |
- linguas_hu? ( ${URI_PREFIX}/hun.traineddata.gz ) |
420 |
- linguas_id? ( ${URI_PREFIX}/ind.traineddata.gz ) |
421 |
- linguas_it? ( ${URI_PREFIX}/ita.traineddata.gz ) |
422 |
- linguas_jp? ( ${URI_PREFIX}/jpn.traineddata.gz ) |
423 |
- linguas_ko? ( ${URI_PREFIX}/kor.traineddata.gz ) |
424 |
- linguas_lt? ( ${URI_PREFIX}/lit.traineddata.gz ) |
425 |
- linguas_lv? ( ${URI_PREFIX}/lav.traineddata.gz ) |
426 |
- linguas_nl? ( ${URI_PREFIX}/nld.traineddata.gz ) |
427 |
- linguas_no? ( ${URI_PREFIX}/nor.traineddata.gz ) |
428 |
- linguas_pl? ( ${URI_PREFIX}/pol.traineddata.gz ) |
429 |
- linguas_pt? ( ${URI_PREFIX}/por.traineddata.gz ) |
430 |
- linguas_ro? ( ${URI_PREFIX}/ron.traineddata.gz ) |
431 |
- linguas_ru? ( ${URI_PREFIX}/rus.traineddata.gz ) |
432 |
- linguas_sk? ( ${URI_PREFIX}/slk.traineddata.gz |
433 |
- ${URI_PREFIX}/${MY_PN}-3.01.slk-frak.tar.gz ) |
434 |
- linguas_sl? ( ${URI_PREFIX}/slv.traineddata.gz ) |
435 |
- linguas_sr? ( ${URI_PREFIX}/srp.traineddata.gz ) |
436 |
- linguas_sv? ( ${URI_PREFIX}/swe.traineddata.gz |
437 |
- ${URI_PREFIX}/swe-frak.traineddata.gz ) |
438 |
- linguas_th? ( ${URI_PREFIX}/${DL_P}.tha.tar.gz ) |
439 |
- linguas_tl? ( ${URI_PREFIX}/tgl.traineddata.gz ) |
440 |
- linguas_tr? ( ${URI_PREFIX}/tur.traineddata.gz ) |
441 |
- linguas_uk? ( ${URI_PREFIX}/ukr.traineddata.gz ) |
442 |
- linguas_vi? ( ${URI_PREFIX}/vie.traineddata.gz ) |
443 |
- linguas_zh_CN? ( ${URI_PREFIX}/chi_sim.traineddata.gz ) |
444 |
- linguas_zh_TW? ( ${URI_PREFIX}/chi_tra.traineddata.gz ) |
445 |
- osd? ( ${URI_PREFIX}/${MY_PN}-3.01.osd.tar.gz ) |
446 |
-" |
447 |
- |
448 |
-LICENSE="Apache-2.0" |
449 |
-SLOT="0" |
450 |
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
451 |
- |
452 |
-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" |
453 |
- |
454 |
-# With opencl tiff is necessary regardless of leptonica status <-- Check this |
455 |
-DEPEND=">=media-libs/leptonica-1.71[zlib,tiff?,jpeg?,png?,webp?] |
456 |
- opencl? ( virtual/opencl |
457 |
- media-libs/tiff:0 )" |
458 |
-RDEPEND="${DEPEND}" |
459 |
- |
460 |
-DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes ) |
461 |
- |
462 |
-PATCHES=( |
463 |
- "${FILESDIR}/tesseract-2.04-gcc47.patch" |
464 |
- "${FILESDIR}/${P}-fix-scrollview-disabled.patch" |
465 |
-) |
466 |
- |
467 |
-src_configure() { |
468 |
- local myeconfargs=( |
469 |
- $(use_enable opencl) \ |
470 |
- $(use_enable scrollview graphics) \ |
471 |
- --disable-dependency-tracking |
472 |
- ) |
473 |
- autotools-utils_src_configure |
474 |
-} |
475 |
- |
476 |
-src_install() { |
477 |
- autotools-utils_src_install |
478 |
- |
479 |
- if use examples; then |
480 |
- insinto /usr/share/doc/${PF}/examples |
481 |
- doins testing/eurotext.tif testing/phototest.tif |
482 |
- fi |
483 |
- |
484 |
- if use doc; then |
485 |
- dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/* |
486 |
- fi |
487 |
- |
488 |
- # install language files |
489 |
- insinto /usr/share/tessdata |
490 |
- find "${WORKDIR}" -maxdepth 1 -type f -name "*.traineddata" -exec doins '{}' + |
491 |
- doins "${WORKDIR}"/"${MY_PN}"/tessdata/* |
492 |
-} |