Thanks for updating this package ;). k2pdfopt's build system is weird.
Search Criteria
Package Details: k2pdfopt 2.55-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/k2pdfopt.git (read-only, click to copy) |
---|---|
Package Base: | k2pdfopt |
Description: | Tool for optimizing PDF/DJVU files for mobile e-readers and smartphones. |
Upstream URL: | http://www.willus.com/k2pdfopt |
Keywords: | convert djvu ebook kindle ocr pdf reflow |
Licenses: | GPL3 |
Submitter: | FacuTuesca |
Maintainer: | gilcu3 |
Last Packager: | gilcu3 |
Votes: | 49 |
Popularity: | 0.000000 |
First Submitted: | 2014-03-14 21:46 (UTC) |
Last Updated: | 2024-10-29 10:00 (UTC) |
Dependencies (10)
- djvulibre
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libmupdf
- libpng (libpng-gitAUR, libpng-apngAUR)
- mujs (mujs-gitAUR)
- cmake (cmake-gitAUR) (make)
- ghostscript (optional) – PostScript support
- gsl (gsl-gitAUR) (optional) – polynomial fit for spline interpolation feature
- jasper (jasper-gitAUR) (optional) – JPEG 2000 bitmap support
- leptonica (optional) – OCR support
Required by (0)
Sources (16)
- disable_tesseract.patch
- fix_jasper_lib.patch
- http://www.willus.com/k2pdfopt/src/k2pdfopt_v2.55_src.zip
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0001-CMakeLists.txt-add-missing-install-command.patch
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0002-CMakeLists.txt-do-not-detect-ghostscript-at-compile-.patch
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0003-CMakeLists.txt-use-system-mupdf.patch
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0004-CMakeLists.txt-use-system-gocr.patch
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0005-CMakeLists.txt-use-system-gsl.patch
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0006-k2pdfopt.h-dst_ocr_visibility_flags-workaround.patch
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0007-k2pdfoptlib-k2ocr.c-conditionally-enable-tesseract-r.patch
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0008-willuslib-CMakeLists.txt-typo.patch
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0009-willuslib-CMakeLists.txt-conditionally-add-source-fi.patch
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0010-willuslib-use-system-leptonica.patch
- https://salsa.debian.org/yangfl-guest/k2pdfopt/-/raw/dbc5c01db8d3fdf4aefda7a80ff40e4dd48f0486/debian/patches//0011-willuslib-use-system-djvu.patch
- jasper_header_path.patch
- mupdf.pc
cypmon commented on 2022-02-12 20:03 (UTC)
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?
zkm2fw commented on 2019-02-23 08:31 (UTC) (edited on 2019-03-05 23:56 (UTC) by zkm2fw)
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
FacuTuesca commented on 2017-05-09 00:57 (UTC)
@ahxxm @guiniol @frankspace:
Updated to v2.41
ahxxm commented on 2017-04-16 05:03 (UTC)
v2.41 was released in Feb, still under maintenance?
Pinned Comments
gilcu3 commented on 2024-05-19 09:29 (UTC) (edited on 2024-05-28 15:03 (UTC) by gilcu3)
I just updated to package to the best of my abilities, still it is very buggy and only some functionality works. In my tests this is also the case with the debian package. If anyone is able to fix it please let me know. For the moment the only solution to get full functionality is to download the pre-built binary from willus.
PS: kudos to the debian developer for fixing the build with
mupdf
, currently it works on my end. Onlytesseract
support remains disabled.