Package Details: k2pdfopt 2.53-1

Git Clone URL: (read-only, click to copy)
Package Base: k2pdfopt
Description: Tool for optimizing PDF/DJVU files for mobile e-readers and smartphones.
Upstream URL:
Keywords: convert djvu ebook kindle ocr pdf reflow
Licenses: GPL3
Submitter: FacuTuesca
Maintainer: fungible
Last Packager: fungible
Votes: 50
Popularity: 0.000927
First Submitted: 2014-03-14 21:46 (UTC)
Last Updated: 2021-12-28 05:30 (UTC)

Dependencies (8)

Required by (0)

Sources (4)

Latest Comments

1 2 3 4 Next › Last »

tolik commented on 2022-11-12 04:48 (UTC)

I have the same problem as Dingisoul.

Dingisoul commented on 2022-11-10 15:13 (UTC)

There's a bug in aur's k2pdfopt but not in the executable k2pdfopt directly from Both version is 2.53. The output PDF files ends far before the EOF. I have tried the -p options, but didn't work. All the pdfs I'm using are conference papers. I don't know why , so asking for help here. This is one input file and the output file generated by aur's k2pdfopt with default options output file

cypmon commented on 2022-02-12 20:03 (UTC)

Thanks for updating this package ;). k2pdfopt's build system is weird.

scrouthtv commented on 2020-08-20 19:05 (UTC)

Tried to update but I can't compile even the basic version of his website of 2.53 (missing djvu.h). On the debian download page, there is a 2.52 version with more patches, although I haven't tried them yet.

jose1711 commented on 2020-06-18 21:39 (UTC)

Applying patches from Debian sid I still get error from linker:

/usr/bin/ld: willuslib/libwilluslib.a(ocrtess.c.o): in function `ocrtess_set_logfile':
ocrtess.c:(.text+0x1a4): undefined reference to `tess_capi_set_logfile'
/usr/bin/ld: willuslib/libwilluslib.a(ocrtess.c.o): in function `ocrtess_debug_message':
ocrtess.c:(.text+0x1b4): undefined reference to `tess_capi_debug_message'
/usr/bin/ld: willuslib/libwilluslib.a(ocrtess.c.o): in function `ocrtess_init':
ocrtess.c:(.text+0x1192): undefined reference to `tess_capi_init'
/usr/bin/ld: willuslib/libwilluslib.a(ocrtess.c.o): in function `ocrtess_end':
ocrtess.c:(.text+0x11e4): undefined reference to `tess_capi_end'
/usr/bin/ld: willuslib/libwilluslib.a(ocrtess.c.o): in function `ocrtess_ocrwords_from_bmp8':
ocrtess.c:(.text+0x1575): undefined reference to `tess_capi_get_ocr_multiword'
/usr/bin/ld: willuslib/libwilluslib.a(ocrtess.c.o): in function `ocrtess_from_bmp8':
ocrtess.c:(.text+0x1a84): undefined reference to `tess_capi_get_ocr'
collect2: error: ld returned 1 exit status

probably some kind of conflict with modified tesseract. I don't really have time to fix this so if someone wants to step in.. I am disowning this now. Thanks.

cvelteren commented on 2020-05-26 09:49 (UTC)

How to build this package with ocr?

Un1Gfn commented on 2019-02-23 08:31 (UTC) (edited on 2019-03-05 23:56 (UTC) by Un1Gfn)

I don't know much about statically/dynamically linking so I give up (for now). Sorry for adopting the package and doing nothing.

The k2pdfopt->libwillus->tesseract(modded)->leptonica(modded) dependency has been such a beast.

Possibly useful reference: repology and nixpkgs

FacuTuesca commented on 2019-01-28 18:10 (UTC)

I can no longer maintain this package. Up for adoption.

m040601 commented on 2019-01-28 13:45 (UTC)

v2.50 was released in Dec 2018 and v2.51 in Jan 2019 with important enhancements compiling with the Tesseract v4.0.0 library