gscan2pdf: update to 2.12.2.

This commit is contained in:
Helmut Pozimski 2021-07-02 20:37:02 +02:00
parent 6f965544a2
commit 514622455c
2 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
--- a/lib/Gscan2pdf/Tesseract.pm 2020-09-21 18:00:10.368568923 +0200
+++ b/lib/Gscan2pdf/Tesseract.pm 2020-09-21 18:02:36.797305878 +0200
@@ -52,25 +52,25 @@
--- a/lib/Gscan2pdf/Tesseract.pm 2021-07-02 20:26:05.063622498 +0200
+++ b/lib/Gscan2pdf/Tesseract.pm 2021-07-02 20:32:12.104791637 +0200
@@ -54,25 +54,25 @@
return $installed if $setup;
( undef, my $exe ) =
@ -31,16 +31,16 @@
$setup = 1;
return $installed;
}
@@ -84,7 +84,7 @@
@@ -86,7 +86,7 @@
if ( not %languages ) {
my @codes;
my ( undef, $out, $err ) =
my ( undef, $out ) =
- Gscan2pdf::Document::exec_command( [ 'tesseract', '--list-langs' ] );
+ Gscan2pdf::Document::exec_command( [ 'tesseract-ocr', '--list-langs' ] );
@codes = split /\n/xsm, $err ? $err : $out;
@codes = split /\n/xsm, $out;
if ( $codes[0] =~ /^List[ ]of[ ]available[ ]languages/xsm ) {
shift @codes;
@@ -97,7 +97,7 @@
@@ -99,7 +99,7 @@
if ( not defined $name ) {
$name = $code;
}

View File

@ -1,6 +1,6 @@
# Template file for 'gscan2pdf'.
pkgname=gscan2pdf
version=2.12.1
version=2.12.2
revision=1
build_style=perl-module
hostmakedepends="perl gettext"
@ -16,7 +16,7 @@ maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-3.0-or-later"
homepage="http://gscan2pdf.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=e5c10a9e695674308d29fe8661c5bb7230e25dfbc098716c26a3188ef1e54074
checksum=df3fcb340593d47e1d8f54cb8cecc97c08197b37e35ffe314443f7478dff66bf
nocross=yes
do_check() {