From 2883085f3e826d774f7fb7e0958875940e771850 Mon Sep 17 00:00:00 2001 From: numerys Date: Thu, 23 Mar 2023 23:26:02 +0100 Subject: [PATCH 1/3] gscan2pdf: corrected patch --- srcpkgs/gscan2pdf/patches/tesseract.patch | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/srcpkgs/gscan2pdf/patches/tesseract.patch b/srcpkgs/gscan2pdf/patches/tesseract.patch index dd28bb2618a5..52ac12e7b450 100644 --- a/srcpkgs/gscan2pdf/patches/tesseract.patch +++ b/srcpkgs/gscan2pdf/patches/tesseract.patch @@ -13,13 +13,11 @@ # we can use --list-langs and not bother with tessdata ( undef, my $out, my $err ) = - Gscan2pdf::Document::exec_command( [ 'tesseract', '-v' ] ); -- if ( $err =~ /^tesseract[ ]([\d.]+)/xsm ) { + Gscan2pdf::Document::exec_command( [ 'tesseract-ocr', '-v' ] ); -+ if ( $err =~ /^tesseract-ocr[ ]([\d.]+)/xsm ) { + if ( $err =~ /^tesseract[ ]([\d.]+)/xsm ) { $version = $1; } -- elsif ( $out =~ /^tesseract[ ]([\d.]+)/xsm ) { -+ elsif ( $out =~ /^tesseract-ocr[ ]([\d.]+)/xsm ) { + elsif ( $out =~ /^tesseract[ ]([\d.]+)/xsm ) { $version = $1; } if ( not $version ) { return } From 093c340e54294dfc67d805ac8b1216c0079bff15 Mon Sep 17 00:00:00 2001 From: numerys Date: Thu, 23 Mar 2023 23:26:02 +0100 Subject: [PATCH 2/3] gscan2pdf: corrected patch --- srcpkgs/gscan2pdf/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/gscan2pdf/template b/srcpkgs/gscan2pdf/template index 875e3b598af7..a20f6e2f78ca 100644 --- a/srcpkgs/gscan2pdf/template +++ b/srcpkgs/gscan2pdf/template @@ -1,7 +1,7 @@ # Template file for 'gscan2pdf'. pkgname=gscan2pdf version=2.13.2 -revision=1 +revision=2 build_style=perl-module hostmakedepends="perl gettext" makedepends="ImageMagick djvulibre libmagick-perl perl-Config-General From 751c7c1c99118a5eaeeb802252ad7a8c5e00f505 Mon Sep 17 00:00:00 2001 From: numerys Date: Thu, 23 Mar 2023 23:26:02 +0100 Subject: [PATCH 3/3] gscan2pdf: corrected patch --- srcpkgs/gscan2pdf/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/gscan2pdf/template b/srcpkgs/gscan2pdf/template index a20f6e2f78ca..1c80a5d8b2be 100644 --- a/srcpkgs/gscan2pdf/template +++ b/srcpkgs/gscan2pdf/template @@ -1,4 +1,4 @@ -# Template file for 'gscan2pdf'. +# Template file for 'gscan2pdf' pkgname=gscan2pdf version=2.13.2 revision=2