Package Details: ocrmypdf 16.6.1-1

Git Clone URL: https://aur.archlinux.org/ocrmypdf.git (read-only, click to copy)
Package Base: ocrmypdf
Description: A tool to add an OCR text layer to scanned PDF files, allowing them to be searched
Upstream URL: https://github.com/ocrmypdf/OCRmyPDF
Licenses: MPL2
Submitter: dreuter
Maintainer: fbrennan (pigmonkey)
Last Packager: pigmonkey
Votes: 122
Popularity: 2.44
First Submitted: 2014-01-27 11:36 (UTC)
Last Updated: 2024-11-11 23:40 (UTC)

Pinned Comments

fbrennan commented on 2023-05-12 22:54 (UTC)

The flag was invalid and has been removed with no action taken as no new version was released. There's nothing to do for this package; no new release has been made. Rebuild, as @eclairevoyant has said.

Latest Comments

1 2 3 4 5 6 .. 22 Next › Last »

ioan commented on 2024-06-26 18:24 (UTC)

The optional dependency 'jbig2' was not found, so some image optimizations could not be attempted.

jbig2enc

wat

mplx commented on 2024-06-08 13:51 (UTC)

does not work with latest tesseract 5.4.0; crashes with SubprocessOutputError; upstream issue https://github.com/ocrmypdf/OCRmyPDF/issues/1328

carlosal1015 commented on 2024-05-29 13:39 (UTC)

Do not forget export version https://wiki.archlinux.org/title/Python_package_guidelines#setuptools_or_distutils

DeutscheGabanna commented on 2024-05-29 10:40 (UTC)

Same thing as @tobias_de pointed out. Even when you install python-setuptools-scm makepkg still complains about a missing dependency.

$ pacman -Qs setuptools
local/python-setuptools 1:69.0.3-6 (python-build-backend)
    Easily download, build, install, upgrade, and uninstall Python packages
local/python-setuptools-scm 8.1.0-1
    Handles managing your python package versions in scm metadata
ERROR Missing dependencies:
        setuptools_scm[toml]>=7.0.5

oscar.0 commented on 2024-02-15 09:46 (UTC)

With version 16.1.0 I initially got "ModuleNotFoundError: No module named 'deprecation'". Following the installation of the python-deprecation package, ocrmypdf now apparently works. Looks like a missing dependency?

tobias_de commented on 2023-10-10 18:07 (UTC)

I think there might be a missing dependency:

ERROR Missing dependencies: setuptools_scm[toml]>=7.0.5 ==> ERROR: A failure occurred in build(). Aborting...

I do have "python-setuptools-scm 7.1.0-4" installed

googol42 commented on 2023-09-29 09:38 (UTC)

The upstream url is https://github.com/ocrmypdf/OCRmyPDF (old url still works)

android_aur commented on 2023-08-16 09:29 (UTC) (edited on 2023-08-16 09:33 (UTC) by android_aur)

Traceback (most recent call last):
  File "/usr/bin/ocrmypdf", line 5, in <module>
    from ocrmypdf.__main__ import run
[...]
ModuleNotFoundError: No module named 'rich'

same problem as @whxvd. Manually installing python-rich fixes the issue.

whxvd commented on 2023-08-16 06:18 (UTC)

Upstream changed a dependendency during the last version bump (coloredlogs were replaced by rich). See

git log v14.3.0..v14.4.0 -- pyproject.toml
git diff v14.3.0..v14.4.0 -- pyproject.toml

in the upstream repository. That is not (yet) reflected in this PKGBUILD (and produces a non-functional ocrmypdf on my system).