Sorry for the delay. I'm having trouble compiling the new versions of k2pdfopt with gocr 0.50. I'll upload the new version as soon as I find a solution.
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
FacuTuesca commented on 2017-01-08 00:26 (UTC)
guiniol commented on 2017-01-04 16:31 (UTC)
@FacuTuesca: as frankspace said, the version is now up to 2.36 and it includes support for linux. Could you update it?
frankspace commented on 2016-12-13 07:42 (UTC)
It's actually up to verion 2.36 now, but I can't flag it out of date because it's already flagged out of date.
FacuTuesca commented on 2016-07-16 17:23 (UTC) (edited on 2016-07-16 20:57 (UTC) by FacuTuesca)
To the user that flagged 2.34a as out of date:
According to the software's website, 2.34b is a Windows-only release:
"K2pdfopt v2.34b released. This release fixes two more MS Windows bugs. The Linux and Mac versions are not affected (still v2.34a)"
Also, this software includes patches for both mupdf 1.8 and gocr 0.49, so those are the versions that have to be used.
FacuTuesca commented on 2016-07-16 15:03 (UTC)
@psamim:
Fixed, thanks.
psamim commented on 2016-07-16 06:07 (UTC)
Thanks for packaging,
I cannot compile I get the following:
/usr/bin/ld: build/debug/mutool: hidden symbol `opj_setup_decoder' isn't defined
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:250: build/debug/mutool] Error 1
==> ERROR: A failure occurred in build().
Aborting...
FacuTuesca commented on 2016-03-22 13:08 (UTC)
@Eschwartz:
Fixed, thanks.
eschwartz commented on 2016-03-22 04:21 (UTC)
cp -r ${srcdir}/${pkgname}_v2.34/* "${srcdir}/${pkgname}_v${pkgver}"
This overwrites the 2.34a updates (so you end up with only the original v2.34 source). Use cp -rn (--no-clobber the updated v2.34a files) instead.
FacuTuesca commented on 2016-03-21 12:14 (UTC)
@krant:
Fixed, thanks.
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.