From 12f1ec1cc5b5b49d0d7020857c3ba4c9689eebd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 21 Jun 2018 13:45:09 +0200 Subject: [PATCH] tesseract-ocr: update to 3.05.02 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also fix tessdata download (use 3.04.00 data). Signed-off-by: Jürgen Buchmüller --- srcpkgs/tesseract-ocr/files/COPYING | 14 ++++++++++++++ srcpkgs/tesseract-ocr/template | 12 ++++++------ 2 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/tesseract-ocr/files/COPYING diff --git a/srcpkgs/tesseract-ocr/files/COPYING b/srcpkgs/tesseract-ocr/files/COPYING new file mode 100644 index 0000000000..11e05af425 --- /dev/null +++ b/srcpkgs/tesseract-ocr/files/COPYING @@ -0,0 +1,14 @@ +This repository contains language data for Tesseract Open Source +OCR Engine. All data in the repository are licensed under the Apache +License: + +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** http://www.apache.org/licenses/LICENSE-2.0 +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. + diff --git a/srcpkgs/tesseract-ocr/template b/srcpkgs/tesseract-ocr/template index 3c01466daf..c99289c6c3 100644 --- a/srcpkgs/tesseract-ocr/template +++ b/srcpkgs/tesseract-ocr/template @@ -1,9 +1,9 @@ # Template file for 'tesseract-ocr' pkgname=tesseract-ocr -version=3.05.01 -revision=5 +version=3.05.02 +revision=1 wrksrc=tesseract-${version} -_tessdata_ver=3cf1e2df1fe1d1da29295c9ef0983796c7958b7d +_tessdata_ver=074c37215b01ab8cc47a0e06ff7356383883d775 build_style=gnu-configure configure_args="LIBLEPT_HEADERSDIR=${XBPS_CROSS_BASE}/usr/include" hostmakedepends="automake libtool pkg-config leptonica" @@ -16,8 +16,8 @@ distfiles=" https://github.com/tesseract-ocr/tesseract/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz https://github.com/tesseract-ocr/tessdata/archive/${_tessdata_ver}.tar.gz>tessdata-${_tessdata_ver}.tar.gz" checksum=" - 05898f93c5d057fada49b9a116fc86ad9310ff1726a0f499c3e5211b3af47ec1 - 94c5957a6837e0bca86ab1f33a3c7c7ff2451f927f3daf458cca926a11f2c3f0" + 494d64ffa7069498a97b909a0e65a35a213989e0184f1ea15332933a90d43445 + e33dea2118f447848a76e0fa5d50d45a2b8630cccc6adeb8d58221a1d09d6007" # Create a package for one specific language $1 pkg_lang() { @@ -48,7 +48,7 @@ post_install() { vdoc README.md vdoc testing/eurotext.tif vdoc testing/phototest.tif - vlicense tessdata/COPYING LICENSE-tessdata + vlicense ${FILESDIR}/COPYING LICENSE-tessdata # Move the pseudo languges "equ" (math / equation detection) and # "osd" (orientation and script detection) to the main package for lang in equ osd; do