summaryrefslogtreecommitdiffstats
path: root/graphics/tesseract
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tesseract')
-rw-r--r--graphics/tesseract/README21
-rw-r--r--graphics/tesseract/tesseract.SlackBuild15
-rw-r--r--graphics/tesseract/tesseract.info8
3 files changed, 22 insertions, 22 deletions
diff --git a/graphics/tesseract/README b/graphics/tesseract/README
index f159608df6..dff66c6e57 100644
--- a/graphics/tesseract/README
+++ b/graphics/tesseract/README
@@ -1,12 +1,13 @@
-Tesseract is a commercial quality OCR engine originally developed at HP
-between 1985 and 1995. In 1995, this engine was among the top 3 evaluated
-by UNLV. It was open-sourced by HP and UNLV in 2005.
+Tesseract is a commercial quality OCR engine originally developed at
+HP between 1985 and 1995. In 1995, this engine was among the top 3
+evaluated by UNLV. It was open-sourced by HP and UNLV in 2005.
You will need to get one of the language packs in order to do anything
-useful with tesseract, and that language pack tarball should be present
-in the same directory as the SlackBuild script when the package is created.
-See the website for a list of all available language packs. Note that you
-can install more than one (or even all) of the language packs, as they do
-not conflict with each other. The build script defaults to use English, but
-this is easily changed by passing an alternate value on the command line:
-edit the LANGNAM variable to switch to (or add) another language.
+useful with tesseract, and that language pack tarball should be
+present in the same directory as the SlackBuild script when the
+package is created. See the website for a list of all available
+language packs. ote that you can install more than one (or even all)
+of the language packs, as they do not conflict with each other. The
+build script defaults to use English, but this is easily changed
+by passing an alternate value on the command line: edit the LANGNAM
+variable to switch to (or add) another language.
diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild
index 9a263742e6..e822d7d170 100644
--- a/graphics/tesseract/tesseract.SlackBuild
+++ b/graphics/tesseract/tesseract.SlackBuild
@@ -3,7 +3,7 @@
# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# Copyright 2013-2015 LukenShiro, Italy
-# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
+# Copyright 2019-2024 Logan Rathbone <poprocks@gmail.com>
#
# All rights reserved.
#
@@ -35,14 +35,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tesseract
-VERSION=${VERSION:-4.1.1}
+VERSION=${VERSION:-5.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -60,8 +60,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -129,9 +129,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Uncomment when migrating to 15.0:
-## Don't ship .la files:
-#rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES \
diff --git a/graphics/tesseract/tesseract.info b/graphics/tesseract/tesseract.info
index 14c097c0be..68ca311d7a 100644
--- a/graphics/tesseract/tesseract.info
+++ b/graphics/tesseract/tesseract.info
@@ -1,9 +1,9 @@
PRGNAM="tesseract"
-VERSION="4.1.1"
+VERSION="5.3.4"
HOMEPAGE="https://github.com/tesseract-ocr"
-DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/4.1.1/tesseract-4.1.1.tar.gz \
- https://github.com/tesseract-ocr/tessdata/raw/4.0.0/eng.traineddata"
-MD5SUM="51fe2bcbff1bbce77a25d180fd247f7d \
+DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/5.3.4/tesseract-5.3.4.tar.gz \
+ https://github.com/tesseract-ocr/tessdata/raw/4.1.0/eng.traineddata"
+MD5SUM="53de961804ccbcb83b73122f721d8f83 \
57e0df3d84fed9fbf8c7a8e589f8f012"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""