Package Details: pdfsandwich 0.1.6-1

Git Clone URL: https://aur.archlinux.org/pdfsandwich.git (read-only)
Package Base: pdfsandwich
Description: Wrapper for tesseract OCR and hocr2pdf to generate pdf files with the recognized text put behind the image (sandwich pdfs).
Upstream URL: http://sourceforge.net/projects/pdfsandwich/
Licenses: GPL2
Submitter: petRUShka
Maintainer: petRUShka
Last Packager: petRUShka
Votes: 6
Popularity: 2.977594
First Submitted: 2016-11-17 16:52
Last Updated: 2017-03-09 18:35

Latest Comments

benoliver999 commented on 2018-02-12 16:43

I agree, this package is not out of date.

ber532k commented on 2018-01-28 00:16

HaoZeke: I encountered the same error when building exact-image. Note however, that this error occurs when compiling exact-image, not when compiling pdfsandwich. Out of curiosity I modified the PKGBUILD and simply removed the exact-image dependency, which caused pdfsandwich to build, install and (preliminary testing suggests) also work without problems.

Which leads to the following question: Why is exact-image included as a dependency? Since it doesn't seem to be vital I'd suggest to rather include it as an optional dependency:

optdepends=('exact-image')

That way the problems exact-image is having wouldn't directly effect this package.

Also: From what I can see this package is up to date with upstream, so it shouldn't be flagged out of date.

Best Regards and thanks to petRUShka for the package.

HaoZeke commented on 2018-01-18 17:30

Somehow broken currently..

Log:

error: ‘imageDrawText’ was not declared in this scope
     imageDrawText(arg1,arg2,arg3,arg4,arg5,(char const *)arg6);
     ^~~~~~~~~~~~~
objdir/api/perl/api-perl-wrap.cc:6262:5: note: suggested alternative: ‘imageDrawLine’
     imageDrawText(arg1,arg2,arg3,arg4,arg5,(char const *)arg6);
     ^~~~~~~~~~~~~
     imageDrawLine
objdir/api/perl/api-perl-wrap.cc: In function ‘void _wrap_imageDrawText__SWIG_1(PerlInterpreter*, CV*)’:
objdir/api/perl/api-perl-wrap.cc:6332:5: error: ‘imageDrawText’ was not declared in this scope
     imageDrawText(arg1,arg2,arg3,arg4,arg5);
     ^~~~~~~~~~~~~
objdir/api/perl/api-perl-wrap.cc:6332:5: note: suggested alternative: ‘imageDrawLine’
     imageDrawText(arg1,arg2,arg3,arg4,arg5);
     ^~~~~~~~~~~~~
     imageDrawLine
objdir/api/perl/api-perl-wrap.cc: In function ‘void _wrap_imageDrawTextOnPath__SWIG_0(PerlInterpreter*, CV*)’:
objdir/api/perl/api-perl-wrap.cc:6547:5: error: ‘imageDrawTextOnPath’ was not declared in this scope
     imageDrawTextOnPath(arg1,arg2,arg3,arg4,(char const *)arg5);
     ^~~~~~~~~~~~~~~~~~~
objdir/api/perl/api-perl-wrap.cc:6547:5: note: suggested alternative: ‘imageDrawRectangle’
     imageDrawTextOnPath(arg1,arg2,arg3,arg4,(char const *)arg5);
     ^~~~~~~~~~~~~~~~~~~
     imageDrawRectangle
objdir/api/perl/api-perl-wrap.cc: In function ‘void _wrap_imageDrawTextOnPath__SWIG_1(PerlInterpreter*, CV*)’:
objdir/api/perl/api-perl-wrap.cc:6607:5: error: ‘imageDrawTextOnPath’ was not declared in this scope
     imageDrawTextOnPath(arg1,arg2,arg3,arg4);
     ^~~~~~~~~~~~~~~~~~~
objdir/api/perl/api-perl-wrap.cc:6607:5: note: suggested alternative: ‘imageDrawRectangle’
     imageDrawTextOnPath(arg1,arg2,arg3,arg4);
     ^~~~~~~~~~~~~~~~~~~
     imageDrawRectangle
make: *** [build/bottom.make:76: objdir/api/perl/ExactImage.so] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
:: Unable to build exact-image - makepkg exited with code: 2

petRUShka commented on 2017-03-09 18:36

Upgraded

azzogue commented on 2017-03-03 11:54

Thanks for the package. It works quite well with tesseract. I've processed a 200 pages pdf in spanish language. Will there be an update to the latest version 0.1.6? Thanks again and please excuse my poor english.

n17ikh commented on 2016-11-25 05:53

Thanks for making the pkgbuild. Can you add poppler as a dependency? It's needed for the pdfunite binary since pdfsandwich-0.1.5.