My apologies to all stakeholders waiting on me. I came down with a serious illness. Rest assured this is not forgotten or abandoned. I will update it in due time. Thanks
Search Criteria
Package Details: ocrmypdf 16.7.0-1
Package Actions
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: | 125 |
Popularity: | 3.53 |
First Submitted: | 2014-01-27 11:36 (UTC) |
Last Updated: | 2024-12-10 05:10 (UTC) |
Dependencies (21)
- ghostscript
- img2pdf (img2pdf-gitAUR)
- pngquant
- python (python37AUR, python311AUR, python310AUR)
- python-deprecation
- python-importlib_resources
- python-packaging
- python-pdfminer (pdfminerAUR)
- python-pikepdf
- python-pillow
- python-pluggy
- python-reportlab
- python-rich
- python-tqdm
- tesseract (tesseract-gitAUR)
- unpaper (unpaper-gitAUR)
- python-build (make)
- python-hatch-vcs (make)
- python-installer (python-installer-gitAUR) (make)
- python-wheel (make)
- Show 1 more dependencies...
Required by (6)
- docspell-joex (optional)
- dpsprep-git (optional)
- phoronix-test-suite-git (optional)
- python-ocrmypdf-papermerge
- riven-original-soundtrack (make)
- stirling-pdf-bin
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 22 Next › Last »
fbrennan commented on 2019-01-17 08:18 (UTC)
jbarlow commented on 2019-01-12 08:49 (UTC) (edited on 2019-01-12 08:52 (UTC) by jbarlow)
@fbrennan
v8 makes pdfminer.six "technically optional". setup.py still lists it as required, but downstream maintainers at their option may delete pdfminer.six from setup.py in their scripts, at the cost of the --redo-ocr feature. I will support this arrangement until the packaging situation for pdfminer.six improves. (I am doing it this way because "pip install ocrmypdf" works fine with pdfminer.six.)
v8 also drops python-xmp-toolkit because of the difficulties some downstream consumers had with it.
Thanks again for maintaining ocrmypdf for the ArchLinux community.
-Upstream
fbrennan commented on 2018-11-27 06:19 (UTC)
I thought of that @bsdice but it breaks the AUR Rules of Submission. https://wiki.archlinux.org/index.php/Arch_User_Repository#Rules_of_submission
The more and more AUR dependencies that get added the more difficult this gets to maintain and the more people we need to rely on. Fortunately I maintain python-pikepdf
, python-ruffus
and python-xmp-toolkit
, the major AUR deps of this package before the recent update. I don't think it's kosher for me to make a metapackage which would install every dependency and have a replaces/conflicts/provides either.
For now I recommend users assure that python-sortedcontainers
is installed before attempting to build ocrmypdf
& deps. I'm sure the maintainer of python-pdfminer.six
will add it to the manifest as soon as they can.
bsdice commented on 2018-11-27 05:40 (UTC)
@fbrennan: A workaround could have been to create a package called "python-pdfminer-six" and use the following statements:
- replaces=('python-pdfminer.six')
- conflicts=('python-pdfminer.six')
- provides=('python-pdfminer.six')
Unfortunately python-pdfminer.six in AUR is missing a dependancy. Workaround is to still use http://termbin.com/k46k.
Harvey commented on 2018-11-26 15:44 (UTC)
python-pdfminer.six has been updated to version 20181108-1 ;)
fbrennan commented on 2018-11-26 11:50 (UTC) (edited on 2018-11-26 11:52 (UTC) by fbrennan)
Unfortunately my friends, we've hit a snag. Someone else is using the name python-pdfminer.six
:-(
https://aur.archlinux.org/pkgbase/python-pdfminer.six/#news
I put a working PKGBUILD there. But unfortunately I cannot upload my new ocrmypdf
, which works fine, until this user makes a decision. That is because ocrmypdf
requires a higher version than theirs.
I sincerely apologize for the long wait. If you are good with makepkg
and pacman
, you can use these two PKGBUILDS:
- http://termbin.com/yawnx (ocrmypdf)
- http://termbin.com/k46k (python-pdfminer.six)
If not, you will just have to wait for python-pdfminer.six
to be updated, by either ishitatsuyuki or me if he orphans.
fbrennan commented on 2018-11-23 23:08 (UTC)
I hope to release the upgrade to 7.3.1 today (GMT+8).
I apologize for the wait after the orphan notification.
Harvey commented on 2018-11-22 11:58 (UTC)
Version 7.3.1 looks very promising, depending on the release notes https://github.com/jbarlow83/OCRmyPDF/blob/master/docs/release_notes.rst Is there any chance for an update? I see there is a new dependency to pdfminer.six 20181108...
marlemion commented on 2018-11-06 09:18 (UTC) (edited on 2018-11-06 09:32 (UTC) by marlemion)
@bsdice: Thanks, but that did not help. Same error. On another machine, ocrmypdf is working. So it must be some issue on that machine...
Btw. ocrmypdf was working for ages on that machine, but I had to hold back leptonica for other reasons, so it was stuck to a certain version for some time....
Found the Problem: I had installed python2-jmespath-0.9.3-2. This package installs /usr/bin/jp2.py. For some reason, python looked at this jp2.py instead of /usr/lib/python3.x/site-packages/jp2.py. After removing python2-jmespath-0.9.3-2, it works. However, such a behaviour is irritating.
bsdice commented on 2018-11-06 09:16 (UTC)
@marlemion: Replace aur/img2pdf-git 0.2.1.r8.geedf73e-1 with normal img2pdf 0.3.1-1 and see what happens. pacman -Rd img2pdf-git ; pacman -S --asdeps img2pdf ; or something like that.
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.