@frankspace you are right, I was not looking at the correct version of the package. I think mujs
should actually be a dependency, I will fix ASAP
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
gilcu3 commented on 2024-10-29 09:59 (UTC)
frankspace commented on 2024-10-29 09:47 (UTC)
@gilcu3 I'm running Artix, which definitely has some weird quirks, but I'm pretty sure it's not an Artix thing here because that flag is actually found in the "mupdf.pc
" file in the "Libs.private" line.
gilcu3 commented on 2024-10-29 08:58 (UTC)
@frankspace I tried finding where does that flag is set in the source, and could not find any reference. Can you provide more details on where does it appear and what is your environment?
frankspace commented on 2024-10-27 14:20 (UTC)
Compilation in a clean chroot fails for me unless mujs
is installed, I'd get the following:
[100%] Linking C executable k2pdfopt
/usr/bin/ld: cannot find -lmujs: No such file or directory
collect2: error: ld returned 1 exit status
The compiled binary doesn't seem to link to anything in the mujs
package, so I presume it's a makedep rather than a dependency. Still, I couldn't compile without it.
fredh commented on 2024-07-11 07:29 (UTC)
@gilcu3 apologies for the noise then, I'm using manjaro and somehow this never happened.
gilcu3 commented on 2024-07-08 14:27 (UTC)
@fredh As far I know patch
is part of base-devel
, therefore it does not need to be declared as a make dependency explicitly. If I am wrong please feel free to correct me.
fredh commented on 2024-07-08 10:16 (UTC)
I've had to install patch
for the build to work, should it be added to the make dependencies?
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. Only tesseract
support remains disabled.
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 willus.com. 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
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.