summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-03-22 15:53:41 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2017-03-22 17:27:39 +0100
commit5ee2ef42d5998dd66c24768e245e1bcfcd224b16 (patch)
tree8649f7ef41d07fc8a0f8005c3bc392a63aa90a49 /app-text/tesseract
parentsys-kernel/gentoo-sources: Linux patch 4.9.17 (diff)
downloadgentoo-5ee2ef42d5998dd66c24768e245e1bcfcd224b16.tar.gz
gentoo-5ee2ef42d5998dd66c24768e245e1bcfcd224b16.tar.bz2
gentoo-5ee2ef42d5998dd66c24768e245e1bcfcd224b16.zip
app-text/tesseract: drop old
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-text/tesseract')
-rw-r--r--app-text/tesseract/Manifest1
-rw-r--r--app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch41
-rw-r--r--app-text/tesseract/tesseract-3.04.00-r2.ebuild129
3 files changed, 0 insertions, 171 deletions
diff --git a/app-text/tesseract/Manifest b/app-text/tesseract/Manifest
index 7b5f3022771..c72774bbc36 100644
--- a/app-text/tesseract/Manifest
+++ b/app-text/tesseract/Manifest
@@ -121,7 +121,6 @@ DIST swe.traineddata-4.00 19062525 SHA256 f292c86c4388c08a0ec862f81e5b08619164cc
DIST syr.traineddata-4.00 8056121 SHA256 d7be312ddbf720ea29380d5dbaa0427ae027de507e178e671f7232cc7ae8a0bf SHA512 c79acc0bde79d7f38b5ddd34683615886d7c284040273849e4b31dd988c4c0ac1617c0f6ef9d246b47eaade5ad5fdfdc4bf99dbb29e2d33c3827927135ea6f06 WHIRLPOOL adc125d0323fc99a51be568eb75d77891a7e84b377091dabdec816642b1fc7a5c2e14f256a1ccb81994c633824adf3ee3a258a17747472f8ae30993e37e2ce65
DIST tam.traineddata-4.00 17333471 SHA256 ba8dc53bd987e4bdfacc37f46e6b0c8f7aea9c000d142ebda40f9f27c3aa2a48 SHA512 9ad90eb8c291712e4cd874d41ed9bcd4169427a50509a353f5549382909458b46a7e4a092dec0d475c548e681426a81597c577f2f821978405a94f965fd4d05f WHIRLPOOL dd3b1489d6c8758b7a36cc4d5d85f61f10643f2b3ffef63a3ae380a1b9314de9490304a27a04c92780ea90eac9f6fbb9845f3a0760df0c715864372dc1f958f0
DIST tel.traineddata-4.00 54446537 SHA256 9db74228a36fcdbcde54e6e6118c0998b2fb73ed84c9e42b52062009c5becd66 SHA512 5e5c2ca84f095ec4dd3184d6cb75702482c699b5cd04f8750ab8958f578f7b24cf3253a83d19a4a1f3716466b95a81737d473339e3593538e46372c4588febb6 WHIRLPOOL 1eb738325fd5610ae3a71791a998aed4f901e03eac629547a5d627f7173dbf3b268732e08a7a64fd4147773bbfc56f560b5f02f32bd3adb16166e6cd8d85e794
-DIST tesseract-3.04.00.tar.gz 2264427 SHA256 7e6e48b625e1fba9bc825a4ef8c39f12c60aae1084939133b3c6a00f8f8dc38c SHA512 60c31bad40b4c01395782fb98b3326407e75ebdbda962de4fb0e878824efb05140bdcb139dcf7d4f699ae5350e81a00320ebe7fbec083a0d374952488cc59e25 WHIRLPOOL 81b685e4d50d94056a4f99ce6beb4c73983e9449e1eed07a69d4649b0a8231b17fede430a8c181b37216a55e9f6102a578c85d84b2bbe6e9643ca98f16ae3260
DIST tesseract-3.04.01.tar.gz 2269105 SHA256 57f63e1b14ae04c3932a2683e4be4954a2849e17edd638ffe91bc5a2156adc6a SHA512 816f6c29f8efeaf157891ddb022bd0daf8eb27c0cb8b6df5542e745d209f0ce617245e4583c59a561ed3216044d3afb38f8620ee94cdea656364923dcb140b5b WHIRLPOOL 995502084484d172becdfdaa38888cd21f0fe2b8845fe4a64726f9fbcd35310d64153be6325016dd50ca37b95069112b63d4f0528bd989a58c3b88dc6c6a6813
DIST tesseract-3.05.00.tar.gz 3581853 SHA256 3fe83e06d0f73b39f6e92ed9fc7ccba3ef734877b76aa5ddaaa778fac095d996 SHA512 54ba96bd1b0d19883e8a0f717ecfddd459945f9dda0fd340e29e2dab3af94d0eceb7f3d207f34685ee97d1ec763efac5d94dec7e0498a7ca85fec35da4ed76b1 WHIRLPOOL 33622256479395eb12c72e4d3187eecf23fe4557f4fcaecf9b5f1ba3aeab67e333b0d979812525f3a1504102764bc572a79f8e64c794be805004e5fec5cdef5b
DIST tesseract-4.00.00_alpha.tar.gz 3706567 SHA256 ada7db147970317eed8223bb72702359ac53ad570e135f7f6824f40c41ea6791 SHA512 282ec941233ceb80fe1008e585a6069fe8ecd6bf2dd1d0f56e2e79b772a0b83bca918d5da892a6cab194a7828607e41a7fd873acec33181b8b86c3c37e434103 WHIRLPOOL ae27cd45ce680c71785c36bd4d5414efc5b07baa483094fd33ee7bd886b55e21a4034ddaa5d55a265cf23983ba21dc98c5e2e2148178e4fabd2c69e1a9326c9e
diff --git a/app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch b/app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch
deleted file mode 100644
index 7523e3b4496..00000000000
--- a/app-text/tesseract/files/tesseract-3.04.00-fix-scrollview-disabled.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 27b8a5cc89898c3f12dae57a58b15efddee9fe18 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= <zdenop@gmail.com>
-Date: Thu, 23 Jul 2015 23:14:53 +0200
-Subject: [PATCH] fix GRAPHICS_DISABLED build
-
----
- ccstruct/imagedata.cpp | 4 ++++
- ccstruct/split.cpp | 5 +++++
- 2 files changed, 9 insertions(+)
-
-diff --git a/ccstruct/imagedata.cpp b/ccstruct/imagedata.cpp
-index 4016a92..3c244c7 100644
---- a/ccstruct/imagedata.cpp
-+++ b/ccstruct/imagedata.cpp
-@@ -17,6 +17,10 @@
- // limitations under the License.
- ///////////////////////////////////////////////////////////////////////
-
-+// Include automatically generated configuration file if running autoconf.
-+#ifdef HAVE_CONFIG_H
-+#include "config_auto.h"
-+#endif
-
- #include "imagedata.h"
-
-diff --git a/ccstruct/split.cpp b/ccstruct/split.cpp
-index 24650d4..6e6ea44 100644
---- a/ccstruct/split.cpp
-+++ b/ccstruct/split.cpp
-@@ -25,6 +25,11 @@
- /*----------------------------------------------------------------------
- I n c l u d e s
- ----------------------------------------------------------------------*/
-+// Include automatically generated configuration file if running autoconf.
-+#ifdef HAVE_CONFIG_H
-+#include "config_auto.h"
-+#endif
-+
- #include "split.h"
- #include "coutln.h"
- #include "tprintf.h"
diff --git a/app-text/tesseract/tesseract-3.04.00-r2.ebuild b/app-text/tesseract/tesseract-3.04.00-r2.ebuild
deleted file mode 100644
index fe3a9e25170..00000000000
--- a/app-text/tesseract/tesseract-3.04.00-r2.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 )
- l10n_ar? ( ${URI_PREFIX}ara.traineddata -> ara.traineddata-${PV} )
- l10n_bg? ( ${URI_PREFIX}bul.traineddata -> bul.traineddata-${PV} )
- l10n_ca? ( ${URI_PREFIX}cat.traineddata -> cat.traineddata-${PV} )
- l10n_chr? ( ${URI_PREFIX}chr.traineddata -> chr.traineddata-${PV} )
- l10n_cs? ( ${URI_PREFIX}ces.traineddata -> ces.traineddata-${PV} )
- l10n_de? ( ${URI_PREFIX}deu.traineddata -> deu.traineddata-${PV}
- ${URI_PREFIX}deu_frak.traineddata -> deu_frak.traineddata-${PV} )
- l10n_da? ( ${URI_PREFIX}dan.traineddata -> dan.traineddata-${PV}
- ${URI_PREFIX}dan_frak.traineddata -> dan_frak.traineddata-${PV} )
- l10n_el? ( ${URI_PREFIX}ell.traineddata -> ell.traineddata-${PV} )
- l10n_es? ( ${URI_PREFIX}spa.traineddata -> spa.traineddata-${PV} )
- l10n_fi? ( ${URI_PREFIX}fin.traineddata -> fin.traineddata-${PV} )
- l10n_fr? ( ${URI_PREFIX}fra.traineddata -> fra.traineddata-${PV} )
- l10n_he? ( ${URI_PREFIX}heb.traineddata -> heb.traineddata-${PV} )
- l10n_hi? ( ${URI_PREFIX}hin.traineddata -> hin.traineddata-${PV} )
- l10n_hu? ( ${URI_PREFIX}hun.traineddata -> hun.traineddata-${PV} )
- l10n_id? ( ${URI_PREFIX}ind.traineddata -> ind.traineddata-${PV} )
- l10n_it? ( ${URI_PREFIX}ita.traineddata -> ita.traineddata-${PV} )
- l10n_ja? ( ${URI_PREFIX}jpn.traineddata -> jpn.traineddata-${PV} )
- l10n_ko? ( ${URI_PREFIX}kor.traineddata -> kor.traineddata-${PV} )
- l10n_lt? ( ${URI_PREFIX}lit.traineddata -> lit.traineddata-${PV} )
- l10n_lv? ( ${URI_PREFIX}lav.traineddata -> lav.traineddata-${PV} )
- l10n_nl? ( ${URI_PREFIX}nld.traineddata -> nld.traineddata-${PV} )
- l10n_no? ( ${URI_PREFIX}nor.traineddata -> nor.traineddata-${PV} )
- l10n_pl? ( ${URI_PREFIX}pol.traineddata -> pol.traineddata-${PV} )
- l10n_pt? ( ${URI_PREFIX}por.traineddata -> por.traineddata-${PV} )
- l10n_ro? ( ${URI_PREFIX}ron.traineddata -> ron.traineddata-${PV} )
- l10n_ru? ( ${URI_PREFIX}rus.traineddata -> rus.traineddata-${PV} )
- l10n_sk? ( ${URI_PREFIX}slk.traineddata -> slk.traineddata-${PV}
- ${URI_PREFIX}slk_frak.traineddata -> slk_frak.traineddata-${PV} )
- l10n_sl? ( ${URI_PREFIX}slv.traineddata -> slv.traineddata-${PV} )
- l10n_sr? ( ${URI_PREFIX}srp.traineddata -> srp.traineddata-${PV} )
- l10n_sv? ( ${URI_PREFIX}swe.traineddata -> swe.traineddata-${PV} )
- l10n_th? ( ${URI_PREFIX}tha.traineddata -> tha.traineddata-${PV} )
- l10n_tl? ( ${URI_PREFIX}tgl.traineddata -> tgl.traineddata-${PV} )
- l10n_tr? ( ${URI_PREFIX}tur.traineddata -> tur.traineddata-${PV} )
- l10n_uk? ( ${URI_PREFIX}ukr.traineddata -> ukr.traineddata-${PV} )
- l10n_vi? ( ${URI_PREFIX}vie.traineddata -> vie.traineddata-${PV} )
- l10n_zh-CN? ( ${URI_PREFIX}chi_sim.traineddata -> chi_sim.traineddata-${PV} )
- l10n_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 ~mips ppc ppc64 sparc x86"
-
-IUSE="doc examples jpeg opencl osd png +scrollview static-libs tiff training -webp l10n_ar l10n_bg l10n_ca l10n_chr l10n_cs l10n_de l10n_da l10n_el l10n_es l10n_fi l10n_fr l10n_he l10n_hi l10n_hu l10n_id l10n_it l10n_ja l10n_ko l10n_lt l10n_lv l10n_nl l10n_no l10n_pl l10n_pt l10n_ro l10n_ru l10n_sk l10n_sl l10n_sr l10n_sv l10n_th l10n_tl l10n_tr l10n_uk l10n_vi l10n_zh-CN l10n_zh-TW"
-
-# With opencl USE=tiff is necessary in leptonica
-DEPEND=">=media-libs/leptonica-1.71[zlib,tiff?,jpeg?,png?,webp?]
- opencl? ( virtual/opencl
- media-libs/tiff:0
- >=media-libs/leptonica-1.71[zlib,tiff,jpeg?,png?,webp?]
- )
- training? (
- dev-libs/icu
- x11-libs/pango
- x11-libs/cairo
- )
-"
-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)
- )
- autotools-utils_src_configure
-}
-
-src_compile() {
- default
- if use training; then
- emake training
- fi
- }
-
-src_install() {
- autotools-utils_src_install
-
- if use training; then
- pushd "${BUILD_DIR}"
- emake DESTDIR="${D}" training-install
- popd
- fi
-
- 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*
-}